Lines Matching refs:hid
6 * 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);
60 usbhid_submit_report(hid, sjoyff->report, USB_DIR_OUT);
65 static int sjoyff_init(struct hid_device *hid)
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->inputs, list) {
85 hid_err(hid, "required output report is missing\n");
91 hid_err(hid, "no fields in the report\n");
96 hid_err(hid, "not enough values in the field\n");
118 usbhid_submit_report(hid, sjoyff->report, USB_DIR_OUT);
121 hid_info(hid, "Force feedback for SmartJoy PLUS PS2/USB adapter\n");
126 static inline int sjoyff_init(struct hid_device *hid)
171 MODULE_DEVICE_TABLE(hid, sjoy_devices);