Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/greybus/
Dhid.c24 struct gb_hid_desc_response hdesc; member
40 0, &ghid->hdesc, sizeof(ghid->hdesc)); in gb_hid_get_desc()
53 le16_to_cpu(ghid->hdesc.wReportDescLength)); in gb_hid_get_report_desc()
285 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()
/Linux-v4.19/drivers/hid/i2c-hid/
Di2c-hid.c140 struct i2c_hid_desc hdesc; /* the HID Descriptor */ member
287 u16 readRegister = le16_to_cpu(ihid->hdesc.wDataRegister); in i2c_hid_get_report()
326 u16 dataRegister = le16_to_cpu(ihid->hdesc.wDataRegister); in i2c_hid_set_or_send_report()
327 u16 outputRegister = le16_to_cpu(ihid->hdesc.wOutputRegister); in i2c_hid_set_or_send_report()
328 u16 maxOutputLength = le16_to_cpu(ihid->hdesc.wMaxOutputLength); in i2c_hid_set_or_send_report()
460 int size = le16_to_cpu(ihid->hdesc.wMaxInputLength); in i2c_hid_get_input()
666 struct i2c_hid_desc *hdesc = &ihid->hdesc; in i2c_hid_parse() local
674 rsize = le16_to_cpu(hdesc->wReportDescLength); in i2c_hid_parse()
830 struct i2c_hid_desc *hdesc = &ihid->hdesc; in i2c_hid_fetch_hid_descriptor() local
847 if (le16_to_cpu(hdesc->bcdVersion) != 0x0100) { in i2c_hid_fetch_hid_descriptor()
[all …]
/Linux-v4.19/arch/sparc/kernel/
Dsmp_64.c296 struct hvtramp_descr *hdesc; in ldom_startcpu_cpuid() local
303 hdesc = kzalloc(sizeof(*hdesc) + in ldom_startcpu_cpuid()
307 if (!hdesc) { in ldom_startcpu_cpuid()
312 *descrp = hdesc; in ldom_startcpu_cpuid()
314 hdesc->cpu = cpu; in ldom_startcpu_cpuid()
315 hdesc->num_mappings = num_kernel_image_mappings; in ldom_startcpu_cpuid()
319 hdesc->fault_info_va = (unsigned long) &tb->fault_info; in ldom_startcpu_cpuid()
320 hdesc->fault_info_pa = kimage_addr_to_ra(&tb->fault_info); in ldom_startcpu_cpuid()
322 hdesc->thread_reg = thread_reg; in ldom_startcpu_cpuid()
327 for (i = 0; i < hdesc->num_mappings; i++) { in ldom_startcpu_cpuid()
[all …]
/Linux-v4.19/drivers/hid/usbhid/
Dhid-core.c978 struct hid_descriptor *hdesc; in usbhid_parse() local
999 if (usb_get_extra_descriptor(interface, HID_DT_HID, &hdesc) && in usbhid_parse()
1001 usb_get_extra_descriptor(&interface->endpoint[0], HID_DT_HID, &hdesc))) { in usbhid_parse()
1006 if (hdesc->bLength < sizeof(struct hid_descriptor)) { in usbhid_parse()
1011 hid->version = le16_to_cpu(hdesc->bcdHID); in usbhid_parse()
1012 hid->country = hdesc->bCountryCode; in usbhid_parse()
1014 num_descriptors = min_t(int, hdesc->bNumDescriptors, in usbhid_parse()
1015 (hdesc->bLength - offset) / sizeof(struct hid_class_descriptor)); in usbhid_parse()
1018 if (hdesc->desc[n].bDescriptorType == HID_DT_REPORT) in usbhid_parse()
1019 rsize = le16_to_cpu(hdesc->desc[n].wDescriptorLength); in usbhid_parse()
/Linux-v4.19/drivers/crypto/axis/
Dartpec6_crypto.c2229 SHASH_DESC_ON_STACK(hdesc, tfm_ctx->child_hash); in artpec6_crypto_hash_set_key()
2231 hdesc->tfm = tfm_ctx->child_hash; in artpec6_crypto_hash_set_key()
2232 hdesc->flags = crypto_ahash_get_flags(tfm) & in artpec6_crypto_hash_set_key()
2236 ret = crypto_shash_digest(hdesc, key, keylen, in artpec6_crypto_hash_set_key()
/Linux-v4.19/drivers/dma/ppc4xx/
Dadma.c3253 struct ppc440spe_adma_desc_slot *hdesc, in ppc440spe_adma_dma2rxor_prep_src() argument
3259 struct ppc440spe_adma_desc_slot *desc = hdesc; in ppc440spe_adma_dma2rxor_prep_src()
3263 desc = list_entry(hdesc->chain_node.next, in ppc440spe_adma_dma2rxor_prep_src()