Lines Matching refs:ev_fdinfo
48 static struct fd_info ev_fdinfo[MAX_DEVICES + MAX_MISC_FDS]; variable
90 ev.data.ptr = (void *)&ev_fdinfo[ev_count]; in ev_init()
97 ev_fdinfo[ev_count].fd = fd; in ev_init()
98 ev_fdinfo[ev_count].cb = input_cb; in ev_init()
99 ev_fdinfo[ev_count].data = data; in ev_init()
124 ev.data.ptr = (void *)&ev_fdinfo[ev_count]; in ev_add_fd()
127 ev_fdinfo[ev_count].fd = fd; in ev_add_fd()
128 ev_fdinfo[ev_count].cb = cb; in ev_add_fd()
129 ev_fdinfo[ev_count].data = data; in ev_add_fd()
145 close(ev_fdinfo[--ev_count].fd); in ev_exit()
198 ret = ioctl(ev_fdinfo[i].fd, EVIOCGBIT(0, sizeof(ev_bits)), ev_bits); in ev_sync_key_state()
202 ret = ioctl(ev_fdinfo[i].fd, EVIOCGKEY(sizeof(key_bits)), key_bits); in ev_sync_key_state()