Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/usb/host/
Dxhci-mem.c1923 xhci->usb2_rhub.num_ports = 0; in xhci_mem_cleanup()
1926 kfree(xhci->usb2_rhub.ports); in xhci_mem_cleanup()
1936 xhci->usb2_rhub.ports = NULL; in xhci_mem_cleanup()
1944 xhci->usb2_rhub.bus_state.bus_suspended = 0; in xhci_mem_cleanup()
2147 rhub = &xhci->usb2_rhub; in xhci_add_in_port()
2340 if (xhci->usb2_rhub.num_ports + xhci->usb3_rhub.num_ports == in xhci_setup_port_arrays()
2346 if (xhci->usb2_rhub.num_ports == 0 && xhci->usb3_rhub.num_ports == 0) { in xhci_setup_port_arrays()
2352 xhci->usb2_rhub.num_ports, xhci->usb3_rhub.num_ports); in xhci_setup_port_arrays()
2363 if (xhci->usb2_rhub.num_ports > USB_MAXCHILDREN) { in xhci_setup_port_arrays()
2367 xhci->usb2_rhub.num_ports = USB_MAXCHILDREN; in xhci_setup_port_arrays()
[all …]
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()
912 port_index = xhci->usb2_rhub.num_ports; in xhci_disable_port_wake_on_bits()
913 ports = xhci->usb2_rhub.ports; in xhci_disable_port_wake_on_bits()
922 xhci->usb2_rhub.hcd->self.busnum, in xhci_disable_port_wake_on_bits()
945 port_index = xhci->usb2_rhub.num_ports; in xhci_pending_portevent()
946 ports = xhci->usb2_rhub.ports; in xhci_pending_portevent()
1099 if (time_before(jiffies, xhci->usb2_rhub.bus_state.next_statechange) || in xhci_resume()
4417 ports = xhci->usb2_rhub.ports; in xhci_set_usb2_hardware_lpm()
[all …]
Dxhci-hub.c203 rhub = &xhci->usb2_rhub; in xhci_usb2_hub_descriptor()
560 return &xhci->usb2_rhub; in xhci_get_rhub()
610 port = xhci->usb2_rhub.ports[wIndex]; in xhci_port_set_test_mode()
644 for (i = 0; i < xhci->usb2_rhub.num_ports; i++) in xhci_enter_test_mode()
Dxhci-mtk-sch.c575 num_usb_bus = xhci->usb3_rhub.num_ports * 2 + xhci->usb2_rhub.num_ports; in xhci_mtk_sch_init()
Dxhci.h1885 struct xhci_hub usb2_rhub; member
Dxhci-tegra.c1705 if (!xhci_hub_ports_suspended(&xhci->usb2_rhub) || in tegra_xusb_check_ports()