freebsd-dev/sys/arm/at91
Ian Lepore 4098ccafa4 Revise the arm bus_space implementation to avoid dereferencing the tag on
every operation to retrieve the bs_cookie value almost nothing actually uses.

The bus_space struct contains a private data pointer (poorly named bs_cookie,
now renamed to bs_privdata) which is used only by a few old armv4 xscale
implementations.  The bus_space functions were all defined to take this
value as the first parameter instead of the bus_space_tag_t, requiring all
the inline macro and function expansions to dereference the tag to pass it
to another function, which never uses it.  Now all the functions take the tag
as the first parameter and retrieve the privdata if they need it.

Also fix a couple bus_space_unmap() implementations that were calling
kva_free() instead of pmap_unmapdev().

Discussed with:	   cognet
2015-01-21 01:06:08 +00:00
..
at91_aic.c Unify interrupts bit definition and usage. While here remove PSR_C_bit. 2014-09-10 15:25:15 +00:00
at91_aicreg.h
at91_cfata.c
at91_common.c Remove keyboard entropy [1] from r270105. 2014-08-17 18:27:02 +00:00
at91_gpio.h Provide a simplified way to specify GPIO pins for the Atmel port. 2014-01-15 19:49:12 +00:00
at91_machdep.c Eliminate a redundant declaration. 2014-12-21 21:23:53 +00:00
at91_mci.c Make note about reset vs RTOE actions... 2014-08-18 21:04:35 +00:00
at91_mcireg.h Print the symbolic bit names for the status when we get a timeout. 2014-08-14 23:17:33 +00:00
at91_pdcreg.h
at91_pinctrl.c Convert the at91_pinctrl driver to use the new fdt_pinctrl interface. 2014-09-13 19:59:16 +00:00
at91_pio_sam9g20.h
at91_pio_sam9g45.h Add support for the Atmel AT91SAM9G45 CPU. 2012-07-26 08:01:25 +00:00
at91_pio.c Implement the FDT static pinctl/pinmux spec for Atmel. This will 2014-08-15 16:08:52 +00:00
at91_pioreg.h Add definitions for the additional PIO pins found on recent AT91 SoCs. 2013-12-02 02:33:03 +00:00
at91_piovar.h Implement the FDT static pinctl/pinmux spec for Atmel. This will 2014-08-15 16:08:52 +00:00
at91_pit.c Add support for multipass to Atmel, for both FDT and !FDT cases. 2014-08-14 04:21:25 +00:00
at91_pitreg.h at91pit->at91_pit for consistnecy with other drivers. 2012-07-11 17:11:54 +00:00
at91_pmc.c Add support for multipass to Atmel, for both FDT and !FDT cases. 2014-08-14 04:21:25 +00:00
at91_pmcreg.h Add charge pump current register. 2012-08-10 04:47:20 +00:00
at91_pmcvar.h Correct the PLLA setting functions and centralize. 2012-08-11 05:45:19 +00:00
at91_reset.S Eliminate the AT91XXXX_BASE for each SoC. AT91_BASE is the right way 2012-07-10 02:14:50 +00:00
at91_rst.c Add FDT attachment. Flag lost functionality with FDT_HACKS so we can 2014-02-09 20:59:46 +00:00
at91_rstreg.h at91$DEV->at91_$DEV to match other Atmel drivers. Also, export 2012-07-11 17:11:07 +00:00
at91_rtc.c Loop reading the RTC registers until the same values are obtained 2012-10-07 20:36:46 +00:00
at91_rtcreg.h Use the RTC unit to get the time. This works on all known AT91SAM9* 2012-10-07 01:58:32 +00:00
at91_sdramc.c Add device node for SDRAMC device. Currently just claims device's 2014-02-28 02:59:51 +00:00
at91_shdwc.c shdwc device for fdt 2014-02-28 03:00:25 +00:00
at91_smc.c Add standard memory controller helper functions. 2014-01-19 17:45:13 +00:00
at91_smc.h Add standard memory controller helper functions. 2014-01-19 17:45:13 +00:00
at91_spi.c Honor the disabled status by only grabbing resources and returning 2014-02-13 16:50:08 +00:00
at91_spireg.h - Prepend the device description with "AT91" to reflect its nature. [1] 2012-06-03 00:54:10 +00:00
at91_ssc.c Strip trailing whitespace before other changes. 2012-06-13 04:52:19 +00:00
at91_sscreg.h
at91_st.c Make the SoC stuff a little more modular, and start to move away from 2012-07-11 20:17:14 +00:00
at91_streg.h Make the SoC stuff a little more modular, and start to move away from 2012-07-11 20:17:14 +00:00
at91_tcb.c tcb device for fdt 2014-02-28 03:00:28 +00:00
at91_twi.c Honor the disabled status by only grabbing resources and returning 2014-02-13 16:50:08 +00:00
at91_twiio.h
at91_twireg.h Add support for the Atmel SAM9XE familiy of microcontrollers, which 2012-04-14 17:09:38 +00:00
at91_usartreg.h
at91_wdt.c FDT attachment... 2014-02-09 21:01:53 +00:00
at91_wdtreg.h Strip trailing whitespace before other changes. 2012-06-13 04:52:19 +00:00
at91.c Revise the arm bus_space implementation to avoid dereferencing the tag on 2015-01-21 01:06:08 +00:00
at91board.h Create a generic way to support multiple boards within an 2012-07-07 05:02:39 +00:00
at91reg.h The system IRQ is always IRQ 1. Make it so. 2012-07-10 02:39:03 +00:00
at91rm92reg.h Fix typos. 2014-09-26 09:07:02 +00:00
at91rm9200_devices.c Fix a typo: the RXD0 pin is PA18, not PA19. 2013-03-29 18:06:54 +00:00
at91rm9200.c Remove a bogus AIC. 2014-09-27 02:15:45 +00:00
at91rm9200var.h Configure the peripheral pins for MCI devices. Eliminate the now-unused 2012-07-15 05:41:43 +00:00
at91sam9g20.c Move AIC related stuff to own file. 2014-03-08 06:06:50 +00:00
at91sam9g20reg.h Fix typos. 2014-09-26 09:07:02 +00:00
at91sam9g45.c Add data so we can convert a PIO unit number into a base address. 2014-01-15 19:53:36 +00:00
at91sam9g45reg.h Fix the definitioin of AT91SAM9G45_IRQ_PIOE and rename it to 2014-09-27 14:39:00 +00:00
at91sam9x5.c Move AIC related stuff to own file. 2014-03-08 06:06:50 +00:00
at91sam9x5reg.h Fix typos. 2014-09-26 09:07:02 +00:00
at91sam9260.c Add AIC to at91sam9260 support, now that it is needed for multipass to 2014-08-14 04:21:31 +00:00
at91sam9260reg.h Fix the size of AT91SAM9260_PIT_SIZE. 2014-09-26 09:08:09 +00:00
at91soc.c Make the SoC stuff a little more modular, and start to move away from 2012-07-11 20:17:14 +00:00
at91soc.h Make the SoC stuff a little more modular, and start to move away from 2012-07-11 20:17:14 +00:00
at91var.h Make at91_soc_id() public. 2014-03-08 05:03:56 +00:00
board_bwct.c Configure the peripheral pins for MCI devices. Eliminate the now-unused 2012-07-15 05:41:43 +00:00
board_eb9200.c Fix board ID too... 2014-02-13 15:47:41 +00:00
board_ethernut5.c uboot should be telling us it is an ETHERNUT5 for this board. Tag it 2012-07-14 06:00:37 +00:00
board_hl200.c Configure the peripheral pins for MCI devices. Eliminate the now-unused 2012-07-15 05:41:43 +00:00
board_hl201.c Connect NAND for the SAM9260EK eval board, as well as the HotE HL-201. 2014-01-19 17:59:34 +00:00
board_kb920x.c Configure the peripheral pins for MCI devices. Eliminate the now-unused 2012-07-15 05:41:43 +00:00
board_qila9g20.c Create a generic way to support multiple boards within an 2012-07-07 05:02:39 +00:00
board_sam9g20ek.c Create a generic way to support multiple boards within an 2012-07-07 05:02:39 +00:00
board_sam9x25ek.c Create a generic way to support multiple boards within an 2012-07-07 05:02:39 +00:00
board_sam9260ek.c Fix gcc with -Wstrict-prototypes by telling it bi_emac takes no parameters. 2014-01-25 19:36:27 +00:00
board_sn9g45.c Add new at91sam9g45 support and sn9g45 board to the ATMEL kernel. 2012-07-27 16:38:02 +00:00
board_tsc4370.c Remove extra semicolons. 2014-06-06 16:37:42 +00:00
files.at91 Convert the at91_pinctrl driver to use the new fdt_pinctrl interface. 2014-09-13 19:59:16 +00:00
if_ate.c Mechanically convert to if_inc_counter(). 2014-09-19 09:20:16 +00:00
if_atereg.h
if_macb.c Mechanically convert to if_inc_counter(). 2014-09-19 09:20:16 +00:00
if_macbreg.h
if_macbvar.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
std.at91 Set machine correctly on ARM. This allows universe to use the correct world 2012-08-18 05:48:19 +00:00
std.at91sam9 Set machine correctly on ARM. This allows universe to use the correct world 2012-08-18 05:48:19 +00:00
std.at91sam9g45 Set machine correctly on ARM. This allows universe to use the correct world 2012-08-18 05:48:19 +00:00
std.atmel Remove the ARM_DEVICE_MULTIPASS option and make its effect be the default. 2014-10-26 18:30:35 +00:00
std.bwct Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.eb9200 Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.ethernut5 Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.hl200 Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.hl201 Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.kb920x Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.qila9g20 Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.sam9g20ek Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.sam9x25ek Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.sam9260ek Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.sn9g45 Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
std.tsc4370 Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00
uart_bus_at91usart.c Remove redundant declaration for uart devclass. 2014-01-24 16:50:15 +00:00
uart_cpu_at91usart.c Remove redundant declaration for uart devclass. 2014-01-24 16:50:15 +00:00
uart_dev_at91usart.c Style(9) nit: Use tab here. 2014-02-27 08:19:19 +00:00