Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/host/
Dxhci-hub.c799 temp &= ~PORT_PLS_MASK; in xhci_set_link_state()
852 u32 pls = status_reg & PORT_PLS_MASK; in xhci_hub_report_usb3_link_state()
913 bool port_in_u0 = ((status & PORT_PLS_MASK) == XDEV_U0); in xhci_del_comp_mod_timer()
1046 link_state = portsc & PORT_PLS_MASK; in xhci_get_usb3_port_status()
1094 link_state = portsc & PORT_PLS_MASK; in xhci_get_usb2_port_status()
1316 if ((temp & PORT_PLS_MASK) != XDEV_U0) { in xhci_hub_control()
1329 || (temp & PORT_PLS_MASK) >= XDEV_U3) { in xhci_hub_control()
1433 u32 pls = temp & PORT_PLS_MASK; in xhci_hub_control()
1477 if ((temp & PORT_PLS_MASK) == XDEV_U3) in xhci_hub_control()
1567 if ((temp & PORT_PLS_MASK) == XDEV_U3) { in xhci_hub_control()
[all …]
Dxhci-port.h17 #define PORT_PLS_MASK (0xf << 5) macro
Dxhci-debugfs.c383 if ((portsc & PORT_PLS_MASK) != XDEV_RXDETECT) { in xhci_port_write()
388 portsc &= ~PORT_PLS_MASK; in xhci_port_write()
Dxhci-ring.c1950 (portsc & PORT_PLS_MASK) == XDEV_INACTIVE) { in handle_port_status()
1955 if ((portsc & PORT_PLC) && (portsc & PORT_PLS_MASK) == XDEV_RESUME) { in handle_port_status()
1998 ((portsc & PORT_PLS_MASK) == XDEV_U0 || in handle_port_status()
1999 (portsc & PORT_PLS_MASK) == XDEV_U1 || in handle_port_status()
2000 (portsc & PORT_PLS_MASK) == XDEV_U2)) { in handle_port_status()
Dxhci-tegra.c1972 if ((value & PORT_PLS_MASK) != XDEV_U3) { in xhci_hub_ports_suspended()
2191 if (((portsc & PORT_PLS_MASK) == XDEV_U3) || ((portsc & DEV_SPEED_MASK) == XDEV_FS)) in tegra_xusb_enter_elpg()
2712 if ((portsc & PORT_PLS_MASK) == XDEV_RESUME) in tegra_xhci_hub_control()
Dxhci-pci.c869 if ((portsc & PORT_PLS_MASK) != XDEV_U3) in xhci_pci_poweroff_late()
Dxhci.c383 if ((temp & PORT_PLS_MASK) == USB_SS_PORT_LS_COMP_MOD) { in compliance_mode_recovery()
870 (portsc & PORT_PLS_MASK) == XDEV_RESUME) in xhci_pending_portevent()
878 (portsc & PORT_PLS_MASK) == XDEV_RESUME) in xhci_pending_portevent()
4512 (pm_val & PORT_PLS_MASK) == XDEV_U0, in xhci_set_usb2_hardware_lpm()
Dxhci.h2295 switch (portsc & PORT_PLS_MASK) { in xhci_portsc_link_state_string()
/linux-6.12.1/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()
1489 portsc = readl(&port_regs->portsc) & PORT_PLS_MASK; in __cdnsp_gadget_wakeup()
Dcdnsp-ring.c819 link_state = portsc & PORT_PLS_MASK; in cdnsp_handle_port_status()