Home
last modified time | relevance | path

Searched refs:PORT_PLS_MASK (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci-hub.c690 temp &= ~PORT_PLS_MASK; in xhci_set_link_state()
743 u32 pls = status_reg & PORT_PLS_MASK; in xhci_hub_report_usb3_link_state()
804 bool port_in_u0 = ((status & PORT_PLS_MASK) == XDEV_U0); in xhci_del_comp_mod_timer()
940 link_state = portsc & PORT_PLS_MASK; in xhci_get_usb3_port_status()
988 link_state = portsc & PORT_PLS_MASK; in xhci_get_usb2_port_status()
1211 if ((temp & PORT_PLS_MASK) != XDEV_U0) { in xhci_hub_control()
1224 || (temp & PORT_PLS_MASK) >= XDEV_U3) { in xhci_hub_control()
1330 u32 pls = temp & PORT_PLS_MASK; in xhci_hub_control()
1376 if ((temp & PORT_PLS_MASK) == XDEV_U3) in xhci_hub_control()
1466 if ((temp & PORT_PLS_MASK) in xhci_hub_control()
[all...]
H A Dxhci-debugfs.c383 if ((portsc & PORT_PLS_MASK) != XDEV_RXDETECT) { in xhci_port_write()
388 portsc &= ~PORT_PLS_MASK; in xhci_port_write()
H A Dxhci-ring.c1820 (portsc & PORT_PLS_MASK) == XDEV_INACTIVE) { in handle_port_status()
1826 if ((portsc & PORT_PLC) && (portsc & PORT_PLS_MASK) == XDEV_RESUME) { in handle_port_status()
1869 ((portsc & PORT_PLS_MASK) == XDEV_U0 || in handle_port_status()
1870 (portsc & PORT_PLS_MASK) == XDEV_U1 || in handle_port_status()
1871 (portsc & PORT_PLS_MASK) == XDEV_U2)) { in handle_port_status()
H A Dxhci.h308 #define PORT_PLS_MASK (0xf << 5) macro
2554 switch (portsc & PORT_PLS_MASK) { in xhci_portsc_link_state_string()
H A Dxhci.c496 if ((temp & PORT_PLS_MASK) == USB_SS_PORT_LS_COMP_MOD) { in compliance_mode_recovery()
975 (portsc & PORT_PLS_MASK) == XDEV_RESUME) in xhci_pending_portevent()
983 (portsc & PORT_PLS_MASK) == XDEV_RESUME) in xhci_pending_portevent()
4556 (pm_val & PORT_PLS_MASK) == XDEV_U0, in xhci_set_usb2_hardware_lpm()
H A Dxhci-tegra.c1694 if ((value & PORT_PLS_MASK) != XDEV_U3) { in xhci_hub_ports_suspended()
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci-hub.c795 temp &= ~PORT_PLS_MASK; in xhci_set_link_state()
848 u32 pls = status_reg & PORT_PLS_MASK; in xhci_hub_report_usb3_link_state()
909 bool port_in_u0 = ((status & PORT_PLS_MASK) == XDEV_U0); in xhci_del_comp_mod_timer()
1045 link_state = portsc & PORT_PLS_MASK; in xhci_get_usb3_port_status()
1093 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()
1435 u32 pls = temp & PORT_PLS_MASK; in xhci_hub_control()
1481 if ((temp & PORT_PLS_MASK) == XDEV_U3) in xhci_hub_control()
1571 if ((temp & PORT_PLS_MASK) in xhci_hub_control()
[all...]
H A Dxhci-debugfs.c383 if ((portsc & PORT_PLS_MASK) != XDEV_RXDETECT) { in xhci_port_write()
388 portsc &= ~PORT_PLS_MASK; in xhci_port_write()
H A Dxhci-ring.c1917 (portsc & PORT_PLS_MASK) == XDEV_INACTIVE) { in handle_port_status()
1923 if ((portsc & PORT_PLC) && (portsc & PORT_PLS_MASK) == XDEV_RESUME) { in handle_port_status()
1966 ((portsc & PORT_PLS_MASK) == XDEV_U0 || in handle_port_status()
1967 (portsc & PORT_PLS_MASK) == XDEV_U1 || in handle_port_status()
1968 (portsc & PORT_PLS_MASK) == XDEV_U2)) { in handle_port_status()
H A 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()
H A Dxhci-pci.c905 if ((portsc & PORT_PLS_MASK) != XDEV_U3) in xhci_pci_poweroff_late()
H A Dxhci.h308 #define PORT_PLS_MASK (0xf << 5) macro
2586 switch (portsc & PORT_PLS_MASK) { in xhci_portsc_link_state_string()
H A Dxhci.c342 if ((temp & PORT_PLS_MASK) == USB_SS_PORT_LS_COMP_MOD) { in compliance_mode_recovery()
829 (portsc & PORT_PLS_MASK) == XDEV_RESUME) in xhci_pending_portevent()
837 (portsc & PORT_PLS_MASK) == XDEV_RESUME) in xhci_pending_portevent()
4441 (pm_val & PORT_PLS_MASK) == XDEV_U0, in xhci_set_usb2_hardware_lpm()
/kernel/linux/linux-6.6/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.h432 switch (portsc & PORT_PLS_MASK) { in cdnsp_portsc_link_state_string()
H A Dcdnsp-gadget.c113 temp &= ~PORT_PLS_MASK; in cdnsp_set_link_state()
1493 portsc = readl(&port_regs->portsc) & PORT_PLS_MASK; in __cdnsp_gadget_wakeup()
H A Dcdnsp-ring.c817 link_state = portsc & PORT_PLS_MASK; in cdnsp_handle_port_status()

Completed in 57 milliseconds