indio             710 drivers/iio/adc/at91-sama5d2_adc.c 	struct iio_dev *indio = iio_trigger_get_drvdata(trig);
indio             711 drivers/iio/adc/at91-sama5d2_adc.c 	struct at91_adc_state *st = iio_priv(indio);
indio             724 drivers/iio/adc/at91-sama5d2_adc.c 	for_each_set_bit(bit, indio->active_scan_mask, indio->num_channels) {
indio             725 drivers/iio/adc/at91-sama5d2_adc.c 		struct iio_chan_spec const *chan = at91_adc_chan_get(indio, bit);
indio             773 drivers/iio/adc/at91-sama5d2_adc.c 	struct iio_dev *indio = iio_trigger_get_drvdata(trig);
indio             774 drivers/iio/adc/at91-sama5d2_adc.c 	struct at91_adc_state *st = iio_priv(indio);
indio             975 drivers/iio/adc/at91-sama5d2_adc.c static struct iio_trigger *at91_adc_allocate_trigger(struct iio_dev *indio,
indio             981 drivers/iio/adc/at91-sama5d2_adc.c 	trig = devm_iio_trigger_alloc(&indio->dev, "%s-dev%d-%s", indio->name,
indio             982 drivers/iio/adc/at91-sama5d2_adc.c 				      indio->id, trigger_name);
indio             986 drivers/iio/adc/at91-sama5d2_adc.c 	trig->dev.parent = indio->dev.parent;
indio             987 drivers/iio/adc/at91-sama5d2_adc.c 	iio_trigger_set_drvdata(trig, indio);
indio             990 drivers/iio/adc/at91-sama5d2_adc.c 	ret = devm_iio_trigger_register(&indio->dev, trig);
indio             997 drivers/iio/adc/at91-sama5d2_adc.c static int at91_adc_trigger_init(struct iio_dev *indio)
indio             999 drivers/iio/adc/at91-sama5d2_adc.c 	struct at91_adc_state *st = iio_priv(indio);
indio            1001 drivers/iio/adc/at91-sama5d2_adc.c 	st->trig = at91_adc_allocate_trigger(indio, st->selected_trig->name);
indio            1003 drivers/iio/adc/at91-sama5d2_adc.c 		dev_err(&indio->dev,
indio            1115 drivers/iio/adc/at91-sama5d2_adc.c static int at91_adc_buffer_init(struct iio_dev *indio)
indio            1117 drivers/iio/adc/at91-sama5d2_adc.c 	struct at91_adc_state *st = iio_priv(indio);
indio            1120 drivers/iio/adc/at91-sama5d2_adc.c 		return devm_iio_triggered_buffer_setup(&indio->dev, indio,
indio            1128 drivers/iio/adc/at91-sama5d2_adc.c 	indio->setup_ops = &at91_buffer_setup_ops;
indio            1257 drivers/iio/adc/at91-sama5d2_adc.c 	struct iio_dev *indio = private;
indio            1258 drivers/iio/adc/at91-sama5d2_adc.c 	struct at91_adc_state *st = iio_priv(indio);
indio            1275 drivers/iio/adc/at91-sama5d2_adc.c 		at91_adc_touch_data_handler(indio);
indio            1284 drivers/iio/adc/at91-sama5d2_adc.c 	} else if (iio_buffer_enabled(indio) && !st->dma_st.dma_chan) {
indio            1287 drivers/iio/adc/at91-sama5d2_adc.c 		iio_trigger_poll(indio->trig);
indio            1288 drivers/iio/adc/at91-sama5d2_adc.c 	} else if (iio_buffer_enabled(indio) && st->dma_st.dma_chan) {
indio            1292 drivers/iio/adc/at91-sama5d2_adc.c 	} else if (!iio_buffer_enabled(indio)) {
indio             249 drivers/iio/common/st_sensors/st_sensors_trigger.c 	struct iio_dev *indio = iio_trigger_get_drvdata(trig);
indio             251 drivers/iio/common/st_sensors/st_sensors_trigger.c 	if (indio != indio_dev)