Home
last modified time | relevance | path

Searched refs:hidinput (Results 1 – 25 of 46) sorted by relevance

12

/Linux-v6.6/drivers/hid/
Dhid-input.c96 #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 …]
Dhid-holtek-kbd.c159 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()
Dhid-elo.c40 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()
Dhid-lg2ff.c53 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()
Dhid-megaworld.c42 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()
Dhid-cougar.c197 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()
Dhid-lg3ff.c120 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()
Dhid-zpff.c57 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()
Dhid-betopff.c59 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()
Dhid-emsff.c50 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()
Dhid-holtekff.c127 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()
Dhid-sjoy.c55 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()
Dhid-google-stadiaff.c64 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()
Dhid-ezkey.c50 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || in ez_event()
56 struct input_dev *input = field->hidinput->input; in ez_event()
Dhid-gaff.c67 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()
Dhid-lgff.c118 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()
Dhid-axff.c66 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()
Dhid-pl.c73 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()
Dhid-ntrig.c578 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()
Dhid-gyration.c58 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput) in gyration_event()
63 struct input_dev *input = field->hidinput->input; in gyration_event()
Dhid-dr.c78 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()
Dhid-gfrm.c87 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()
Dhid-icade.c169 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || in icade_event()
182 input_event(field->hidinput->input, usage->type, in icade_event()
Dhid-tmff.c123 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()
Dhid-bigbenff.c373 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()

12