android_kernel_motorola_sm6225/include/linux/spi
Mark Brown 3a2eba9bd0 spi: Provide core support for full duplex devices
It is fairly common for SPI devices to require that one or both transfer
directions is always active. Currently drivers open code this in various
ways with varying degrees of efficiency. Start factoring this out by
providing flags SPI_MASTER_MUST_TX and SPI_MASTER_MUST_RX. These will cause
the core to provide buffers for the requested direction if none are
specified in the underlying transfer.

Currently this is fairly inefficient since we actually allocate a data
buffer which may get large, support for mapping transfers using a
scatterlist will allow us to avoid this for DMA based transfers.

Signed-off-by: Mark Brown <broonie@linaro.org>
2014-02-04 20:31:33 +00:00
..
ad7877.h
ad7879.h
ads7846.h
at73c213.h
at86rf230.h
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
pxa2xx_spi.h
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 full duplex devices 2014-02-04 20:31:33 +00:00
spi_bitbang.h spi/bitbang: Use core message pump 2013-07-17 18:13:01 +01:00
spi_gpio.h
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