Home
last modified time | relevance | path

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

/linux/drivers/iio/
H A Dindustrialio-event.c47 bool iio_event_enabled(const struct iio_event_interface *ev_int) in iio_event_enabled() argument
49 return !!test_bit(IIO_BUSY_BIT_POS, &ev_int->flags); in iio_event_enabled()
69 struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; in iio_push_event() local
73 if (!ev_int) in iio_push_event()
77 if (iio_event_enabled(ev_int)) { in iio_push_event()
82 copied = kfifo_put(&ev_int->det_events, ev); in iio_push_event()
84 wake_up_poll(&ev_int->wait, EPOLLIN); in iio_push_event()
104 struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; in iio_event_poll() local
110 poll_wait(filep, &ev_int->wait, wait); in iio_event_poll()
112 if (!kfifo_is_empty(&ev_int in iio_event_poll()
125 struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; iio_event_chrdev_read() local
175 struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; iio_event_chrdev_release() local
195 struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; iio_event_getfd() local
548 iio_setup_ev_int(struct iio_event_interface * ev_int) iio_setup_ev_int() argument
577 struct iio_event_interface *ev_int; iio_device_register_eventset() local
663 struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; iio_device_unregister_eventset() local
[all...]
H A Diio_core.h110 bool iio_event_enabled(const struct iio_event_interface *ev_int);
H A Dindustrialio-core.c277 const struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; in iio_device_set_clock() local
282 if ((ev_int && iio_event_enabled(ev_int)) || in iio_device_set_clock()