Home
last modified time | relevance | path

Searched refs:iio_dev_opaque (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/iio/
H A Dindustrialio-buffer.c346 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_buffer_wakeup_poll() local
350 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() local
384 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() local
581 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 …]
H A Dindustrialio-event.c68 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_push_event() local
69 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() local
104 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() local
125 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() local
175 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() local
195 struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; in iio_event_getfd()
[all …]
H A Dindustrialio-trigger.c116 struct iio_dev_opaque *iio_dev_opaque; in iio_trigger_set_immutable() local
121 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() local
289 __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() local
349 module_put(iio_dev_opaque->driver_module); in iio_trigger_detach_poll_func()
[all …]