Home
last modified time | relevance | path

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

/linux/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()
290 ports = rhub->num_ports; in xhci_usb2_hub_descriptor()
302 portsc = xhci_portsc_readl(rhub->ports[i]); in xhci_usb2_hub_descriptor()
341 struct xhci_hub *rhub; in xhci_usb3_hub_descriptor() local
343 rhub = &xhci->usb3_rhub; in xhci_usb3_hub_descriptor()
344 ports = rhub->num_ports; in xhci_usb3_hub_descriptor()
359 portsc = xhci_portsc_readl(rhub->ports[i]); in xhci_usb3_hub_descriptor()
555 hcd = port->rhub->hcd; in xhci_disable_port()
652 hcd = port->rhub->hcd; in xhci_set_port_power()
[all …]
H A Dxhci-mem.c1074 struct xhci_hub *rhub; in xhci_find_rhub_port() local
1086 rhub = xhci_get_rhub(hcd); in xhci_find_rhub_port()
1087 return rhub->ports[top_dev->portnum - 1]; in xhci_find_rhub_port()
2023 struct xhci_hub *rhub; in xhci_add_in_port() local
2032 rhub = &xhci->usb3_rhub; in xhci_add_in_port()
2052 rhub = &xhci->usb2_rhub; in xhci_add_in_port()
2111 rhub->maj_rev = major_revision; in xhci_add_in_port()
2113 if (rhub->min_rev < minor_revision) in xhci_add_in_port()
2114 rhub->min_rev = minor_revision; in xhci_add_in_port()
2131 if (hw_port->rhub) { in xhci_add_in_port()
[all …]
H A Dxhci-pci.c535 struct xhci_hub *rhub = &xhci->usb3_rhub; in xhci_find_lpm_incapable_ports() local
540 if (hcd != rhub->hcd) in xhci_find_lpm_incapable_ports()
543 if (hdev->maxchild > rhub->num_ports) { in xhci_find_lpm_incapable_ports()
554 rhub->ports[i]->lpm_incapable = ret; in xhci_find_lpm_incapable_ports()
908 port->slot_id, port->rhub->hcd->self.busnum, in xhci_pci_poweroff_late()
920 port->rhub->hcd->self.busnum, port->hcd_portnum + 1); in xhci_pci_poweroff_late()
H A Dxhci-tegra.c2136 struct xhci_hub *rhub; in tegra_xhci_enable_phy_sleepwalk_wake() local
2141 rhub = &xhci->usb3_rhub; in tegra_xhci_enable_phy_sleepwalk_wake()
2143 rhub = &xhci->usb2_rhub; in tegra_xhci_enable_phy_sleepwalk_wake()
2158 if (index >= rhub->num_ports) in tegra_xhci_enable_phy_sleepwalk_wake()
2164 portsc = xhci_portsc_readl(rhub->ports[index]); in tegra_xhci_enable_phy_sleepwalk_wake()
2775 struct xhci_hub *rhub; in tegra_xhci_hub_control() local
2784 rhub = &xhci->usb2_rhub; in tegra_xhci_hub_control()
2785 bus_state = &rhub->bus_state; in tegra_xhci_hub_control()
2787 ports = rhub->ports; in tegra_xhci_hub_control()
2788 i = rhub->num_ports; in tegra_xhci_hub_control()
[all …]
H A Dxhci-debugfs.c348 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_port_write()
389 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_portli_show()
395 if (port->rhub == &xhci->usb3_rhub) in xhci_portli_show()
H A Dxhci.c373 struct xhci_hub *rhub; in compliance_mode_recovery() local
378 rhub = &xhci->usb3_rhub; in compliance_mode_recovery()
379 hcd = rhub->hcd; in compliance_mode_recovery()
384 for (i = 0; i < rhub->num_ports; i++) { in compliance_mode_recovery()
385 temp = xhci_portsc_readl(rhub->ports[i]); in compliance_mode_recovery()
404 if (xhci->port_status_u0 != ((1 << rhub->num_ports) - 1)) in compliance_mode_recovery()
896 struct xhci_hub *rhub, in xhci_disable_hub_port_wake() argument
905 for (i = 0; i < rhub->num_ports; i++) { in xhci_disable_hub_port_wake()
906 portsc = xhci_portsc_readl(rhub->ports[i]); in xhci_disable_hub_port_wake()
919 xhci_portsc_writel(rhub->ports[i], t2); in xhci_disable_hub_port_wake()
[all …]
H A Dxhci-trace.h542 __entry->busnum = port->rhub->hcd->self.busnum;
H A Dxhci-ring.c2017 if (!port || !port->rhub || port->hcd_portnum == DUPLICATE_ENTRY) { in handle_port_status()
2028 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
2034 hcd = port->rhub->hcd; in handle_port_status()
2035 bus_state = &port->rhub->bus_state; in handle_port_status()
H A Dxhci.h1478 struct xhci_hub *rhub; member