Lines Matching refs:hid
40 struct hid_device *hid = input_get_drvdata(dev); in hid_betopff_play() local
50 hid_hw_request(hid, betopff->report, HID_REQ_SET_REPORT); in hid_betopff_play()
55 static int betopff_init(struct hid_device *hid) in betopff_init() argument
61 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in betopff_init()
66 if (list_empty(&hid->inputs)) { in betopff_init()
67 hid_err(hid, "no inputs found\n"); in betopff_init()
71 hidinput = list_first_entry(&hid->inputs, struct hid_input, list); in betopff_init()
75 hid_err(hid, "no output reports found\n"); in betopff_init()
89 hid_err(hid, "not enough fields in the report: %d\n", in betopff_init()
95 hid_err(hid, "no values in the field\n"); in betopff_init()
116 hid_hw_request(hid, betopff->report, HID_REQ_SET_REPORT); in betopff_init()
118 hid_info(hid, "Force feedback for betop devices by huangbo <huangbobupt@163.com>\n"); in betopff_init()
156 MODULE_DEVICE_TABLE(hid, betop_devices);