/Linux-v6.6/drivers/hid/ |
D | hid-input.c | 96 #define map_abs(c) hid_map_usage(hidinput, usage, &bit, &max, EV_ABS, (c)) 97 #define map_rel(c) hid_map_usage(hidinput, usage, &bit, &max, EV_REL, (c)) 98 #define map_key(c) hid_map_usage(hidinput, usage, &bit, &max, EV_KEY, (c)) 99 #define map_led(c) hid_map_usage(hidinput, usage, &bit, &max, EV_LED, (c)) 100 #define map_msc(c) hid_map_usage(hidinput, usage, &bit, &max, EV_MSC, (c)) 102 #define map_abs_clear(c) hid_map_usage_clear(hidinput, usage, &bit, \ 104 #define map_key_clear(c) hid_map_usage_clear(hidinput, usage, &bit, \ 687 static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_field *field, in hidinput_configure_usage() argument 690 struct input_dev *input = hidinput->input; in hidinput_configure_usage() 697 field->hidinput = hidinput; in hidinput_configure_usage() [all …]
|
D | hid-holtek-kbd.c | 159 struct hid_input *hidinput; in holtek_kbd_probe() local 160 list_for_each_entry(hidinput, &hdev->inputs, list) { in holtek_kbd_probe() 161 hidinput->input->event = holtek_kbd_input_event; in holtek_kbd_probe()
|
D | hid-elo.c | 40 struct hid_input *hidinput) in elo_input_configured() argument 42 struct input_dev *input = hidinput->input; in elo_input_configured() 83 struct hid_input *hidinput; in elo_raw_event() local 88 hidinput = list_first_entry(&hdev->inputs, struct hid_input, list); in elo_raw_event() 93 elo_process_data(hidinput->input, data, size); in elo_raw_event()
|
D | hid-lg2ff.c | 53 struct hid_input *hidinput; in lg2ff_init() local 61 hidinput = list_entry(hid->inputs.next, struct hid_input, list); in lg2ff_init() 62 dev = hidinput->input; in lg2ff_init()
|
D | hid-megaworld.c | 42 struct hid_input *hidinput; in mwctrl_init() local 51 hidinput = list_entry(hid->inputs.next, struct hid_input, list); in mwctrl_init() 52 dev = hidinput->input; in mwctrl_init()
|
D | hid-cougar.c | 197 struct hid_input *next, *hidinput = NULL; in cougar_probe() local 233 list_for_each_entry_safe(hidinput, next, &hdev->inputs, list) { in cougar_probe() 234 if (hidinput->registered && hidinput->input != NULL) { in cougar_probe() 235 cougar->shared->input = hidinput->input; in cougar_probe()
|
D | hid-lg3ff.c | 120 struct hid_input *hidinput; in lg3ff_init() local 130 hidinput = list_entry(hid->inputs.next, struct hid_input, list); in lg3ff_init() 131 dev = hidinput->input; in lg3ff_init()
|
D | hid-zpff.c | 57 struct hid_input *hidinput; in zpff_init() local 65 hidinput = list_entry(hid->inputs.next, struct hid_input, list); in zpff_init() 66 dev = hidinput->input; in zpff_init()
|
D | hid-betopff.c | 59 struct hid_input *hidinput; in betopff_init() local 71 hidinput = list_first_entry(&hid->inputs, struct hid_input, list); in betopff_init() 72 dev = hidinput->input; in betopff_init()
|
D | hid-emsff.c | 50 struct hid_input *hidinput; in emsff_init() local 60 hidinput = list_first_entry(&hid->inputs, struct hid_input, list); in emsff_init() 61 dev = hidinput->input; in emsff_init()
|
D | hid-holtekff.c | 127 struct hid_input *hidinput; in holtekff_init() local 137 hidinput = list_entry(hid->inputs.next, struct hid_input, list); in holtekff_init() 138 dev = hidinput->input; in holtekff_init()
|
D | hid-sjoy.c | 55 struct hid_input *hidinput; in sjoyff_init() local 67 list_for_each_entry(hidinput, &hid->inputs, list) { in sjoyff_init() 90 dev = hidinput->input; in sjoyff_init()
|
D | hid-google-stadiaff.c | 64 struct hid_input *hidinput; in stadiaff_init() local 72 hidinput = list_entry(hid->inputs.next, struct hid_input, list); in stadiaff_init() 73 dev = hidinput->input; in stadiaff_init()
|
D | hid-ezkey.c | 50 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || in ez_event() 56 struct input_dev *input = field->hidinput->input; in ez_event()
|
D | hid-gaff.c | 67 struct hid_input *hidinput; in gaff_init() local 78 hidinput = list_entry(hid->inputs.next, struct hid_input, list); in gaff_init() 79 dev = hidinput->input; in gaff_init()
|
D | hid-lgff.c | 118 struct hid_input *hidinput; in lgff_init() local 128 hidinput = list_entry(hid->inputs.next, struct hid_input, list); in lgff_init() 129 dev = hidinput->input; in lgff_init()
|
D | hid-axff.c | 66 struct hid_input *hidinput; in axff_init() local 77 hidinput = list_first_entry(&hid->inputs, struct hid_input, list); in axff_init() 78 dev = hidinput->input; in axff_init()
|
D | hid-pl.c | 73 struct hid_input *hidinput; in plff_init() local 101 list_for_each_entry(hidinput, &hid->inputs, list) { in plff_init() 147 dev = hidinput->input; in plff_init()
|
D | hid-ntrig.c | 578 if(!(field->hidinput && field->hidinput->input)) in ntrig_event() 581 input = field->hidinput->input; in ntrig_event() 750 input_mt_sync(field->hidinput->input); in ntrig_event() 859 struct hid_input *hidinput) in ntrig_input_configured() argument 862 struct input_dev *input = hidinput->input; in ntrig_input_configured() 864 if (hidinput->report->maxfield < 1) in ntrig_input_configured() 867 switch (hidinput->report->field[0]->application) { in ntrig_input_configured() 884 input->name = (hidinput->report->field[0]->physical) ? in ntrig_input_configured()
|
D | hid-gyration.c | 58 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput) in gyration_event() 63 struct input_dev *input = field->hidinput->input; in gyration_event()
|
D | hid-dr.c | 78 struct hid_input *hidinput; in drff_init() local 88 hidinput = list_first_entry(&hid->inputs, struct hid_input, list); in drff_init() 89 dev = hidinput->input; in drff_init()
|
D | hid-gfrm.c | 87 static int gfrm_input_configured(struct hid_device *hid, struct hid_input *hidinput) in gfrm_input_configured() argument 94 input_enable_softrepeat(hidinput->input, 400, 100); in gfrm_input_configured()
|
D | hid-icade.c | 169 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || in icade_event() 182 input_event(field->hidinput->input, usage->type, in icade_event()
|
D | hid-tmff.c | 123 struct hid_input *hidinput; in tmff_init() local 132 hidinput = list_entry(hid->inputs.next, struct hid_input, list); in tmff_init() 133 input_dev = hidinput->input; in tmff_init()
|
D | hid-bigbenff.c | 373 struct hid_input *hidinput; in bigben_probe() local 411 hidinput = list_first_entry(&hid->inputs, struct hid_input, list); in bigben_probe() 412 set_bit(FF_RUMBLE, hidinput->input->ffbit); in bigben_probe() 417 error = input_ff_create_memless(hidinput->input, NULL, in bigben_probe()
|