Searched refs:event_hooks (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/hid/ |
D | hid-uclogic-core-test.c | 72 p.event_hooks = kunit_kzalloc(test, sizeof(*p.event_hooks), GFP_KERNEL); in hid_test_uclogic_exec_event_hook_test() 73 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, p.event_hooks); in hid_test_uclogic_exec_event_hook_test() 74 INIT_LIST_HEAD(&p.event_hooks->list); in hid_test_uclogic_exec_event_hook_test() 87 list_add_tail(&filter->list, &p.event_hooks->list); in hid_test_uclogic_exec_event_hook_test()
|
D | hid-uclogic-params.c | 629 if (!params || !params->event_hooks) in uclogic_params_cleanup_event_hooks() 632 list_for_each_entry_safe(curr, n, ¶ms->event_hooks->list, list) { in uclogic_params_cleanup_event_hooks() 639 kfree(params->event_hooks); in uclogic_params_cleanup_event_hooks() 640 params->event_hooks = NULL; in uclogic_params_cleanup_event_hooks() 1356 p->event_hooks = kzalloc(sizeof(*p->event_hooks), GFP_KERNEL); in uclogic_params_ugee_v2_init_event_hooks() 1357 if (!p->event_hooks) in uclogic_params_ugee_v2_init_event_hooks() 1360 INIT_LIST_HEAD(&p->event_hooks->list); in uclogic_params_ugee_v2_init_event_hooks() 1373 list_add_tail(&event_hook->list, &p->event_hooks->list); in uclogic_params_ugee_v2_init_event_hooks()
|
D | hid-uclogic-params.h | 234 struct uclogic_raw_event_hook *event_hooks; member
|
D | hid-uclogic-core.c | 260 if (!p->event_hooks) in uclogic_exec_event_hook() 263 list_for_each_entry(curr, &p->event_hooks->list, list) { in uclogic_exec_event_hook()
|
D | hid-uclogic-params-test.c | 202 KUNIT_EXPECT_PTR_EQ(test, p.event_hooks, NULL); in hid_test_uclogic_params_cleanup_event_hooks()
|