Lines Matching refs:hdev

448 static int kovaplus_init_specials(struct hid_device *hdev)  in kovaplus_init_specials()  argument
450 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in kovaplus_init_specials()
460 hid_err(hdev, "can't alloc device descriptor\n"); in kovaplus_init_specials()
463 hid_set_drvdata(hdev, kovaplus); in kovaplus_init_specials()
467 hid_err(hdev, "couldn't init struct kovaplus_device\n"); in kovaplus_init_specials()
471 retval = roccat_connect(kovaplus_class, hdev, in kovaplus_init_specials()
474 hid_err(hdev, "couldn't init char dev\n"); in kovaplus_init_specials()
481 hid_set_drvdata(hdev, NULL); in kovaplus_init_specials()
490 static void kovaplus_remove_specials(struct hid_device *hdev) in kovaplus_remove_specials() argument
492 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in kovaplus_remove_specials()
497 kovaplus = hid_get_drvdata(hdev); in kovaplus_remove_specials()
504 static int kovaplus_probe(struct hid_device *hdev, in kovaplus_probe() argument
509 retval = hid_parse(hdev); in kovaplus_probe()
511 hid_err(hdev, "parse failed\n"); in kovaplus_probe()
515 retval = hid_hw_start(hdev, HID_CONNECT_DEFAULT); in kovaplus_probe()
517 hid_err(hdev, "hw start failed\n"); in kovaplus_probe()
521 retval = kovaplus_init_specials(hdev); in kovaplus_probe()
523 hid_err(hdev, "couldn't install mouse\n"); in kovaplus_probe()
530 hid_hw_stop(hdev); in kovaplus_probe()
535 static void kovaplus_remove(struct hid_device *hdev) in kovaplus_remove() argument
537 kovaplus_remove_specials(hdev); in kovaplus_remove()
538 hid_hw_stop(hdev); in kovaplus_remove()
603 static int kovaplus_raw_event(struct hid_device *hdev, in kovaplus_raw_event() argument
606 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in kovaplus_raw_event()
607 struct kovaplus_device *kovaplus = hid_get_drvdata(hdev); in kovaplus_raw_event()