Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/host/
Dxhci-hub.c192 struct xhci_hub *rhub; in xhci_usb2_hub_descriptor() local
194 rhub = &xhci->usb2_rhub; in xhci_usb2_hub_descriptor()
195 ports = rhub->num_ports; in xhci_usb2_hub_descriptor()
206 portsc = readl(rhub->ports[i]->addr); in xhci_usb2_hub_descriptor()
245 struct xhci_hub *rhub; in xhci_usb3_hub_descriptor() local
247 rhub = &xhci->usb3_rhub; in xhci_usb3_hub_descriptor()
248 ports = rhub->num_ports; in xhci_usb3_hub_descriptor()
262 portsc = readl(rhub->ports[i]->addr); in xhci_usb3_hub_descriptor()
562 struct xhci_hub *rhub; in xhci_set_port_power() local
566 rhub = xhci_get_rhub(hcd); in xhci_set_port_power()
[all …]
Dxhci-mem.c2117 struct xhci_hub *rhub; in xhci_add_in_port() local
2125 rhub = &xhci->usb3_rhub; in xhci_add_in_port()
2127 rhub = &xhci->usb2_rhub; in xhci_add_in_port()
2135 rhub->maj_rev = XHCI_EXT_PORT_MAJOR(temp); in xhci_add_in_port()
2137 if (rhub->min_rev < minor_revision) in xhci_add_in_port()
2138 rhub->min_rev = minor_revision; in xhci_add_in_port()
2153 rhub->psi_count = XHCI_EXT_PORT_PSIC(temp); in xhci_add_in_port()
2154 if (rhub->psi_count) { in xhci_add_in_port()
2155 rhub->psi = kcalloc_node(rhub->psi_count, sizeof(*rhub->psi), in xhci_add_in_port()
2157 if (!rhub->psi) 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()
4250 struct xhci_hub *rhub; in xhci_find_raw_port_number() local
4252 rhub = xhci_get_rhub(hcd); in xhci_find_raw_port_number()
4253 return rhub->ports[port1 - 1]->hw_portnum + 1; in xhci_find_raw_port_number()
Dxhci-debugfs.c360 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_port_write()
Dxhci-ring.c1593 if (!port || !port->rhub || port->hcd_portnum == DUPLICATE_ENTRY) { in handle_port_status()
1601 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
1607 hcd = port->rhub->hcd; in handle_port_status()
1608 bus_state = &port->rhub->bus_state; in handle_port_status()
Dxhci.h1710 struct xhci_hub *rhub; member