Home
last modified time | relevance | path

Searched refs:hdesc (Results 1 – 4 of 4) sorted by relevance

/drivers/hid/i2c-hid/
Di2c-hid-core.c139 struct i2c_hid_desc hdesc; /* the HID Descriptor */ member
299 u16 readRegister = le16_to_cpu(ihid->hdesc.wDataRegister); in i2c_hid_get_report()
338 u16 dataRegister = le16_to_cpu(ihid->hdesc.wDataRegister); in i2c_hid_set_or_send_report()
339 u16 outputRegister = le16_to_cpu(ihid->hdesc.wOutputRegister); in i2c_hid_set_or_send_report()
340 u16 maxOutputLength = le16_to_cpu(ihid->hdesc.wMaxOutputLength); in i2c_hid_set_or_send_report()
481 int size = le16_to_cpu(ihid->hdesc.wMaxInputLength); in i2c_hid_get_input()
715 struct i2c_hid_desc *hdesc = &ihid->hdesc; in i2c_hid_parse() local
724 rsize = le16_to_cpu(hdesc->wReportDescLength); in i2c_hid_parse()
864 struct i2c_hid_desc *hdesc = &ihid->hdesc; in i2c_hid_fetch_hid_descriptor() local
871 ihid->hdesc = in i2c_hid_fetch_hid_descriptor()
[all …]
/drivers/staging/greybus/
Dhid.c23 struct gb_hid_desc_response hdesc; member
39 0, &ghid->hdesc, sizeof(ghid->hdesc)); in gb_hid_get_desc()
52 le16_to_cpu(ghid->hdesc.wReportDescLength)); in gb_hid_get_report_desc()
286 rsize = le16_to_cpu(ghid->hdesc.wReportDescLength); in gb_hid_parse()
403 hid->version = le16_to_cpu(ghid->hdesc.bcdHID); in gb_hid_init()
404 hid->vendor = le16_to_cpu(ghid->hdesc.wVendorID); in gb_hid_init()
405 hid->product = le16_to_cpu(ghid->hdesc.wProductID); in gb_hid_init()
406 hid->country = ghid->hdesc.bCountryCode; in gb_hid_init()
/drivers/hid/usbhid/
Dhid-core.c984 struct hid_descriptor *hdesc; in usbhid_parse() local
1005 if (usb_get_extra_descriptor(interface, HID_DT_HID, &hdesc) && in usbhid_parse()
1007 usb_get_extra_descriptor(&interface->endpoint[0], HID_DT_HID, &hdesc))) { in usbhid_parse()
1012 if (hdesc->bLength < sizeof(struct hid_descriptor)) { in usbhid_parse()
1017 hid->version = le16_to_cpu(hdesc->bcdHID); in usbhid_parse()
1018 hid->country = hdesc->bCountryCode; in usbhid_parse()
1020 num_descriptors = min_t(int, hdesc->bNumDescriptors, in usbhid_parse()
1021 (hdesc->bLength - offset) / sizeof(struct hid_class_descriptor)); in usbhid_parse()
1024 if (hdesc->desc[n].bDescriptorType == HID_DT_REPORT) in usbhid_parse()
1025 rsize = le16_to_cpu(hdesc->desc[n].wDescriptorLength); in usbhid_parse()
/drivers/dma/ppc4xx/
Dadma.c3239 struct ppc440spe_adma_desc_slot *hdesc, in ppc440spe_adma_dma2rxor_prep_src() argument
3245 struct ppc440spe_adma_desc_slot *desc = hdesc; in ppc440spe_adma_dma2rxor_prep_src()
3249 desc = list_entry(hdesc->chain_node.next, in ppc440spe_adma_dma2rxor_prep_src()