Home
last modified time | relevance | path

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

/linux/drivers/usb/host/
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.c2049 if (vdev && (portsc & PORT_PLS_MASK) == XDEV_INACTIVE) { in handle_port_status()
2056 if ((portsc & PORT_PLC) && (portsc & PORT_PLS_MASK) == XDEV_RESUME) { in handle_port_status()
2099 ((portsc & PORT_PLS_MASK) == XDEV_U0 || in handle_port_status()
2100 (portsc & PORT_PLS_MASK) == XDEV_U1 || in handle_port_status()
2101 (portsc & PORT_PLS_MASK) == XDEV_U2)) { in handle_port_status()
H A Dxhci-pci.c903 if ((portsc & PORT_PLS_MASK) != XDEV_U3) in xhci_pci_poweroff_late()
H A Dxhci.c386 if ((temp & PORT_PLS_MASK) == USB_SS_PORT_LS_COMP_MOD) { in compliance_mode_recovery()
938 (portsc & PORT_PLS_MASK) == XDEV_RESUME) in xhci_pending_portevent()
946 (portsc & PORT_PLS_MASK) == XDEV_RESUME) in xhci_pending_portevent()
4737 (pm_val & PORT_PLS_MASK) == XDEV_U0, in xhci_set_usb2_hardware_lpm()
/linux/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.h430 switch (portsc & PORT_PLS_MASK) { in cdnsp_portsc_link_state_string()
H A Dcdnsp-gadget.c115 temp &= ~PORT_PLS_MASK; in cdnsp_set_link_state()
1527 portsc = readl(&port_regs->portsc) & PORT_PLS_MASK; in __cdnsp_gadget_wakeup()
H A Dcdnsp-ring.c822 link_state = portsc & PORT_PLS_MASK; in cdnsp_handle_port_status()