Lines Matching refs:pfds
324 struct pollfd pfds[1] = { in hwc_hdmi_thread() local
326 pfds[0].fd = uevent_get_fd(), in hwc_hdmi_thread()
327 pfds[0].events = POLLIN, in hwc_hdmi_thread()
328 pfds[0].revents = 0, in hwc_hdmi_thread()
340 int err = poll(pfds, ARRAY_SIZE(pfds), -1); in hwc_hdmi_thread()
346 if (pfds[0].revents & POLLIN) { in hwc_hdmi_thread()
370 struct pollfd pfds = { in hwc_drm_event_thread() local
371 pfds.fd = hwc_dev->card->fd(), in hwc_drm_event_thread()
372 pfds.events = POLLIN, in hwc_drm_event_thread()
373 pfds.revents = 0, in hwc_drm_event_thread()
383 int ret = poll(&pfds, 1, 60000); in hwc_drm_event_thread()
391 if (pfds.revents & POLLIN) in hwc_drm_event_thread()
392 drmHandleEvent(pfds.fd, &evctx); in hwc_drm_event_thread()