Lines Matching refs:hdev
30 static void zc_report_fixup(struct hid_device *hdev, __u8 *rdesc,
37 dev_info(&hdev->dev,
48 static int zc_input_mapping(struct hid_device *hdev, struct hid_input *hi,
53 struct zc_device *zc = hid_get_drvdata(hdev);
112 static int zc_raw_event(struct hid_device *hdev, struct hid_report *report,
115 struct zc_device *zc = hid_get_drvdata(hdev);
167 static int zc_probe(struct hid_device *hdev, const struct hid_device_id *id)
174 dev_err(&hdev->dev, "zydacron: can't alloc descriptor\n");
178 hid_set_drvdata(hdev, zc);
180 ret = hid_parse(hdev);
182 dev_err(&hdev->dev, "zydacron: parse failed\n");
186 ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT);
188 dev_err(&hdev->dev, "zydacron: hw start failed\n");
199 static void zc_remove(struct hid_device *hdev)
201 struct zc_device *zc = hid_get_drvdata(hdev);
203 hid_hw_stop(hdev);