Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/host/
Dxhci-hub.c286 struct xhci_hub *rhub; in xhci_usb2_hub_descriptor() local
288 rhub = &xhci->usb2_rhub; in xhci_usb2_hub_descriptor()
289 ports = rhub->num_ports; in xhci_usb2_hub_descriptor()
301 portsc = readl(rhub->ports[i]->addr); in xhci_usb2_hub_descriptor()
340 struct xhci_hub *rhub; in xhci_usb3_hub_descriptor() local
342 rhub = &xhci->usb3_rhub; in xhci_usb3_hub_descriptor()
343 ports = rhub->num_ports; in xhci_usb3_hub_descriptor()
358 portsc = readl(rhub->ports[i]->addr); in xhci_usb3_hub_descriptor()
554 hcd = port->rhub->hcd; in xhci_disable_port()
651 hcd = port->rhub->hcd; in xhci_set_port_power()
[all …]
Dxhci-mem.c1051 struct xhci_hub *rhub; in xhci_find_rhub_port() local
1063 rhub = xhci_get_rhub(hcd); in xhci_find_rhub_port()
1064 return rhub->ports[top_dev->portnum - 1]; in xhci_find_rhub_port()
1990 struct xhci_hub *rhub; in xhci_add_in_port() local
1999 rhub = &xhci->usb3_rhub; in xhci_add_in_port()
2019 rhub = &xhci->usb2_rhub; in xhci_add_in_port()
2078 rhub->maj_rev = major_revision; in xhci_add_in_port()
2080 if (rhub->min_rev < minor_revision) in xhci_add_in_port()
2081 rhub->min_rev = minor_revision; in xhci_add_in_port()
2098 if (hw_port->rhub) { in xhci_add_in_port()
[all …]
Dxhci-pci.c514 struct xhci_hub *rhub = &xhci->usb3_rhub; in xhci_find_lpm_incapable_ports() local
519 if (hcd != rhub->hcd) in xhci_find_lpm_incapable_ports()
522 if (hdev->maxchild > rhub->num_ports) { in xhci_find_lpm_incapable_ports()
533 rhub->ports[i]->lpm_incapable = ret; in xhci_find_lpm_incapable_ports()
874 port->slot_id, port->rhub->hcd->self.busnum, in xhci_pci_poweroff_late()
886 port->rhub->hcd->self.busnum, port->hcd_portnum + 1); in xhci_pci_poweroff_late()
Dxhci-tegra.c2066 struct xhci_hub *rhub; in tegra_xhci_enable_phy_sleepwalk_wake() local
2071 rhub = &xhci->usb3_rhub; in tegra_xhci_enable_phy_sleepwalk_wake()
2073 rhub = &xhci->usb2_rhub; in tegra_xhci_enable_phy_sleepwalk_wake()
2088 if (index >= rhub->num_ports) in tegra_xhci_enable_phy_sleepwalk_wake()
2094 portsc = readl(rhub->ports[index]->addr); in tegra_xhci_enable_phy_sleepwalk_wake()
2694 struct xhci_hub *rhub; in tegra_xhci_hub_control() local
2703 rhub = &xhci->usb2_rhub; in tegra_xhci_hub_control()
2704 bus_state = &rhub->bus_state; in tegra_xhci_hub_control()
2706 ports = rhub->ports; in tegra_xhci_hub_control()
2707 i = rhub->num_ports; in tegra_xhci_hub_control()
[all …]
Dxhci.c370 struct xhci_hub *rhub; in compliance_mode_recovery() local
375 rhub = &xhci->usb3_rhub; in compliance_mode_recovery()
376 hcd = rhub->hcd; in compliance_mode_recovery()
381 for (i = 0; i < rhub->num_ports; i++) { in compliance_mode_recovery()
382 temp = readl(rhub->ports[i]->addr); in compliance_mode_recovery()
401 if (xhci->port_status_u0 != ((1 << rhub->num_ports) - 1)) in compliance_mode_recovery()
818 struct xhci_hub *rhub, in xhci_disable_hub_port_wake() argument
827 for (i = 0; i < rhub->num_ports; i++) { in xhci_disable_hub_port_wake()
828 portsc = readl(rhub->ports[i]->addr); in xhci_disable_hub_port_wake()
841 writel(t2, rhub->ports[i]->addr); in xhci_disable_hub_port_wake()
[all …]
Dxhci-debugfs.c368 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_port_write()
Dxhci-trace.h521 __entry->busnum = port->rhub->hcd->self.busnum;
Dxhci-ring.c1920 if (!port || !port->rhub || port->hcd_portnum == DUPLICATE_ENTRY) { in handle_port_status()
1928 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
1934 hcd = port->rhub->hcd; in handle_port_status()
1935 bus_state = &port->rhub->bus_state; in handle_port_status()
Dxhci.h1459 struct xhci_hub *rhub; member