Searched refs:hid_dev (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/hid/
H A Dhid-hyperv.c491 struct hid_device *hid_dev; mousevsc_probe() local
519 hid_dev = hid_allocate_device(); mousevsc_probe()
520 if (IS_ERR(hid_dev)) { mousevsc_probe()
521 ret = PTR_ERR(hid_dev); mousevsc_probe()
525 hid_dev->ll_driver = &mousevsc_ll_driver; mousevsc_probe()
526 hid_dev->driver = &mousevsc_hid_driver; mousevsc_probe()
527 hid_dev->bus = BUS_VIRTUAL; mousevsc_probe()
528 hid_dev->vendor = input_dev->hid_dev_info.vendor; mousevsc_probe()
529 hid_dev->product = input_dev->hid_dev_info.product; mousevsc_probe()
530 hid_dev->version = input_dev->hid_dev_info.version; mousevsc_probe()
531 input_dev->hid_device = hid_dev; mousevsc_probe()
533 sprintf(hid_dev->name, "%s", "Microsoft Vmbus HID-compliant Mouse"); mousevsc_probe()
535 hid_set_drvdata(hid_dev, device); mousevsc_probe()
537 ret = hid_add_device(hid_dev); mousevsc_probe()
542 ret = hid_parse(hid_dev); mousevsc_probe()
544 hid_err(hid_dev, "parse failed\n"); mousevsc_probe()
548 ret = hid_hw_start(hid_dev, HID_CONNECT_HIDINPUT | HID_CONNECT_HIDDEV); mousevsc_probe()
551 hid_err(hid_dev, "hw start failed\n"); mousevsc_probe()
563 hid_destroy_device(hid_dev); mousevsc_probe()
H A Dhid-logitech-hidpp.c93 struct hid_device *hid_dev; member in struct:hidpp_device
187 ret = __hidpp_send_report(hidpp->hid_dev, message); hidpp_send_message_sync()
425 hid_err(hidpp->hid_dev, "%s: received protocol error 0x%02x\n", hidpp_root_get_protocol_version()
444 hid_dbg(hidpp->hid_dev, "HID++ %u.%u device connected.\n", hidpp_is_connected()
469 hid_err(hidpp->hid_dev, "%s: received protocol error 0x%02x\n", hidpp_devicenametype_get_count()
493 hid_err(hidpp->hid_dev, "%s: received protocol error 0x%02x\n", hidpp_devicenametype_get_device_name()
609 hid_err(hidpp->hid_dev, "%s: received protocol error 0x%02x\n", hidpp_touchpad_get_raw_info()
1108 struct hid_device *hdev = hidpp->hid_dev; hidpp_connect_event()
1179 hidpp->hid_dev = hdev; hidpp_probe()
H A Dhid-core.c2197 ATTRIBUTE_GROUPS(hid_dev); variable
/linux-4.1.27/drivers/hid/usbhid/
H A Dusbhid.h98 #define hid_to_usb_dev(hid_dev) \
99 container_of(hid_dev->dev.parent->parent, struct usb_device, dev)

Completed in 200 milliseconds