Lines Matching refs:hid
30 #include <linux/hid.h>
36 #include "hid-ids.h"
88 struct hid_device *hid = input_get_drvdata(dev);
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)
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, "ignoring FF field with report_count < 2\n");
161 hid_warn(hid, "ignoring FF field with logical_maximum == logical_minimum\n");
166 hid_warn(hid, "ignoring FF field in other report\n");
171 hid_warn(hid, "ignoring duplicate FF field\n");
184 hid_warn(hid, "ignoring unknown output usage %08x\n",
185 field->usage[0].hid);
192 hid_err(hid, "can't find FF field in output reports\n");
201 hid_info(hid, "force feedback for ThrustMaster devices by Zinx Verituse <zinx@epicsol.org>\n");
209 static inline int tmff_init(struct hid_device *hid, const signed short *ff_bits)
257 MODULE_DEVICE_TABLE(hid, tm_devices);