Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/usb/host/
Dxhci-hub.c774 temp &= ~PORT_PLS_MASK; in xhci_set_link_state()
827 u32 pls = status_reg & PORT_PLS_MASK; in xhci_hub_report_usb3_link_state()
888 bool port_in_u0 = ((status & PORT_PLS_MASK) == XDEV_U0); in xhci_del_comp_mod_timer()
1028 link_state = portsc & PORT_PLS_MASK; in xhci_get_usb3_port_status()
1076 link_state = portsc & PORT_PLS_MASK; in xhci_get_usb2_port_status()
1163 (raw_port_status & PORT_PLS_MASK) != XDEV_U3 && in xhci_get_port_status()
1164 (raw_port_status & PORT_PLS_MASK) != XDEV_RESUME) { in xhci_get_port_status()
1287 if ((temp & PORT_PLS_MASK) != XDEV_U0) { in xhci_hub_control()
1301 || (temp & PORT_PLS_MASK) >= XDEV_U3) { in xhci_hub_control()
1410 u32 pls = temp & PORT_PLS_MASK; in xhci_hub_control()
[all …]
Dxhci-debugfs.c382 if ((portsc & PORT_PLS_MASK) != XDEV_RXDETECT) { in xhci_port_write()
387 portsc &= ~PORT_PLS_MASK; in xhci_port_write()
Dxhci-ring.c1952 (portsc & PORT_PLS_MASK) == XDEV_INACTIVE) { in handle_port_status()
1958 if ((portsc & PORT_PLC) && (portsc & PORT_PLS_MASK) == XDEV_RESUME) { in handle_port_status()
2001 ((portsc & PORT_PLS_MASK) == XDEV_U0 || in handle_port_status()
2002 (portsc & PORT_PLS_MASK) == XDEV_U1 || in handle_port_status()
2003 (portsc & PORT_PLS_MASK) == XDEV_U2)) { in handle_port_status()
Dxhci.h305 #define PORT_PLS_MASK (0xf << 5) macro
2545 switch (portsc & PORT_PLS_MASK) { in xhci_portsc_link_state_string()
Dxhci.c491 if ((temp & PORT_PLS_MASK) == USB_SS_PORT_LS_COMP_MOD) { in compliance_mode_recovery()
952 (portsc & PORT_PLS_MASK) == XDEV_RESUME) in xhci_pending_portevent()
960 (portsc & PORT_PLS_MASK) == XDEV_RESUME) in xhci_pending_portevent()
4553 (pm_val & PORT_PLS_MASK) == XDEV_U0, in xhci_set_usb2_hardware_lpm()
Dxhci-tegra.c1802 if ((value & PORT_PLS_MASK) != XDEV_U3) { in xhci_hub_ports_suspended()
/Linux-v5.15/drivers/usb/cdns3/
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
Dcdnsp-debug.h429 switch (portsc & PORT_PLS_MASK) { in cdnsp_portsc_link_state_string()
Dcdnsp-gadget.c113 temp &= ~PORT_PLS_MASK; in cdnsp_set_link_state()
1497 portsc = readl(&port_regs->portsc) & PORT_PLS_MASK; in __cdnsp_gadget_wakeup()
Dcdnsp-ring.c817 link_state = portsc & PORT_PLS_MASK; in cdnsp_handle_port_status()