Home
last modified time | relevance | path

Searched hist:aa167f3fed0c37e0e4c707d4331d827661f46644 (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/spi/
H A Dspi-mem.hdiff aa167f3fed0c37e0e4c707d4331d827661f46644 Tue Nov 06 17:05:33 CET 2018 Boris Brezillon <boris.brezillon@bootlin.com> spi: spi-mem: Add a new API to support direct mapping

Most modern SPI controllers can directly map a SPI memory (or a portion
of the SPI memory) in the CPU address space. Most of the time this
brings significant performance improvements as it automates the whole
process of sending SPI memory operations every time a new region is
accessed.

This new API allows SPI memory drivers to create direct mappings and
then use them to access the memory instead of using spi_mem_exec_op().

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
/linux/drivers/spi/
H A Dspi-mem.cdiff aa167f3fed0c37e0e4c707d4331d827661f46644 Tue Nov 06 17:05:33 CET 2018 Boris Brezillon <boris.brezillon@bootlin.com> spi: spi-mem: Add a new API to support direct mapping

Most modern SPI controllers can directly map a SPI memory (or a portion
of the SPI memory) in the CPU address space. Most of the time this
brings significant performance improvements as it automates the whole
process of sending SPI memory operations every time a new region is
accessed.

This new API allows SPI memory drivers to create direct mappings and
then use them to access the memory instead of using spi_mem_exec_op().

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Mark Brown <broonie@kernel.org>