Home
last modified time | relevance | path

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

/components/legacy/usb/usbhost/core/
A Dhub.c527 ret = rt_usbh_hub_get_descriptor(device, (rt_uint8_t*)&hub->hub_desc, 8); in rt_usbh_hub_enable()
535 ret = rt_usbh_hub_get_descriptor(device, (rt_uint8_t*)&hub->hub_desc, in rt_usbh_hub_enable()
536 hub->hub_desc.length); in rt_usbh_hub_enable()
545 if(hub->hub_desc.num_ports > USB_HUB_PORT_NUM) in rt_usbh_hub_enable()
548 hub->num_ports = hub->hub_desc.num_ports; in rt_usbh_hub_enable()
557 rt_thread_delay(hub->hub_desc.pwron_to_good in rt_usbh_hub_enable()
/components/drivers/usb/cherryusb/class/hub/
A Dusbh_hub.c365 ret = _usbh_hub_get_hub_descriptor(hub, (uint8_t *)&hub->hub_desc); in usbh_hub_connect()
370 parse_hub_descriptor(&hub->hub_desc, USB_SIZEOF_HUB_DESC); in usbh_hub_connect()
371 hub->nports = hub->hub_desc.bNbrPorts; in usbh_hub_connect()
372 hub->powerdelay = hub->hub_desc.bPwrOn2PwrGood * 2; in usbh_hub_connect()
373 hub->tt_think = ((hub->hub_desc.wHubCharacteristics & HUB_CHAR_TTTT_MASK) >> 5); in usbh_hub_connect()
/components/drivers/usb/cherryusb/core/
A Dusbh_core.h134 struct usb_hub_descriptor hub_desc; /* USB 2.0 only */ member
/components/drivers/include/drivers/
A Dusb_host.h114 struct uhub_descriptor hub_desc; member

Completed in 9 milliseconds