/drivers/hid/ |
H A D | Makefile | 4 hid-y := hid-core.o hid-input.o 7 hid-objs += hid-debug.o 10 obj-$(CONFIG_HID) += hid.o 13 obj-$(CONFIG_HID_GENERIC) += hid-generic.o 15 hid-$(CONFIG_HIDRAW) += hidraw.o 17 hid-logitech-y := hid [all...] |
H A D | hid-primax.c | 20 #include <linux/hid.h> 23 #include "hid-ids.h" 25 static int px_raw_event(struct hid_device *hid, struct hid_report *report, argument 55 hid_report_raw_event(hid, HID_INPUT_REPORT, data, size, 0); 60 hid_info(hid, "unknown report type %d\n", report->id); 71 MODULE_DEVICE_TABLE(hid, px_devices);
|
H A D | hid-lg.h | 28 int lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, 33 static inline int lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, argument
|
H A D | hid-lg2ff.c | 26 #include <linux/hid.h> 28 #include "hid-lg.h" 37 struct hid_device *hid = input_get_drvdata(dev); local 57 hid_hw_request(hid, lg2ff->report, HID_REQ_SET_REPORT); 61 int lg2ff_init(struct hid_device *hid) argument 65 struct hid_input *hidinput = list_entry(hid->inputs.next, 71 report = hid_validate_values(hid, HID_OUTPUT_REPORT, 0, 0, 7); 96 hid_hw_request(hid, report, HID_REQ_SET_REPORT); 98 hid_info(hid, "Force feedback for Logitech variant 2 rumble devices by Anssi Hannula <anssi.hannula@gmail.com>\n");
|
H A D | hid-emsff.c | 24 #include <linux/hid.h> 28 #include "hid-ids.h" 37 struct hid_device *hid = input_get_drvdata(dev); local 53 hid_hw_request(hid, emsff->report, HID_REQ_SET_REPORT); 58 static int emsff_init(struct hid_device *hid) argument 62 struct hid_input *hidinput = list_first_entry(&hid->inputs, 65 &hid->report_enum[HID_OUTPUT_REPORT].report_list; 70 hid_err(hid, "no output reports found\n"); 76 hid_err(hid, "no fields in the report\n"); 81 hid_err(hid, "no [all...] |
H A D | hid-lg3ff.c | 25 #include <linux/hid.h> 27 #include "hid-lg.h" 63 struct hid_device *hid = input_get_drvdata(dev); local 64 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; 94 hid_hw_request(hid, report, HID_REQ_SET_REPORT); 101 struct hid_device *hid = input_get_drvdata(dev); local 102 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; 120 hid_hw_request(hid, report, HID_REQ_SET_REPORT); 130 int lg3ff_init(struct hid_device *hid) argument 132 struct hid_input *hidinput = list_entry(hid [all...] |
H A D | hid-zpff.c | 24 #include <linux/hid.h> 29 #include "hid-ids.h" 40 struct hid_device *hid = input_get_drvdata(dev); local 60 hid_hw_request(hid, zpff->report, HID_REQ_SET_REPORT); 65 static int zpff_init(struct hid_device *hid) argument 69 struct hid_input *hidinput = list_entry(hid->inputs.next, 75 report = hid_validate_values(hid, HID_OUTPUT_REPORT, 0, i, 1); 97 hid_hw_request(hid, zpff->report, HID_REQ_SET_REPORT); 99 hid_info(hid, "force feedback for Zeroplus based devices by Anssi Hannula <anssi.hannula@gmail.com>\n"); 104 static inline int zpff_init(struct hid_device *hid) argument [all...] |
H A D | hid-axff.c | 32 #include <linux/hid.h> 35 #include "hid-ids.h" 45 struct hid_device *hid = input_get_drvdata(dev); local 69 hid_hw_request(hid, axff->report, HID_REQ_SET_REPORT); 74 static int axff_init(struct hid_device *hid) argument 78 struct hid_input *hidinput = list_first_entry(&hid->inputs, struct hid_input, list); 79 struct list_head *report_list =&hid->report_enum[HID_OUTPUT_REPORT].report_list; 86 hid_err(hid, "no output reports found\n"); 98 if (field_count < 4 && hid->product != 0xf705) { 99 hid_err(hid, "no 126 axff_init(struct hid_device *hid) argument [all...] |
H A D | hid-dr.c | 32 #include <linux/hid.h> 35 #include "hid-ids.h" 46 struct hid_device *hid = input_get_drvdata(dev); local 69 hid_hw_request(hid, drff->report, HID_REQ_SET_REPORT); 81 hid_hw_request(hid, drff->report, HID_REQ_SET_REPORT); 86 static int drff_init(struct hid_device *hid) argument 90 struct hid_input *hidinput = list_first_entry(&hid->inputs, 93 &hid->report_enum[HID_OUTPUT_REPORT].report_list; 98 hid_err(hid, "no output reports found\n"); 104 hid_err(hid, "n 141 drff_init(struct hid_device *hid) argument [all...] |
H A D | hid-gaff.c | 32 #include <linux/hid.h> 34 #include "hid-ids.h" 45 struct hid_device *hid = input_get_drvdata(dev); local 64 hid_hw_request(hid, gaff->report, HID_REQ_SET_REPORT); 71 hid_hw_request(hid, gaff->report, HID_REQ_SET_REPORT); 76 static int gaff_init(struct hid_device *hid) argument 80 struct hid_input *hidinput = list_entry(hid->inputs.next, 83 &hid->report_enum[HID_OUTPUT_REPORT].report_list; 89 hid_err(hid, "no output reports found\n"); 97 hid_err(hid, "n [all...] |
H A D | hid-holtek-kbd.c | 14 #include <linux/hid.h> 18 #include "hid-ids.h" 124 struct hid_device *hid = input_get_drvdata(dev); local 125 struct usb_device *usb_dev = hid_to_usb_dev(hid); 162 MODULE_DEVICE_TABLE(hid, holtek_kbd_devices);
|
H A D | hid-holtekff.c | 26 #include <linux/hid.h> 31 #include "hid-ids.h" 92 struct hid_device *hid, 103 hid_hw_request(hid, holtekff->field->report, HID_REQ_SET_REPORT); 109 struct hid_device *hid = input_get_drvdata(dev); local 121 holtekff_send(holtekff, hid, stop_all6); 133 holtekff_send(holtekff, hid, buf); 134 holtekff_send(holtekff, hid, start_effect_1); 139 static int holtekff_init(struct hid_device *hid) argument 143 struct hid_input *hidinput = list_entry(hid 91 holtekff_send(struct holtekff_device *holtekff, struct hid_device *hid, const u8 data[HOLTEKFF_MSG_LENGTH]) argument 185 holtekff_init(struct hid_device *hid) argument [all...] |
H A D | hid-pl.c | 41 #define debug(format, arg...) pr_debug("hid-plff: " format "\n" , ## arg) 46 #include <linux/hid.h> 48 #include "hid-ids.h" 62 struct hid_device *hid = input_get_drvdata(dev); local 76 hid_hw_request(hid, plff->report, HID_REQ_SET_REPORT); 81 static int plff_init(struct hid_device *hid) argument 87 &hid->report_enum[HID_OUTPUT_REPORT].report_list; 105 Zeroplus (hid-zpff) devices. 109 hid_err(hid, "no output reports found\n"); 113 list_for_each_entry(hidinput, &hid 184 plff_init(struct hid_device *hid) argument [all...] |
H A D | hid-sjoy.c | 6 * Based of hid-pl.c and hid-gaff.c 31 #include <linux/hid.h> 33 #include "hid-ids.h" 44 struct hid_device *hid = input_get_drvdata(dev); local 58 hid_hw_request(hid, sjoyff->report, HID_REQ_SET_REPORT); 63 static int sjoyff_init(struct hid_device *hid) argument 69 &hid->report_enum[HID_OUTPUT_REPORT].report_list; 75 hid_err(hid, "no output reports found\n"); 79 list_for_each_entry(hidinput, &hid 124 sjoyff_init(struct hid_device *hid) argument [all...] |
H A D | hid-lgff.c | 2 * Force feedback support for hid-compliant for some of the devices from 33 #include <linux/hid.h> 35 #include "hid-lg.h" 71 struct hid_device *hid = input_get_drvdata(dev); local 72 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; 90 hid_hw_request(hid, report, HID_REQ_SET_REPORT); 105 hid_hw_request(hid, report, HID_REQ_SET_REPORT); 113 struct hid_device *hid = input_get_drvdata(dev); local 114 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; 125 hid_hw_request(hid, repor 128 lgff_init(struct hid_device* hid) argument [all...] |
H A D | hid-steelseries.c | 16 #include <linux/hid.h> 19 #include "hid-ids.h" 145 struct hid_device *hid = container_of(dev, struct hid_device, dev); local 146 struct steelseries_srws1_data *drv_data = hid_get_drvdata(hid); 149 hid_err(hid, "Device data not found."); 158 steelseries_srws1_set_leds(hid, drv_data->led_state); 164 struct hid_device *hid = container_of(dev, struct hid_device, dev); local 167 drv_data = hid_get_drvdata(hid); 170 hid_err(hid, "Device data not found."); 181 struct hid_device *hid local 209 struct hid_device *hid = container_of(dev, struct hid_device, dev); local [all...] |
H A D | hid-tmff.c | 30 #include <linux/hid.h> 35 #include "hid-ids.h" 86 struct hid_device *hid = input_get_drvdata(dev); local 104 hid_hw_request(hid, tmff->report, HID_REQ_SET_REPORT); 118 hid_hw_request(hid, tmff->report, HID_REQ_SET_REPORT); 124 static int tmff_init(struct hid_device *hid, const signed short *ff_bits) argument 129 struct hid_input *hidinput = list_entry(hid->inputs.next, 140 report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; 150 switch (field->usage[0].hid) { 153 hid_warn(hid, "ignorin 207 tmff_init(struct hid_device *hid, const signed short *ff_bits) argument [all...] |
H A D | hid-apple.c | 21 #include <linux/hid.h> 25 #include "hid-ids.h" 180 static int hidinput_apple_event(struct hid_device *hid, struct input_dev *input, argument 183 struct apple_sc *asc = hid_get_drvdata(hid); 195 if (hid->product >= USB_DEVICE_ID_APPLE_WELLSPRING4_ANSI && 196 hid->product <= USB_DEVICE_ID_APPLE_WELLSPRING4A_JIS) 198 else if (hid->product < 0x21d || hid->product >= 0x300) 336 if (usage->hid == (HID_UP_CUSTOM | 0x0003)) { 344 /* we want the hid laye [all...] |
/drivers/iio/common/hid-sensors/ |
H A D | Makefile | 5 obj-$(CONFIG_HID_SENSOR_IIO_COMMON) += hid-sensor-iio-common.o 6 obj-$(CONFIG_HID_SENSOR_IIO_TRIGGER) += hid-sensor-trigger.o 7 hid-sensor-iio-common-y := hid-sensor-attributes.o
|
/drivers/acpi/acpica/ |
H A D | utids.c | 73 struct acpi_pnp_device_id *hid; local 96 hid = 99 if (!hid) { 106 hid->string = 107 ACPI_ADD_PTR(char, hid, sizeof(struct acpi_pnp_device_id)); 112 acpi_ex_eisa_id_to_string(hid->string, obj_desc->integer.value); 114 ACPI_STRCPY(hid->string, obj_desc->string.pointer); 117 hid->length = length; 118 *return_id = hid;
|
H A D | evrgnini.c | 352 struct acpi_pnp_device_id *hid; local 359 status = acpi_ut_execute_HID(node, &hid); 364 match = acpi_ut_is_pci_root_bridge(hid->string); 365 ACPI_FREE(hid);
|
H A D | nsxfeval.c | 656 struct acpi_pnp_device_id *hid; local 691 if (info->hid != NULL) { 692 status = acpi_ut_execute_HID(node, &hid); 699 no_match = ACPI_STRCMP(hid->string, info->hid); 700 ACPI_FREE(hid); 718 if (ACPI_STRCMP(cid->ids[i].string, info->hid) 804 info.hid = HID;
|
H A D | nsxfname.c | 276 struct acpi_pnp_device_id *hid = NULL; local 332 status = acpi_ut_execute_HID(node, &hid); 334 info_size += hid->length; 452 if (hid) { 454 hid, next_id_string); 456 if (acpi_ut_is_pci_root_bridge(hid->string)) { 501 if (hid) { 502 ACPI_FREE(hid);
|
/drivers/platform/x86/ |
H A D | xo15-ebook.c | 92 const char *hid = acpi_device_hid(device); local 111 if (strcmp(hid, XO15_EBOOK_HID)) { 112 pr_err("Unsupported hid [%s]\n", hid); 120 snprintf(button->phys, sizeof(button->phys), "%s/button/input0", hid);
|
/drivers/acpi/ |
H A D | button.c | 351 const char *hid = acpi_device_hid(device); local 370 if (!strcmp(hid, ACPI_BUTTON_HID_POWER) || 371 !strcmp(hid, ACPI_BUTTON_HID_POWERF)) { 376 } else if (!strcmp(hid, ACPI_BUTTON_HID_SLEEP) || 377 !strcmp(hid, ACPI_BUTTON_HID_SLEEPF)) { 382 } else if (!strcmp(hid, ACPI_BUTTON_HID_LID)) { 388 printk(KERN_ERR PREFIX "Unsupported hid [%s]\n", hid); 397 snprintf(button->phys, sizeof(button->phys), "%s/button/input0", hid);
|