linux-hardened/include/linux/spi
Mark Brown 99adef310f spi: Provide core support for DMA mapping transfers
The process of DMA mapping buffers for SPI transfers does not vary between
devices so in order to save duplication of code in drivers this can be
factored out into the core, allowing it to be integrated with the work that
is being done on factoring out the common elements from the data path
including more sharing of dmaengine code.

In order to use this masters need to provide a can_dma() operation and while
the hardware is prepared they should ensure that DMA channels are provided
in tx_dma and rx_dma. The core will then ensure that the buffers are mapped
for DMA prior to calling transfer_one_message().

Currently the cleanup on error is not complete, this needs to be improved.

Signed-off-by: Mark Brown <broonie@linaro.org>
2014-02-03 13:05:21 +00:00
..
ad7877.h
ad7879.h
ads7846.h
at73c213.h
at86rf230.h at86rf230: add irq type configuration option 2013-04-16 16:34:07 -04:00
corgi_lcd.h
ds1305.h
eeprom.h
flash.h
ifx_modem.h
l4f00242t03.h
libertas_spi.h
lms283gf05.h
max7301.h
mc33880.h
mcp23s08.h
mmc_spi.h mmc: mmc_spi: Remove platform data .get_cd() and .get_ro() callbacks 2013-08-24 23:58:06 -04:00
mxs-spi.h spi: mxs-spi: move to use generic DMA helper 2013-04-04 21:22:44 +08:00
pxa2xx_spi.h spi/pxa2xx: add support for Intel Low Power Subsystem SPI 2013-02-08 13:14:40 +00:00
rspi.h spi: rcar: add Renesas QSPI support on RSPI 2013-09-17 00:22:50 +01:00
s3c24xx.h spi: s3c24xx: Remove reference to plat/fiq.h 2014-01-08 13:06:21 +00:00
sh_hspi.h
sh_msiof.h
spi.h spi: Provide core support for DMA mapping transfers 2014-02-03 13:05:21 +00:00
spi_bitbang.h spi/bitbang: Use core message pump 2013-07-17 18:13:01 +01:00
spi_gpio.h spi: spi-gpio: fix compilation warning on 64 bits systems 2013-01-31 18:25:44 +08:00
spi_oc_tiny.h
tdo24m.h
tle62x0.h
tsc2005.h
xilinx_spi.h spi: spi-xilinx: Add run run-time endian detection 2013-06-04 18:37:35 +01:00