Searched refs:hdesc (Results 1 – 7 of 7) 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 272 *(__le16 *)ihid->cmdbuf = ihid->hdesc.wCommandRegister; in i2c_hid_get_report() 283 put_unaligned_le16(le16_to_cpu(ihid->hdesc.wDataRegister), in i2c_hid_get_report() 359 if (!do_set && le16_to_cpu(ihid->hdesc.wMaxOutputLength) == 0) in i2c_hid_set_or_send_report() 366 *(__le16 *)ihid->cmdbuf = ihid->hdesc.wCommandRegister; in i2c_hid_set_or_send_report() 377 put_unaligned_le16(le16_to_cpu(ihid->hdesc.wDataRegister), in i2c_hid_set_or_send_report() 385 *(__le16 *)ihid->cmdbuf = ihid->hdesc.wOutputRegister; in i2c_hid_set_or_send_report() 409 *(__le16 *)ihid->cmdbuf = ihid->hdesc.wCommandRegister; in i2c_hid_set_power_command() 478 *(__le16 *)ihid->cmdbuf = ihid->hdesc.wCommandRegister; in i2c_hid_start_hwreset() 528 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 | 988 struct hid_descriptor *hdesc; in usbhid_parse() 1009 if (usb_get_extra_descriptor(interface, HID_DT_HID, &hdesc) && in usbhid_parse() 1011 usb_get_extra_descriptor(&interface->endpoint[0], HID_DT_HID, &hdesc))) { in usbhid_parse() 1016 if (!hdesc->bNumDescriptors || in usbhid_parse() 1017 hdesc->bLength != sizeof(*hdesc) + in usbhid_parse() 1018 (hdesc->bNumDescriptors - 1) * sizeof(*hcdesc)) { in usbhid_parse() 1020 hdesc->bLength, hdesc->bNumDescriptors); in usbhid_parse() 1028 if (hdesc in usbhid_parse() 987 struct hid_descriptor *hdesc; usbhid_parse() local [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/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()
|