Searched refs:event_fd (Results 1 – 3 of 3) sorted by relevance
42 int event_fd; member83 d->event_fd = -1; in va_open_display_wayland()93 d->event_fd = wl_display_get_fd(d->display); in va_open_display_wayland()
106 int event_fd; member216 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()
447 int event_fd; in mraa_iio_event_poll() local453 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()