Home
last modified time | relevance | path

Searched refs:PORT_CSC (Results 1 – 24 of 24) sorted by relevance

/openbmc/linux/drivers/usb/host/
H A Dxhci-port.h71 #define PORT_CSC (1 << 17) macro
100 #define PORT_CHANGE_MASK (PORT_CSC | PORT_PEC | PORT_WRC | PORT_OCC | \
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()
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) in xhci_get_port_status()
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()
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 Dehci-fsl.c661 (status & ~(PORT_CSC | PORT_PEC | PORT_OCC)), in ehci_start_port_reset()
H A Dehci-hcd.c1126 ehci_writel(ehci, t1 | PORT_CSC, reg); in ehci_zx_wakeup_clear()
H A Dehci-dbg.c256 (status & PORT_CSC) ? " CSC" : "", in dbg_port_buf()
H A Dxhci.h2389 if (portsc & PORT_CSC) in xhci_decode_portsc()
H A Dxhci.c796 if (!(portsc & (PORT_CSC | PORT_CONNECT))) in xhci_disable_hub_port_wake()
797 t2 |= PORT_CSC; in xhci_disable_hub_port_wake()
H A Dxhci-ring.c2058 (portsc & PORT_CSC) && !(portsc & PORT_CONNECT)) in handle_port_status()
/openbmc/linux/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)
/openbmc/linux/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()
/openbmc/linux/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)
H A Dfotg210-hcd.c255 (status & PORT_CSC) ? " CSC" : "", in dbg_port_buf()
1405 mask = PORT_CSC | PORT_PEC; in fotg210_hub_status_data()
1524 fotg210_writel(fotg210, temp | PORT_CSC, status_reg); in fotg210_hub_control()
1555 if (temp & PORT_CSC) in fotg210_hub_control()
/openbmc/linux/drivers/usb/isp1760/
H A Disp1760-regs.h71 PORT_RESUME, PORT_PE, PORT_CSC, PORT_CONNECT, enumerator
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-core.c210 [PORT_CSC] = REG_FIELD(ISP176x_HC_PORTSC1, 1, 1),
281 [PORT_CSC] = REG_FIELD(ISP1763_HC_PORTSC1, 1, 1),
/openbmc/linux/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()
H A Dcdnsp-ring.c856 if (portsc & PORT_CSC) { in cdnsp_handle_port_status()
/openbmc/u-boot/drivers/usb/host/
H A Dxhci.c829 status = PORT_CSC; in xhci_clear_port_change_bit()
1017 if (reg & PORT_CSC) in xhci_submit_root()
H A Dxhci.h308 #define PORT_CSC (1 << 17) macro
/openbmc/linux/drivers/usb/early/
H A Dehci-dbgp.c645 if ((portsc & PORT_CSC)) in ehci_reset_port()
/openbmc/linux/drivers/usb/phy/
H A Dphy-tegra-usb.c45 #define TEGRA_PORTSC1_RWC_BITS (PORT_CSC | PORT_PEC | PORT_OCC)