Lines Matching defs:spi
13 #include <linux/spi/spi.h>
59 struct spi_device *spi, int is_active)
61 unsigned long cs = spi_get_chipselect(spi, 0);
73 struct spi_device *spi, struct spi_transfer *t, unsigned int *settings)
92 if (spi->mode & SPI_CPOL)
97 if (spi->mode & SPI_CPHA)
102 if (spi->mode & SPI_3WIRE)
111 struct spi_device *spi, struct spi_transfer *t)
140 struct spi_device *spi = msg->spi;
147 spi_xcomm_chipselect(spi_xcomm, spi, true);
156 status = spi_xcomm_setup_transfer(spi_xcomm, spi, t, &settings);
181 status = spi_xcomm_txrx_bufs(spi_xcomm, spi, t);
197 spi_xcomm_chipselect(spi_xcomm, spi, false);
234 { "spi-xcomm" },
241 .name = "spi-xcomm",