Home
last modified time | relevance | path

Searched refs:roothub (Results 1 – 10 of 10) sorted by relevance

/components/legacy/usb/usbhost/core/
A Dhub.c91 msg.content.hub = hcd->roothub; in rt_usbh_root_hub_connect_handler()
99 hcd->roothub->port_status[port - 1] |= PORT_LSDA; in rt_usbh_root_hub_connect_handler()
108 msg.content.hub = hcd->roothub; in rt_usbh_root_hub_disconnect_handler()
109 hcd->roothub->port_status[port - 1] |= PORT_CCSC; in rt_usbh_root_hub_disconnect_handler()
110 hcd->roothub->port_status[port - 1] &= ~PORT_CCS; in rt_usbh_root_hub_disconnect_handler()
705 hcd->roothub = rt_malloc(sizeof(struct uhub)); in rt_usbh_hub_init()
706 if(hcd->roothub == RT_NULL) in rt_usbh_hub_init()
711 rt_memset(hcd->roothub, 0, sizeof(struct uhub)); in rt_usbh_hub_init()
712 hcd->roothub->is_roothub = RT_TRUE; in rt_usbh_hub_init()
713 hcd->roothub->hcd = hcd; in rt_usbh_hub_init()
[all …]
/components/drivers/usb/cherryusb/port/ohci/
A Dusb_hc_ohci.c299 bus->hcd.roothub.int_buffer[0] |= (1 << (port + 1)); in OHCI_IRQHandler()
300 usbh_hub_thread_wakeup(&bus->hcd.roothub); in OHCI_IRQHandler()
/components/drivers/usb/cherryusb/port/rp2040/
A Dusb_hc_rp2040.c767 bus->hcd.roothub.int_buffer[0] = (1 << 1); in USBH_IRQHandler()
768 usbh_hub_thread_wakeup(&bus->hcd.roothub); in USBH_IRQHandler()
773 bus->hcd.roothub.int_buffer[0] = (1 << 1); in USBH_IRQHandler()
774 usbh_hub_thread_wakeup(&bus->hcd.roothub); in USBH_IRQHandler()
/components/drivers/usb/cherryusb/core/
A Dusbh_core.c934 hub = &bus->hcd.roothub; in usbh_find_class_instance()
956 hub = &bus->hcd.roothub; in usbh_find_hubport()
1001 hub = &bus->hcd.roothub; in lsusb()
1015 hub = &bus->hcd.roothub; in lsusb()
A Dusbh_core.h161 struct usbh_hub roothub; member
/components/drivers/usb/cherryusb/port/musb/
A Dusb_hc_musb.c1006 bus->hcd.roothub.int_buffer[0] = (1 << 1); in USBH_IRQHandler()
1007 usbh_hub_thread_wakeup(&bus->hcd.roothub); in USBH_IRQHandler()
1014 bus->hcd.roothub.int_buffer[0] = (1 << 1); in USBH_IRQHandler()
1015 usbh_hub_thread_wakeup(&bus->hcd.roothub); in USBH_IRQHandler()
/components/drivers/include/drivers/
A Dusb_host.h140 uhub_t roothub; member
/components/drivers/usb/cherryusb/class/hub/
A Dusbh_hub.c682 hub = &bus->hcd.roothub; in usbh_hub_initialize()
713 hub = &bus->hcd.roothub; in usbh_hub_deinitialize()
/components/drivers/usb/cherryusb/port/dwc2/
A Dusb_hc_dwc2.c1440 bus->hcd.roothub.int_buffer[0] = (1 << 1); in dwc2_port_irq_handler()
1441 usbh_hub_thread_wakeup(&bus->hcd.roothub); in dwc2_port_irq_handler()
1506 bus->hcd.roothub.int_buffer[0] = (1 << 1); in USBH_IRQHandler()
1507 usbh_hub_thread_wakeup(&bus->hcd.roothub); in USBH_IRQHandler()
/components/drivers/usb/cherryusb/port/ehci/
A Dusb_hc_ehci.c1436 bus->hcd.roothub.int_buffer[0] |= (1 << (port + 1)); in USBH_IRQHandler()
1437 usbh_hub_thread_wakeup(&bus->hcd.roothub); in USBH_IRQHandler()

Completed in 20 milliseconds