Home
last modified time | relevance | path

Searched refs:effect_ids (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-logitech-hidpp.c1912 int *effect_ids; member
1968 if (data->effect_ids[i] == effect_id) in hidpp_ff_find_effect()
2012 data->effect_ids[slot-1] = wd->effect_id; in hidpp_ff_work_handler()
2021 data->effect_ids[wd->params[0]-1] = -1; in hidpp_ff_work_handler()
2314 kfree(data->effect_ids); in hidpp_ff_destroy()
2364 data->effect_ids = kcalloc(num_slots, sizeof(int), GFP_KERNEL); in hidpp_ff_init()
2365 if (!data->effect_ids) { in hidpp_ff_init()
2371 kfree(data->effect_ids); in hidpp_ff_init()
2379 data->effect_ids[j] = -1; in hidpp_ff_init()
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-logitech-hidpp.c2417 int *effect_ids; member
2473 if (data->effect_ids[i] == effect_id) in hidpp_ff_find_effect()
2517 data->effect_ids[slot-1] = wd->effect_id; in hidpp_ff_work_handler()
2526 data->effect_ids[wd->params[0]-1] = -1; in hidpp_ff_work_handler()
2818 kfree(data->effect_ids); in hidpp_ff_destroy()
2875 data->effect_ids = kcalloc(num_slots, sizeof(int), GFP_KERNEL); in hidpp_ff_init()
2876 if (!data->effect_ids) { in hidpp_ff_init()
2882 kfree(data->effect_ids); in hidpp_ff_init()
2890 data->effect_ids[j] = -1; in hidpp_ff_init()

Completed in 12 milliseconds