Searched refs:hdesc (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/hid/i2c-hid/ ! |
| H A D | i2c-hid-core.c | 96 struct i2c_hid_desc hdesc; /* the HID Descriptor */ member 270 *(__le16 *)ihid->cmdbuf = ihid->hdesc.wCommandRegister; in i2c_hid_get_report() 281 put_unaligned_le16(le16_to_cpu(ihid->hdesc.wDataRegister), in i2c_hid_get_report() 357 if (!do_set && le16_to_cpu(ihid->hdesc.wMaxOutputLength) == 0) in i2c_hid_set_or_send_report() 364 *(__le16 *)ihid->cmdbuf = ihid->hdesc.wCommandRegister; in i2c_hid_set_or_send_report() 375 put_unaligned_le16(le16_to_cpu(ihid->hdesc.wDataRegister), in i2c_hid_set_or_send_report() 383 *(__le16 *)ihid->cmdbuf = ihid->hdesc.wOutputRegister; in i2c_hid_set_or_send_report() 407 *(__le16 *)ihid->cmdbuf = ihid->hdesc.wCommandRegister; in i2c_hid_set_power_command() 476 *(__le16 *)ihid->cmdbuf = ihid->hdesc.wCommandRegister; in i2c_hid_start_hwreset() 526 u16 size = le16_to_cpu(ihid->hdesc.wMaxInputLength); in i2c_hid_get_input() [all …]
|
| /linux/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()
|
| /linux/arch/sparc/kernel/ ! |
| H A D | smp_64.c | 293 struct hvtramp_descr *hdesc; in ldom_startcpu_cpuid() local 300 hdesc = kzalloc_flex(*hdesc, maps, num_kernel_image_mappings); in ldom_startcpu_cpuid() 301 if (!hdesc) { in ldom_startcpu_cpuid() 306 *descrp = hdesc; in ldom_startcpu_cpuid() 308 hdesc->cpu = cpu; in ldom_startcpu_cpuid() 309 hdesc->num_mappings = num_kernel_image_mappings; in ldom_startcpu_cpuid() 313 hdesc->fault_info_va = (unsigned long) &tb->fault_info; in ldom_startcpu_cpuid() 314 hdesc->fault_info_pa = kimage_addr_to_ra(&tb->fault_info); in ldom_startcpu_cpuid() 316 hdesc->thread_reg = thread_reg; in ldom_startcpu_cpuid() 321 for (i = 0; i < hdesc->num_mappings; i++) { in ldom_startcpu_cpuid() [all …]
|
| /linux/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->bNumDescriptors || in usbhid_parse() 1015 hdesc->bLength != sizeof(*hdesc) + in usbhid_parse() 1016 (hdesc->bNumDescriptors - 1) * sizeof(*hcdesc)) { in usbhid_parse() 1018 hdesc->bLength, hdesc->bNumDescriptors); in usbhid_parse() 1026 if (hdesc->bLength >= sizeof(*hdesc)) { in usbhid_parse() 1027 fixed_opt_descriptors_size = hdesc->bLength - sizeof(*hdesc); in usbhid_parse() 1030 hdesc->bNumDescriptors = fixed_opt_descriptors_size / sizeof(*hcdesc) + 1; in usbhid_parse() [all …]
|
| /linux/include/linux/ ! |
| H A D | hte.h | 174 const struct hte_ts_desc *hdesc);
|
| /linux/drivers/gpio/ ! |
| H A D | gpiolib-cdev.c | 465 struct hte_ts_desc hdesc; member 701 struct hte_ts_desc *hdesc = &line->hdesc; in hte_edge_setup() local 714 hte_init_line_attr(hdesc, desc_to_gpio(line->desc), flags, NULL, in hte_edge_setup() 717 ret = hte_ts_get(NULL, hdesc, 0); in hte_edge_setup() 721 return hte_request_ts_ns(hdesc, process_hw_ts, process_hw_ts_thread, in hte_edge_setup() 984 hte_ts_put(&line->hdesc); in edge_detector_stop()
|
| /linux/drivers/hte/ ! |
| H A D | hte-tegra194.c | 644 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/drivers/dma/ppc4xx/ ! |
| H A D | adma.c | 3238 struct ppc440spe_adma_desc_slot *hdesc, in ppc440spe_adma_dma2rxor_prep_src() argument 3243 struct ppc440spe_adma_desc_slot *desc = hdesc; in ppc440spe_adma_dma2rxor_prep_src() 3247 desc = list_entry(hdesc->chain_node.next, in ppc440spe_adma_dma2rxor_prep_src()
|