Lines Matching defs:spi
10 #include <linux/spi/spi.h>
33 struct spi_device *spi = to_spi_device(chip->dev);
52 error = spi_sync(spi, &message);
67 struct spi_device *spi = to_spi_device(chip->dev);
73 error = spi_write(spi, (u8 *)chip->xfer_buf,
83 static int ad714x_spi_probe(struct spi_device *spi)
88 spi->bits_per_word = 8;
89 err = spi_setup(spi);
93 chip = ad714x_probe(&spi->dev, BUS_SPI, spi->irq,
98 spi_set_drvdata(spi, chip);