Lines Matching defs:hdev
231 static __u8 *dr_report_fixup(struct hid_device *hdev, __u8 *rdesc,
234 switch (hdev->product) {
248 static int dr_input_mapping(struct hid_device *hdev, struct hid_input *hi,
269 static int dr_probe(struct hid_device *hdev, const struct hid_device_id *id)
273 dev_dbg(&hdev->dev, "DragonRise Inc. HID hardware probe...");
275 ret = hid_parse(hdev);
277 hid_err(hdev, "parse failed\n");
281 ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT & ~HID_CONNECT_FF);
283 hid_err(hdev, "hw start failed\n");
287 switch (hdev->product) {
289 ret = drff_init(hdev);
291 dev_err(&hdev->dev, "force feedback init failed\n");
292 hid_hw_stop(hdev);