Searched refs:ev_int (Results 1 – 3 of 3) sorted by relevance
45 bool iio_event_enabled(const struct iio_event_interface *ev_int) in iio_event_enabled() argument47 return !!test_bit(IIO_BUSY_BIT_POS, &ev_int->flags); in iio_event_enabled()67 struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; in iio_push_event() local71 if (!ev_int) in iio_push_event()75 if (iio_event_enabled(ev_int)) { in iio_push_event()80 copied = kfifo_put(&ev_int->det_events, ev); in iio_push_event()82 wake_up_poll(&ev_int->wait, EPOLLIN); in iio_push_event()102 struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; in iio_event_poll() local108 poll_wait(filep, &ev_int->wait, wait); in iio_event_poll()110 if (!kfifo_is_empty(&ev_int->det_events)) in iio_event_poll()[all …]
80 bool iio_event_enabled(const struct iio_event_interface *ev_int);
219 const struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; in iio_device_set_clock() local224 if ((ev_int && iio_event_enabled(ev_int)) || in iio_device_set_clock()