Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/host/
Dxhci-mem.c1941 xhci->usb2_rhub.num_ports = 0; in xhci_mem_cleanup()
1944 kfree(xhci->usb2_rhub.ports); in xhci_mem_cleanup()
1954 xhci->usb2_rhub.ports = NULL; in xhci_mem_cleanup()
1963 xhci->usb2_rhub.bus_state.bus_suspended = 0; in xhci_mem_cleanup()
2019 rhub = &xhci->usb2_rhub; in xhci_add_in_port()
2214 if (xhci->usb2_rhub.num_ports + xhci->usb3_rhub.num_ports == in xhci_setup_port_arrays()
2220 if (xhci->usb2_rhub.num_ports == 0 && xhci->usb3_rhub.num_ports == 0) { in xhci_setup_port_arrays()
2226 xhci->usb2_rhub.num_ports, xhci->usb3_rhub.num_ports); in xhci_setup_port_arrays()
2237 if (xhci->usb2_rhub.num_ports > USB_MAXCHILDREN) { in xhci_setup_port_arrays()
2241 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()
636 return &xhci->usb2_rhub; in xhci_get_rhub()
684 port = xhci->usb2_rhub.ports[wIndex]; in xhci_port_set_test_mode()
719 for (i = 0; i < xhci->usb2_rhub.num_ports; i++) in xhci_enter_test_mode()
720 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()
2186 for (i = 0; i < xhci->usb2_rhub.num_ports; i++) { in tegra_xusb_enter_elpg()
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.c243 xhci->usb2_rhub.bus_state.port_c_suspend = 0; in xhci_reset()
244 xhci->usb2_rhub.bus_state.suspended_ports = 0; in xhci_reset()
245 xhci->usb2_rhub.bus_state.resuming_ports = 0; in xhci_reset()
865 port_index = xhci->usb2_rhub.num_ports; in xhci_pending_portevent()
866 ports = xhci->usb2_rhub.ports; in xhci_pending_portevent()
907 xhci_disable_hub_port_wake(xhci, &xhci->usb2_rhub, do_wakeup); in xhci_suspend()
1022 if (time_before(jiffies, xhci->usb2_rhub.bus_state.next_statechange) || in xhci_resume()
4455 ports = xhci->usb2_rhub.ports; in xhci_set_usb2_hardware_lpm()
4550 port = xhci->usb2_rhub.ports[udev->portnum - 1]; in xhci_update_device()
5146 xhci->usb2_rhub.hcd = hcd; in xhci_hcd_init_usb2_data()
Dxhci.h1631 struct xhci_hub usb2_rhub; member
1700 if (!xhci->usb2_rhub.num_ports) in xhci_get_usb3_hcd()
1716 (!xhci->usb2_rhub.num_ports || !xhci->usb3_rhub.num_ports); in xhci_has_one_roothub()
Dxhci-mtk-sch.c892 num_usb_bus = xhci->usb3_rhub.num_ports * 2 + xhci->usb2_rhub.num_ports; in xhci_mtk_sch_init()