/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | ehci-hub.c | 79 ehci_writel(ehci, status & ~PORT_PE, reg); in ehci_handover_companion_ports() 116 ehci_writel(ehci, status & ~PORT_PE, reg); in ehci_handover_companion_ports() 264 else if ((t1 & PORT_PE) && !(t1 & PORT_SUSPEND)) { in ehci_bus_suspend() 430 if ((temp & PORT_PE) && in ehci_bus_resume() 559 port_status &= ~(PORT_PE | PORT_RWC_BITS); in set_owner() 580 if (!(port_status & PORT_PE)) { in check_reset_complete() 931 ehci_writel(ehci, temp & ~PORT_PE, status_reg); in ehci_hub_control() 950 if ((temp & PORT_PE) == 0) in ehci_hub_control() 1123 if (temp & PORT_PE) in ehci_hub_control() 1133 if (temp & PORT_PE) in ehci_hub_control() [all...] |
H A D | ehci-tegra.c | 142 } while (!(temp & PORT_PE) && tries--); in tegra_ehci_internal_port_reset() 143 if (temp & PORT_PE) in tegra_ehci_internal_port_reset() 151 * We can't clear PORT_PEC. It will also cause PORT_PE to be cleared. in tegra_ehci_internal_port_reset() 199 if ((temp & PORT_PE) == 0 || (temp & PORT_RESET) != 0) { in tegra_ehci_hub_control() 237 if ((temp & PORT_RESET) || !(temp & PORT_PE)) { in tegra_ehci_hub_control()
|
H A D | xhci-hub.c | 20 PORT_RC | PORT_PLC | PORT_PE) 498 writel(port_status | PORT_PE, addr); in xhci_disable_port() 836 if ((portsc & PORT_RESET) || !(portsc & PORT_PE)) { in xhci_handle_usb2_port_link_resume() 1072 if (raw_port_status & PORT_PE) 1223 if ((temp & PORT_PE) == 0 || (temp & PORT_RESET) in xhci_hub_control() 1264 writel(temp | PORT_PE, port->addr); in xhci_hub_control() 1311 if (!(temp & PORT_PE)) { in xhci_hub_control() 1467 if ((temp & PORT_PE) == 0) in xhci_hub_control() 1671 if ((t1 & PORT_PE) && (t1 & PORT_PLS_MASK) == XDEV_U0) { in xhci_bus_suspend()
|
H A D | oxu210hp-hcd.c | 193 #define PORT_PE (1<<2) /* port enable */ macro 605 (status & PORT_PE) ? " PE" : "", in dbg_port_buf() 856 if (!(port_status & PORT_PE)) { in check_reset_complete() 3608 writel(temp & ~PORT_PE, status_reg); in oxu_hub_control() 3617 if ((temp & PORT_PE) == 0) in oxu_hub_control() 3753 if (temp & PORT_PE) in oxu_hub_control() 3793 if ((temp & PORT_PE) == 0 in oxu_hub_control() 3813 temp &= ~PORT_PE; in oxu_hub_control() 3892 if ((t1 & PORT_PE) && !(t1 & PORT_OWNER) && in oxu_bus_suspend()
|
H A D | fotg210.h | 282 #define PORT_PE (1<<2) /* port enable */ macro
|
H A D | fotg210-hcd.c | 255 (status & PORT_PE) ? " PE" : "", in dbg_port_buf() 1375 if (!(port_status & PORT_PE)) in check_reset_complete() 1502 fotg210_writel(fotg210, temp & ~PORT_PE, status_reg); in fotg210_hub_control() 1512 if ((temp & PORT_PE) == 0) in fotg210_hub_control() 1658 if (temp & PORT_PE) in fotg210_hub_control() 1668 if (temp & PORT_PE) in fotg210_hub_control() 1705 if ((temp & PORT_PE) == 0 in fotg210_hub_control() 1726 temp &= ~PORT_PE; in fotg210_hub_control() 1753 if (temp & PORT_PE) in fotg210_hub_control() 5203 (pstatus & PORT_PE) in fotg210_irq() [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | ehci-hub.c | 79 ehci_writel(ehci, status & ~PORT_PE, reg); in ehci_handover_companion_ports() 116 ehci_writel(ehci, status & ~PORT_PE, reg); in ehci_handover_companion_ports() 264 else if ((t1 & PORT_PE) && !(t1 & PORT_SUSPEND)) { in ehci_bus_suspend() 430 if ((temp & PORT_PE) && in ehci_bus_resume() 559 port_status &= ~(PORT_PE | PORT_RWC_BITS); in set_owner() 580 if (!(port_status & PORT_PE)) { in check_reset_complete() 794 ehci_writel(ehci, temp & ~PORT_PE, status_reg); in ehci_hub_control() 813 if ((temp & PORT_PE) == 0) in ehci_hub_control() 993 if (temp & PORT_PE) in ehci_hub_control() 1003 if (temp & PORT_PE) in ehci_hub_control() [all...] |
H A D | xhci-hub.c | 21 PORT_RC | PORT_PLC | PORT_PE) 604 writel(portsc | PORT_PE, port->addr); in xhci_disable_port() 941 if ((portsc & PORT_RESET) || !(portsc & PORT_PE)) { in xhci_handle_usb2_port_link_resume() 1177 if (raw_port_status & PORT_PE) 1328 if ((temp & PORT_PE) == 0 || (temp & PORT_RESET) in xhci_hub_control() 1369 writel(temp | PORT_PE, port->addr); in xhci_hub_control() 1416 if (!(temp & PORT_PE)) { in xhci_hub_control() 1572 if ((temp & PORT_PE) == 0) in xhci_hub_control() 1778 if ((t1 & PORT_PE) && (t1 & PORT_PLS_MASK) == XDEV_U0) { in xhci_bus_suspend()
|
H A D | oxu210hp-hcd.c | 193 #define PORT_PE (1<<2) /* port enable */ macro 605 (status & PORT_PE) ? " PE" : "", in dbg_port_buf() 856 if (!(port_status & PORT_PE)) { in check_reset_complete() 3609 writel(temp & ~PORT_PE, status_reg); in oxu_hub_control() 3618 if ((temp & PORT_PE) == 0) in oxu_hub_control() 3754 if (temp & PORT_PE) in oxu_hub_control() 3794 if ((temp & PORT_PE) == 0 in oxu_hub_control() 3814 temp &= ~PORT_PE; in oxu_hub_control() 3893 if ((t1 & PORT_PE) && !(t1 & PORT_OWNER) && in oxu_bus_suspend()
|
H A D | ehci.h | 718 && !(portsc & PORT_PEC) && !(portsc & PORT_PE))
|
H A D | xhci-pci.c | 925 writel(portsc | PORT_PE, port->addr); in xhci_pci_poweroff_late()
|
/kernel/linux/linux-6.6/drivers/usb/chipidea/ |
H A D | ci_hdrc_tegra.c | 207 } while (!(temp & PORT_PE) && tries--); in tegra_usb_internal_port_reset() 208 if (temp & PORT_PE) in tegra_usb_internal_port_reset() 216 * We can't clear PORT_PEC. It will also cause PORT_PE to be cleared. in tegra_usb_internal_port_reset()
|
H A D | host.c | 279 if ((temp & PORT_PE) == 0 || (temp & PORT_RESET) != 0) { in ci_ehci_hub_control()
|
/kernel/linux/linux-5.10/include/linux/usb/ |
H A D | ehci_def.h | 163 #define PORT_PE (1<<2) /* port enable */ macro
|
/kernel/linux/linux-6.6/include/linux/usb/ |
H A D | ehci_def.h | 151 #define PORT_PE (1<<2) /* port enable */ macro
|
/kernel/linux/linux-5.10/drivers/usb/isp1760/ |
H A D | isp1760-hcd.c | 1791 if (!(port_status & PORT_PE)) { in check_reset_complete() 1851 reg_write32(hcd->regs, HC_PORTSC1, temp & ~PORT_PE); in isp1760_hub_control() 1861 if ((temp & PORT_PE) == 0) in isp1760_hub_control() 1986 if (temp & PORT_PE) in isp1760_hub_control() 2019 reg_write32(hcd->regs, HC_PORTSC1, temp | PORT_PE); in isp1760_hub_control() 2023 if ((temp & PORT_PE) == 0 in isp1760_hub_control() 2041 if ((temp & (PORT_PE|PORT_CONNECT)) == PORT_CONNECT in isp1760_hub_control() 2046 temp &= ~PORT_PE; in isp1760_hub_control()
|
H A D | isp1760-regs.h | 55 #define PORT_PE (1 << 2) /* port enable */ macro
|
/kernel/linux/linux-6.6/drivers/usb/isp1760/ |
H A D | isp1760-hcd.c | 192 [PORT_PE] = BIT(2), 2178 if (!isp1760_hcd_is_set(hcd, PORT_PE)) { in check_reset_complete() 2237 isp1760_hcd_clear(hcd, PORT_PE); in isp1760_hub_control() 2247 if (!isp1760_hcd_is_set(hcd, PORT_PE)) in isp1760_hub_control() 2364 if (isp1760_hcd_is_set(hcd, PORT_PE)) in isp1760_hub_control() 2397 isp1760_hcd_set(hcd, PORT_PE); in isp1760_hub_control() 2401 if (!isp1760_hcd_is_set(hcd, PORT_PE) || in isp1760_hub_control() 2419 !isp1760_hcd_is_set(hcd, PORT_PE)) && in isp1760_hub_control() 2424 isp1760_hcd_clear(hcd, PORT_PE); in isp1760_hub_control()
|
H A D | isp1760-regs.h | 71 PORT_RESUME, PORT_PE, PORT_CSC, PORT_CONNECT, enumerator
|
H A D | isp1760-core.c | 209 [PORT_PE] = REG_FIELD(ISP176x_HC_PORTSC1, 2, 2), 280 [PORT_PE] = REG_FIELD(ISP1763_HC_PORTSC1, 2, 2),
|
/kernel/linux/linux-5.10/drivers/usb/early/ |
H A D | ehci-dbgp.c | 547 portsc &= ~PORT_PE; in _dbgp_external_startup() 617 portsc &= ~PORT_PE; in ehci_reset_port() 649 if (!(portsc & PORT_RESET) && (portsc & PORT_PE)) in ehci_reset_port()
|
/kernel/linux/linux-6.6/drivers/usb/early/ |
H A D | ehci-dbgp.c | 547 portsc &= ~PORT_PE; in _dbgp_external_startup() 617 portsc &= ~PORT_PE; in ehci_reset_port() 649 if (!(portsc & PORT_RESET) && (portsc & PORT_PE)) in ehci_reset_port()
|
/kernel/linux/linux-6.6/drivers/usb/fotg210/ |
H A D | fotg210-hcd.h | 280 #define PORT_PE (1<<2) /* port enable */ macro
|
H A D | fotg210-hcd.c | 254 (status & PORT_PE) ? " PE" : "", in dbg_port_buf() 1375 if (!(port_status & PORT_PE)) in check_reset_complete() 1502 fotg210_writel(fotg210, temp & ~PORT_PE, status_reg); in fotg210_hub_control() 1512 if ((temp & PORT_PE) == 0) in fotg210_hub_control() 1658 if (temp & PORT_PE) in fotg210_hub_control() 1668 if (temp & PORT_PE) in fotg210_hub_control() 1705 if ((temp & PORT_PE) == 0 in fotg210_hub_control() 1726 temp &= ~PORT_PE; in fotg210_hub_control() 1753 if (temp & PORT_PE) in fotg210_hub_control() 5202 (pstatus & PORT_PE) in fotg210_irq() [all...] |
/kernel/linux/linux-5.10/drivers/usb/chipidea/ |
H A D | host.c | 257 if ((temp & PORT_PE) == 0 || (temp & PORT_RESET) != 0) { in ci_ehci_hub_control()
|