Home
last modified time | relevance | path

Searched refs:usb2_rhub (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/usb/host/
Dxhci-mem.c1908 xhci->usb2_rhub.num_ports = 0; in xhci_mem_cleanup()
1911 kfree(xhci->usb2_rhub.ports); in xhci_mem_cleanup()
1917 xhci->usb2_rhub.ports = NULL; in xhci_mem_cleanup()
1925 xhci->usb2_rhub.bus_state.bus_suspended = 0; in xhci_mem_cleanup()
2127 rhub = &xhci->usb2_rhub; in xhci_add_in_port()
2306 if (xhci->usb2_rhub.num_ports + xhci->usb3_rhub.num_ports == in xhci_setup_port_arrays()
2312 if (xhci->usb2_rhub.num_ports == 0 && xhci->usb3_rhub.num_ports == 0) { in xhci_setup_port_arrays()
2318 xhci->usb2_rhub.num_ports, xhci->usb3_rhub.num_ports); in xhci_setup_port_arrays()
2329 if (xhci->usb2_rhub.num_ports > USB_MAXCHILDREN) { in xhci_setup_port_arrays()
2333 xhci->usb2_rhub.num_ports = USB_MAXCHILDREN; in xhci_setup_port_arrays()
[all …]
Dxhci-hub.c194 rhub = &xhci->usb2_rhub; in xhci_usb2_hub_descriptor()
551 return &xhci->usb2_rhub; in xhci_get_rhub()
600 port = xhci->usb2_rhub.ports[wIndex]; in xhci_port_set_test_mode()
633 for (i = 0; i < xhci->usb2_rhub.num_ports; i++) in xhci_enter_test_mode()
Dxhci.c216 xhci->usb2_rhub.bus_state.port_c_suspend = 0; in xhci_reset()
217 xhci->usb2_rhub.bus_state.suspended_ports = 0; in xhci_reset()
218 xhci->usb2_rhub.bus_state.resuming_ports = 0; in xhci_reset()
915 port_index = xhci->usb2_rhub.num_ports; in xhci_disable_port_wake_on_bits()
916 ports = xhci->usb2_rhub.ports; in xhci_disable_port_wake_on_bits()
925 xhci->usb2_rhub.hcd->self.busnum, in xhci_disable_port_wake_on_bits()
948 port_index = xhci->usb2_rhub.num_ports; in xhci_pending_portevent()
949 ports = xhci->usb2_rhub.ports; in xhci_pending_portevent()
1099 if (time_before(jiffies, xhci->usb2_rhub.bus_state.next_statechange) || in xhci_resume()
4407 ports = xhci->usb2_rhub.ports; in xhci_set_usb2_hardware_lpm()
[all …]
Dxhci-mtk-sch.c571 num_usb_bus = xhci->usb3_rhub.num_ports * 2 + xhci->usb2_rhub.num_ports; in xhci_mtk_sch_init()
Dxhci.h1874 struct xhci_hub usb2_rhub; member