Home
last modified time | relevance | path

Searched refs:hid_desc (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/input/tablet/
Dgtco.c838 struct hid_descriptor *hid_desc; in gtco_probe() local
903 HID_DEVICE_TYPE, &hid_desc) != 0) { in gtco_probe()
912 hid_desc->bDescriptorType, hid_desc->wDescriptorLength); in gtco_probe()
914 report = kzalloc(le16_to_cpu(hid_desc->wDescriptorLength), GFP_KERNEL); in gtco_probe()
930 le16_to_cpu(hid_desc->wDescriptorLength), in gtco_probe()
934 if (result == le16_to_cpu(hid_desc->wDescriptorLength)) { in gtco_probe()
943 if (result != le16_to_cpu(hid_desc->wDescriptorLength)) { in gtco_probe()
946 hid_desc->wDescriptorLength); in gtco_probe()
/Linux-v5.10/drivers/hid/
Dhid-hyperv.c147 struct hid_descriptor *hid_desc; member
175 kfree(device->hid_desc); in mousevsc_free_device()
196 kfree(input_device->hid_desc); in mousevsc_on_receive_device_info()
197 input_device->hid_desc = kmemdup(desc, desc->bLength, GFP_ATOMIC); in mousevsc_on_receive_device_info()
199 if (!input_device->hid_desc) in mousevsc_on_receive_device_info()