Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/cdns3/
Dcdns3-gadget.h348 #define USB_STS_LST_MASK GENMASK(29, 26) macro
349 #define DEV_LST_U0 (((p) & USB_STS_LST_MASK) == (0x0 << 26))
350 #define DEV_LST_U1 (((p) & USB_STS_LST_MASK) == (0x1 << 26))
351 #define DEV_LST_U2 (((p) & USB_STS_LST_MASK) == (0x2 << 26))
352 #define DEV_LST_U3 (((p) & USB_STS_LST_MASK) == (0x3 << 26))
353 #define DEV_LST_DISABLED (((p) & USB_STS_LST_MASK) == (0x4 << 26))
354 #define DEV_LST_RXDETECT (((p) & USB_STS_LST_MASK) == (0x5 << 26))
355 #define DEV_LST_INACTIVE (((p) & USB_STS_LST_MASK) == (0x6 << 26))
356 #define DEV_LST_POLLING (((p) & USB_STS_LST_MASK) == (0x7 << 26))
357 #define DEV_LST_RECOVERY (((p) & USB_STS_LST_MASK) == (0x8 << 26))
[all …]