Lines Matching refs:evhandler
53 struct exynos_evhandler evhandler; member
67 static void setup_g2d_event_handler(struct exynos_evhandler *evhandler, int fd) in setup_g2d_event_handler() argument
69 evhandler->fds.fd = fd; in setup_g2d_event_handler()
70 evhandler->fds.events = POLLIN; in setup_g2d_event_handler()
71 evhandler->evctx.base.version = 2; in setup_g2d_event_handler()
72 evhandler->evctx.version = 1; in setup_g2d_event_handler()
73 evhandler->evctx.g2d_event_handler = g2d_event_handler; in setup_g2d_event_handler()
87 data->evhandler.fds.revents = 0; in threadfunc()
89 if (poll(&data->evhandler.fds, 1, timeout) < 0) in threadfunc()
92 if (data->evhandler.fds.revents & (POLLHUP | POLLERR)) in threadfunc()
95 if (data->evhandler.fds.revents & POLLIN) in threadfunc()
96 exynos_handle_event(data->dev, &data->evhandler.evctx); in threadfunc()
309 setup_g2d_event_handler(&event_data.evhandler, fd); in main()