Home
last modified time | relevance | path

Searched refs:hub (Results 1 – 11 of 11) sorted by relevance

/components/drivers/usb/cherryusb/class/hub/
A Dusbh_hub.c310 …usbh_int_urb_fill(&hub->intin_urb, hub->parent, hub->intin, hub->int_buffer, 1, 0, hub_int_complet… in hub_int_timeout()
361 hub->nports = hub->hub_ss_desc.bNbrPorts; in usbh_hub_connect()
362 hub->powerdelay = hub->hub_ss_desc.bPwrOn2PwrGood * 2; 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()
378 hub->child[port].parent = hub; in usbh_hub_connect()
417 hub->int_buffer = g_hub_intbuf[hub->bus->busid][hub->index - 1]; in usbh_hub_connect()
435 if (hub) { in usbh_hub_disconnect()
650 if (!hub->is_roothub && hub->connected) { in usbh_hub_events()
674 usb_osal_mq_send(hub->bus->hub_mq, (uintptr_t)hub); in usbh_hub_thread_wakeup()
[all …]
A Dusbh_hub.h17 int usbh_hub_set_feature(struct usbh_hub *hub, uint8_t port, uint8_t feature);
18 int usbh_hub_clear_feature(struct usbh_hub *hub, uint8_t port, uint8_t feature);
20 void usbh_hub_thread_wakeup(struct usbh_hub *hub);
/components/legacy/usb/usbhost/core/
A Dhub.c199 if(hub->is_roothub) in rt_usbh_hub_get_port_status()
212 if(rt_usb_hcd_setup_xfer(hub->hcd, hub->self->pipe_ep0_out, &setup, timeout) == 8) in rt_usbh_hub_get_port_status()
241 if(hub->is_roothub) in rt_usbh_hub_clear_port_feature()
282 if(hub->is_roothub) in rt_usbh_hub_set_port_feature()
469 uhub_t hub; in rt_usbh_hub_irq() local
507 uhub_t hub; in rt_usbh_hub_enable() local
548 hub->num_ports = hub->hub_desc.num_ports; in rt_usbh_hub_enable()
551 hub->self = device; in rt_usbh_hub_enable()
592 rt_usb_hcd_pipe_xfer(hub->hcd, pipe_in, hub->buffer, in rt_usbh_hub_enable()
608 uhub_t hub; in rt_usbh_hub_disable() local
[all …]
/components/drivers/usb/cherryusb/core/
A Dusbh_core.c795 hport = &hub->child[port]; in usbh_list_all_interface_name()
826 hport = &hub->child[port]; in usbh_list_all_interface_driver()
860 hport = &hub->child[port]; in usbh_list_all_interface_desc()
864 hub->index, in usbh_list_all_interface_desc()
891 if (hub->index == hub_index) { in usbh_list_all_hubport()
925 struct usbh_hub *hub; in usbh_find_class_instance() local
934 hub = &bus->hcd.roothub; in usbh_find_class_instance()
948 struct usbh_hub *hub; in usbh_find_hubport() local
956 hub = &bus->hcd.roothub; in usbh_find_hubport()
966 struct usbh_hub *hub; in lsusb() local
[all …]
/components/legacy/usb/usbhost/
A DSConscript9 core/hub.c
/components/drivers/usb/cherryusb/
A DREADME_zh.md99 CherryUSB Host 协议栈对挂载在 root hub、外部 hub 上的设备规范了一套标准的枚举实现,对不同的 Class 类也规范了一套标准接口,用来指示在枚举后和断开连接后该 Clas…
120 同时,CherryUSB Host 协议栈还提供了 lsusb 的功能,借助 shell 插件可以查看所有挂载设备的信息,包括外部 hub 上的设备的信息。
A DSConscript7 path += [cwd + '/class/hub']
181 src += Glob('class/hub/usbh_hub.c')
A Dcherryusb.cmake40 ${CMAKE_CURRENT_LIST_DIR}/class/hub
155 ${CMAKE_CURRENT_LIST_DIR}/class/hub/usbh_hub.c
A DREADME.md105 - Multi-level HUB support, expandable up to 7 levels(Testing hub with 10 ports works well,only supp…
/components/drivers/usb/cherryusb/port/ehci/
A Dusb_hc_ehci.c1197 struct usbh_hub *hub; in usbh_submit_urb() local
1214 hub = urb->hport->parent; in usbh_submit_urb()
1215 while (!hub->is_roothub) { in usbh_submit_urb()
1216 hport = hub->parent; in usbh_submit_urb()
1217 hub = hub->parent->parent; in usbh_submit_urb()
/components/drivers/include/drivers/
A Dusb_host.h157 struct uhub* hub; member

Completed in 770 milliseconds