Lines Matching refs:indio_dev
15 * @indio_dev: IIO device structure
23 * Before calling this function the indio_dev structure should already be
30 int iio_triggered_event_setup(struct iio_dev *indio_dev,
34 indio_dev->pollfunc_event = iio_alloc_pollfunc(h,
37 indio_dev,
39 indio_dev->name,
40 iio_device_id(indio_dev));
41 if (indio_dev->pollfunc_event == NULL)
45 indio_dev->modes |= INDIO_EVENT_TRIGGERED;
53 * @indio_dev: IIO device structure
55 void iio_triggered_event_cleanup(struct iio_dev *indio_dev)
57 indio_dev->modes &= ~INDIO_EVENT_TRIGGERED;
58 iio_dealloc_pollfunc(indio_dev->pollfunc_event);