Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/recovery/minui/
H A Devents.c50 static unsigned ev_count = 0; 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()
100 ev_count++; in ev_init()
106 if (epollctlfail && !ev_count) { 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()
[all …]
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/minui/
H A Devents.c54 static unsigned ev_count = 0; variable
287 ev_fds[ev_count].fd = fd; in ev_init()
288 ev_fds[ev_count].events = POLLIN; in ev_init()
289 evs[ev_count].fd = &ev_fds[ev_count]; in ev_init()
292 vk_init(&evs[ev_count]); in ev_init()
294 ev_count++; in ev_init()
295 if(ev_count == MAX_DEVICES) break; in ev_init()
304 while (ev_count-- > 0) { in ev_exit()
305 if (evs[ev_count].vk_count) { in ev_exit()
306 free(evs[ev_count].vks); in ev_exit()
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/accel/
H A Dmma8452.c143 u8 ev_count; member
153 .ev_count = MMA8452_FF_MT_COUNT
163 .ev_count = MMA8452_TRANSIENT_COUNT,
848 ret = i2c_smbus_read_byte_data(data->client, ev_regs->ev_count); in mma8452_read_event_value()
919 return mma8452_change_config(data, ev_regs->ev_count, steps); in mma8452_write_event_value()