Home
last modified time | relevance | path

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

/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()
404 hid->version = le16_to_cpu(ghid->hdesc.bcdHID); in gb_hid_init()
405 hid->vendor = le16_to_cpu(ghid->hdesc.wVendorID); in gb_hid_init()
406 hid->product = le16_to_cpu(ghid->hdesc.wProductID); in gb_hid_init()
407 hid->country = ghid->hdesc.bCountryCode; in gb_hid_init()
/drivers/hid/i2c-hid/
Di2c-hid-core.c143 struct i2c_hid_desc hdesc; /* the HID Descriptor */ member
297 u16 readRegister = le16_to_cpu(ihid->hdesc.wDataRegister); in i2c_hid_get_report()
336 u16 dataRegister = le16_to_cpu(ihid->hdesc.wDataRegister); in i2c_hid_set_or_send_report()
337 u16 outputRegister = le16_to_cpu(ihid->hdesc.wOutputRegister); in i2c_hid_set_or_send_report()
338 u16 maxOutputLength = le16_to_cpu(ihid->hdesc.wMaxOutputLength); in i2c_hid_set_or_send_report()
474 int size = le16_to_cpu(ihid->hdesc.wMaxInputLength); in i2c_hid_get_input()
692 struct i2c_hid_desc *hdesc = &ihid->hdesc; in i2c_hid_parse() local
701 rsize = le16_to_cpu(hdesc->wReportDescLength); in i2c_hid_parse()
841 struct i2c_hid_desc *hdesc = &ihid->hdesc; in i2c_hid_fetch_hid_descriptor() local
848 ihid->hdesc = in i2c_hid_fetch_hid_descriptor()
[all …]
/drivers/hid/usbhid/
Dhid-core.c975 struct hid_descriptor *hdesc; in usbhid_parse() local
996 if (usb_get_extra_descriptor(interface, HID_DT_HID, &hdesc) && in usbhid_parse()
998 usb_get_extra_descriptor(&interface->endpoint[0], HID_DT_HID, &hdesc))) { in usbhid_parse()
1003 if (hdesc->bLength < sizeof(struct hid_descriptor)) { in usbhid_parse()
1008 hid->version = le16_to_cpu(hdesc->bcdHID); in usbhid_parse()
1009 hid->country = hdesc->bCountryCode; in usbhid_parse()
1011 num_descriptors = min_t(int, hdesc->bNumDescriptors, in usbhid_parse()
1012 (hdesc->bLength - offset) / sizeof(struct hid_class_descriptor)); in usbhid_parse()
1015 if (hdesc->desc[n].bDescriptorType == HID_DT_REPORT) in usbhid_parse()
1016 rsize = le16_to_cpu(hdesc->desc[n].wDescriptorLength); in usbhid_parse()
/drivers/crypto/axis/
Dartpec6_crypto.c2248 SHASH_DESC_ON_STACK(hdesc, tfm_ctx->child_hash); in artpec6_crypto_hash_set_key()
2250 hdesc->tfm = tfm_ctx->child_hash; in artpec6_crypto_hash_set_key()
2253 ret = crypto_shash_digest(hdesc, key, keylen, in artpec6_crypto_hash_set_key()
/drivers/dma/ppc4xx/
Dadma.c3241 struct ppc440spe_adma_desc_slot *hdesc, in ppc440spe_adma_dma2rxor_prep_src() argument
3247 struct ppc440spe_adma_desc_slot *desc = hdesc; in ppc440spe_adma_dma2rxor_prep_src()
3251 desc = list_entry(hdesc->chain_node.next, in ppc440spe_adma_dma2rxor_prep_src()