Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/input/tablet/
Dgtco.c831 struct hid_descriptor *hid_desc; in gtco_probe() local
890 HID_DEVICE_TYPE, &hid_desc) != 0){ in gtco_probe()
897 hid_desc->bDescriptorType, hid_desc->wDescriptorLength); in gtco_probe()
899 report = kzalloc(le16_to_cpu(hid_desc->wDescriptorLength), GFP_KERNEL); in gtco_probe()
915 le16_to_cpu(hid_desc->wDescriptorLength), in gtco_probe()
919 if (result == le16_to_cpu(hid_desc->wDescriptorLength)) { in gtco_probe()
928 if (result != le16_to_cpu(hid_desc->wDescriptorLength)) { in gtco_probe()
930 hid_desc->wDescriptorLength); in gtco_probe()
Dwacom_sys.c238 struct hid_descriptor *hid_desc, in wacom_parse_hid() argument
248 report = kzalloc(hid_desc->wDescriptorLength, GFP_KERNEL); in wacom_parse_hid()
260 hid_desc->wDescriptorLength, in wacom_parse_hid()
268 for (i = 0; i < hid_desc->wDescriptorLength; i++) { in wacom_parse_hid()
454 struct hid_descriptor *hid_desc; in wacom_retrieve_hid_descriptor() local
483 if (usb_get_extra_descriptor(interface, HID_DEVICET_HID, &hid_desc)) { in wacom_retrieve_hid_descriptor()
485 HID_DEVICET_REPORT, &hid_desc)) { in wacom_retrieve_hid_descriptor()
491 error = wacom_parse_hid(intf, hid_desc, features); in wacom_retrieve_hid_descriptor()
/linux-3.4.99/drivers/hid/
Dhid-hyperv.c155 struct hid_descriptor *hid_desc; member
182 kfree(device->hid_desc); in mousevsc_free_device()
202 input_device->hid_desc = kzalloc(desc->bLength, GFP_ATOMIC); in mousevsc_on_receive_device_info()
204 if (!input_device->hid_desc) in mousevsc_on_receive_device_info()
207 memcpy(input_device->hid_desc, desc, desc->bLength); in mousevsc_on_receive_device_info()