Searched refs:ev_count (Results 1 – 3 of 3) sorted by relevance
50 static unsigned ev_count = 0; variable90 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 …]
54 static unsigned ev_count = 0; variable287 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 …]
143 u8 ev_count; member153 .ev_count = MMA8452_FF_MT_COUNT163 .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()