/kernel/linux/linux-6.6/drivers/hid/i2c-hid/ |
H A D | i2c-hid-core.c | 95 struct i2c_hid_desc hdesc; /* the HID Descriptor */ member 244 *(__le16 *)ihid->cmdbuf = ihid->hdesc.wCommandRegister; in i2c_hid_get_report() 255 put_unaligned_le16(le16_to_cpu(ihid->hdesc.wDataRegister), in i2c_hid_get_report() 330 if (!do_set && le16_to_cpu(ihid->hdesc.wMaxOutputLength) == 0) in i2c_hid_set_or_send_report() 335 *(__le16 *)ihid->cmdbuf = ihid->hdesc.wCommandRegister; in i2c_hid_set_or_send_report() 346 put_unaligned_le16(le16_to_cpu(ihid->hdesc.wDataRegister), in i2c_hid_set_or_send_report() 354 *(__le16 *)ihid->cmdbuf = ihid->hdesc.wOutputRegister; in i2c_hid_set_or_send_report() 376 *(__le16 *)ihid->cmdbuf = ihid->hdesc.wCommandRegister; in i2c_hid_set_power_command() 437 *(__le16 *)ihid->cmdbuf = ihid->hdesc.wCommandRegister; in i2c_hid_execute_reset() 506 u16 size = le16_to_cpu(ihid->hdesc in i2c_hid_get_input() 731 struct i2c_hid_desc *hdesc = &ihid->hdesc; i2c_hid_parse() local 881 struct i2c_hid_desc *hdesc = &ihid->hdesc; i2c_hid_fetch_hid_descriptor() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
H A 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() 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()
|
/kernel/linux/linux-6.6/drivers/staging/greybus/ |
H A 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() 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()
|
/kernel/linux/linux-5.10/drivers/hid/i2c-hid/ |
H A D | i2c-hid-core.c | 143 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() 712 struct i2c_hid_desc *hdesc = &ihid->hdesc; in i2c_hid_parse() local 721 rsize = le16_to_cpu(hdesc->wReportDescLength); in i2c_hid_parse() 861 struct i2c_hid_desc *hdesc in i2c_hid_fetch_hid_descriptor() local [all...] |
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | smp_64.c | 293 struct hvtramp_descr *hdesc; in ldom_startcpu_cpuid() local 300 hdesc = kzalloc(sizeof(*hdesc) + in ldom_startcpu_cpuid() 304 if (!hdesc) { in ldom_startcpu_cpuid() 309 *descrp = hdesc; in ldom_startcpu_cpuid() 311 hdesc->cpu = cpu; in ldom_startcpu_cpuid() 312 hdesc->num_mappings = num_kernel_image_mappings; in ldom_startcpu_cpuid() 316 hdesc->fault_info_va = (unsigned long) &tb->fault_info; in ldom_startcpu_cpuid() 317 hdesc->fault_info_pa = kimage_addr_to_ra(&tb->fault_info); in ldom_startcpu_cpuid() 319 hdesc in ldom_startcpu_cpuid() [all...] |
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | smp_64.c | 293 struct hvtramp_descr *hdesc; in ldom_startcpu_cpuid() local 300 hdesc = kzalloc(sizeof(*hdesc) + in ldom_startcpu_cpuid() 304 if (!hdesc) { in ldom_startcpu_cpuid() 309 *descrp = hdesc; in ldom_startcpu_cpuid() 311 hdesc->cpu = cpu; in ldom_startcpu_cpuid() 312 hdesc->num_mappings = num_kernel_image_mappings; in ldom_startcpu_cpuid() 316 hdesc->fault_info_va = (unsigned long) &tb->fault_info; in ldom_startcpu_cpuid() 317 hdesc->fault_info_pa = kimage_addr_to_ra(&tb->fault_info); in ldom_startcpu_cpuid() 319 hdesc in ldom_startcpu_cpuid() [all...] |
/kernel/linux/linux-5.10/drivers/hid/usbhid/ |
H A D | hid-core.c | 986 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 in usbhid_parse() [all...] |
/kernel/linux/linux-6.6/drivers/hid/usbhid/ |
H A D | hid-core.c | 984 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 in usbhid_parse() [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | hte.h | 174 const struct hte_ts_desc *hdesc);
|
/kernel/linux/linux-6.6/drivers/hte/ |
H A D | hte-tegra194.c | 641 const struct hte_ts_desc *hdesc) in tegra_hte_match_from_linedata() 648 return hte_dev->c == gpiod_to_chip(hdesc->attr.line_data); in tegra_hte_match_from_linedata() 640 tegra_hte_match_from_linedata(const struct hte_chip *chip, const struct hte_ts_desc *hdesc) tegra_hte_match_from_linedata() argument
|
/kernel/linux/linux-6.6/drivers/gpio/ |
H A D | gpiolib-cdev.c | 478 * @hdesc: the Hardware Timestamp Engine (HTE) descriptor 530 struct hte_ts_desc hdesc; member 747 struct hte_ts_desc *hdesc = &line->hdesc; in hte_edge_setup() local 760 hte_init_line_attr(hdesc, desc_to_gpio(line->desc), flags, NULL, in hte_edge_setup() 763 ret = hte_ts_get(NULL, hdesc, 0); in hte_edge_setup() 767 return hte_request_ts_ns(hdesc, process_hw_ts, process_hw_ts_thread, in hte_edge_setup() 1022 hte_ts_put(&line->hdesc); in edge_detector_stop()
|
/kernel/linux/linux-5.10/drivers/dma/ppc4xx/ |
H A D | adma.c | 3241 struct ppc440spe_adma_desc_slot *hdesc, in ppc440spe_adma_dma2rxor_prep_src() 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() 3240 ppc440spe_adma_dma2rxor_prep_src( struct ppc440spe_adma_desc_slot *hdesc, struct ppc440spe_rxor *cursor, int index, int src_cnt, u32 addr) ppc440spe_adma_dma2rxor_prep_src() argument
|
/kernel/linux/linux-6.6/drivers/dma/ppc4xx/ |
H A D | adma.c | 3239 struct ppc440spe_adma_desc_slot *hdesc, in ppc440spe_adma_dma2rxor_prep_src() 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() 3238 ppc440spe_adma_dma2rxor_prep_src( struct ppc440spe_adma_desc_slot *hdesc, struct ppc440spe_rxor *cursor, int index, int src_cnt, u32 addr) ppc440spe_adma_dma2rxor_prep_src() argument
|