/kernel/linux/linux-5.10/include/linux/usb/ |
H A D | ehci_def.h | 164 #define PORT_CSC (1<<1) /* connect status change */ macro 166 #define PORT_RWC_BITS (PORT_CSC | PORT_PEC | PORT_OCC)
|
/kernel/linux/linux-6.6/include/linux/usb/ |
H A D | ehci_def.h | 152 #define PORT_CSC (1<<1) /* connect status change */ macro 154 #define PORT_RWC_BITS (PORT_CSC | PORT_PEC | PORT_OCC)
|
/kernel/linux/linux-5.10/drivers/usb/isp1760/ |
H A D | isp1760-regs.h | 56 #define PORT_CSC (1 << 1) /* connect status change */ macro 58 #define PORT_RWC_BITS (PORT_CSC)
|
H A D | isp1760-hcd.c | 1719 mask = PORT_CSC; in isp1760_hub_status_data() 1725 if (temp & PORT_CSC) { in isp1760_hub_status_data() 1726 temp &= ~PORT_CSC; in isp1760_hub_status_data() 1880 reg_write32(hcd->regs, HC_PORTSC1, temp | PORT_CSC); in isp1760_hub_control() 1909 if (temp & PORT_CSC) in isp1760_hub_control()
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | fotg210.h | 283 #define PORT_CSC (1<<1) /* connect status change */ macro 285 #define PORT_RWC_BITS (PORT_CSC | PORT_PEC)
|
H A D | ehci-hub.c | 112 ehci_writel(ehci, status | PORT_CSC, reg); in ehci_handover_companion_ports() 140 if (ehci_readl(ehci, &ehci->regs->port_status[i]) & PORT_CSC) in ehci_port_change() 643 * always set, seem to clear PORT_OCC and PORT_CSC when writing to in ehci_hub_status_data() 647 mask = PORT_CSC | PORT_PEC | PORT_OCC; in ehci_hub_status_data() 649 mask = PORT_CSC | PORT_PEC; in ehci_hub_status_data() 981 ehci_writel(ehci, temp | PORT_CSC, status_reg); in ehci_hub_control() 1011 if (temp & PORT_CSC) in ehci_hub_control()
|
H A D | ehci-tegra.c | 153 if (temp & PORT_CSC) in tegra_ehci_internal_port_reset() 154 ehci_writel(ehci, PORT_CSC, portsc_reg); in tegra_ehci_internal_port_reset()
|
H A D | xhci-hub.c | 19 #define PORT_RWC_BITS (PORT_CSC | PORT_PEC | PORT_WRC | PORT_OCC | \ 520 status = PORT_CSC; in xhci_clear_port_change_bit() 1058 if (raw_port_status & PORT_CSC) 1261 temp |= PORT_CSC | PORT_PEC | PORT_WRC | in xhci_hub_control() 1575 mask = PORT_CSC | PORT_PEC | PORT_OCC | PORT_PLC | PORT_WRC | PORT_CEC; in xhci_hub_status_data() 1672 if ((t1 & PORT_CSC) && wake_enabled) { in xhci_bus_suspend()
|
H A D | oxu210hp-hcd.c | 194 #define PORT_CSC (1<<1) /* connect status change */ macro 196 #define PORT_RWC_BITS (PORT_CSC | PORT_PEC | PORT_OCC) 606 (status & PORT_CSC) ? " CSC" : "", in dbg_port_buf() 3509 * always set, seem to clear PORT_OCC and PORT_CSC when writing to in oxu_hub_status_data() 3513 mask = PORT_CSC | PORT_PEC | PORT_OCC; in oxu_hub_status_data() 3515 mask = PORT_CSC | PORT_PEC; in oxu_hub_status_data() 3635 writel((temp & ~PORT_RWC_BITS) | PORT_CSC, status_reg); in oxu_hub_control() 3664 if (temp & PORT_CSC) in oxu_hub_control()
|
H A D | xhci.h | 362 #define PORT_CSC (1 << 17) macro 391 #define PORT_CHANGE_MASK (PORT_CSC | PORT_PEC | PORT_WRC | PORT_OCC | \ 2604 if (portsc & PORT_CSC) in xhci_decode_portsc()
|
H A D | ehci-fsl.c | 667 (status & ~(PORT_CSC | PORT_PEC | PORT_OCC)), in ehci_start_port_reset()
|
/kernel/linux/linux-6.6/drivers/usb/chipidea/ |
H A D | ci_hdrc_tegra.c | 218 if (temp & PORT_CSC) in tegra_usb_internal_port_reset() 219 ehci_writel(ehci, PORT_CSC, portsc_reg); in tegra_usb_internal_port_reset()
|
/kernel/linux/linux-6.6/drivers/usb/fotg210/ |
H A D | fotg210-hcd.h | 281 #define PORT_CSC (1<<1) /* connect status change */ macro 283 #define PORT_RWC_BITS (PORT_CSC | PORT_PEC)
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | ehci-hub.c | 112 ehci_writel(ehci, status | PORT_CSC, reg); in ehci_handover_companion_ports() 140 if (ehci_readl(ehci, &ehci->regs->port_status[i]) & PORT_CSC) in ehci_port_change() 643 * always set, seem to clear PORT_OCC and PORT_CSC when writing to in ehci_hub_status_data() 647 mask = PORT_CSC | PORT_PEC | PORT_OCC; in ehci_hub_status_data() 649 mask = PORT_CSC | PORT_PEC; in ehci_hub_status_data() 844 ehci_writel(ehci, temp | PORT_CSC, status_reg); in ehci_hub_control() 874 if (temp & PORT_CSC) in ehci_hub_control()
|
H A D | xhci-hub.c | 20 #define PORT_RWC_BITS (PORT_CSC | PORT_PEC | PORT_WRC | PORT_OCC | \ 627 status = PORT_CSC; in xhci_clear_port_change_bit() 1163 if (raw_port_status & PORT_CSC) 1366 temp |= PORT_CSC | PORT_PEC | PORT_WRC | in xhci_hub_control() 1680 mask = PORT_CSC | PORT_PEC | PORT_OCC | PORT_PLC | PORT_WRC | PORT_CEC; in xhci_hub_status_data() 1779 if ((t1 & PORT_CSC) && wake_enabled) { in xhci_bus_suspend()
|
H A D | oxu210hp-hcd.c | 194 #define PORT_CSC (1<<1) /* connect status change */ macro 196 #define PORT_RWC_BITS (PORT_CSC | PORT_PEC | PORT_OCC) 606 (status & PORT_CSC) ? " CSC" : "", in dbg_port_buf() 3510 * always set, seem to clear PORT_OCC and PORT_CSC when writing to in oxu_hub_status_data() 3514 mask = PORT_CSC | PORT_PEC | PORT_OCC; in oxu_hub_status_data() 3516 mask = PORT_CSC | PORT_PEC; in oxu_hub_status_data() 3636 writel((temp & ~PORT_RWC_BITS) | PORT_CSC, status_reg); in oxu_hub_control() 3665 if (temp & PORT_CSC) in oxu_hub_control()
|
H A D | xhci.h | 362 #define PORT_CSC (1 << 17) macro 391 #define PORT_CHANGE_MASK (PORT_CSC | PORT_PEC | PORT_WRC | PORT_OCC | \ 2636 if (portsc & PORT_CSC) in xhci_decode_portsc()
|
H A D | ehci-fsl.c | 661 (status & ~(PORT_CSC | PORT_PEC | PORT_OCC)), in ehci_start_port_reset()
|
/kernel/linux/linux-6.6/drivers/usb/isp1760/ |
H A D | isp1760-hcd.c | 193 [PORT_CSC] = BIT(1), 2115 isp1760_hcd_is_set(hcd, PORT_CSC)) { in isp1760_hub_status_data() 2116 isp1760_hcd_clear(hcd, PORT_CSC); in isp1760_hub_status_data() 2126 if (isp1760_hcd_is_set(hcd, PORT_CSC) || in isp1760_hub_status_data() 2184 isp1760_hcd_clear(hcd, PORT_CSC); in check_reset_complete() 2250 isp1760_hcd_clear(hcd, PORT_CSC); in isp1760_hub_control() 2265 isp1760_hcd_set(hcd, PORT_CSC); in isp1760_hub_control() 2293 if (isp1760_hcd_is_set(hcd, PORT_CSC)) in isp1760_hub_control() 2316 isp1760_hcd_clear(hcd, PORT_CSC); 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 | 210 [PORT_CSC] = REG_FIELD(ISP176x_HC_PORTSC1, 1, 1), 281 [PORT_CSC] = REG_FIELD(ISP1763_HC_PORTSC1, 1, 1),
|
/kernel/linux/linux-6.6/drivers/usb/cdns3/ |
H A D | cdnsp-gadget.h | 168 #define CDNSP_PORT_RW1CS (PORT_PED | PORT_CSC | PORT_RC | PORT_PLC) 298 #define PORT_CSC BIT(17) macro 327 #define PORT_CHANGE_BITS (PORT_CSC | PORT_WRC | PORT_RC | PORT_PLC | PORT_CEC)
|
H A D | cdnsp-debug.h | 482 if (portsc & PORT_CSC) in cdnsp_decode_portsc()
|
/kernel/linux/linux-5.10/drivers/usb/early/ |
H A D | ehci-dbgp.c | 645 if ((portsc & PORT_CSC)) in ehci_reset_port()
|
/kernel/linux/linux-6.6/drivers/usb/early/ |
H A D | ehci-dbgp.c | 645 if ((portsc & PORT_CSC)) in ehci_reset_port()
|