Home
last modified time | relevance | path

Searched refs:PORT_PLS_MASK (Results 1 – 12 of 12) sorted by relevance

/linux-6.15/drivers/usb/host/
H A Dxhci-hub.c807 temp &= ~PORT_PLS_MASK; in xhci_set_link_state()
860 u32 pls = status_reg & PORT_PLS_MASK; in xhci_hub_report_usb3_link_state()
1054 link_state = portsc & PORT_PLS_MASK; in xhci_get_usb3_port_status()
1102 link_state = portsc & PORT_PLS_MASK; in xhci_get_usb2_port_status()
1324 if ((temp & PORT_PLS_MASK) != XDEV_U0) { in xhci_hub_control()
1337 || (temp & PORT_PLS_MASK) >= XDEV_U3) { in xhci_hub_control()
1441 u32 pls = temp & PORT_PLS_MASK; in xhci_hub_control()
1485 if ((temp & PORT_PLS_MASK) == XDEV_U3) in xhci_hub_control()
1789 t2 &= ~PORT_PLS_MASK; in xhci_bus_suspend()
1929 switch (portsc & PORT_PLS_MASK) { in xhci_bus_resume()
[all …]
H A Dxhci-port.h17 #define PORT_PLS_MASK (0xf << 5) macro
H A Dxhci-debugfs.c363 if ((portsc & PORT_PLS_MASK) != XDEV_RXDETECT) { in xhci_port_write()
368 portsc &= ~PORT_PLS_MASK; in xhci_port_write()
H A Dxhci-ring.c2035 (portsc & PORT_PLS_MASK) == XDEV_INACTIVE) { in handle_port_status()
2040 if ((portsc & PORT_PLC) && (portsc & PORT_PLS_MASK) == XDEV_RESUME) { in handle_port_status()
2083 ((portsc & PORT_PLS_MASK) == XDEV_U0 || in handle_port_status()
2084 (portsc & PORT_PLS_MASK) == XDEV_U1 || in handle_port_status()
2085 (portsc & PORT_PLS_MASK) == XDEV_U2)) { in handle_port_status()
H A Dxhci-tegra.c1976 if ((value & PORT_PLS_MASK) != XDEV_U3) { in xhci_hub_ports_suspended()
2195 if (((portsc & PORT_PLS_MASK) == XDEV_U3) || ((portsc & DEV_SPEED_MASK) == XDEV_FS)) in tegra_xusb_enter_elpg()
2716 if ((portsc & PORT_PLS_MASK) == XDEV_RESUME) in tegra_xhci_hub_control()
H A Dxhci-pci.c871 if ((portsc & PORT_PLS_MASK) != XDEV_U3) in xhci_pci_poweroff_late()
H A Dxhci.c385 if ((temp & PORT_PLS_MASK) == USB_SS_PORT_LS_COMP_MOD) { in compliance_mode_recovery()
863 (portsc & PORT_PLS_MASK) == XDEV_RESUME) in xhci_pending_portevent()
871 (portsc & PORT_PLS_MASK) == XDEV_RESUME) in xhci_pending_portevent()
4578 (pm_val & PORT_PLS_MASK) == XDEV_U0, in xhci_set_usb2_hardware_lpm()
H A Dxhci.h2335 switch (portsc & PORT_PLS_MASK) { in xhci_portsc_link_state_string()
/linux-6.15/drivers/usb/cdns3/
H A Dcdnsp-gadget.h161 #define CDNSP_PORT_RWS (PORT_PLS_MASK | PORT_WKCONN_E | PORT_WKDISC_E)
257 #define PORT_PLS_MASK GENMASK(8, 5) macro
H A Dcdnsp-debug.h429 switch (portsc & PORT_PLS_MASK) { in cdnsp_portsc_link_state_string()
H A Dcdnsp-gadget.c114 temp &= ~PORT_PLS_MASK; in cdnsp_set_link_state()
1510 portsc = readl(&port_regs->portsc) & PORT_PLS_MASK; in __cdnsp_gadget_wakeup()
H A Dcdnsp-ring.c820 link_state = portsc & PORT_PLS_MASK; in cdnsp_handle_port_status()