android_kernel_xiaomi_sm8350/arch/avr32/mach-at32ap
Haavard Skinnemoen e3e7d8d4ea [AVR32] Make I/O access macros work with external devices
Fix the I/O access macros so that they work with externally connected
devices accessed in little-endian mode over any bus width:

* Use a set of macros to define I/O port- and memory operations
  borrowed from MIPS.
* Allow subarchitecture to specify address- and data-mangling
* Implement at32ap-specific port mangling (with build-time
  configurable bus width. Only one bus width at a time supported
  for now.)
* Rewrite iowriteN and friends to use write[bwl] and friends
  (not the __raw counterparts.)

This has been tested using pata_pcmcia to access a CompactFlash card
connected to the EBI (16-bit bus width.)

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-04-27 13:44:14 +02:00
..
at32ap7000.c [AVR32] Don't enable clocks with no users 2007-04-27 13:44:13 +02:00
at32ap.c
clock.c Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2007-02-19 13:18:39 -08:00
clock.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
extint.c [AVR32] ext int fixes 2007-02-09 15:01:57 +01:00
hmatrix.h [AVR32] Add basic HMATRIX support 2007-04-27 12:58:50 +02:00
hsmc.c [AVR32] Add nwait and tdf parameters to SMC configuration 2007-04-27 13:43:27 +02:00
hsmc.h [PATCH] AVR32: Use __raw MMIO access for internal peripherals 2006-10-25 20:26:33 -07:00
intc.c [AVR32] Implement intc_get_pending() 2006-12-08 13:08:10 +01:00
intc.h [PATCH] AVR32: Use __raw MMIO access for internal peripherals 2006-10-25 20:26:33 -07:00
Kconfig [AVR32] Make I/O access macros work with external devices 2007-04-27 13:44:14 +02:00
Makefile [AVR32] Change system timer from count-compare to Timer/Counter 0 2007-04-27 13:44:12 +02:00
pio.c [PATCH] gpio_direction_output() needs an initial value 2007-03-16 19:25:04 -07:00
pio.h [PATCH] AVR32: Use __raw MMIO access for internal peripherals 2006-10-25 20:26:33 -07:00
sm.h [PATCH] AVR32: Use __raw MMIO access for internal peripherals 2006-10-25 20:26:33 -07:00
time-tc.c [AVR32] Don't enable clocks with no users 2007-04-27 13:44:13 +02:00