Searched refs:hdesc (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.4/drivers/staging/greybus/ |
| D | hid.c | 23 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()
|
| /Linux-v5.4/drivers/hid/i2c-hid/ |
| D | i2c-hid-core.c | 140 struct i2c_hid_desc hdesc; /* the HID Descriptor */ member 288 u16 readRegister = le16_to_cpu(ihid->hdesc.wDataRegister); in i2c_hid_get_report() 327 u16 dataRegister = le16_to_cpu(ihid->hdesc.wDataRegister); in i2c_hid_set_or_send_report() 328 u16 outputRegister = le16_to_cpu(ihid->hdesc.wOutputRegister); in i2c_hid_set_or_send_report() 329 u16 maxOutputLength = le16_to_cpu(ihid->hdesc.wMaxOutputLength); in i2c_hid_set_or_send_report() 465 int size = le16_to_cpu(ihid->hdesc.wMaxInputLength); in i2c_hid_get_input() 677 struct i2c_hid_desc *hdesc = &ihid->hdesc; in i2c_hid_parse() local 686 rsize = le16_to_cpu(hdesc->wReportDescLength); in i2c_hid_parse() 826 struct i2c_hid_desc *hdesc = &ihid->hdesc; in i2c_hid_fetch_hid_descriptor() local 833 ihid->hdesc = in i2c_hid_fetch_hid_descriptor() [all …]
|
| /Linux-v5.4/arch/sparc/kernel/ |
| D | smp_64.c | 296 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-v5.4/drivers/hid/usbhid/ |
| D | hid-core.c | 975 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()
|
| /Linux-v5.4/drivers/crypto/axis/ |
| D | artpec6_crypto.c | 2248 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()
|
| /Linux-v5.4/drivers/dma/ppc4xx/ |
| D | adma.c | 3241 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()
|