Searched defs:hid (Results 1 - 25 of 45) sorted by relevance

12

/drivers/hid/
H A DMakefile4 hid-y := hid-core.o hid-input.o
7 hid-objs += hid-debug.o
10 obj-$(CONFIG_HID) += hid.o
13 hid-$(CONFIG_HIDRAW) += hidraw.o
15 hid-logitech-y := hid-lg.o
17 hid
[all...]
H A Dhid-lg2ff.c27 #include <linux/hid.h>
30 #include "hid-lg.h"
39 struct hid_device *hid = input_get_drvdata(dev); local
59 usbhid_submit_report(hid, lg2ff->report, USB_DIR_OUT);
63 int lg2ff_init(struct hid_device *hid) argument
67 struct hid_input *hidinput = list_entry(hid->inputs.next,
70 &hid->report_enum[HID_OUTPUT_REPORT].report_list;
75 hid_err(hid, "no output report found\n");
82 hid_err(hid, "output report is empty\n");
86 hid_err(hid, "no
[all...]
H A Dhid-primax.c20 #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);
67 static int px_probe(struct hid_device *hid, const struct hid_device_id *id) argument
71 ret = hid_parse(hid);
73 hid_err(hid, "parse failed\n");
77 ret = hid_hw_start(hid, HID_CONNECT_DEFAULT);
79 hid_err(hid, "h
85 px_remove(struct hid_device *hid) argument
[all...]
H A Dhid-lg3ff.c26 #include <linux/hid.h>
29 #include "hid-lg.h"
65 struct hid_device *hid = input_get_drvdata(dev); local
66 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list;
95 usbhid_submit_report(hid, report, USB_DIR_OUT);
102 struct hid_device *hid = input_get_drvdata(dev); local
103 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list;
121 usbhid_submit_report(hid, report, USB_DIR_OUT);
131 int lg3ff_init(struct hid_device *hid) argument
133 struct hid_input *hidinput = list_entry(hid
[all...]
H A Dhid-axff.c33 #include <linux/hid.h>
36 #include "hid-ids.h"
47 struct hid_device *hid = input_get_drvdata(dev); local
71 usbhid_submit_report(hid, axff->report, USB_DIR_OUT);
76 static int axff_init(struct hid_device *hid) argument
80 struct hid_input *hidinput = list_first_entry(&hid->inputs, struct hid_input, list);
81 struct list_head *report_list =&hid->report_enum[HID_OUTPUT_REPORT].report_list;
88 hid_err(hid, "no output reports found\n");
101 hid_err(hid, "not enough fields in the report: %d\n",
117 usbhid_submit_report(hid, axf
128 axff_init(struct hid_device *hid) argument
[all...]
H A Dhid-dr.c33 #include <linux/hid.h>
36 #include "hid-ids.h"
48 struct hid_device *hid = input_get_drvdata(dev); local
71 usbhid_submit_report(hid, drff->report, USB_DIR_OUT);
83 usbhid_submit_report(hid, drff->report, USB_DIR_OUT);
88 static int drff_init(struct hid_device *hid) argument
92 struct hid_input *hidinput = list_first_entry(&hid->inputs,
95 &hid->report_enum[HID_OUTPUT_REPORT].report_list;
100 hid_err(hid, "no output reports found\n");
106 hid_err(hid, "n
143 drff_init(struct hid_device *hid) argument
[all...]
H A Dhid-emsff.c24 #include <linux/hid.h>
29 #include "hid-ids.h"
39 struct hid_device *hid = input_get_drvdata(dev); local
55 usbhid_submit_report(hid, emsff->report, USB_DIR_OUT);
60 static int emsff_init(struct hid_device *hid) argument
64 struct hid_input *hidinput = list_first_entry(&hid->inputs,
67 &hid->report_enum[HID_OUTPUT_REPORT].report_list;
72 hid_err(hid, "no output reports found\n");
78 hid_err(hid, "no fields in the report\n");
83 hid_err(hid, "no
[all...]
H A Dhid-gaff.c33 #include <linux/hid.h>
35 #include "hid-ids.h"
47 struct hid_device *hid = input_get_drvdata(dev); local
66 usbhid_submit_report(hid, gaff->report, USB_DIR_OUT);
73 usbhid_submit_report(hid, gaff->report, USB_DIR_OUT);
78 static int gaff_init(struct hid_device *hid) argument
82 struct hid_input *hidinput = list_entry(hid->inputs.next,
85 &hid->report_enum[HID_OUTPUT_REPORT].report_list;
91 hid_err(hid, "no output reports found\n");
99 hid_err(hid, "n
[all...]
H A Dhid-pl.c39 #define debug(format, arg...) pr_debug("hid-plff: " format "\n" , ## arg)
45 #include <linux/hid.h>
47 #include "hid-ids.h"
61 struct hid_device *hid = input_get_drvdata(dev); local
75 usbhid_submit_report(hid, plff->report, USB_DIR_OUT);
80 static int plff_init(struct hid_device *hid) argument
86 &hid->report_enum[HID_OUTPUT_REPORT].report_list;
103 Zeroplus (hid-zpff) devices.
107 hid_err(hid, "no output reports found\n");
111 list_for_each_entry(hidinput, &hid
172 plff_init(struct hid_device *hid) argument
[all...]
H A Dhid-sjoy.c6 * Based of hid-pl.c and hid-gaff.c
32 #include <linux/hid.h>
34 #include "hid-ids.h"
46 struct hid_device *hid = input_get_drvdata(dev); local
60 usbhid_submit_report(hid, sjoyff->report, USB_DIR_OUT);
65 static int sjoyff_init(struct hid_device *hid) argument
71 &hid->report_enum[HID_OUTPUT_REPORT].report_list;
77 hid_err(hid, "no output reports found\n");
81 list_for_each_entry(hidinput, &hid
126 sjoyff_init(struct hid_device *hid) argument
[all...]
H A Dhid-zpff.c24 #include <linux/hid.h>
30 #include "hid-ids.h"
42 struct hid_device *hid = input_get_drvdata(dev); local
62 usbhid_submit_report(hid, zpff->report, USB_DIR_OUT);
67 static int zpff_init(struct hid_device *hid) argument
71 struct hid_input *hidinput = list_entry(hid->inputs.next,
74 &hid->report_enum[HID_OUTPUT_REPORT].report_list;
79 hid_err(hid, "no output report found\n");
86 hid_err(hid, "not enough fields in report\n");
107 usbhid_submit_report(hid, zpf
114 zpff_init(struct hid_device *hid) argument
[all...]
H A Dhid-holtekff.c26 #include <linux/hid.h>
32 #include "hid-ids.h"
94 struct hid_device *hid,
106 usbhid_submit_report(hid, holtekff->field->report, USB_DIR_OUT);
112 struct hid_device *hid = input_get_drvdata(dev); local
124 holtekff_send(holtekff, hid, stop_all6);
136 holtekff_send(holtekff, hid, buf);
137 holtekff_send(holtekff, hid, start_effect_1);
142 static int holtekff_init(struct hid_device *hid) argument
146 struct hid_input *hidinput = list_entry(hid
93 holtekff_send(struct holtekff_device *holtekff, struct hid_device *hid, const u8 data[HOLTEKFF_MSG_LENGTH]) argument
188 holtekff_init(struct hid_device *hid) argument
[all...]
H A Dhid-lgff.c2 * Force feedback support for hid-compliant for some of the devices from
34 #include <linux/hid.h>
37 #include "hid-lg.h"
73 struct hid_device *hid = input_get_drvdata(dev); local
74 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list;
92 usbhid_submit_report(hid, report, USB_DIR_OUT);
107 usbhid_submit_report(hid, report, USB_DIR_OUT);
115 struct hid_device *hid = input_get_drvdata(dev); local
116 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list;
127 usbhid_submit_report(hid, repor
130 lgff_init(struct hid_device* hid) argument
[all...]
H A Dhid-sony.c20 #include <linux/hid.h>
25 #include "hid-ids.h"
85 * like it should according to usbhid/hid-core.c::usbhid_output_raw_report()
93 static int sixaxis_usb_output_raw_report(struct hid_device *hid, __u8 *buf, argument
96 struct usb_interface *intf = to_usb_interface(hid->dev.parent);
223 MODULE_DEVICE_TABLE(hid, sony_devices);
H A Dhid-tmff.c30 #include <linux/hid.h>
36 #include "hid-ids.h"
88 struct hid_device *hid = input_get_drvdata(dev); local
106 usbhid_submit_report(hid, tmff->report, USB_DIR_OUT);
120 usbhid_submit_report(hid, tmff->report, USB_DIR_OUT);
126 static int tmff_init(struct hid_device *hid, const signed short *ff_bits) argument
131 struct hid_input *hidinput = list_entry(hid->inputs.next,
142 report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list;
152 switch (field->usage[0].hid) {
155 hid_warn(hid, "ignorin
209 tmff_init(struct hid_device *hid, const signed short *ff_bits) argument
[all...]
H A Dhid-apple.c22 #include <linux/hid.h>
27 #include "hid-ids.h"
168 static int hidinput_apple_event(struct hid_device *hid, struct input_dev *input, argument
171 struct apple_sc *asc = hid_get_drvdata(hid);
183 if (hid->product >= USB_DEVICE_ID_APPLE_WELLSPRING4_ANSI &&
184 hid->product <= USB_DEVICE_ID_APPLE_WELLSPRING4A_JIS)
186 else if (hid->product < 0x21d || hid->product >= 0x300)
316 if (usage->hid == (HID_UP_CUSTOM | 0x0003)) {
324 /* we want the hid laye
[all...]
H A Dhid-lg.c21 #include <linux/hid.h>
27 #include "hid-ids.h"
28 #include "hid-lg.h"
158 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR)
162 switch (usage->hid & HID_USAGE) {
191 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR)
194 switch (usage->hid & HID_USAGE) {
207 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER)
210 switch (usage->hid & HID_USAGE) {
282 unsigned int hid local
[all...]
H A Dhid-roccat.c18 * not stored in device. The information in these events depends on hid device
19 * implementation and contains data that is not available in a single hid event
29 #include <linux/hid-roccat.h>
49 struct hid_device *hid; member in struct:roccat_device
176 error = hid_hw_power(device->hid, PM_HINT_FULLON);
182 error = hid_hw_open(device->hid);
184 hid_hw_power(device->hid, PM_HINT_NORMAL);
229 hid_hw_power(device->hid, PM_HINT_NORMAL);
230 hid_hw_close(device->hid);
292 * @hid
297 roccat_connect(struct class *klass, struct hid_device *hid, int report_size) argument
[all...]
/drivers/acpi/acpica/
H A Dutids.c73 struct acpica_device_id *hid; local
96 hid =
99 if (!hid) {
106 hid->string = ACPI_ADD_PTR(char, hid, sizeof(struct acpica_device_id));
111 acpi_ex_eisa_id_to_string(hid->string, obj_desc->integer.value);
113 ACPI_STRCPY(hid->string, obj_desc->string.pointer);
116 hid->length = length;
117 *return_id = hid;
H A Devrgnini.c353 struct acpica_device_id *hid; local
360 status = acpi_ut_execute_HID(node, &hid);
365 match = acpi_ut_is_pci_root_bridge(hid->string);
366 ACPI_FREE(hid);
H A Dnsxfeval.c545 struct acpica_device_id *hid; local
580 if (info->hid != NULL) {
581 status = acpi_ut_execute_HID(node, &hid);
588 no_match = ACPI_STRCMP(hid->string, info->hid);
589 ACPI_FREE(hid);
607 if (ACPI_STRCMP(cid->ids[i].string, info->hid)
688 info.hid = HID;
H A Dnsxfname.c273 struct acpica_device_id *hid = NULL; local
328 status = acpi_ut_execute_HID(node, &hid);
330 info_size += hid->length;
434 if (hid) {
436 hid, next_id_string);
438 if (acpi_ut_is_pci_root_bridge(hid->string)) {
478 if (hid) {
479 ACPI_FREE(hid);
/drivers/acpi/
H A Dcontainer.c205 char *hid = NULL; local
216 hid = info->hardware_id.string;
218 if (hid == NULL) {
222 if (strcmp(hid, "ACPI0004") && strcmp(hid, "PNP0A05") &&
223 strcmp(hid, "PNP0A06")) {
H A Dbutton.c324 const char *hid = acpi_device_hid(device); local
343 if (!strcmp(hid, ACPI_BUTTON_HID_POWER) ||
344 !strcmp(hid, ACPI_BUTTON_HID_POWERF)) {
349 } else if (!strcmp(hid, ACPI_BUTTON_HID_SLEEP) ||
350 !strcmp(hid, ACPI_BUTTON_HID_SLEEPF)) {
355 } else if (!strcmp(hid, ACPI_BUTTON_HID_LID)) {
361 printk(KERN_ERR PREFIX "Unsupported hid [%s]\n", hid);
370 snprintf(button->phys, sizeof(button->phys), "%s/button/input0", hid);
/drivers/platform/x86/
H A Dxo15-ebook.c89 const char *hid = acpi_device_hid(device); local
108 if (strcmp(hid, XO15_EBOOK_HID)) {
109 pr_err("Unsupported hid [%s]\n", hid);
117 snprintf(button->phys, sizeof(button->phys), "%s/button/input0", hid);

Completed in 300 milliseconds

12