Lines Matching refs:iio_dev_opaque
120 struct iio_dev_opaque *iio_dev_opaque; in iio_trigger_set_immutable() local
125 iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_trigger_set_immutable()
127 WARN_ON(iio_dev_opaque->trig_readonly); in iio_trigger_set_immutable()
130 iio_dev_opaque->trig_readonly = true; in iio_trigger_set_immutable()
280 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(pf->indio_dev); in iio_trigger_attach_poll_func() local
286 __module_get(iio_dev_opaque->driver_module); in iio_trigger_attach_poll_func()
325 module_put(iio_dev_opaque->driver_module); in iio_trigger_attach_poll_func()
332 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(pf->indio_dev); in iio_trigger_detach_poll_func() local
346 module_put(iio_dev_opaque->driver_module); in iio_trigger_detach_poll_func()
441 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_trigger_write_current() local
447 if (iio_dev_opaque->currentmode == INDIO_BUFFER_TRIGGERED) { in iio_trigger_write_current()
451 if (iio_dev_opaque->trig_readonly) { in iio_trigger_write_current()