Lines Matching defs:hdev
28 struct hid_device *hdev = report->device;
36 hid_warn(hdev, "can't find wireless radio control's input");
48 static int ch_raw_event(struct hid_device *hdev,
59 static int ch_input_mapping(struct hid_device *hdev, struct hid_input *hi,
91 static __u8 *ch_switch12_report_fixup(struct hid_device *hdev, __u8 *rdesc,
94 struct usb_interface *intf = to_usb_interface(hdev->dev.parent);
99 switch (hdev->product) {
103 hid_info(hdev, "Fixing up report descriptor\n");
113 static int ch_probe(struct hid_device *hdev, const struct hid_device_id *id)
117 if (!hid_is_usb(hdev))
120 hdev->quirks |= HID_QUIRK_INPUT_PER_APP;
121 ret = hid_parse(hdev);
123 hid_err(hdev, "Chicony hid parse failed: %d\n", ret);
127 ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT);
129 hid_err(hdev, "Chicony hw start failed: %d\n", ret);