Home
last modified time | relevance | path

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

/hardware/intel/common/libva/test/common/
Dva_display_wayland.c42 int event_fd; member
83 d->event_fd = -1; in va_open_display_wayland()
93 d->event_fd = wl_display_get_fd(d->display); in va_open_display_wayland()
/hardware/intel/common/libva/test/putsurface/
Dputsurface_wayland.c106 int event_fd; member
216 d->event_fd = wl_display_get_fd(d->display); in open_display()
304 FD_SET(d->event_fd, &rfds); in check_window_event()
306 retval = select(d->event_fd + 1, &rfds, NULL, NULL, &tv); in check_window_event()
/hardware/bsp/intel/peripheral/libmraa/src/iio/
Diio.c447 int event_fd; in mraa_iio_event_poll() local
453 ret = ioctl(fd, IIO_GET_EVENT_FD_IOCTL, &event_fd); in mraa_iio_event_poll()
459 if (ret == -1 || event_fd == -1) in mraa_iio_event_poll()
462 ret = read(event_fd, data, sizeof(struct iio_event_data)); in mraa_iio_event_poll()
464 close(event_fd); in mraa_iio_event_poll()