Home
last modified time | relevance | path

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

/linux-6.15/drivers/usb/host/
H A Dxhci-hub.c287 struct xhci_hub *rhub; in xhci_usb2_hub_descriptor() local
289 rhub = &xhci->usb2_rhub; in xhci_usb2_hub_descriptor()
341 struct xhci_hub *rhub; in xhci_usb3_hub_descriptor() local
555 hcd = port->rhub->hcd; in xhci_disable_port()
652 hcd = port->rhub->hcd; in xhci_set_port_power()
947 hcd = port->rhub->hcd; in xhci_handle_usb2_port_link_resume()
1053 hcd = port->rhub->hcd; in xhci_get_usb3_port_status()
1225 ports = rhub->ports; in xhci_hub_control()
1655 ports = rhub->ports; in xhci_hub_status_data()
1729 ports = rhub->ports; in xhci_bus_suspend()
[all …]
H A Dxhci-mem.c1045 struct xhci_hub *rhub; in xhci_find_rhub_port() local
1983 struct xhci_hub *rhub; in xhci_add_in_port() local
1992 rhub = &xhci->usb3_rhub; in xhci_add_in_port()
2091 if (hw_port->rhub) { in xhci_add_in_port()
2098 if (hw_port->rhub != rhub && in xhci_add_in_port()
2105 hw_port->rhub = rhub; in xhci_add_in_port()
2107 rhub->num_ports++; in xhci_add_in_port()
2119 if (!rhub->num_ports) in xhci_create_rhub_port_array()
2121 rhub->ports = kcalloc_node(rhub->num_ports, sizeof(*rhub->ports), in xhci_create_rhub_port_array()
2123 if (!rhub->ports) in xhci_create_rhub_port_array()
[all …]
H A Dxhci-pci.c510 struct xhci_hub *rhub = &xhci->usb3_rhub; in xhci_find_lpm_incapable_ports() local
515 if (hcd != rhub->hcd) in xhci_find_lpm_incapable_ports()
518 if (hdev->maxchild > rhub->num_ports) { in xhci_find_lpm_incapable_ports()
529 rhub->ports[i]->lpm_incapable = ret; in xhci_find_lpm_incapable_ports()
876 port->slot_id, port->rhub->hcd->self.busnum, in xhci_pci_poweroff_late()
888 port->rhub->hcd->self.busnum, port->hcd_portnum + 1); in xhci_pci_poweroff_late()
H A Dxhci-tegra.c2070 struct xhci_hub *rhub; in tegra_xhci_enable_phy_sleepwalk_wake() local
2075 rhub = &xhci->usb3_rhub; in tegra_xhci_enable_phy_sleepwalk_wake()
2077 rhub = &xhci->usb2_rhub; in tegra_xhci_enable_phy_sleepwalk_wake()
2092 if (index >= rhub->num_ports) in tegra_xhci_enable_phy_sleepwalk_wake()
2698 struct xhci_hub *rhub; in tegra_xhci_hub_control() local
2707 rhub = &xhci->usb2_rhub; in tegra_xhci_hub_control()
2708 bus_state = &rhub->bus_state; in tegra_xhci_hub_control()
2710 ports = rhub->ports; in tegra_xhci_hub_control()
2711 i = rhub->num_ports; in tegra_xhci_hub_control()
2732 ports = rhub->ports; in tegra_xhci_hub_control()
[all …]
H A Dxhci.c372 struct xhci_hub *rhub; in compliance_mode_recovery() local
377 rhub = &xhci->usb3_rhub; in compliance_mode_recovery()
378 hcd = rhub->hcd; in compliance_mode_recovery()
383 for (i = 0; i < rhub->num_ports; i++) { in compliance_mode_recovery()
384 temp = readl(rhub->ports[i]->addr); in compliance_mode_recovery()
811 struct xhci_hub *rhub, in xhci_disable_hub_port_wake() argument
820 for (i = 0; i < rhub->num_ports; i++) { in xhci_disable_hub_port_wake()
821 portsc = readl(rhub->ports[i]->addr); in xhci_disable_hub_port_wake()
834 writel(t2, rhub->ports[i]->addr); in xhci_disable_hub_port_wake()
4353 struct xhci_hub *rhub; in xhci_find_raw_port_number() local
[all …]
H A Dxhci-debugfs.c348 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_port_write()
H A Dxhci-trace.h552 __entry->busnum = port->rhub->hcd->self.busnum;
H A Dxhci-ring.c2005 if (!port || !port->rhub || port->hcd_portnum == DUPLICATE_ENTRY) { in handle_port_status()
2013 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
2019 hcd = port->rhub->hcd; in handle_port_status()
2020 bus_state = &port->rhub->bus_state; in handle_port_status()
H A Dxhci.h1474 struct xhci_hub *rhub; member