Searched refs:iio_dev_opaque (Results 1 – 3 of 3) sorted by relevance
346 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_buffer_wakeup_poll() local350 for (i = 0; i < iio_dev_opaque->attached_buffers_cnt; i++) { in iio_buffer_wakeup_poll()351 buffer = iio_dev_opaque->attached_buffers[i]; in iio_buffer_wakeup_poll()380 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_device_detach_buffers() local384 for (i = 0; i < iio_dev_opaque->attached_buffers_cnt; i++) { in iio_device_detach_buffers()385 buffer = iio_dev_opaque->attached_buffers[i]; in iio_device_detach_buffers()389 kfree(iio_dev_opaque->attached_buffers); in iio_device_detach_buffers()573 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_scan_el_store() local581 guard(mutex)(&iio_dev_opaque->mlock); in iio_scan_el_store()618 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_scan_el_ts_store() local[all …]
68 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_push_event() local69 struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; in iio_push_event()103 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_event_poll() local104 struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; in iio_event_poll()124 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_event_chrdev_read() local125 struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; in iio_event_chrdev_read()174 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_event_chrdev_release() local175 struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; in iio_event_chrdev_release()194 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_event_getfd() local195 struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; in iio_event_getfd()[all …]
116 struct iio_dev_opaque *iio_dev_opaque; in iio_trigger_set_immutable() local121 iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_trigger_set_immutable()122 guard(mutex)(&iio_dev_opaque->mlock); in iio_trigger_set_immutable()123 WARN_ON(iio_dev_opaque->trig_readonly); in iio_trigger_set_immutable()126 iio_dev_opaque->trig_readonly = true; in iio_trigger_set_immutable()283 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(pf->indio_dev); in iio_trigger_attach_poll_func() local289 __module_get(iio_dev_opaque->driver_module); in iio_trigger_attach_poll_func()328 module_put(iio_dev_opaque->driver_module); in iio_trigger_attach_poll_func()335 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(pf->indio_dev); in iio_trigger_detach_poll_func() local349 module_put(iio_dev_opaque->driver_module); in iio_trigger_detach_poll_func()[all …]