linux-xiaomi-chiron/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 Input: ad7879 - add option to correct xy axis 2012-07-06 19:12:26 -07:00
ads7846.h Input: ads7846 - enable pendown GPIO debounce time setting 2012-11-21 13:09:56 -08:00
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 Support M95040 SPI EEPROM 2012-04-18 14:57:57 -07:00
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 spi: sh-hspi: control spi clock more correctly 2012-03-15 03:41:01 -06:00
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: 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 spi: tsc2005: delete soon-obsolete e-mail address 2012-10-17 16:32:46 +09:00
xilinx_spi.h spi: spi-xilinx: Add run run-time endian detection 2013-06-04 18:37:35 +01:00