Lines Matching defs:spi
10 #include <linux/spi/spi.h>
21 struct spi_device *spi = to_spi_device(chip->dev);
40 error = spi_sync(spi, &message);
55 struct spi_device *spi = to_spi_device(chip->dev);
61 error = spi_write(spi, (u8 *)chip->xfer_buf,
71 static int ad714x_spi_probe(struct spi_device *spi)
76 spi->bits_per_word = 8;
77 err = spi_setup(spi);
81 chip = ad714x_probe(&spi->dev, BUS_SPI, spi->irq,
86 spi_set_drvdata(spi, chip);