Home
last modified time | relevance | path

Searched refs:hub_desc (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/usb/emul/
H A Dsandbox_hub.c88 static struct usb_hub_descriptor hub_desc = { variable
89 .bLength = sizeof(hub_desc),
112 &hub_desc,
/openbmc/linux/drivers/usb/dwc2/
H A Dhcd.c3385 struct usb_hub_descriptor *hub_desc; in dwc2_hcd_hub_control() local
3508 hub_desc = (struct usb_hub_descriptor *)buf; in dwc2_hcd_hub_control()
3509 hub_desc->bDescLength = 9; in dwc2_hcd_hub_control()
3510 hub_desc->bDescriptorType = USB_DT_HUB; in dwc2_hcd_hub_control()
3511 hub_desc->bNbrPorts = 1; in dwc2_hcd_hub_control()
3512 hub_desc->wHubCharacteristics = in dwc2_hcd_hub_control()
3515 hub_desc->bPwrOn2PwrGood = 1; in dwc2_hcd_hub_control()
3516 hub_desc->bHubContrCurrent = 0; in dwc2_hcd_hub_control()
3517 hub_desc->u.hs.DeviceRemovable[0] = 0; in dwc2_hcd_hub_control()
3518 hub_desc->u.hs.DeviceRemovable[1] = 0xff; in dwc2_hcd_hub_control()