Home
last modified time | relevance | path

Searched refs:rhub (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/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()
573 struct xhci_hub *rhub; variable
577 rhub
1051 struct xhci_hub *rhub; global() variable
1106 struct xhci_hub *rhub; xhci_hub_control() local
1544 struct xhci_hub *rhub; xhci_hub_status_data() local
1615 struct xhci_hub *rhub; xhci_bus_suspend() local
1777 struct xhci_hub *rhub; xhci_bus_resume() local
1885 struct xhci_hub *rhub = xhci_get_rhub(hcd); xhci_get_resuming_ports() local
[all...]
H A Dxhci-mem.c2150 struct xhci_hub *rhub; in xhci_add_in_port() local
2159 rhub = &xhci->usb3_rhub; in xhci_add_in_port()
2179 rhub = &xhci->usb2_rhub; in xhci_add_in_port()
2240 rhub->maj_rev = major_revision; in xhci_add_in_port()
2242 if (rhub->min_rev < minor_revision) in xhci_add_in_port()
2243 rhub->min_rev = minor_revision; in xhci_add_in_port()
2263 if (hw_port->rhub) { in xhci_add_in_port()
2268 hw_port->rhub->maj_rev, major_revision); in xhci_add_in_port()
2272 if (hw_port->rhub != rhub in xhci_add_in_port()
2286 xhci_create_rhub_port_array(struct xhci_hcd *xhci, struct xhci_hub *rhub, gfp_t flags) xhci_create_rhub_port_array() argument
[all...]
H A Dxhci-pci.c372 struct xhci_hub *rhub = &xhci->usb3_rhub; in xhci_find_lpm_incapable_ports() local
377 if (hcd != rhub->hcd) in xhci_find_lpm_incapable_ports()
380 if (hdev->maxchild > rhub->num_ports) { in xhci_find_lpm_incapable_ports()
391 rhub->ports[i]->lpm_incapable = ret; in xhci_find_lpm_incapable_ports()
H A Dxhci.c487 struct xhci_hub *rhub; in compliance_mode_recovery() local
492 rhub = &xhci->usb3_rhub; in compliance_mode_recovery()
494 for (i = 0; i < rhub->num_ports; i++) { in compliance_mode_recovery()
495 temp = readl(rhub->ports[i]->addr); in compliance_mode_recovery()
515 if (xhci->port_status_u0 != ((1 << rhub->num_ports) - 1)) in compliance_mode_recovery()
923 struct xhci_hub *rhub, in xhci_disable_hub_port_wake()
932 for (i = 0; i < rhub->num_ports; i++) { in xhci_disable_hub_port_wake()
933 portsc = readl(rhub->ports[i]->addr); in xhci_disable_hub_port_wake()
946 writel(t2, rhub->ports[i]->addr); in xhci_disable_hub_port_wake()
948 rhub in xhci_disable_hub_port_wake()
922 xhci_disable_hub_port_wake(struct xhci_hcd *xhci, struct xhci_hub *rhub, bool do_wakeup) xhci_disable_hub_port_wake() argument
4327 struct xhci_hub *rhub; xhci_find_raw_port_number() local
[all...]
H A Dxhci-debugfs.c368 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_port_write()
H A Dxhci-ring.c1790 if (!port || !port->rhub || port->hcd_portnum == DUPLICATE_ENTRY) { in handle_port_status()
1798 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
1804 hcd = port->rhub->hcd; in handle_port_status()
1805 bus_state = &port->rhub->bus_state; in handle_port_status()
H A Dxhci.h1727 struct xhci_hub *rhub; member
/kernel/linux/linux-6.6/drivers/usb/host/
H A 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()
586 hcd = port->rhub->hcd; in xhci_disable_port()
683 hcd = port->rhub
1156 struct xhci_hub *rhub; global() variable
1211 struct xhci_hub *rhub; xhci_hub_control() local
1649 struct xhci_hub *rhub; xhci_hub_status_data() local
1721 struct xhci_hub *rhub; xhci_bus_suspend() local
1884 struct xhci_hub *rhub; xhci_bus_resume() local
1992 struct xhci_hub *rhub = xhci_get_rhub(hcd); xhci_get_resuming_ports() local
[all...]
H A Dxhci-mem.c1962 struct xhci_hub *rhub; in xhci_add_in_port() local
1971 rhub = &xhci->usb3_rhub; in xhci_add_in_port()
1991 rhub = &xhci->usb2_rhub; in xhci_add_in_port()
2050 rhub->maj_rev = major_revision; in xhci_add_in_port()
2052 if (rhub->min_rev < minor_revision) in xhci_add_in_port()
2053 rhub->min_rev = minor_revision; in xhci_add_in_port()
2073 if (hw_port->rhub) { in xhci_add_in_port()
2076 hw_port->rhub->maj_rev, major_revision); in xhci_add_in_port()
2080 if (hw_port->rhub != rhub in xhci_add_in_port()
2094 xhci_create_rhub_port_array(struct xhci_hcd *xhci, struct xhci_hub *rhub, gfp_t flags) xhci_create_rhub_port_array() argument
[all...]
H A Dxhci-pci.c560 struct xhci_hub *rhub = &xhci->usb3_rhub; in xhci_find_lpm_incapable_ports() local
565 if (hcd != rhub->hcd) in xhci_find_lpm_incapable_ports()
568 if (hdev->maxchild > rhub->num_ports) { in xhci_find_lpm_incapable_ports()
579 rhub->ports[i]->lpm_incapable = ret; in xhci_find_lpm_incapable_ports()
908 slot_id = xhci_find_slot_id_by_port(port->rhub->hcd, xhci, in xhci_pci_poweroff_late()
912 slot_id, port->rhub->hcd->self.busnum, port->hcd_portnum + 1); in xhci_pci_poweroff_late()
923 port->rhub->hcd->self.busnum, port->hcd_portnum + 1); in xhci_pci_poweroff_late()
H A 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 in tegra_xhci_hub_control()
[all...]
H A Dxhci.c329 struct xhci_hub *rhub; in compliance_mode_recovery() local
334 rhub = &xhci->usb3_rhub; in compliance_mode_recovery()
335 hcd = rhub->hcd; in compliance_mode_recovery()
340 for (i = 0; i < rhub->num_ports; i++) { in compliance_mode_recovery()
341 temp = readl(rhub->ports[i]->addr); in compliance_mode_recovery()
360 if (xhci->port_status_u0 != ((1 << rhub->num_ports) - 1)) in compliance_mode_recovery()
777 struct xhci_hub *rhub, in xhci_disable_hub_port_wake()
786 for (i = 0; i < rhub->num_ports; i++) { in xhci_disable_hub_port_wake()
787 portsc = readl(rhub->ports[i]->addr); in xhci_disable_hub_port_wake()
800 writel(t2, rhub in xhci_disable_hub_port_wake()
776 xhci_disable_hub_port_wake(struct xhci_hcd *xhci, struct xhci_hub *rhub, bool do_wakeup) xhci_disable_hub_port_wake() argument
4216 struct xhci_hub *rhub; xhci_find_raw_port_number() local
[all...]
H A Dxhci-debugfs.c368 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_port_write()
H A Dxhci-ring.c1887 if (!port || !port->rhub || port->hcd_portnum == DUPLICATE_ENTRY) { in handle_port_status()
1895 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
1901 hcd = port->rhub->hcd; in handle_port_status()
1902 bus_state = &port->rhub->bus_state; in handle_port_status()
H A Dxhci.h1740 struct xhci_hub *rhub; member

Completed in 42 milliseconds