Home
last modified time | relevance | path

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

/linux/drivers/hid/
H A Dhid-haptic.c111 haptic->hid_usage_map[usage_hid] = field->value[n]; in parse_auto_trigger_field()
251 if (haptic->hid_usage_map[i] == effect->u.haptic.hid_usage) { in hid_haptic_upload_effect()
397 kfree(haptic->hid_usage_map); in hid_haptic_destroy()
398 haptic->hid_usage_map = NULL; in hid_haptic_destroy()
423 haptic->hid_usage_map = kcalloc(haptic->max_waveform_id + 1, in hid_haptic_init()
425 if (!haptic->hid_usage_map) { in hid_haptic_init()
441 haptic->hid_usage_map[HID_HAPTIC_ORDINAL_WAVEFORMNONE] = in hid_haptic_init()
443 haptic->hid_usage_map[HID_HAPTIC_ORDINAL_WAVEFORMSTOP] = in hid_haptic_init()
561 kfree(haptic->hid_usage_map); in hid_haptic_init()
562 haptic->hid_usage_map = NULL; in hid_haptic_init()
H A Dhid-haptic.h49 u16 *hid_usage_map; member