hidinput 79 drivers/hid/hid-a4tech.c if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput) hidinput 82 drivers/hid/hid-a4tech.c input = field->hidinput->input; hidinput 281 drivers/hid/hid-apple.c if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || hidinput 287 drivers/hid/hid-apple.c input_event(field->hidinput->input, usage->type, usage->code, hidinput 293 drivers/hid/hid-apple.c hidinput_apple_event(hdev, field->hidinput->input, hidinput 252 drivers/hid/hid-appleir.c struct hid_input *hidinput) hidinput 254 drivers/hid/hid-appleir.c struct input_dev *input_dev = hidinput->input; hidinput 66 drivers/hid/hid-axff.c struct hid_input *hidinput; hidinput 77 drivers/hid/hid-axff.c hidinput = list_first_entry(&hid->inputs, struct hid_input, list); hidinput 78 drivers/hid/hid-axff.c dev = hidinput->input; hidinput 59 drivers/hid/hid-betopff.c struct hid_input *hidinput = hidinput 63 drivers/hid/hid-betopff.c struct input_dev *dev = hidinput->input; hidinput 320 drivers/hid/hid-bigbenff.c struct hid_input *hidinput; hidinput 350 drivers/hid/hid-bigbenff.c hidinput = list_first_entry(&hid->inputs, struct hid_input, list); hidinput 351 drivers/hid/hid-bigbenff.c set_bit(FF_RUMBLE, hidinput->input->ffbit); hidinput 355 drivers/hid/hid-bigbenff.c error = input_ff_create_memless(hidinput->input, NULL, hidinput 79 drivers/hid/hid-cmedia.c struct hid_input *hidinput) hidinput 81 drivers/hid/hid-cmedia.c struct input_dev *input_dev = hidinput->input; hidinput 2556 drivers/hid/hid-core.c struct hid_input *hidinput; hidinput 2562 drivers/hid/hid-core.c list_for_each_entry(hidinput, &hid->inputs, list) { hidinput 2564 drivers/hid/hid-core.c if (hidinput->input->key[i]) hidinput 198 drivers/hid/hid-cougar.c struct hid_input *next, *hidinput = NULL; hidinput 234 drivers/hid/hid-cougar.c list_for_each_entry_safe(hidinput, next, &hdev->inputs, list) { hidinput 235 drivers/hid/hid-cougar.c if (hidinput->registered && hidinput->input != NULL) { hidinput 236 drivers/hid/hid-cougar.c cougar->shared->input = hidinput->input; hidinput 186 drivers/hid/hid-creative-sb0540.c struct hid_input *hidinput) hidinput 188 drivers/hid/hid-creative-sb0540.c struct input_dev *input_dev = hidinput->input; hidinput 73 drivers/hid/hid-cypress.c if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || hidinput 87 drivers/hid/hid-cypress.c struct input_dev *input = field->hidinput->input; hidinput 78 drivers/hid/hid-dr.c struct hid_input *hidinput; hidinput 88 drivers/hid/hid-dr.c hidinput = list_first_entry(&hid->inputs, struct hid_input, list); hidinput 89 drivers/hid/hid-dr.c dev = hidinput->input; hidinput 40 drivers/hid/hid-elo.c struct hid_input *hidinput) hidinput 42 drivers/hid/hid-elo.c struct input_dev *input = hidinput->input; hidinput 83 drivers/hid/hid-elo.c struct hid_input *hidinput; hidinput 88 drivers/hid/hid-elo.c hidinput = list_first_entry(&hdev->inputs, struct hid_input, list); hidinput 93 drivers/hid/hid-elo.c elo_process_data(hidinput->input, data, size); hidinput 50 drivers/hid/hid-emsff.c struct hid_input *hidinput; hidinput 60 drivers/hid/hid-emsff.c hidinput = list_first_entry(&hid->inputs, struct hid_input, list); hidinput 61 drivers/hid/hid-emsff.c dev = hidinput->input; hidinput 50 drivers/hid/hid-ezkey.c if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || hidinput 56 drivers/hid/hid-ezkey.c struct input_dev *input = field->hidinput->input; hidinput 67 drivers/hid/hid-gaff.c struct hid_input *hidinput; hidinput 78 drivers/hid/hid-gaff.c hidinput = list_entry(hid->inputs.next, struct hid_input, list); hidinput 79 drivers/hid/hid-gaff.c dev = hidinput->input; hidinput 87 drivers/hid/hid-gfrm.c static int gfrm_input_configured(struct hid_device *hid, struct hid_input *hidinput) hidinput 94 drivers/hid/hid-gfrm.c input_enable_softrepeat(hidinput->input, 400, 100); hidinput 58 drivers/hid/hid-gyration.c if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput) hidinput 63 drivers/hid/hid-gyration.c struct input_dev *input = field->hidinput->input; hidinput 150 drivers/hid/hid-holtek-kbd.c struct hid_input *hidinput; hidinput 151 drivers/hid/hid-holtek-kbd.c list_for_each_entry(hidinput, &hdev->inputs, list) { hidinput 152 drivers/hid/hid-holtek-kbd.c hidinput->input->event = holtek_kbd_input_event; hidinput 127 drivers/hid/hid-holtekff.c struct hid_input *hidinput; hidinput 137 drivers/hid/hid-holtekff.c hidinput = list_entry(hid->inputs.next, struct hid_input, list); hidinput 138 drivers/hid/hid-holtekff.c dev = hidinput->input; hidinput 169 drivers/hid/hid-icade.c if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || hidinput 182 drivers/hid/hid-icade.c input_event(field->hidinput->input, usage->type, hidinput 51 drivers/hid/hid-input.c #define map_abs(c) hid_map_usage(hidinput, usage, &bit, &max, EV_ABS, (c)) hidinput 52 drivers/hid/hid-input.c #define map_rel(c) hid_map_usage(hidinput, usage, &bit, &max, EV_REL, (c)) hidinput 53 drivers/hid/hid-input.c #define map_key(c) hid_map_usage(hidinput, usage, &bit, &max, EV_KEY, (c)) hidinput 54 drivers/hid/hid-input.c #define map_led(c) hid_map_usage(hidinput, usage, &bit, &max, EV_LED, (c)) hidinput 56 drivers/hid/hid-input.c #define map_abs_clear(c) hid_map_usage_clear(hidinput, usage, &bit, \ hidinput 58 drivers/hid/hid-input.c #define map_key_clear(c) hid_map_usage_clear(hidinput, usage, &bit, \ hidinput 559 drivers/hid/hid-input.c static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_field *field, hidinput 562 drivers/hid/hid-input.c struct input_dev *input = hidinput->input; hidinput 567 drivers/hid/hid-input.c field->hidinput = hidinput; hidinput 583 drivers/hid/hid-input.c int ret = device->driver->input_mapping(device, hidinput, field, hidinput 1136 drivers/hid/hid-input.c device->driver->input_mapped(device, hidinput, field, usage, hidinput 1276 drivers/hid/hid-input.c if (!field->hidinput) hidinput 1279 drivers/hid/hid-input.c input = field->hidinput->input; hidinput 1403 drivers/hid/hid-input.c struct hid_input *hidinput; hidinput 1408 drivers/hid/hid-input.c list_for_each_entry(hidinput, &hid->inputs, list) hidinput 1409 drivers/hid/hid-input.c input_sync(hidinput->input); hidinput 1661 drivers/hid/hid-input.c struct hid_input *hidinput = kzalloc(sizeof(*hidinput), GFP_KERNEL); hidinput 1666 drivers/hid/hid-input.c if (!hidinput || !input_dev) hidinput 1712 drivers/hid/hid-input.c hidinput->name = kasprintf(GFP_KERNEL, "%s %s", hidinput 1714 drivers/hid/hid-input.c if (!hidinput->name) hidinput 1726 drivers/hid/hid-input.c input_dev->name = hidinput->name ? hidinput->name : hid->name; hidinput 1735 drivers/hid/hid-input.c hidinput->input = input_dev; hidinput 1736 drivers/hid/hid-input.c hidinput->application = application; hidinput 1737 drivers/hid/hid-input.c list_add_tail(&hidinput->list, &hid->inputs); hidinput 1739 drivers/hid/hid-input.c INIT_LIST_HEAD(&hidinput->reports); hidinput 1741 drivers/hid/hid-input.c return hidinput; hidinput 1744 drivers/hid/hid-input.c kfree(hidinput); hidinput 1750 drivers/hid/hid-input.c static bool hidinput_has_been_populated(struct hid_input *hidinput) hidinput 1756 drivers/hid/hid-input.c r |= hidinput->input->evbit[i]; hidinput 1759 drivers/hid/hid-input.c r |= hidinput->input->keybit[i]; hidinput 1762 drivers/hid/hid-input.c r |= hidinput->input->relbit[i]; hidinput 1765 drivers/hid/hid-input.c r |= hidinput->input->absbit[i]; hidinput 1768 drivers/hid/hid-input.c r |= hidinput->input->mscbit[i]; hidinput 1771 drivers/hid/hid-input.c r |= hidinput->input->ledbit[i]; hidinput 1774 drivers/hid/hid-input.c r |= hidinput->input->sndbit[i]; hidinput 1777 drivers/hid/hid-input.c r |= hidinput->input->ffbit[i]; hidinput 1780 drivers/hid/hid-input.c r |= hidinput->input->swbit[i]; hidinput 1786 drivers/hid/hid-input.c struct hid_input *hidinput) hidinput 1791 drivers/hid/hid-input.c list_del(&hidinput->list); hidinput 1792 drivers/hid/hid-input.c input_free_device(hidinput->input); hidinput 1793 drivers/hid/hid-input.c kfree(hidinput->name); hidinput 1804 drivers/hid/hid-input.c if (report->field[i]->hidinput == hidinput) hidinput 1805 drivers/hid/hid-input.c report->field[i]->hidinput = NULL; hidinput 1809 drivers/hid/hid-input.c kfree(hidinput); hidinput 1815 drivers/hid/hid-input.c struct hid_input *hidinput; hidinput 1817 drivers/hid/hid-input.c list_for_each_entry(hidinput, &hid->inputs, list) { hidinput 1818 drivers/hid/hid-input.c if (hidinput->report && hidinput 1819 drivers/hid/hid-input.c hidinput->report->id == report->id) hidinput 1820 drivers/hid/hid-input.c return hidinput; hidinput 1829 drivers/hid/hid-input.c struct hid_input *hidinput; hidinput 1831 drivers/hid/hid-input.c list_for_each_entry(hidinput, &hid->inputs, list) { hidinput 1832 drivers/hid/hid-input.c if (hidinput->application == report->application) hidinput 1833 drivers/hid/hid-input.c return hidinput; hidinput 1839 drivers/hid/hid-input.c static inline void hidinput_configure_usages(struct hid_input *hidinput, hidinput 1846 drivers/hid/hid-input.c hidinput_configure_usage(hidinput, report->field[i], hidinput 1860 drivers/hid/hid-input.c struct hid_input *next, *hidinput = NULL; hidinput 1901 drivers/hid/hid-input.c hidinput = hidinput_match(report); hidinput 1904 drivers/hid/hid-input.c hidinput = hidinput_match_application(report); hidinput 1906 drivers/hid/hid-input.c if (!hidinput) { hidinput 1907 drivers/hid/hid-input.c hidinput = hidinput_allocate(hid, application); hidinput 1908 drivers/hid/hid-input.c if (!hidinput) hidinput 1912 drivers/hid/hid-input.c hidinput_configure_usages(hidinput, report); hidinput 1915 drivers/hid/hid-input.c hidinput->report = report; hidinput 1918 drivers/hid/hid-input.c &hidinput->reports); hidinput 1924 drivers/hid/hid-input.c list_for_each_entry_safe(hidinput, next, &hid->inputs, list) { hidinput 1926 drivers/hid/hid-input.c drv->input_configured(hid, hidinput)) hidinput 1929 drivers/hid/hid-input.c if (!hidinput_has_been_populated(hidinput)) { hidinput 1931 drivers/hid/hid-input.c hidinput_cleanup_hidinput(hid, hidinput); hidinput 1935 drivers/hid/hid-input.c if (input_register_device(hidinput->input)) hidinput 1937 drivers/hid/hid-input.c hidinput->registered = true; hidinput 1961 drivers/hid/hid-input.c struct hid_input *hidinput, *next; hidinput 1965 drivers/hid/hid-input.c list_for_each_entry_safe(hidinput, next, &hid->inputs, list) { hidinput 1966 drivers/hid/hid-input.c list_del(&hidinput->list); hidinput 1967 drivers/hid/hid-input.c if (hidinput->registered) hidinput 1968 drivers/hid/hid-input.c input_unregister_device(hidinput->input); hidinput 1970 drivers/hid/hid-input.c input_free_device(hidinput->input); hidinput 1971 drivers/hid/hid-input.c kfree(hidinput->name); hidinput 1972 drivers/hid/hid-input.c kfree(hidinput); hidinput 19 drivers/hid/hid-ite.c if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput) hidinput 22 drivers/hid/hid-ite.c input = field->hidinput->input; hidinput 377 drivers/hid/hid-lenovo.c input_event(field->hidinput->input, hidinput 379 drivers/hid/hid-lenovo.c input_sync(field->hidinput->input); hidinput 380 drivers/hid/hid-lenovo.c input_event(field->hidinput->input, hidinput 382 drivers/hid/hid-lenovo.c input_sync(field->hidinput->input); hidinput 748 drivers/hid/hid-lg.c input_event(field->hidinput->input, usage->type, usage->code, hidinput 53 drivers/hid/hid-lg2ff.c struct hid_input *hidinput; hidinput 61 drivers/hid/hid-lg2ff.c hidinput = list_entry(hid->inputs.next, struct hid_input, list); hidinput 62 drivers/hid/hid-lg2ff.c dev = hidinput->input; hidinput 120 drivers/hid/hid-lg3ff.c struct hid_input *hidinput; hidinput 130 drivers/hid/hid-lg3ff.c hidinput = list_entry(hid->inputs.next, struct hid_input, list); hidinput 131 drivers/hid/hid-lg3ff.c dev = hidinput->input; hidinput 316 drivers/hid/hid-lg4ff.c input_event(field->hidinput->input, usage->type, usage->code, new_value); hidinput 1256 drivers/hid/hid-lg4ff.c struct hid_input *hidinput; hidinput 1273 drivers/hid/hid-lg4ff.c hidinput = list_entry(hid->inputs.next, struct hid_input, list); hidinput 1274 drivers/hid/hid-lg4ff.c dev = hidinput->input; hidinput 118 drivers/hid/hid-lgff.c struct hid_input *hidinput; hidinput 128 drivers/hid/hid-lgff.c hidinput = list_entry(hid->inputs.next, struct hid_input, list); hidinput 129 drivers/hid/hid-lgff.c dev = hidinput->input; hidinput 2053 drivers/hid/hid-logitech-hidpp.c struct hid_input *hidinput = list_entry(hid->inputs.next, struct hid_input, list); hidinput 2054 drivers/hid/hid-logitech-hidpp.c struct input_dev *idev = hidinput->input; hidinput 2063 drivers/hid/hid-logitech-hidpp.c struct hid_input *hidinput = list_entry(hid->inputs.next, struct hid_input, list); hidinput 2064 drivers/hid/hid-logitech-hidpp.c struct input_dev *idev = hidinput->input; hidinput 2097 drivers/hid/hid-logitech-hidpp.c struct hid_input *hidinput; hidinput 2109 drivers/hid/hid-logitech-hidpp.c hidinput = list_entry(hid->inputs.next, struct hid_input, list); hidinput 2110 drivers/hid/hid-logitech-hidpp.c dev = hidinput->input; hidinput 3049 drivers/hid/hid-logitech-hidpp.c struct hid_input *hidinput) hidinput 3052 drivers/hid/hid-logitech-hidpp.c struct input_dev *input = hidinput->input; hidinput 232 drivers/hid/hid-microsoft.c if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || hidinput 236 drivers/hid/hid-microsoft.c input = field->hidinput->input; hidinput 331 drivers/hid/hid-microsoft.c struct hid_input *hidinput; hidinput 339 drivers/hid/hid-microsoft.c hidinput = list_entry(hdev->inputs.next, struct hid_input, list); hidinput 340 drivers/hid/hid-microsoft.c input_dev = hidinput->input; hidinput 1112 drivers/hid/hid-multitouch.c struct input_dev *input = field->hidinput->input; hidinput 1191 drivers/hid/hid-multitouch.c input = report->field[0]->hidinput->input; hidinput 1406 drivers/hid/hid-multitouch.c if (field && field->hidinput && field->hidinput->input) hidinput 1407 drivers/hid/hid-multitouch.c input_sync(field->hidinput->input); hidinput 1642 drivers/hid/hid-multitouch.c struct hid_input *hidinput; hidinput 1646 drivers/hid/hid-multitouch.c list_for_each_entry(hidinput, &hid->inputs, list) { hidinput 1647 drivers/hid/hid-multitouch.c struct input_dev *input_dev = hidinput->input; hidinput 578 drivers/hid/hid-ntrig.c if(!(field->hidinput && field->hidinput->input)) hidinput 581 drivers/hid/hid-ntrig.c input = field->hidinput->input; hidinput 750 drivers/hid/hid-ntrig.c input_mt_sync(field->hidinput->input); hidinput 859 drivers/hid/hid-ntrig.c struct hid_input *hidinput) hidinput 862 drivers/hid/hid-ntrig.c struct input_dev *input = hidinput->input; hidinput 864 drivers/hid/hid-ntrig.c if (hidinput->report->maxfield < 1) hidinput 867 drivers/hid/hid-ntrig.c switch (hidinput->report->field[0]->application) { hidinput 884 drivers/hid/hid-ntrig.c input->name = (hidinput->report->field[0]->physical) ? hidinput 73 drivers/hid/hid-pl.c struct hid_input *hidinput; hidinput 101 drivers/hid/hid-pl.c list_for_each_entry(hidinput, &hid->inputs, list) { hidinput 147 drivers/hid/hid-pl.c dev = hidinput->input; hidinput 437 drivers/hid/hid-rmi.c if (field && field->hidinput && field->hidinput->input) hidinput 438 drivers/hid/hid-rmi.c input_sync(field->hidinput->input); hidinput 154 drivers/hid/hid-saitek.c struct input_dev *input = field->hidinput->input; hidinput 55 drivers/hid/hid-sjoy.c struct hid_input *hidinput; hidinput 67 drivers/hid/hid-sjoy.c list_for_each_entry(hidinput, &hid->inputs, list) { hidinput 90 drivers/hid/hid-sjoy.c dev = hidinput->input; hidinput 942 drivers/hid/hid-sony.c struct hid_input *hidinput = list_entry(sc->hdev->inputs.next, hidinput 944 drivers/hid/hid-sony.c struct input_dev *input_dev = hidinput->input; hidinput 2274 drivers/hid/hid-sony.c struct hid_input *hidinput; hidinput 2281 drivers/hid/hid-sony.c hidinput = list_entry(sc->hdev->inputs.next, struct hid_input, list); hidinput 2282 drivers/hid/hid-sony.c input_dev = hidinput->input; hidinput 2601 drivers/hid/hid-sony.c struct hid_input *hidinput) hidinput 127 drivers/hid/hid-tmff.c struct hid_input *hidinput; hidinput 136 drivers/hid/hid-tmff.c hidinput = list_entry(hid->inputs.next, struct hid_input, list); hidinput 137 drivers/hid/hid-tmff.c input_dev = hidinput->input; hidinput 34 drivers/hid/hid-xinmo.c input_event(field->hidinput->input, usage->type, hidinput 57 drivers/hid/hid-zpff.c struct hid_input *hidinput; hidinput 65 drivers/hid/hid-zpff.c hidinput = list_entry(hid->inputs.next, struct hid_input, list); hidinput 66 drivers/hid/hid-zpff.c dev = hidinput->input; hidinput 1229 drivers/hid/usbhid/hid-pidff.c struct hid_input *hidinput = list_entry(hid->inputs.next, hidinput 1231 drivers/hid/usbhid/hid-pidff.c struct input_dev *dev = hidinput->input; hidinput 468 include/linux/hid.h struct hid_input *hidinput; /* associated input structure */ hidinput 759 include/linux/hid.h struct hid_input *hidinput, struct hid_field *field, hidinput 762 include/linux/hid.h struct hid_input *hidinput, struct hid_field *field, hidinput 765 include/linux/hid.h struct hid_input *hidinput); hidinput 963 include/linux/hid.h static inline void hid_map_usage(struct hid_input *hidinput, hidinput 967 include/linux/hid.h struct input_dev *input = hidinput->input; hidinput 998 include/linux/hid.h static inline void hid_map_usage_clear(struct hid_input *hidinput, hidinput 1002 include/linux/hid.h hid_map_usage(hidinput, usage, bit, max, type, c);