Searched refs:ev_int (Results 1 – 3 of 3) sorted by relevance
44 bool iio_event_enabled(const struct iio_event_interface *ev_int) in iio_event_enabled() argument46 return !!test_bit(IIO_BUSY_BIT_POS, &ev_int->flags); in iio_event_enabled()65 struct iio_event_interface *ev_int = indio_dev->event_interface; in iio_push_event() local69 if (!ev_int) in iio_push_event()73 if (iio_event_enabled(ev_int)) { in iio_push_event()78 copied = kfifo_put(&ev_int->det_events, ev); in iio_push_event()80 wake_up_poll(&ev_int->wait, EPOLLIN); in iio_push_event()99 struct iio_event_interface *ev_int = indio_dev->event_interface; in iio_event_poll() local105 poll_wait(filep, &ev_int->wait, wait); in iio_event_poll()107 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);
194 const struct iio_event_interface *ev_int = indio_dev->event_interface; in iio_device_set_clock() local199 if ((ev_int && iio_event_enabled(ev_int)) || in iio_device_set_clock()