Lines Matching refs:hdev

291 static int arvo_init_specials(struct hid_device *hdev)  in arvo_init_specials()  argument
293 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in arvo_init_specials()
300 hid_set_drvdata(hdev, NULL); in arvo_init_specials()
306 hid_err(hdev, "can't alloc device descriptor\n"); in arvo_init_specials()
309 hid_set_drvdata(hdev, arvo); in arvo_init_specials()
313 hid_err(hdev, "couldn't init struct arvo_device\n"); in arvo_init_specials()
317 retval = roccat_connect(arvo_class, hdev, in arvo_init_specials()
320 hid_err(hdev, "couldn't init char dev\n"); in arvo_init_specials()
332 static void arvo_remove_specials(struct hid_device *hdev) in arvo_remove_specials() argument
334 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in arvo_remove_specials()
341 arvo = hid_get_drvdata(hdev); in arvo_remove_specials()
347 static int arvo_probe(struct hid_device *hdev, in arvo_probe() argument
352 retval = hid_parse(hdev); in arvo_probe()
354 hid_err(hdev, "parse failed\n"); in arvo_probe()
358 retval = hid_hw_start(hdev, HID_CONNECT_DEFAULT); in arvo_probe()
360 hid_err(hdev, "hw start failed\n"); in arvo_probe()
364 retval = arvo_init_specials(hdev); in arvo_probe()
366 hid_err(hdev, "couldn't install keyboard\n"); in arvo_probe()
373 hid_hw_stop(hdev); in arvo_probe()
378 static void arvo_remove(struct hid_device *hdev) in arvo_remove() argument
380 arvo_remove_specials(hdev); in arvo_remove()
381 hid_hw_stop(hdev); in arvo_remove()
405 static int arvo_raw_event(struct hid_device *hdev, in arvo_raw_event() argument
408 struct arvo_device *arvo = hid_get_drvdata(hdev); in arvo_raw_event()