Lines Matching defs:spi
11 #include <linux/spi/spi.h>
54 return spi_sync(nspi->spi, &m);
117 * nci_spi_allocate_spi - allocate a new nci spi
119 * @spi: SPI device
124 struct nci_spi *nci_spi_allocate_spi(struct spi_device *spi,
130 nspi = devm_kzalloc(&spi->dev, sizeof(struct nci_spi), GFP_KERNEL);
138 nspi->spi = spi;
202 ret = spi_sync(nspi->spi, &m);
227 ret = spi_sync(nspi->spi, &m);
273 * @nspi: The nci spi