Lines Matching defs:hdev
27 static __u8 *zc_report_fixup(struct hid_device *hdev, __u8 *rdesc,
34 hid_info(hdev,
45 static int zc_input_mapping(struct hid_device *hdev, struct hid_input *hi,
50 struct zc_device *zc = hid_get_drvdata(hdev);
109 static int zc_raw_event(struct hid_device *hdev, struct hid_report *report,
112 struct zc_device *zc = hid_get_drvdata(hdev);
164 static int zc_probe(struct hid_device *hdev, const struct hid_device_id *id)
169 zc = devm_kzalloc(&hdev->dev, sizeof(*zc), GFP_KERNEL);
171 hid_err(hdev, "can't alloc descriptor\n");
175 hid_set_drvdata(hdev, zc);
177 ret = hid_parse(hdev);
179 hid_err(hdev, "parse failed\n");
183 ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT);
185 hid_err(hdev, "hw start failed\n");