Lines Matching defs:spi
23 #include <linux/spi/spi.h>
42 /* At the moment the spi framework doesn't allow global setting of cs_change.
43 * It's in the likely to be added comment at the top of spi.h.
438 /* use low spi speed for init */
480 /* use high spi speed if possible */
597 static int __devinit adis16400_probe(struct spi_device *spi)
606 spi_set_drvdata(spi, st);
619 st->us = spi;
628 st->indio_dev->dev.parent = &spi->dev;
651 if (spi->irq && gpio_is_valid(irq_to_gpio(spi->irq)) > 0) {
652 ret = iio_register_interrupt_line(spi->irq,
696 static int adis16400_remove(struct spi_device *spi)
699 struct adis16400_state *st = spi_get_drvdata(spi);
709 if (spi->irq && gpio_is_valid(irq_to_gpio(spi->irq)) > 0)