Lines Matching refs:spi
31 #include <linux/spi/spi.h>
32 #include <linux/spi/spi_bitbang.h>
50 * Also see Documentation/spi/spi-lm70llp. The SPI<->parport code here is
51 * (heavily) based on spi-butterfly by David Brownell.
74 #define DRVNAME "spi-lm70llp"
98 static inline struct spi_lm70llp *spidev_to_pp(struct spi_device *spi)
100 return spi->controller_data;
175 static void lm70_chipselect(struct spi_device *spi, int value)
177 struct spi_lm70llp *pp = spidev_to_pp(spi);
188 static u32 lm70_txrx(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits)
190 return bitbang_txrx_be_cpha0(spi, nsecs, 0, 0, word, bits);