android_kernel_xiaomi_sm8350/include/asm-avr32/arch-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.h [AVR32] Add PIOE device and reserve SDRAM pins 2007-02-09 15:01:58 +01:00
board.h [AVR32] Use per-controller spi_board_info structures 2007-02-16 14:01:40 +01:00
gpio.h [PATCH] gpio_direction_output() needs an initial value 2007-03-16 19:25:04 -07:00
init.h [PATCH] AVR32: Allow renumbering of serial devices 2006-10-04 10:25:06 -07:00
io.h [AVR32] Make I/O access macros work with external devices 2007-04-27 13:44:14 +02:00
irq.h [AVR32] Add PIOE device and reserve SDRAM pins 2007-02-09 15:01:58 +01:00
portmux.h [AVR32] Introduce at32_reserve_pin() 2007-02-09 15:01:58 +01:00
sm.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
smc.h [AVR32] Add nwait and tdf parameters to SMC configuration 2007-04-27 13:43:27 +02:00
time.h [AVR32] Change system timer from count-compare to Timer/Counter 0 2007-04-27 13:44:12 +02:00