Lines Matching refs:hdev

271 static int isku_init_specials(struct hid_device *hdev)  in isku_init_specials()  argument
273 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in isku_init_specials()
280 hid_set_drvdata(hdev, NULL); in isku_init_specials()
286 hid_err(hdev, "can't alloc device descriptor\n"); in isku_init_specials()
289 hid_set_drvdata(hdev, isku); in isku_init_specials()
293 hid_err(hdev, "couldn't init struct isku_device\n"); in isku_init_specials()
297 retval = roccat_connect(isku_class, hdev, in isku_init_specials()
300 hid_err(hdev, "couldn't init char dev\n"); in isku_init_specials()
312 static void isku_remove_specials(struct hid_device *hdev) in isku_remove_specials() argument
314 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in isku_remove_specials()
321 isku = hid_get_drvdata(hdev); in isku_remove_specials()
327 static int isku_probe(struct hid_device *hdev, in isku_probe() argument
332 retval = hid_parse(hdev); in isku_probe()
334 hid_err(hdev, "parse failed\n"); in isku_probe()
338 retval = hid_hw_start(hdev, HID_CONNECT_DEFAULT); in isku_probe()
340 hid_err(hdev, "hw start failed\n"); in isku_probe()
344 retval = isku_init_specials(hdev); in isku_probe()
346 hid_err(hdev, "couldn't install keyboard\n"); in isku_probe()
353 hid_hw_stop(hdev); in isku_probe()
358 static void isku_remove(struct hid_device *hdev) in isku_remove() argument
360 isku_remove_specials(hdev); in isku_remove()
361 hid_hw_stop(hdev); in isku_remove()
400 static int isku_raw_event(struct hid_device *hdev, in isku_raw_event() argument
403 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in isku_raw_event()
404 struct isku_device *isku = hid_get_drvdata(hdev); in isku_raw_event()