Lines Matching full:entry
35 struct double_tap_data_entry *entry = in double_tap_deferred() local
38 entry->first_tap = false; in double_tap_deferred()
45 struct double_tap_data_entry *entry; in double_tap_cb() local
62 entry = &cfg->entries[i]; in double_tap_cb()
65 if (entry->first_tap) { in double_tap_cb()
66 k_work_cancel_delayable(&entry->work); in double_tap_cb()
69 entry->first_tap = false; in double_tap_cb()
71 entry->first_tap = true; in double_tap_cb()
72 k_work_schedule(&entry->work, K_MSEC(cfg->double_tap_delay_ms)); in double_tap_cb()
87 struct double_tap_data_entry *entry = &cfg->entries[i]; in double_tap_init() local
89 entry->dev = dev; in double_tap_init()
90 entry->index = i; in double_tap_init()
91 entry->first_tap = false; in double_tap_init()
92 k_work_init_delayable(&entry->work, double_tap_deferred); in double_tap_init()