Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/usb/host/
H A 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()
578 struct xhci_hub *rhub; in xhci_set_port_power() local
582 rhub = xhci_get_rhub(hcd); in xhci_set_port_power()
[all …]
H A Dxhci-mem.c2240 struct xhci_hub *rhub; in xhci_add_in_port() local
2249 rhub = &xhci->usb3_rhub; in xhci_add_in_port()
2260 rhub = &xhci->usb2_rhub; in xhci_add_in_port()
2268 rhub->maj_rev = XHCI_EXT_PORT_MAJOR(temp); in xhci_add_in_port()
2270 if (rhub->min_rev < minor_revision) in xhci_add_in_port()
2271 rhub->min_rev = minor_revision; in xhci_add_in_port()
2336 if (hw_port->rhub) { in xhci_add_in_port()
2341 hw_port->rhub->maj_rev, major_revision); in xhci_add_in_port()
2345 if (hw_port->rhub != rhub && in xhci_add_in_port()
2347 hw_port->rhub->num_ports--; in xhci_add_in_port()
[all …]
H A Dxhci.c480 struct xhci_hub *rhub; in compliance_mode_recovery() local
485 rhub = &xhci->usb3_rhub; in compliance_mode_recovery()
487 for (i = 0; i < rhub->num_ports; i++) { in compliance_mode_recovery()
488 temp = readl(rhub->ports[i]->addr); in compliance_mode_recovery()
508 if (xhci->port_status_u0 != ((1 << rhub->num_ports) - 1)) in compliance_mode_recovery()
914 struct xhci_hub *rhub, in xhci_disable_hub_port_wake() argument
923 for (i = 0; i < rhub->num_ports; i++) { in xhci_disable_hub_port_wake()
924 portsc = readl(rhub->ports[i]->addr); in xhci_disable_hub_port_wake()
937 writel(t2, rhub->ports[i]->addr); in xhci_disable_hub_port_wake()
939 rhub->hcd->self.busnum, i + 1, portsc, t2); in xhci_disable_hub_port_wake()
[all …]
H A Dxhci-debugfs.c367 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_port_write()
H A Dxhci-ring.c1922 if (!port || !port->rhub || port->hcd_portnum == DUPLICATE_ENTRY) { in handle_port_status()
1930 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
1936 hcd = port->rhub->hcd; in handle_port_status()
1937 bus_state = &port->rhub->bus_state; in handle_port_status()
H A Dxhci.h1743 struct xhci_hub *rhub; member