/kernel/linux/linux-5.10/drivers/hid/ |
D | hid-input.c | 51 #define map_abs(c) hid_map_usage(hidinput, usage, &bit, &max, EV_ABS, (c)) 52 #define map_rel(c) hid_map_usage(hidinput, usage, &bit, &max, EV_REL, (c)) 53 #define map_key(c) hid_map_usage(hidinput, usage, &bit, &max, EV_KEY, (c)) 54 #define map_led(c) hid_map_usage(hidinput, usage, &bit, &max, EV_LED, (c)) 56 #define map_abs_clear(c) hid_map_usage_clear(hidinput, usage, &bit, \ 58 #define map_key_clear(c) hid_map_usage_clear(hidinput, usage, &bit, \ 566 static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_field *field, in hidinput_configure_usage() argument 569 struct input_dev *input = hidinput->input; in hidinput_configure_usage() 574 field->hidinput = hidinput; in hidinput_configure_usage() 590 int ret = device->driver->input_mapping(device, hidinput, field, in hidinput_configure_usage() [all …]
|
D | hid-holtek-kbd.c | 155 struct hid_input *hidinput; in holtek_kbd_probe() local 156 list_for_each_entry(hidinput, &hdev->inputs, list) { in holtek_kbd_probe() 157 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-cougar.c | 198 struct hid_input *next, *hidinput = NULL; in cougar_probe() local 234 list_for_each_entry_safe(hidinput, next, &hdev->inputs, list) { in cougar_probe() 235 if (hidinput->registered && hidinput->input != NULL) { in cougar_probe() 236 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-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-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-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-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-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-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-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-microsoft.c | 229 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || in ms_event() 233 input = field->hidinput->input; in ms_event() 328 struct hid_input *hidinput; in ms_init_ff() local 336 hidinput = list_entry(hdev->inputs.next, struct hid_input, list); in ms_init_ff() 337 input_dev = hidinput->input; in ms_init_ff()
|
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 | 127 struct hid_input *hidinput; in tmff_init() local 136 hidinput = list_entry(hid->inputs.next, struct hid_input, list); in tmff_init() 137 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()
|
/kernel/linux/patches/linux-4.19/common_patch/ |
D | hdf.patch | 253 list_for_each_entry(hidinput, &hid->inputs, list) 257 input_sync(hidinput->input); 266 @@ -1729,6 +1741,41 @@ static inline void hidinput_configure_usages(struct hid_input *hidinput, 309 hidinput_cleanup_hidinput(hid, hidinput); 314 + transfer_info(hidinput->input); 316 if (input_register_device(hidinput->input)) 318 hidinput->registered = true;
|