Lines Matching refs:hdev
289 static __u8 *dr_report_fixup(struct hid_device *hdev, __u8 *rdesc, in dr_report_fixup() argument
292 switch (hdev->product) { in dr_report_fixup()
309 static int dr_probe(struct hid_device *hdev, const struct hid_device_id *id) in dr_probe() argument
313 dev_dbg(&hdev->dev, "DragonRise Inc. HID hardware probe..."); in dr_probe()
315 ret = hid_parse(hdev); in dr_probe()
317 hid_err(hdev, "parse failed\n"); in dr_probe()
321 ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT & ~HID_CONNECT_FF); in dr_probe()
323 hid_err(hdev, "hw start failed\n"); in dr_probe()
327 switch (hdev->product) { in dr_probe()
329 ret = drff_init(hdev); in dr_probe()
331 dev_err(&hdev->dev, "force feedback init failed\n"); in dr_probe()
332 hid_hw_stop(hdev); in dr_probe()