Searched refs:ev_int (Results 1 – 1 of 1) sorted by relevance
47 struct iio_event_interface *ev_int = indio_dev->event_interface; in iio_push_event() local52 spin_lock(&ev_int->wait.lock); in iio_push_event()53 if (test_bit(IIO_BUSY_BIT_POS, &ev_int->flags)) { in iio_push_event()58 copied = kfifo_put(&ev_int->det_events, &ev); in iio_push_event()60 wake_up_locked_poll(&ev_int->wait, POLLIN); in iio_push_event()62 spin_unlock(&ev_int->wait.lock); in iio_push_event()74 struct iio_event_interface *ev_int = filep->private_data; in iio_event_poll() local77 poll_wait(filep, &ev_int->wait, wait); in iio_event_poll()79 spin_lock(&ev_int->wait.lock); in iio_event_poll()80 if (!kfifo_is_empty(&ev_int->det_events)) in iio_event_poll()[all …]