Lines Matching defs:hdev
32 static __u8 *holtek_mouse_report_fixup(struct hid_device *hdev, __u8 *rdesc,
35 struct usb_interface *intf = to_usb_interface(hdev->dev.parent);
40 switch (hdev->product) {
46 hid_info(hdev, "Fixing up report descriptor\n");
55 hid_info(hdev, "Fixing up report descriptor\n");
65 static int holtek_mouse_probe(struct hid_device *hdev,
70 if (!hid_is_usb(hdev))
73 ret = hid_parse(hdev);
75 hid_err(hdev, "hid parse failed: %d\n", ret);
79 ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT);
81 hid_err(hdev, "hw start failed: %d\n", ret);