Home
last modified time | relevance | path

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

12

/drivers/hid/
Dhid-input.c63 #define map_abs(c) hid_map_usage(hidinput, usage, &bit, &max, EV_ABS, (c))
64 #define map_rel(c) hid_map_usage(hidinput, usage, &bit, &max, EV_REL, (c))
65 #define map_key(c) hid_map_usage(hidinput, usage, &bit, &max, EV_KEY, (c))
66 #define map_led(c) hid_map_usage(hidinput, usage, &bit, &max, EV_LED, (c))
68 #define map_abs_clear(c) hid_map_usage_clear(hidinput, usage, &bit, \
70 #define map_key_clear(c) hid_map_usage_clear(hidinput, usage, &bit, \
495 static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_field *field, in hidinput_configure_usage() argument
498 struct input_dev *input = hidinput->input; in hidinput_configure_usage()
503 field->hidinput = hidinput; in hidinput_configure_usage()
519 int ret = device->driver->input_mapping(device, hidinput, field, in hidinput_configure_usage()
[all …]
Dhid-elo.c41 struct hid_input *hidinput) in elo_input_configured() argument
43 struct input_dev *input = hidinput->input; in elo_input_configured()
84 struct hid_input *hidinput; in elo_raw_event() local
89 hidinput = list_first_entry(&hdev->inputs, struct hid_input, list); in elo_raw_event()
94 elo_process_data(hidinput->input, data, size); in elo_raw_event()
Dhid-holtek-kbd.c148 struct hid_input *hidinput; in holtek_kbd_probe() local
149 list_for_each_entry(hidinput, &hdev->inputs, list) { in holtek_kbd_probe()
150 hidinput->input->event = holtek_kbd_input_event; in holtek_kbd_probe()
Dhid-sjoy.c67 struct hid_input *hidinput; in sjoyff_init() local
79 list_for_each_entry(hidinput, &hid->inputs, list) { in sjoyff_init()
102 dev = hidinput->input; in sjoyff_init()
Dhid-ntrig.c582 if(!(field->hidinput && field->hidinput->input)) in ntrig_event()
585 input = field->hidinput->input; in ntrig_event()
754 input_mt_sync(field->hidinput->input); in ntrig_event()
863 struct hid_input *hidinput) in ntrig_input_configured() argument
866 struct input_dev *input = hidinput->input; in ntrig_input_configured()
868 if (hidinput->report->maxfield < 1) in ntrig_input_configured()
871 switch (hidinput->report->field[0]->application) { in ntrig_input_configured()
888 input->name = (hidinput->report->field[0]->physical) ? in ntrig_input_configured()
Dhid-ezkey.c53 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || in ez_event()
59 struct input_dev *input = field->hidinput->input; in ez_event()
Dhid-pl.c85 struct hid_input *hidinput; in plff_init() local
113 list_for_each_entry(hidinput, &hid->inputs, list) { in plff_init()
159 dev = hidinput->input; in plff_init()
Dhid-gyration.c61 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput) in gyration_event()
66 struct input_dev *input = field->hidinput->input; in gyration_event()
Dhid-lg2ff.c65 struct hid_input *hidinput = list_entry(hid->inputs.next, in lg2ff_init() local
67 struct input_dev *dev = hidinput->input; in lg2ff_init()
Dhid-icade.c172 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || in icade_event()
185 input_event(field->hidinput->input, usage->type, in icade_event()
Dhid-gfrm.c91 static int gfrm_input_configured(struct hid_device *hid, struct hid_input *hidinput) in gfrm_input_configured() argument
98 input_enable_softrepeat(hidinput->input, 400, 100); in gfrm_input_configured()
Dhid-zpff.c69 struct hid_input *hidinput = list_entry(hid->inputs.next, in zpff_init() local
71 struct input_dev *dev = hidinput->input; in zpff_init()
Dhid-lg3ff.c132 struct hid_input *hidinput = list_entry(hid->inputs.next, struct hid_input, list); in lg3ff_init() local
133 struct input_dev *dev = hidinput->input; in lg3ff_init()
Dhid-a4tech.c56 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || in a4_event()
60 input = field->hidinput->input; in a4_event()
Dhid-cypress.c76 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || in cp_event()
90 struct input_dev *input = field->hidinput->input; in cp_event()
Dhid-betopff.c62 struct hid_input *hidinput = in betopff_init() local
66 struct input_dev *dev = hidinput->input; in betopff_init()
Dhid-cmedia.c87 struct hid_input *hidinput) in cmhid_input_configured() argument
89 struct input_dev *input_dev = hidinput->input; in cmhid_input_configured()
Dhid-emsff.c62 struct hid_input *hidinput = list_first_entry(&hid->inputs, in emsff_init() local
66 struct input_dev *dev = hidinput->input; in emsff_init()
Dhid-holtekff.c143 struct hid_input *hidinput = list_entry(hid->inputs.next, in holtekff_init() local
147 struct input_dev *dev = hidinput->input; in holtekff_init()
Dhid-axff.c78 struct hid_input *hidinput = list_first_entry(&hid->inputs, struct hid_input, list); in axff_init() local
80 struct input_dev *dev = hidinput->input; in axff_init()
Dhid-gaff.c80 struct hid_input *hidinput = list_entry(hid->inputs.next, in gaff_init() local
85 struct input_dev *dev = hidinput->input; in gaff_init()
Dhid-lgff.c130 struct hid_input *hidinput = list_entry(hid->inputs.next, struct hid_input, list); in lgff_init() local
131 struct input_dev *dev = hidinput->input; in lgff_init()
Dhid-multitouch.c692 struct input_dev *input = field->hidinput->input; in mt_process_mt_event()
753 mt_complete_slot(td, field->hidinput->input); in mt_process_mt_event()
790 mt_sync_frame(td, report->field[0]->hidinput->input); in mt_touch_report()
912 if (field && field->hidinput && field->hidinput->input) in mt_report()
913 input_sync(field->hidinput->input); in mt_report()
1169 struct hid_input *hidinput; in mt_release_contacts() local
1171 list_for_each_entry(hidinput, &hid->inputs, list) { in mt_release_contacts()
1172 struct input_dev *input_dev = hidinput->input; in mt_release_contacts()
Dhid-tmff.c129 struct hid_input *hidinput = list_entry(hid->inputs.next, in tmff_init() local
131 struct input_dev *input_dev = hidinput->input; in tmff_init()
Dhid-dr.c90 struct hid_input *hidinput = list_first_entry(&hid->inputs, in drff_init() local
94 struct input_dev *dev = hidinput->input; in drff_init()

12