Lines Matching refs:trig
42 struct iio_trigger *trig; member
81 iio_trigger_notify_done(indio_dev->trig); in ad7766_trigger_handler()
194 static int ad7766_set_trigger_state(struct iio_trigger *trig, bool enable) in ad7766_set_trigger_state() argument
196 struct ad7766 *ad7766 = iio_trigger_get_drvdata(trig); in ad7766_set_trigger_state()
250 ad7766->trig = devm_iio_trigger_alloc(&spi->dev, "%s-dev%d", in ad7766_probe()
252 if (!ad7766->trig) in ad7766_probe()
255 ad7766->trig->ops = &ad7766_trigger_ops; in ad7766_probe()
256 ad7766->trig->dev.parent = &spi->dev; in ad7766_probe()
257 iio_trigger_set_drvdata(ad7766->trig, ad7766); in ad7766_probe()
261 ad7766->trig); in ad7766_probe()
272 ret = devm_iio_trigger_register(&spi->dev, ad7766->trig); in ad7766_probe()