Lines Matching refs:spi
22 #include <linux/spi/spi.h>
37 /* At the moment the spi framework doesn't allow global setting of cs_change.
38 * It's in the likely to be added comment at the top of spi.h.
758 static int __devinit lis3l02dq_probe(struct spi_device *spi)
768 spi_set_drvdata(spi, st);
781 st->us = spi;
790 st->help.indio_dev->dev.parent = &spi->dev;
813 if (spi->irq && gpio_is_valid(irq_to_gpio(spi->irq)) > 0) {
815 ret = iio_register_interrupt_line(spi->irq,
887 static int lis3l02dq_remove(struct spi_device *spi)
890 struct lis3l02dq_state *st = spi_get_drvdata(spi);
900 if (spi->irq && gpio_is_valid(irq_to_gpio(spi->irq)) > 0)