Home
last modified time | relevance | path

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

/drivers/usb/host/
Dxhci-mem.c1962 xhci->usb2_rhub.num_ports = 0; in xhci_mem_cleanup()
1965 kfree(xhci->usb2_rhub.ports); in xhci_mem_cleanup()
1976 xhci->usb2_rhub.ports = NULL; in xhci_mem_cleanup()
1986 xhci->usb2_rhub.bus_state.bus_suspended = 0; in xhci_mem_cleanup()
2042 rhub = &xhci->usb2_rhub; in xhci_add_in_port()
2245 if (xhci->usb2_rhub.num_ports + xhci->usb3_rhub.num_ports == in xhci_setup_port_arrays()
2251 if (xhci->usb2_rhub.num_ports == 0 && xhci->usb3_rhub.num_ports == 0) { in xhci_setup_port_arrays()
2257 xhci->usb2_rhub.num_ports, xhci->usb3_rhub.num_ports); in xhci_setup_port_arrays()
2268 if (xhci->usb2_rhub.num_ports > USB_MAXCHILDREN) { in xhci_setup_port_arrays()
2272 xhci->usb2_rhub.num_ports = USB_MAXCHILDREN; in xhci_setup_port_arrays()
[all …]
Dxhci-hub.c288 rhub = &xhci->usb2_rhub; in xhci_usb2_hub_descriptor()
668 return &xhci->usb2_rhub; in xhci_get_rhub()
716 port = xhci->usb2_rhub.ports[wIndex]; in xhci_port_set_test_mode()
751 for (i = 0; i < xhci->usb2_rhub.num_ports; i++) in xhci_enter_test_mode()
752 xhci_set_port_power(xhci, xhci->usb2_rhub.ports[i], false, flags); in xhci_enter_test_mode()
Dxhci-tegra.c1985 struct xhci_bus_state *bus_state = &xhci->usb2_rhub.bus_state; in tegra_xusb_check_ports()
1998 if (!xhci_hub_ports_suspended(&xhci->usb2_rhub) || in tegra_xusb_check_ports()
2073 rhub = &xhci->usb2_rhub; in tegra_xhci_enable_phy_sleepwalk_wake()
2187 if (!xhci->usb2_rhub.ports[i]) in tegra_xusb_enter_elpg()
2189 portsc = readl(xhci->usb2_rhub.ports[i]->addr); in tegra_xusb_enter_elpg()
2703 rhub = &xhci->usb2_rhub; in tegra_xhci_hub_control()
Dxhci.c219 xhci->usb2_rhub.bus_state.port_c_suspend = 0; in xhci_reset()
220 xhci->usb2_rhub.bus_state.suspended_ports = 0; in xhci_reset()
221 xhci->usb2_rhub.bus_state.resuming_ports = 0; in xhci_reset()
856 port_index = xhci->usb2_rhub.num_ports; in xhci_pending_portevent()
857 ports = xhci->usb2_rhub.ports; in xhci_pending_portevent()
898 xhci_disable_hub_port_wake(xhci, &xhci->usb2_rhub, do_wakeup); in xhci_suspend()
1013 if (time_before(jiffies, xhci->usb2_rhub.bus_state.next_statechange) || in xhci_resume()
4476 ports = xhci->usb2_rhub.ports; in xhci_set_usb2_hardware_lpm()
5175 xhci->usb2_rhub.hcd = hcd; in xhci_hcd_init_usb2_data()
Dxhci.h1942 struct xhci_hub usb2_rhub; member
2025 if (!xhci->usb2_rhub.num_ports) in xhci_get_usb3_hcd()
2041 (!xhci->usb2_rhub.num_ports || !xhci->usb3_rhub.num_ports); in xhci_has_one_roothub()
Dxhci-mtk-sch.c607 num_usb_bus = xhci->usb3_rhub.num_ports * 2 + xhci->usb2_rhub.num_ports; in xhci_mtk_sch_init()