Lines Matching +full:data +full:- +full:enable +full:- +full:active

1 /* SPDX-License-Identifier: GPL-2.0 */
11 #define U2DCR_SPEOREN (1 << 27) /* Short Packet EOR INTR generation Enable */
18 #define U2DCR_SMAC (1 << 17) /* Switch Endpoint Memory to Active Configuration */
19 #define U2DCR_DWRE (1 << 16) /* Device Remote Wake-up Feature */
20 #define U2DCR_ACN (0xf << 12) /* Active U2D Configuration Number */
21 #define U2DCR_AIN (0xf << 8) /* Active U2D Interface Number */
22 #define U2DCR_AAISN (0xf << 4) /* Active U2D Alternate Interface Setting Number */
25 #define U2DCR_UDA (1 << 1) /* U2D Active */
26 #define U2DCR_UDE (1 << 0) /* U2D Enable */
30 #define U2DINT_CC (1 << 31) /* Interrupt - Configuration Change */
31 #define U2DINT_SOF (1 << 30) /* Interrupt - SOF */
32 #define U2DINT_USOF (1 << 29) /* Interrupt - micro SOF */
33 #define U2DINT_RU (1 << 28) /* Interrupt - Resume */
34 #define U2DINT_SU (1 << 27) /* Interrupt - Suspend */
35 #define U2DINT_RS (1 << 26) /* Interrupt - Reset */
36 #define U2DINT_DPE (1 << 25) /* Interrupt - Data Packet Error */
37 #define U2DINT_FIFOERR (0x4) /* Interrupt - endpoint FIFO error */
38 #define U2DINT_PACKETCMP (0x2) /* Interrupt - endpoint packet complete */
39 #define U2DINT_SPACKETCMP (0x1) /* Interrupt - endpoint short packet complete */
48 #define U2DOTGCR_OTGEN (1 << 31) /* On-The-Go Enable */
49 #define U2DOTGCR_AALTHNP (1 << 30) /* A-device Alternate Host Negotiation Protocal Port Support */
50 #define U2DOTGCR_AHNP (1 << 29) /* A-device Host Negotiation Protocal Support */
51 #define U2DOTGCR_BHNP (1 << 28) /* B-device Host Negotiation Protocal Enable */
54 #define U2DOTGCR_LPA (1 << 15) /* ULPI low power mode active */
55 #define U2DOTGCR_IESI (1 << 13) /* OTG interrupt Enable */
64 #define U2DOTGCR_ULE (1 << 0) /* ULPI Wrapper Enable */
87 #define U2DOTGUSR_LPA (1 << 31) /* ULPI Low Power Mode Active */
88 #define U2DOTGUSR_S6A (1 << 30) /* ULPI Serial Mode (6-pin) Active */
89 #define U2DOTGUSR_S3A (1 << 29) /* ULPI Serial Mode (3-pin) Active */
90 #define U2DOTGUSR_CKA (1 << 28) /* ULPI Car Kit Mode Active */
103 #define U2DOTGUCR_WDATA (0xff << 8) /* The data for a WRITE command */
104 #define U2DOTGUCR_RDATA (0xff << 0) /* The data for a READ command */
109 #define U2DP3CR_VPVMBEN (0x1 << 2) /* Host Port 3 Vp/Vm Block Enable */
112 #define U2DCSR0 (0x0100) /* U2D Control/Status Register - Endpoint 0 */
114 #define U2DCSR0_SA (1 << 7) /* SETUP Active */
118 #define U2DCSR0_DME (1 << 3) /* DMA Enable */
123 #define U2DCSR(x) (0x0100 + ((x) << 2)) /* U2D Control/Status Register - Endpoint x */
126 #define U2DCSR_DPE (1 << 9) /* Data Packet Error, for ISO eps only */
133 #define U2DCSR_DME (1 << 3) /* DMA Enable */
138 #define U2DBCR0 (0x0200) /* U2D Byte Count Register - Endpoint 0 */
139 #define U2DBCR(x) (0x0200 + ((x) << 2)) /* U2D Byte Count Register - Endpoint x */
141 #define U2DDR0 (0x0300) /* U2D Data Register - Endpoint 0 */
143 #define U2DEPCR(x) (0x0400 + ((x) << 2)) /* U2D Configuration Register - Endpoint x */
144 #define U2DEPCR_EE (1 << 0) /* Endpoint Enable */
150 #define U2DEN0 (0x0504) /* U2D Endpoint Information Register - Endpoint 0 */
151 #define U2DEN(x) (0x0504 + ((x) << 2)) /* U2D Endpoint Information Register - Endpoint x */
154 #define U2DMACSR0 (0x1000) /* U2DMA Control/Status Register - Channel 0 */
155 #define U2DMACSR(x) (0x1000 + ((x) << 2)) /* U2DMA Control/Status Register - Channel x */
157 #define U2DMACSR_STOPIRQEN (1 << 29) /* Stop Interrupt Enable (read / write) */
158 #define U2DMACSR_EORIRQEN (1 << 28) /* End of Receive Interrupt Enable (R/W) */
161 #define U2DMACSR_RASIRQEN (1 << 23) /* Request After Cnannel Stopped Interrupt Enable */
177 #define U2DMABR0 (0x1100) /* U2DMA Branch Register - Channel 0 */
178 #define U2DMABR(x) (0x1100 + (x) << 2) /* U2DMA Branch Register - Channel x */
180 #define U2DMADADR0 (0x1200) /* U2DMA Descriptor Address Register - Channel 0 */
181 #define U2DMADADR(x) (0x1200 + (x) * 0x10) /* U2DMA Descriptor Address Register - Channel x */
185 #define U2DMASADR0 (0x1204) /* U2DMA Source Address Register - Channel 0 */
186 #define U2DMASADR(x) (0x1204 + (x) * 0x10) /* U2DMA Source Address Register - Channel x */
187 #define U2DMATADR0 (0x1208) /* U2DMA Target Address Register - Channel 0 */
188 #define U2DMATADR(x) (0x1208 + (x) * 0x10) /* U2DMA Target Address Register - Channel x */
190 #define U2DMACMDR0 (0x120C) /* U2DMA Command Address Register - Channel 0 */
191 #define U2DMACMDR(x) (0x120C + (x) * 0x10) /* U2DMA Command Address Register - Channel x */
194 #define U2DMACMDR_STARTIRQEN (1 << 22) /* Start Interrupt Enable */
195 #define U2DMACMDR_ENDIRQEN (1 << 21) /* End Interrupt Enable */
197 #define U2DMACMDR_LEN (0x07ff) /* length mask (max = 2K - 1) */