Lines Matching refs:hdev
30 static __u8 *zc_report_fixup(struct hid_device *hdev, __u8 *rdesc, in zc_report_fixup() argument
37 hid_info(hdev, in zc_report_fixup()
48 static int zc_input_mapping(struct hid_device *hdev, struct hid_input *hi, in zc_input_mapping() argument
53 struct zc_device *zc = hid_get_drvdata(hdev); in zc_input_mapping()
112 static int zc_raw_event(struct hid_device *hdev, struct hid_report *report, in zc_raw_event() argument
115 struct zc_device *zc = hid_get_drvdata(hdev); in zc_raw_event()
167 static int zc_probe(struct hid_device *hdev, const struct hid_device_id *id) in zc_probe() argument
172 zc = devm_kzalloc(&hdev->dev, sizeof(*zc), GFP_KERNEL); in zc_probe()
174 hid_err(hdev, "can't alloc descriptor\n"); in zc_probe()
178 hid_set_drvdata(hdev, zc); in zc_probe()
180 ret = hid_parse(hdev); in zc_probe()
182 hid_err(hdev, "parse failed\n"); in zc_probe()
186 ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT); in zc_probe()
188 hid_err(hdev, "hw start failed\n"); in zc_probe()