Searched refs:ddesc (Results 1 – 6 of 6) sorted by relevance
/openbmc/u-boot/disk/ |
H A D | part_mac.c | 44 ALLOC_CACHE_ALIGN_BUFFER(mac_driver_desc_t, ddesc, 1); in part_test_mac() 48 if (part_mac_read_ddb (dev_desc, ddesc)) { in part_test_mac() 71 ALLOC_CACHE_ALIGN_BUFFER(mac_driver_desc_t, ddesc, 1); in part_print_mac() 75 if (part_mac_read_ddb (dev_desc, ddesc)) { in part_print_mac() 83 n = ddesc->blk_count; in part_print_mac() 85 mb = ldiv(n, ((1024 * 1024) / ddesc->blk_size)); /* MB */ in part_print_mac() 87 mb.rem *= 10 * ddesc->blk_size; in part_print_mac() 101 ddesc->blk_size, in part_print_mac() 102 ddesc->blk_count, in part_print_mac() 104 ddesc->dev_type, ddesc->dev_id in part_print_mac() [all …]
|
/openbmc/linux/drivers/usb/core/ |
H A D | of.c | 58 struct usb_device_descriptor *ddesc = &udev->descriptor; in usb_of_has_combined_node() local 64 switch (ddesc->bDeviceClass) { in usb_of_has_combined_node() 67 if (ddesc->bNumConfigurations == 1) { in usb_of_has_combined_node()
|
/openbmc/linux/drivers/usb/usbip/ |
H A D | vudc_sysfs.c | 27 struct usb_device_descriptor *ddesc = &udc->dev_desc; in get_gadget_descs() local 38 req.wLength = cpu_to_le16(sizeof(*ddesc)); in get_gadget_descs() 50 if (usb_req->req.length > sizeof(*ddesc)) { in get_gadget_descs() 55 memcpy(ddesc, usb_req->req.buf, sizeof(*ddesc)); in get_gadget_descs()
|
/openbmc/qemu/hw/usb/ |
H A D | host-libusb.c | 108 struct libusb_device_descriptor ddesc; member 996 libusb_get_device_descriptor(dev, &s->ddesc); in usb_host_open() 1041 if (s->ddesc.iProduct) { in usb_host_open() 1042 libusb_get_string_descriptor_ascii(s->dh, s->ddesc.iProduct, in usb_host_open() 1416 if (s->ddesc.bNumConfigurations != 1) { in usb_host_set_config() 1840 struct libusb_device_descriptor ddesc; in usb_host_auto_check() local 1850 if (libusb_get_device_descriptor(devs[i], &ddesc) != 0) { in usb_host_auto_check() 1853 if (ddesc.bDeviceClass == LIBUSB_CLASS_HUB) { in usb_host_auto_check() 1874 f->vendor_id != ddesc.idVendor) { in usb_host_auto_check() 1878 f->product_id != ddesc.idProduct) { in usb_host_auto_check() [all …]
|
/openbmc/linux/drivers/dma/xilinx/ |
H A D | zynqmp_dma.c | 307 struct zynqmp_dma_desc_ll *ddesc = sdesc + 1; in zynqmp_dma_config_sg_ll_desc() local 309 sdesc->size = ddesc->size = len; in zynqmp_dma_config_sg_ll_desc() 311 ddesc->addr = dst; in zynqmp_dma_config_sg_ll_desc() 313 sdesc->ctrl = ddesc->ctrl = ZYNQMP_DMA_DESC_CTRL_SIZE_256; in zynqmp_dma_config_sg_ll_desc() 316 ddesc->ctrl |= ZYNQMP_DMA_DESC_CTRL_COHRNT; in zynqmp_dma_config_sg_ll_desc() 322 ddesc = prev + 1; in zynqmp_dma_config_sg_ll_desc() 324 ddesc->nxtdscraddr = addr + ZYNQMP_DMA_DESC_SIZE(chan); in zynqmp_dma_config_sg_ll_desc()
|
/openbmc/linux/drivers/usb/storage/ |
H A D | usb.c | 636 struct usb_device_descriptor *ddesc = &dev->descriptor; in get_device_info() local 653 le16_to_cpu(ddesc->idVendor), in get_device_info() 654 le16_to_cpu(ddesc->idProduct), in get_device_info() 655 le16_to_cpu(ddesc->bcdDevice), in get_device_info()
|