Lines Matching +full:3 +full:- +full:bit

1 /* SPDX-License-Identifier: GPL-2.0 */
51 #define ULPI_FUNC_CTRL_XCVRSEL BIT(0)
57 #define ULPI_FUNC_CTRL_TERMSELECT BIT(2)
58 #define ULPI_FUNC_CTRL_OPMODE BIT(3)
59 #define ULPI_FUNC_CTRL_OPMODE_MASK (0x3 << 3)
60 #define ULPI_FUNC_CTRL_OPMODE_NORMAL (0x0 << 3)
61 #define ULPI_FUNC_CTRL_OPMODE_NONDRIVING (0x1 << 3)
62 #define ULPI_FUNC_CTRL_OPMODE_DISABLE_NRZI (0x2 << 3)
63 #define ULPI_FUNC_CTRL_OPMODE_NOSYNC_NOEOP (0x3 << 3)
64 #define ULPI_FUNC_CTRL_RESET BIT(5)
65 #define ULPI_FUNC_CTRL_SUSPENDM BIT(6)
68 #define ULPI_IFC_CTRL_6_PIN_SERIAL_MODE BIT(0)
69 #define ULPI_IFC_CTRL_3_PIN_SERIAL_MODE BIT(1)
70 #define ULPI_IFC_CTRL_CARKITMODE BIT(2)
71 #define ULPI_IFC_CTRL_CLOCKSUSPENDM BIT(3)
72 #define ULPI_IFC_CTRL_AUTORESUME BIT(4)
73 #define ULPI_IFC_CTRL_EXTERNAL_VBUS BIT(5)
74 #define ULPI_IFC_CTRL_PASSTHRU BIT(6)
75 #define ULPI_IFC_CTRL_PROTECT_IFC_DISABLE BIT(7)
78 #define ULPI_OTG_CTRL_ID_PULLUP BIT(0)
79 #define ULPI_OTG_CTRL_DP_PULLDOWN BIT(1)
80 #define ULPI_OTG_CTRL_DM_PULLDOWN BIT(2)
81 #define ULPI_OTG_CTRL_DISCHRGVBUS BIT(3)
82 #define ULPI_OTG_CTRL_CHRGVBUS BIT(4)
83 #define ULPI_OTG_CTRL_DRVVBUS BIT(5)
84 #define ULPI_OTG_CTRL_DRVVBUS_EXT BIT(6)
85 #define ULPI_OTG_CTRL_EXTVBUSIND BIT(7)
92 #define ULPI_INT_HOST_DISCONNECT BIT(0)
93 #define ULPI_INT_VBUS_VALID BIT(1)
94 #define ULPI_INT_SESS_VALID BIT(2)
95 #define ULPI_INT_SESS_END BIT(3)
96 #define ULPI_INT_IDGRD BIT(4)
99 #define ULPI_DEBUG_LINESTATE0 BIT(0)
100 #define ULPI_DEBUG_LINESTATE1 BIT(1)
103 #define ULPI_CARKIT_CTRL_CARKITPWR BIT(0)
104 #define ULPI_CARKIT_CTRL_IDGNDDRV BIT(1)
105 #define ULPI_CARKIT_CTRL_TXDEN BIT(2)
106 #define ULPI_CARKIT_CTRL_RXDEN BIT(3)
107 #define ULPI_CARKIT_CTRL_SPKLEFTEN BIT(4)
108 #define ULPI_CARKIT_CTRL_SPKRIGHTEN BIT(5)
109 #define ULPI_CARKIT_CTRL_MICEN BIT(6)
112 #define ULPI_CARKIT_INT_EN_IDFLOAT_RISE BIT(0)
113 #define ULPI_CARKIT_INT_EN_IDFLOAT_FALL BIT(1)
114 #define ULPI_CARKIT_INT_EN_CARINTDET BIT(2)
115 #define ULPI_CARKIT_INT_EN_DP_RISE BIT(3)
116 #define ULPI_CARKIT_INT_EN_DP_FALL BIT(4)
121 #define ULPI_CARKIT_INT_IDFLOAT BIT(0)
122 #define ULPI_CARKIT_INT_CARINTDET BIT(1)
123 #define ULPI_CARKIT_INT_DP BIT(2)
126 #define ULPI_CARKIT_PLS_CTRL_TXPLSEN BIT(0)
127 #define ULPI_CARKIT_PLS_CTRL_RXPLSEN BIT(1)
128 #define ULPI_CARKIT_PLS_CTRL_SPKRLEFT_BIASEN BIT(2)
129 #define ULPI_CARKIT_PLS_CTRL_SPKRRIGHT_BIASEN BIT(3)