Home
last modified time | relevance | path

Searched refs:rhub (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci-hub.c200 struct xhci_hub *rhub; in xhci_usb2_hub_descriptor() local
202 rhub = &xhci->usb2_rhub; in xhci_usb2_hub_descriptor()
203 ports = rhub->num_ports; in xhci_usb2_hub_descriptor()
215 portsc = readl(rhub->ports[i]->addr); in xhci_usb2_hub_descriptor()
254 struct xhci_hub *rhub; in xhci_usb3_hub_descriptor() local
256 rhub = &xhci->usb3_rhub; in xhci_usb3_hub_descriptor()
257 ports = rhub->num_ports; in xhci_usb3_hub_descriptor()
272 portsc = readl(rhub->ports[i]->addr); in xhci_usb3_hub_descriptor()
573 struct xhci_hub *rhub; in xhci_set_port_power() local
577 rhub = xhci_get_rhub(hcd); in xhci_set_port_power()
[all …]
Dxhci-mem.c2137 struct xhci_hub *rhub; in xhci_add_in_port() local
2146 rhub = &xhci->usb3_rhub; in xhci_add_in_port()
2157 rhub = &xhci->usb2_rhub; in xhci_add_in_port()
2165 rhub->maj_rev = XHCI_EXT_PORT_MAJOR(temp); in xhci_add_in_port()
2167 if (rhub->min_rev < minor_revision) in xhci_add_in_port()
2168 rhub->min_rev = minor_revision; in xhci_add_in_port()
2233 if (hw_port->rhub) { in xhci_add_in_port()
2238 hw_port->rhub->maj_rev, major_revision); in xhci_add_in_port()
2242 if (hw_port->rhub != rhub && in xhci_add_in_port()
2244 hw_port->rhub->num_ports--; in xhci_add_in_port()
[all …]
Dxhci.c483 struct xhci_hub *rhub; in compliance_mode_recovery() local
488 rhub = &xhci->usb3_rhub; in compliance_mode_recovery()
490 for (i = 0; i < rhub->num_ports; i++) { in compliance_mode_recovery()
491 temp = readl(rhub->ports[i]->addr); in compliance_mode_recovery()
511 if (xhci->port_status_u0 != ((1 << rhub->num_ports) - 1)) in compliance_mode_recovery()
900 struct xhci_hub *rhub, in xhci_disable_hub_port_wake() argument
909 for (i = 0; i < rhub->num_ports; i++) { in xhci_disable_hub_port_wake()
910 portsc = readl(rhub->ports[i]->addr); in xhci_disable_hub_port_wake()
923 writel(t2, rhub->ports[i]->addr); in xhci_disable_hub_port_wake()
925 rhub->hcd->self.busnum, i + 1, portsc, t2); in xhci_disable_hub_port_wake()
[all …]
Dxhci-debugfs.c367 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_port_write()
Dxhci-ring.c1694 if (!port || !port->rhub || port->hcd_portnum == DUPLICATE_ENTRY) { in handle_port_status()
1702 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
1708 hcd = port->rhub->hcd; in handle_port_status()
1709 bus_state = &port->rhub->bus_state; in handle_port_status()
Dxhci.h1722 struct xhci_hub *rhub; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0034_linux_drivers_usb_vfio_wdt_tty_uio.patch4416 + /* Obtain udev of the rhub's child port */
5819 - /* Obtain udev of the rhub's child port */
5915 struct xhci_hub *rhub;
5921 rhub = xhci_get_rhub(hcd);