Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hid/
H A Dhid-uclogic-params.c1319 struct uclogic_raw_event_hook *event_hook; in uclogic_params_ugee_v2_reconnect_work() local
1322 uclogic_probe_interface(event_hook->hdev, uclogic_ugee_v2_probe_arr, in uclogic_params_ugee_v2_reconnect_work()
1340 struct uclogic_raw_event_hook *event_hook; in uclogic_params_ugee_v2_init_event_hooks() local
1359 event_hook = kzalloc(sizeof(*event_hook), GFP_KERNEL); in uclogic_params_ugee_v2_init_event_hooks()
1360 if (!event_hook) in uclogic_params_ugee_v2_init_event_hooks()
1363 INIT_WORK(&event_hook->work, uclogic_params_ugee_v2_reconnect_work); in uclogic_params_ugee_v2_init_event_hooks()
1364 event_hook->hdev = hdev; in uclogic_params_ugee_v2_init_event_hooks()
1365 event_hook->size = ARRAY_SIZE(reconnect_event); in uclogic_params_ugee_v2_init_event_hooks()
1366 event_hook->event = kmemdup(reconnect_event, event_hook->size, GFP_KERNEL); in uclogic_params_ugee_v2_init_event_hooks()
1367 if (!event_hook->event) in uclogic_params_ugee_v2_init_event_hooks()
[all …]