Home
last modified time | relevance | path

Searched refs:event_hooks (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/hid/
Dhid-uclogic-core-test.c72 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()
Dhid-uclogic-params.c629 if (!params || !params->event_hooks) in uclogic_params_cleanup_event_hooks()
632 list_for_each_entry_safe(curr, n, &params->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()
Dhid-uclogic-params.h234 struct uclogic_raw_event_hook *event_hooks; member
Dhid-uclogic-core.c260 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()
Dhid-uclogic-params-test.c202 KUNIT_EXPECT_PTR_EQ(test, p.event_hooks, NULL); in hid_test_uclogic_params_cleanup_event_hooks()