Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/usb/host/
Dxhci-hub.c201 struct xhci_hub *rhub; in xhci_usb2_hub_descriptor() local
203 rhub = &xhci->usb2_rhub; in xhci_usb2_hub_descriptor()
204 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()
271 portsc = readl(rhub->ports[i]->addr); in xhci_usb3_hub_descriptor()
572 struct xhci_hub *rhub; in xhci_set_port_power() local
576 rhub = xhci_get_rhub(hcd); in xhci_set_port_power()
[all …]
Dxhci-mem.c2136 struct xhci_hub *rhub; in xhci_add_in_port() local
2145 rhub = &xhci->usb3_rhub; in xhci_add_in_port()
2147 rhub = &xhci->usb2_rhub; in xhci_add_in_port()
2155 rhub->maj_rev = XHCI_EXT_PORT_MAJOR(temp); in xhci_add_in_port()
2157 if (rhub->min_rev < minor_revision) in xhci_add_in_port()
2158 rhub->min_rev = minor_revision; in xhci_add_in_port()
2223 if (hw_port->rhub) { in xhci_add_in_port()
2228 hw_port->rhub->maj_rev, major_revision); in xhci_add_in_port()
2232 if (hw_port->rhub != rhub && in xhci_add_in_port()
2234 hw_port->rhub->num_ports--; in xhci_add_in_port()
[all …]
Dxhci.c479 struct xhci_hub *rhub; in compliance_mode_recovery() local
484 rhub = &xhci->usb3_rhub; in compliance_mode_recovery()
486 for (i = 0; i < rhub->num_ports; i++) { in compliance_mode_recovery()
487 temp = readl(rhub->ports[i]->addr); in compliance_mode_recovery()
507 if (xhci->port_status_u0 != ((1 << rhub->num_ports) - 1)) in compliance_mode_recovery()
4257 struct xhci_hub *rhub; in xhci_find_raw_port_number() local
4259 rhub = xhci_get_rhub(hcd); in xhci_find_raw_port_number()
4260 return rhub->ports[port1 - 1]->hw_portnum + 1; in xhci_find_raw_port_number()
Dxhci-debugfs.c361 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_port_write()
Dxhci-ring.c1619 if (!port || !port->rhub || port->hcd_portnum == DUPLICATE_ENTRY) { in handle_port_status()
1627 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
1633 hcd = port->rhub->hcd; in handle_port_status()
1634 bus_state = &port->rhub->bus_state; in handle_port_status()
Dxhci.h1718 struct xhci_hub *rhub; member