Lines Matching refs:hdev
237 static __u8 *dr_report_fixup(struct hid_device *hdev, __u8 *rdesc, in dr_report_fixup() argument
240 switch (hdev->product) { in dr_report_fixup()
251 static int dr_probe(struct hid_device *hdev, const struct hid_device_id *id) in dr_probe() argument
255 dev_dbg(&hdev->dev, "DragonRise Inc. HID hardware probe..."); in dr_probe()
257 ret = hid_parse(hdev); in dr_probe()
259 hid_err(hdev, "parse failed\n"); in dr_probe()
263 ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT & ~HID_CONNECT_FF); in dr_probe()
265 hid_err(hdev, "hw start failed\n"); in dr_probe()
269 switch (hdev->product) { in dr_probe()
271 ret = drff_init(hdev); in dr_probe()
273 dev_err(&hdev->dev, "force feedback init failed\n"); in dr_probe()
274 hid_hw_stop(hdev); in dr_probe()