Home
last modified time | relevance | path

Searched refs:PORT_CSC (Results 1 - 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/usb/
H A Dehci_def.h164 #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 Dehci_def.h152 #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 Disp1760-regs.h56 #define PORT_CSC (1 << 1) /* connect status change */ macro
58 #define PORT_RWC_BITS (PORT_CSC)
H A Disp1760-hcd.c1719 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 Dfotg210.h283 #define PORT_CSC (1<<1) /* connect status change */ macro
285 #define PORT_RWC_BITS (PORT_CSC | PORT_PEC)
H A Dehci-hub.c112 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 Dehci-tegra.c153 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 Dxhci-hub.c19 #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 Doxu210hp-hcd.c194 #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 Dxhci.h362 #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 Dehci-fsl.c667 (status & ~(PORT_CSC | PORT_PEC | PORT_OCC)), in ehci_start_port_reset()
/kernel/linux/linux-6.6/drivers/usb/chipidea/
H A Dci_hdrc_tegra.c218 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 Dfotg210-hcd.h281 #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 Dehci-hub.c112 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 Dxhci-hub.c20 #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 Doxu210hp-hcd.c194 #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 Dxhci.h362 #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 Dehci-fsl.c661 (status & ~(PORT_CSC | PORT_PEC | PORT_OCC)), in ehci_start_port_reset()
/kernel/linux/linux-6.6/drivers/usb/isp1760/
H A Disp1760-hcd.c193 [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 Disp1760-regs.h71 PORT_RESUME, PORT_PE, PORT_CSC, PORT_CONNECT, enumerator
H A Disp1760-core.c210 [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 Dcdnsp-gadget.h168 #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 Dcdnsp-debug.h482 if (portsc & PORT_CSC) in cdnsp_decode_portsc()
/kernel/linux/linux-5.10/drivers/usb/early/
H A Dehci-dbgp.c645 if ((portsc & PORT_CSC)) in ehci_reset_port()
/kernel/linux/linux-6.6/drivers/usb/early/
H A Dehci-dbgp.c645 if ((portsc & PORT_CSC)) in ehci_reset_port()

Completed in 49 milliseconds

12