Home
last modified time | relevance | path

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

/linux-6.15/drivers/hid/i2c-hid/
H A Di2c-hid-core.c96 struct i2c_hid_desc hdesc; /* the HID Descriptor */ member
747 struct i2c_hid_desc *hdesc = &ihid->hdesc; in i2c_hid_parse() local
755 rsize = le16_to_cpu(hdesc->wReportDescLength); in i2c_hid_parse()
788 ihid->hdesc.wReportDescRegister, in i2c_hid_parse()
895 struct i2c_hid_desc *hdesc = &ihid->hdesc; in i2c_hid_fetch_hid_descriptor() local
902 ihid->hdesc = in i2c_hid_fetch_hid_descriptor()
908 &ihid->hdesc, in i2c_hid_fetch_hid_descriptor()
909 sizeof(ihid->hdesc)); in i2c_hid_fetch_hid_descriptor()
922 if (le16_to_cpu(hdesc->bcdVersion) != 0x0100) { in i2c_hid_fetch_hid_descriptor()
925 le16_to_cpu(hdesc->bcdVersion)); in i2c_hid_fetch_hid_descriptor()
[all …]
/linux-6.15/drivers/staging/greybus/
H A 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()
/linux-6.15/arch/sparc/kernel/
H A Dsmp_64.c293 struct hvtramp_descr *hdesc; in ldom_startcpu_cpuid() local
300 hdesc = kzalloc(struct_size(hdesc, maps, num_kernel_image_mappings), in ldom_startcpu_cpuid()
302 if (!hdesc) { in ldom_startcpu_cpuid()
307 *descrp = hdesc; in ldom_startcpu_cpuid()
309 hdesc->cpu = cpu; in ldom_startcpu_cpuid()
310 hdesc->num_mappings = num_kernel_image_mappings; in ldom_startcpu_cpuid()
317 hdesc->thread_reg = thread_reg; in ldom_startcpu_cpuid()
322 for (i = 0; i < hdesc->num_mappings; i++) { in ldom_startcpu_cpuid()
323 hdesc->maps[i].vaddr = tte_vaddr; in ldom_startcpu_cpuid()
324 hdesc->maps[i].tte = tte_data; in ldom_startcpu_cpuid()
[all …]
/linux-6.15/drivers/hid/usbhid/
H A Dhid-core.c986 struct hid_descriptor *hdesc; in usbhid_parse() local
1007 if (usb_get_extra_descriptor(interface, HID_DT_HID, &hdesc) && in usbhid_parse()
1009 usb_get_extra_descriptor(&interface->endpoint[0], HID_DT_HID, &hdesc))) { in usbhid_parse()
1014 if (hdesc->bLength < sizeof(struct hid_descriptor)) { in usbhid_parse()
1019 hid->version = le16_to_cpu(hdesc->bcdHID); in usbhid_parse()
1020 hid->country = hdesc->bCountryCode; in usbhid_parse()
1022 num_descriptors = min_t(int, hdesc->bNumDescriptors, in usbhid_parse()
1023 (hdesc->bLength - offset) / sizeof(struct hid_class_descriptor)); in usbhid_parse()
1026 if (hdesc->desc[n].bDescriptorType == HID_DT_REPORT) in usbhid_parse()
1027 rsize = le16_to_cpu(hdesc->desc[n].wDescriptorLength); in usbhid_parse()
/linux-6.15/include/linux/
H A Dhte.h174 const struct hte_ts_desc *hdesc);
/linux-6.15/drivers/gpio/
H A Dgpiolib-cdev.c489 struct hte_ts_desc hdesc; member
725 struct hte_ts_desc *hdesc = &line->hdesc; in hte_edge_setup() local
738 hte_init_line_attr(hdesc, desc_to_gpio(line->desc), flags, NULL, in hte_edge_setup()
741 ret = hte_ts_get(NULL, hdesc, 0); in hte_edge_setup()
745 return hte_request_ts_ns(hdesc, process_hw_ts, process_hw_ts_thread, in hte_edge_setup()
1008 hte_ts_put(&line->hdesc); in edge_detector_stop()
/linux-6.15/drivers/hte/
H A Dhte-tegra194.c644 const struct hte_ts_desc *hdesc) in tegra_hte_match_from_linedata() argument
651 return hte_dev->gdev == gpiod_to_gpio_device(hdesc->attr.line_data); in tegra_hte_match_from_linedata()
/linux-6.15/drivers/dma/ppc4xx/
H A Dadma.c3239 struct ppc440spe_adma_desc_slot *hdesc, in ppc440spe_adma_dma2rxor_prep_src() argument
3244 struct ppc440spe_adma_desc_slot *desc = hdesc; in ppc440spe_adma_dma2rxor_prep_src()
3248 desc = list_entry(hdesc->chain_node.next, in ppc440spe_adma_dma2rxor_prep_src()