Lines Matching +full:0 +full:v
13 #define HW_PXP_CTRL (0x00000000)
14 #define HW_PXP_CTRL_SET (0x00000004)
15 #define HW_PXP_CTRL_CLR (0x00000008)
16 #define HW_PXP_CTRL_TOG (0x0000000c)
18 #define BM_PXP_CTRL_SFTRST 0x80000000
19 #define BF_PXP_CTRL_SFTRST(v) \ argument
20 (((v) << 31) & BM_PXP_CTRL_SFTRST)
21 #define BM_PXP_CTRL_CLKGATE 0x40000000
22 #define BF_PXP_CTRL_CLKGATE(v) \ argument
23 (((v) << 30) & BM_PXP_CTRL_CLKGATE)
24 #define BM_PXP_CTRL_RSVD4 0x20000000
25 #define BF_PXP_CTRL_RSVD4(v) \ argument
26 (((v) << 29) & BM_PXP_CTRL_RSVD4)
27 #define BM_PXP_CTRL_EN_REPEAT 0x10000000
28 #define BF_PXP_CTRL_EN_REPEAT(v) \ argument
29 (((v) << 28) & BM_PXP_CTRL_EN_REPEAT)
30 #define BM_PXP_CTRL_ENABLE_ROTATE1 0x08000000
31 #define BF_PXP_CTRL_ENABLE_ROTATE1(v) \ argument
32 (((v) << 27) & BM_PXP_CTRL_ENABLE_ROTATE1)
33 #define BM_PXP_CTRL_ENABLE_ROTATE0 0x04000000
34 #define BF_PXP_CTRL_ENABLE_ROTATE0(v) \ argument
35 (((v) << 26) & BM_PXP_CTRL_ENABLE_ROTATE0)
36 #define BM_PXP_CTRL_ENABLE_LUT 0x02000000
37 #define BF_PXP_CTRL_ENABLE_LUT(v) \ argument
38 (((v) << 25) & BM_PXP_CTRL_ENABLE_LUT)
39 #define BM_PXP_CTRL_ENABLE_CSC2 0x01000000
40 #define BF_PXP_CTRL_ENABLE_CSC2(v) \ argument
41 (((v) << 24) & BM_PXP_CTRL_ENABLE_CSC2)
42 #define BM_PXP_CTRL_BLOCK_SIZE 0x00800000
43 #define BF_PXP_CTRL_BLOCK_SIZE(v) \ argument
44 (((v) << 23) & BM_PXP_CTRL_BLOCK_SIZE)
45 #define BV_PXP_CTRL_BLOCK_SIZE__8X8 0x0
46 #define BV_PXP_CTRL_BLOCK_SIZE__16X16 0x1
47 #define BM_PXP_CTRL_RSVD1 0x00400000
48 #define BF_PXP_CTRL_RSVD1(v) \ argument
49 (((v) << 22) & BM_PXP_CTRL_RSVD1)
50 #define BM_PXP_CTRL_ENABLE_ALPHA_B 0x00200000
51 #define BF_PXP_CTRL_ENABLE_ALPHA_B(v) \ argument
52 (((v) << 21) & BM_PXP_CTRL_ENABLE_ALPHA_B)
53 #define BM_PXP_CTRL_ENABLE_INPUT_FETCH_STORE 0x00100000
54 #define BF_PXP_CTRL_ENABLE_INPUT_FETCH_STORE(v) \ argument
55 (((v) << 20) & BM_PXP_CTRL_ENABLE_INPUT_FETCH_STORE)
56 #define BM_PXP_CTRL_ENABLE_WFE_B 0x00080000
57 #define BF_PXP_CTRL_ENABLE_WFE_B(v) \ argument
58 (((v) << 19) & BM_PXP_CTRL_ENABLE_WFE_B)
59 #define BM_PXP_CTRL_ENABLE_WFE_A 0x00040000
60 #define BF_PXP_CTRL_ENABLE_WFE_A(v) \ argument
61 (((v) << 18) & BM_PXP_CTRL_ENABLE_WFE_A)
62 #define BM_PXP_CTRL_ENABLE_DITHER 0x00020000
63 #define BF_PXP_CTRL_ENABLE_DITHER(v) \ argument
64 (((v) << 17) & BM_PXP_CTRL_ENABLE_DITHER)
65 #define BM_PXP_CTRL_ENABLE_PS_AS_OUT 0x00010000
66 #define BF_PXP_CTRL_ENABLE_PS_AS_OUT(v) \ argument
67 (((v) << 16) & BM_PXP_CTRL_ENABLE_PS_AS_OUT)
68 #define BM_PXP_CTRL_VFLIP1 0x00008000
69 #define BF_PXP_CTRL_VFLIP1(v) \ argument
70 (((v) << 15) & BM_PXP_CTRL_VFLIP1)
71 #define BM_PXP_CTRL_HFLIP1 0x00004000
72 #define BF_PXP_CTRL_HFLIP1(v) \ argument
73 (((v) << 14) & BM_PXP_CTRL_HFLIP1)
75 #define BM_PXP_CTRL_ROTATE1 0x00003000
76 #define BF_PXP_CTRL_ROTATE1(v) \ argument
77 (((v) << 12) & BM_PXP_CTRL_ROTATE1)
78 #define BV_PXP_CTRL_ROTATE1__ROT_0 0x0
79 #define BV_PXP_CTRL_ROTATE1__ROT_90 0x1
80 #define BV_PXP_CTRL_ROTATE1__ROT_180 0x2
81 #define BV_PXP_CTRL_ROTATE1__ROT_270 0x3
82 #define BM_PXP_CTRL_VFLIP0 0x00000800
83 #define BF_PXP_CTRL_VFLIP0(v) \ argument
84 (((v) << 11) & BM_PXP_CTRL_VFLIP0)
85 #define BM_PXP_CTRL_HFLIP0 0x00000400
86 #define BF_PXP_CTRL_HFLIP0(v) \ argument
87 (((v) << 10) & BM_PXP_CTRL_HFLIP0)
89 #define BM_PXP_CTRL_ROTATE0 0x00000300
90 #define BF_PXP_CTRL_ROTATE0(v) \ argument
91 (((v) << 8) & BM_PXP_CTRL_ROTATE0)
92 #define BV_PXP_CTRL_ROTATE0__ROT_0 0x0
93 #define BV_PXP_CTRL_ROTATE0__ROT_90 0x1
94 #define BV_PXP_CTRL_ROTATE0__ROT_180 0x2
95 #define BV_PXP_CTRL_ROTATE0__ROT_270 0x3
97 #define BM_PXP_CTRL_RSVD0 0x000000C0
98 #define BF_PXP_CTRL_RSVD0(v) \ argument
99 (((v) << 6) & BM_PXP_CTRL_RSVD0)
100 #define BM_PXP_CTRL_HANDSHAKE_ABORT_SKIP 0x00000020
101 #define BF_PXP_CTRL_HANDSHAKE_ABORT_SKIP(v) \ argument
102 (((v) << 5) & BM_PXP_CTRL_HANDSHAKE_ABORT_SKIP)
103 #define BM_PXP_CTRL_ENABLE_LCD0_HANDSHAKE 0x00000010
104 #define BF_PXP_CTRL_ENABLE_LCD0_HANDSHAKE(v) \ argument
105 (((v) << 4) & BM_PXP_CTRL_ENABLE_LCD0_HANDSHAKE)
106 #define BM_PXP_CTRL_LUT_DMA_IRQ_ENABLE 0x00000008
107 #define BF_PXP_CTRL_LUT_DMA_IRQ_ENABLE(v) \ argument
108 (((v) << 3) & BM_PXP_CTRL_LUT_DMA_IRQ_ENABLE)
109 #define BM_PXP_CTRL_NEXT_IRQ_ENABLE 0x00000004
110 #define BF_PXP_CTRL_NEXT_IRQ_ENABLE(v) \ argument
111 (((v) << 2) & BM_PXP_CTRL_NEXT_IRQ_ENABLE)
112 #define BM_PXP_CTRL_IRQ_ENABLE 0x00000002
113 #define BF_PXP_CTRL_IRQ_ENABLE(v) \ argument
114 (((v) << 1) & BM_PXP_CTRL_IRQ_ENABLE)
115 #define BM_PXP_CTRL_ENABLE 0x00000001
116 #define BF_PXP_CTRL_ENABLE(v) \ argument
117 (((v) << 0) & BM_PXP_CTRL_ENABLE)
119 #define HW_PXP_STAT (0x00000010)
120 #define HW_PXP_STAT_SET (0x00000014)
121 #define HW_PXP_STAT_CLR (0x00000018)
122 #define HW_PXP_STAT_TOG (0x0000001c)
125 #define BM_PXP_STAT_BLOCKX 0xFF000000
126 #define BF_PXP_STAT_BLOCKX(v) \ argument
127 (((v) << 24) & BM_PXP_STAT_BLOCKX)
129 #define BM_PXP_STAT_BLOCKY 0x00FF0000
130 #define BF_PXP_STAT_BLOCKY(v) \ argument
131 (((v) << 16) & BM_PXP_STAT_BLOCKY)
133 #define BM_PXP_STAT_AXI_ERROR_ID_1 0x0000F000
134 #define BF_PXP_STAT_AXI_ERROR_ID_1(v) \ argument
135 (((v) << 12) & BM_PXP_STAT_AXI_ERROR_ID_1)
136 #define BM_PXP_STAT_RSVD2 0x00000800
137 #define BF_PXP_STAT_RSVD2(v) \ argument
138 (((v) << 11) & BM_PXP_STAT_RSVD2)
139 #define BM_PXP_STAT_AXI_READ_ERROR_1 0x00000400
140 #define BF_PXP_STAT_AXI_READ_ERROR_1(v) \ argument
141 (((v) << 10) & BM_PXP_STAT_AXI_READ_ERROR_1)
142 #define BM_PXP_STAT_AXI_WRITE_ERROR_1 0x00000200
143 #define BF_PXP_STAT_AXI_WRITE_ERROR_1(v) \ argument
144 (((v) << 9) & BM_PXP_STAT_AXI_WRITE_ERROR_1)
145 #define BM_PXP_STAT_LUT_DMA_LOAD_DONE_IRQ 0x00000100
146 #define BF_PXP_STAT_LUT_DMA_LOAD_DONE_IRQ(v) \ argument
147 (((v) << 8) & BM_PXP_STAT_LUT_DMA_LOAD_DONE_IRQ)
149 #define BM_PXP_STAT_AXI_ERROR_ID_0 0x000000F0
150 #define BF_PXP_STAT_AXI_ERROR_ID_0(v) \ argument
151 (((v) << 4) & BM_PXP_STAT_AXI_ERROR_ID_0)
152 #define BM_PXP_STAT_NEXT_IRQ 0x00000008
153 #define BF_PXP_STAT_NEXT_IRQ(v) \ argument
154 (((v) << 3) & BM_PXP_STAT_NEXT_IRQ)
155 #define BM_PXP_STAT_AXI_READ_ERROR_0 0x00000004
156 #define BF_PXP_STAT_AXI_READ_ERROR_0(v) \ argument
157 (((v) << 2) & BM_PXP_STAT_AXI_READ_ERROR_0)
158 #define BM_PXP_STAT_AXI_WRITE_ERROR_0 0x00000002
159 #define BF_PXP_STAT_AXI_WRITE_ERROR_0(v) \ argument
160 (((v) << 1) & BM_PXP_STAT_AXI_WRITE_ERROR_0)
161 #define BM_PXP_STAT_IRQ0 0x00000001
162 #define BF_PXP_STAT_IRQ0(v) \ argument
163 (((v) << 0) & BM_PXP_STAT_IRQ0)
165 #define HW_PXP_OUT_CTRL (0x00000020)
166 #define HW_PXP_OUT_CTRL_SET (0x00000024)
167 #define HW_PXP_OUT_CTRL_CLR (0x00000028)
168 #define HW_PXP_OUT_CTRL_TOG (0x0000002c)
171 #define BM_PXP_OUT_CTRL_ALPHA 0xFF000000
172 #define BF_PXP_OUT_CTRL_ALPHA(v) \ argument
173 (((v) << 24) & BM_PXP_OUT_CTRL_ALPHA)
174 #define BM_PXP_OUT_CTRL_ALPHA_OUTPUT 0x00800000
175 #define BF_PXP_OUT_CTRL_ALPHA_OUTPUT(v) \ argument
176 (((v) << 23) & BM_PXP_OUT_CTRL_ALPHA_OUTPUT)
178 #define BM_PXP_OUT_CTRL_RSVD1 0x007FFC00
179 #define BF_PXP_OUT_CTRL_RSVD1(v) \ argument
180 (((v) << 10) & BM_PXP_OUT_CTRL_RSVD1)
182 #define BM_PXP_OUT_CTRL_INTERLACED_OUTPUT 0x00000300
183 #define BF_PXP_OUT_CTRL_INTERLACED_OUTPUT(v) \ argument
184 (((v) << 8) & BM_PXP_OUT_CTRL_INTERLACED_OUTPUT)
185 #define BV_PXP_OUT_CTRL_INTERLACED_OUTPUT__PROGRESSIVE 0x0
186 #define BV_PXP_OUT_CTRL_INTERLACED_OUTPUT__FIELD0 0x1
187 #define BV_PXP_OUT_CTRL_INTERLACED_OUTPUT__FIELD1 0x2
188 #define BV_PXP_OUT_CTRL_INTERLACED_OUTPUT__INTERLACED 0x3
190 #define BM_PXP_OUT_CTRL_RSVD0 0x000000E0
191 #define BF_PXP_OUT_CTRL_RSVD0(v) \ argument
192 (((v) << 5) & BM_PXP_OUT_CTRL_RSVD0)
193 #define BP_PXP_OUT_CTRL_FORMAT 0
194 #define BM_PXP_OUT_CTRL_FORMAT 0x0000001F
195 #define BF_PXP_OUT_CTRL_FORMAT(v) \ argument
196 (((v) << 0) & BM_PXP_OUT_CTRL_FORMAT)
197 #define BV_PXP_OUT_CTRL_FORMAT__ARGB8888 0x0
198 #define BV_PXP_OUT_CTRL_FORMAT__RGB888 0x4
199 #define BV_PXP_OUT_CTRL_FORMAT__RGB888P 0x5
200 #define BV_PXP_OUT_CTRL_FORMAT__ARGB1555 0x8
201 #define BV_PXP_OUT_CTRL_FORMAT__ARGB4444 0x9
202 #define BV_PXP_OUT_CTRL_FORMAT__RGB555 0xC
203 #define BV_PXP_OUT_CTRL_FORMAT__RGB444 0xD
204 #define BV_PXP_OUT_CTRL_FORMAT__RGB565 0xE
205 #define BV_PXP_OUT_CTRL_FORMAT__YUV1P444 0x10
206 #define BV_PXP_OUT_CTRL_FORMAT__UYVY1P422 0x12
207 #define BV_PXP_OUT_CTRL_FORMAT__VYUY1P422 0x13
208 #define BV_PXP_OUT_CTRL_FORMAT__Y8 0x14
209 #define BV_PXP_OUT_CTRL_FORMAT__Y4 0x15
210 #define BV_PXP_OUT_CTRL_FORMAT__YUV2P422 0x18
211 #define BV_PXP_OUT_CTRL_FORMAT__YUV2P420 0x19
212 #define BV_PXP_OUT_CTRL_FORMAT__YVU2P422 0x1A
213 #define BV_PXP_OUT_CTRL_FORMAT__YVU2P420 0x1B
215 #define HW_PXP_OUT_BUF (0x00000030)
217 #define BP_PXP_OUT_BUF_ADDR 0
218 #define BM_PXP_OUT_BUF_ADDR 0xFFFFFFFF
219 #define BF_PXP_OUT_BUF_ADDR(v) (v) argument
221 #define HW_PXP_OUT_BUF2 (0x00000040)
223 #define BP_PXP_OUT_BUF2_ADDR 0
224 #define BM_PXP_OUT_BUF2_ADDR 0xFFFFFFFF
225 #define BF_PXP_OUT_BUF2_ADDR(v) (v) argument
227 #define HW_PXP_OUT_PITCH (0x00000050)
230 #define BM_PXP_OUT_PITCH_RSVD 0xFFFF0000
231 #define BF_PXP_OUT_PITCH_RSVD(v) \ argument
232 (((v) << 16) & BM_PXP_OUT_PITCH_RSVD)
233 #define BP_PXP_OUT_PITCH_PITCH 0
234 #define BM_PXP_OUT_PITCH_PITCH 0x0000FFFF
235 #define BF_PXP_OUT_PITCH_PITCH(v) \ argument
236 (((v) << 0) & BM_PXP_OUT_PITCH_PITCH)
238 #define HW_PXP_OUT_LRC (0x00000060)
241 #define BM_PXP_OUT_LRC_RSVD1 0xC0000000
242 #define BF_PXP_OUT_LRC_RSVD1(v) \ argument
243 (((v) << 30) & BM_PXP_OUT_LRC_RSVD1)
245 #define BM_PXP_OUT_LRC_X 0x3FFF0000
246 #define BF_PXP_OUT_LRC_X(v) \ argument
247 (((v) << 16) & BM_PXP_OUT_LRC_X)
249 #define BM_PXP_OUT_LRC_RSVD0 0x0000C000
250 #define BF_PXP_OUT_LRC_RSVD0(v) \ argument
251 (((v) << 14) & BM_PXP_OUT_LRC_RSVD0)
252 #define BP_PXP_OUT_LRC_Y 0
253 #define BM_PXP_OUT_LRC_Y 0x00003FFF
254 #define BF_PXP_OUT_LRC_Y(v) \ argument
255 (((v) << 0) & BM_PXP_OUT_LRC_Y)
257 #define HW_PXP_OUT_PS_ULC (0x00000070)
260 #define BM_PXP_OUT_PS_ULC_RSVD1 0xC0000000
261 #define BF_PXP_OUT_PS_ULC_RSVD1(v) \ argument
262 (((v) << 30) & BM_PXP_OUT_PS_ULC_RSVD1)
264 #define BM_PXP_OUT_PS_ULC_X 0x3FFF0000
265 #define BF_PXP_OUT_PS_ULC_X(v) \ argument
266 (((v) << 16) & BM_PXP_OUT_PS_ULC_X)
268 #define BM_PXP_OUT_PS_ULC_RSVD0 0x0000C000
269 #define BF_PXP_OUT_PS_ULC_RSVD0(v) \ argument
270 (((v) << 14) & BM_PXP_OUT_PS_ULC_RSVD0)
271 #define BP_PXP_OUT_PS_ULC_Y 0
272 #define BM_PXP_OUT_PS_ULC_Y 0x00003FFF
273 #define BF_PXP_OUT_PS_ULC_Y(v) \ argument
274 (((v) << 0) & BM_PXP_OUT_PS_ULC_Y)
276 #define HW_PXP_OUT_PS_LRC (0x00000080)
279 #define BM_PXP_OUT_PS_LRC_RSVD1 0xC0000000
280 #define BF_PXP_OUT_PS_LRC_RSVD1(v) \ argument
281 (((v) << 30) & BM_PXP_OUT_PS_LRC_RSVD1)
283 #define BM_PXP_OUT_PS_LRC_X 0x3FFF0000
284 #define BF_PXP_OUT_PS_LRC_X(v) \ argument
285 (((v) << 16) & BM_PXP_OUT_PS_LRC_X)
287 #define BM_PXP_OUT_PS_LRC_RSVD0 0x0000C000
288 #define BF_PXP_OUT_PS_LRC_RSVD0(v) \ argument
289 (((v) << 14) & BM_PXP_OUT_PS_LRC_RSVD0)
290 #define BP_PXP_OUT_PS_LRC_Y 0
291 #define BM_PXP_OUT_PS_LRC_Y 0x00003FFF
292 #define BF_PXP_OUT_PS_LRC_Y(v) \ argument
293 (((v) << 0) & BM_PXP_OUT_PS_LRC_Y)
295 #define HW_PXP_OUT_AS_ULC (0x00000090)
298 #define BM_PXP_OUT_AS_ULC_RSVD1 0xC0000000
299 #define BF_PXP_OUT_AS_ULC_RSVD1(v) \ argument
300 (((v) << 30) & BM_PXP_OUT_AS_ULC_RSVD1)
302 #define BM_PXP_OUT_AS_ULC_X 0x3FFF0000
303 #define BF_PXP_OUT_AS_ULC_X(v) \ argument
304 (((v) << 16) & BM_PXP_OUT_AS_ULC_X)
306 #define BM_PXP_OUT_AS_ULC_RSVD0 0x0000C000
307 #define BF_PXP_OUT_AS_ULC_RSVD0(v) \ argument
308 (((v) << 14) & BM_PXP_OUT_AS_ULC_RSVD0)
309 #define BP_PXP_OUT_AS_ULC_Y 0
310 #define BM_PXP_OUT_AS_ULC_Y 0x00003FFF
311 #define BF_PXP_OUT_AS_ULC_Y(v) \ argument
312 (((v) << 0) & BM_PXP_OUT_AS_ULC_Y)
314 #define HW_PXP_OUT_AS_LRC (0x000000a0)
317 #define BM_PXP_OUT_AS_LRC_RSVD1 0xC0000000
318 #define BF_PXP_OUT_AS_LRC_RSVD1(v) \ argument
319 (((v) << 30) & BM_PXP_OUT_AS_LRC_RSVD1)
321 #define BM_PXP_OUT_AS_LRC_X 0x3FFF0000
322 #define BF_PXP_OUT_AS_LRC_X(v) \ argument
323 (((v) << 16) & BM_PXP_OUT_AS_LRC_X)
325 #define BM_PXP_OUT_AS_LRC_RSVD0 0x0000C000
326 #define BF_PXP_OUT_AS_LRC_RSVD0(v) \ argument
327 (((v) << 14) & BM_PXP_OUT_AS_LRC_RSVD0)
328 #define BP_PXP_OUT_AS_LRC_Y 0
329 #define BM_PXP_OUT_AS_LRC_Y 0x00003FFF
330 #define BF_PXP_OUT_AS_LRC_Y(v) \ argument
331 (((v) << 0) & BM_PXP_OUT_AS_LRC_Y)
333 #define HW_PXP_PS_CTRL (0x000000b0)
334 #define HW_PXP_PS_CTRL_SET (0x000000b4)
335 #define HW_PXP_PS_CTRL_CLR (0x000000b8)
336 #define HW_PXP_PS_CTRL_TOG (0x000000bc)
339 #define BM_PXP_PS_CTRL_RSVD1 0xFFFFF000
340 #define BF_PXP_PS_CTRL_RSVD1(v) \ argument
341 (((v) << 12) & BM_PXP_PS_CTRL_RSVD1)
343 #define BM_PXP_PS_CTRL_DECX 0x00000C00
344 #define BF_PXP_PS_CTRL_DECX(v) \ argument
345 (((v) << 10) & BM_PXP_PS_CTRL_DECX)
346 #define BV_PXP_PS_CTRL_DECX__DISABLE 0x0
347 #define BV_PXP_PS_CTRL_DECX__DECX2 0x1
348 #define BV_PXP_PS_CTRL_DECX__DECX4 0x2
349 #define BV_PXP_PS_CTRL_DECX__DECX8 0x3
351 #define BM_PXP_PS_CTRL_DECY 0x00000300
352 #define BF_PXP_PS_CTRL_DECY(v) \ argument
353 (((v) << 8) & BM_PXP_PS_CTRL_DECY)
354 #define BV_PXP_PS_CTRL_DECY__DISABLE 0x0
355 #define BV_PXP_PS_CTRL_DECY__DECY2 0x1
356 #define BV_PXP_PS_CTRL_DECY__DECY4 0x2
357 #define BV_PXP_PS_CTRL_DECY__DECY8 0x3
358 #define BM_PXP_PS_CTRL_RSVD0 0x00000080
359 #define BF_PXP_PS_CTRL_RSVD0(v) \ argument
360 (((v) << 7) & BM_PXP_PS_CTRL_RSVD0)
361 #define BM_PXP_PS_CTRL_WB_SWAP 0x00000040
362 #define BF_PXP_PS_CTRL_WB_SWAP(v) \ argument
363 (((v) << 6) & BM_PXP_PS_CTRL_WB_SWAP)
364 #define BP_PXP_PS_CTRL_FORMAT 0
365 #define BM_PXP_PS_CTRL_FORMAT 0x0000003F
366 #define BF_PXP_PS_CTRL_FORMAT(v) \ argument
367 (((v) << 0) & BM_PXP_PS_CTRL_FORMAT)
368 #define BV_PXP_PS_CTRL_FORMAT__RGB888 0x4
369 #define BV_PXP_PS_CTRL_FORMAT__RGB555 0xC
370 #define BV_PXP_PS_CTRL_FORMAT__RGB444 0xD
371 #define BV_PXP_PS_CTRL_FORMAT__RGB565 0xE
372 #define BV_PXP_PS_CTRL_FORMAT__YUV1P444 0x10
373 #define BV_PXP_PS_CTRL_FORMAT__UYVY1P422 0x12
374 #define BV_PXP_PS_CTRL_FORMAT__VYUY1P422 0x13
375 #define BV_PXP_PS_CTRL_FORMAT__Y8 0x14
376 #define BV_PXP_PS_CTRL_FORMAT__Y4 0x15
377 #define BV_PXP_PS_CTRL_FORMAT__YUV2P422 0x18
378 #define BV_PXP_PS_CTRL_FORMAT__YUV2P420 0x19
379 #define BV_PXP_PS_CTRL_FORMAT__YVU2P422 0x1A
380 #define BV_PXP_PS_CTRL_FORMAT__YVU2P420 0x1B
381 #define BV_PXP_PS_CTRL_FORMAT__YUV422 0x1E
382 #define BV_PXP_PS_CTRL_FORMAT__YUV420 0x1F
384 #define HW_PXP_PS_BUF (0x000000c0)
386 #define BP_PXP_PS_BUF_ADDR 0
387 #define BM_PXP_PS_BUF_ADDR 0xFFFFFFFF
388 #define BF_PXP_PS_BUF_ADDR(v) (v) argument
390 #define HW_PXP_PS_UBUF (0x000000d0)
392 #define BP_PXP_PS_UBUF_ADDR 0
393 #define BM_PXP_PS_UBUF_ADDR 0xFFFFFFFF
394 #define BF_PXP_PS_UBUF_ADDR(v) (v) argument
396 #define HW_PXP_PS_VBUF (0x000000e0)
398 #define BP_PXP_PS_VBUF_ADDR 0
399 #define BM_PXP_PS_VBUF_ADDR 0xFFFFFFFF
400 #define BF_PXP_PS_VBUF_ADDR(v) (v) argument
402 #define HW_PXP_PS_PITCH (0x000000f0)
405 #define BM_PXP_PS_PITCH_RSVD 0xFFFF0000
406 #define BF_PXP_PS_PITCH_RSVD(v) \ argument
407 (((v) << 16) & BM_PXP_PS_PITCH_RSVD)
408 #define BP_PXP_PS_PITCH_PITCH 0
409 #define BM_PXP_PS_PITCH_PITCH 0x0000FFFF
410 #define BF_PXP_PS_PITCH_PITCH(v) \ argument
411 (((v) << 0) & BM_PXP_PS_PITCH_PITCH)
413 #define HW_PXP_PS_BACKGROUND_0 (0x00000100)
416 #define BM_PXP_PS_BACKGROUND_0_RSVD 0xFF000000
417 #define BF_PXP_PS_BACKGROUND_0_RSVD(v) \ argument
418 (((v) << 24) & BM_PXP_PS_BACKGROUND_0_RSVD)
419 #define BP_PXP_PS_BACKGROUND_0_COLOR 0
420 #define BM_PXP_PS_BACKGROUND_0_COLOR 0x00FFFFFF
421 #define BF_PXP_PS_BACKGROUND_0_COLOR(v) \ argument
422 (((v) << 0) & BM_PXP_PS_BACKGROUND_0_COLOR)
424 #define HW_PXP_PS_SCALE (0x00000110)
426 #define BM_PXP_PS_SCALE_RSVD2 0x80000000
427 #define BF_PXP_PS_SCALE_RSVD2(v) \ argument
428 (((v) << 31) & BM_PXP_PS_SCALE_RSVD2)
430 #define BM_PXP_PS_SCALE_YSCALE 0x7FFF0000
431 #define BF_PXP_PS_SCALE_YSCALE(v) \ argument
432 (((v) << 16) & BM_PXP_PS_SCALE_YSCALE)
433 #define BM_PXP_PS_SCALE_RSVD1 0x00008000
434 #define BF_PXP_PS_SCALE_RSVD1(v) \ argument
435 (((v) << 15) & BM_PXP_PS_SCALE_RSVD1)
436 #define BP_PXP_PS_SCALE_XSCALE 0
437 #define BM_PXP_PS_SCALE_XSCALE 0x00007FFF
438 #define BF_PXP_PS_SCALE_XSCALE(v) \ argument
439 (((v) << 0) & BM_PXP_PS_SCALE_XSCALE)
441 #define HW_PXP_PS_OFFSET (0x00000120)
444 #define BM_PXP_PS_OFFSET_RSVD2 0xF0000000
445 #define BF_PXP_PS_OFFSET_RSVD2(v) \ argument
446 (((v) << 28) & BM_PXP_PS_OFFSET_RSVD2)
448 #define BM_PXP_PS_OFFSET_YOFFSET 0x0FFF0000
449 #define BF_PXP_PS_OFFSET_YOFFSET(v) \ argument
450 (((v) << 16) & BM_PXP_PS_OFFSET_YOFFSET)
452 #define BM_PXP_PS_OFFSET_RSVD1 0x0000F000
453 #define BF_PXP_PS_OFFSET_RSVD1(v) \ argument
454 (((v) << 12) & BM_PXP_PS_OFFSET_RSVD1)
455 #define BP_PXP_PS_OFFSET_XOFFSET 0
456 #define BM_PXP_PS_OFFSET_XOFFSET 0x00000FFF
457 #define BF_PXP_PS_OFFSET_XOFFSET(v) \ argument
458 (((v) << 0) & BM_PXP_PS_OFFSET_XOFFSET)
460 #define HW_PXP_PS_CLRKEYLOW_0 (0x00000130)
463 #define BM_PXP_PS_CLRKEYLOW_0_RSVD1 0xFF000000
464 #define BF_PXP_PS_CLRKEYLOW_0_RSVD1(v) \ argument
465 (((v) << 24) & BM_PXP_PS_CLRKEYLOW_0_RSVD1)
466 #define BP_PXP_PS_CLRKEYLOW_0_PIXEL 0
467 #define BM_PXP_PS_CLRKEYLOW_0_PIXEL 0x00FFFFFF
468 #define BF_PXP_PS_CLRKEYLOW_0_PIXEL(v) \ argument
469 (((v) << 0) & BM_PXP_PS_CLRKEYLOW_0_PIXEL)
471 #define HW_PXP_PS_CLRKEYHIGH_0 (0x00000140)
474 #define BM_PXP_PS_CLRKEYHIGH_0_RSVD1 0xFF000000
475 #define BF_PXP_PS_CLRKEYHIGH_0_RSVD1(v) \ argument
476 (((v) << 24) & BM_PXP_PS_CLRKEYHIGH_0_RSVD1)
477 #define BP_PXP_PS_CLRKEYHIGH_0_PIXEL 0
478 #define BM_PXP_PS_CLRKEYHIGH_0_PIXEL 0x00FFFFFF
479 #define BF_PXP_PS_CLRKEYHIGH_0_PIXEL(v) \ argument
480 (((v) << 0) & BM_PXP_PS_CLRKEYHIGH_0_PIXEL)
482 #define HW_PXP_AS_CTRL (0x00000150)
485 #define BM_PXP_AS_CTRL_RSVD1 0xFFC00000
486 #define BF_PXP_AS_CTRL_RSVD1(v) \ argument
487 (((v) << 22) & BM_PXP_AS_CTRL_RSVD1)
488 #define BM_PXP_AS_CTRL_ALPHA1_INVERT 0x00200000
489 #define BF_PXP_AS_CTRL_ALPHA1_INVERT(v) \ argument
490 (((v) << 21) & BM_PXP_AS_CTRL_ALPHA1_INVERT)
491 #define BM_PXP_AS_CTRL_ALPHA0_INVERT 0x00100000
492 #define BF_PXP_AS_CTRL_ALPHA0_INVERT(v) \ argument
493 (((v) << 20) & BM_PXP_AS_CTRL_ALPHA0_INVERT)
495 #define BM_PXP_AS_CTRL_ROP 0x000F0000
496 #define BF_PXP_AS_CTRL_ROP(v) \ argument
497 (((v) << 16) & BM_PXP_AS_CTRL_ROP)
498 #define BV_PXP_AS_CTRL_ROP__MASKAS 0x0
499 #define BV_PXP_AS_CTRL_ROP__MASKNOTAS 0x1
500 #define BV_PXP_AS_CTRL_ROP__MASKASNOT 0x2
501 #define BV_PXP_AS_CTRL_ROP__MERGEAS 0x3
502 #define BV_PXP_AS_CTRL_ROP__MERGENOTAS 0x4
503 #define BV_PXP_AS_CTRL_ROP__MERGEASNOT 0x5
504 #define BV_PXP_AS_CTRL_ROP__NOTCOPYAS 0x6
505 #define BV_PXP_AS_CTRL_ROP__NOT 0x7
506 #define BV_PXP_AS_CTRL_ROP__NOTMASKAS 0x8
507 #define BV_PXP_AS_CTRL_ROP__NOTMERGEAS 0x9
508 #define BV_PXP_AS_CTRL_ROP__XORAS 0xA
509 #define BV_PXP_AS_CTRL_ROP__NOTXORAS 0xB
511 #define BM_PXP_AS_CTRL_ALPHA 0x0000FF00
512 #define BF_PXP_AS_CTRL_ALPHA(v) \ argument
513 (((v) << 8) & BM_PXP_AS_CTRL_ALPHA)
515 #define BM_PXP_AS_CTRL_FORMAT 0x000000F0
516 #define BF_PXP_AS_CTRL_FORMAT(v) \ argument
517 (((v) << 4) & BM_PXP_AS_CTRL_FORMAT)
518 #define BV_PXP_AS_CTRL_FORMAT__ARGB8888 0x0
519 #define BV_PXP_AS_CTRL_FORMAT__RGBA8888 0x1
520 #define BV_PXP_AS_CTRL_FORMAT__RGB888 0x4
521 #define BV_PXP_AS_CTRL_FORMAT__ARGB1555 0x8
522 #define BV_PXP_AS_CTRL_FORMAT__ARGB4444 0x9
523 #define BV_PXP_AS_CTRL_FORMAT__RGB555 0xC
524 #define BV_PXP_AS_CTRL_FORMAT__RGB444 0xD
525 #define BV_PXP_AS_CTRL_FORMAT__RGB565 0xE
526 #define BM_PXP_AS_CTRL_ENABLE_COLORKEY 0x00000008
527 #define BF_PXP_AS_CTRL_ENABLE_COLORKEY(v) \ argument
528 (((v) << 3) & BM_PXP_AS_CTRL_ENABLE_COLORKEY)
530 #define BM_PXP_AS_CTRL_ALPHA_CTRL 0x00000006
531 #define BF_PXP_AS_CTRL_ALPHA_CTRL(v) \ argument
532 (((v) << 1) & BM_PXP_AS_CTRL_ALPHA_CTRL)
533 #define BV_PXP_AS_CTRL_ALPHA_CTRL__Embedded 0x0
534 #define BV_PXP_AS_CTRL_ALPHA_CTRL__Override 0x1
535 #define BV_PXP_AS_CTRL_ALPHA_CTRL__Multiply 0x2
536 #define BV_PXP_AS_CTRL_ALPHA_CTRL__ROPs 0x3
537 #define BM_PXP_AS_CTRL_RSVD0 0x00000001
538 #define BF_PXP_AS_CTRL_RSVD0(v) \ argument
539 (((v) << 0) & BM_PXP_AS_CTRL_RSVD0)
541 #define HW_PXP_AS_BUF (0x00000160)
543 #define BP_PXP_AS_BUF_ADDR 0
544 #define BM_PXP_AS_BUF_ADDR 0xFFFFFFFF
545 #define BF_PXP_AS_BUF_ADDR(v) (v) argument
547 #define HW_PXP_AS_PITCH (0x00000170)
550 #define BM_PXP_AS_PITCH_RSVD 0xFFFF0000
551 #define BF_PXP_AS_PITCH_RSVD(v) \ argument
552 (((v) << 16) & BM_PXP_AS_PITCH_RSVD)
553 #define BP_PXP_AS_PITCH_PITCH 0
554 #define BM_PXP_AS_PITCH_PITCH 0x0000FFFF
555 #define BF_PXP_AS_PITCH_PITCH(v) \ argument
556 (((v) << 0) & BM_PXP_AS_PITCH_PITCH)
558 #define HW_PXP_AS_CLRKEYLOW_0 (0x00000180)
561 #define BM_PXP_AS_CLRKEYLOW_0_RSVD1 0xFF000000
562 #define BF_PXP_AS_CLRKEYLOW_0_RSVD1(v) \ argument
563 (((v) << 24) & BM_PXP_AS_CLRKEYLOW_0_RSVD1)
564 #define BP_PXP_AS_CLRKEYLOW_0_PIXEL 0
565 #define BM_PXP_AS_CLRKEYLOW_0_PIXEL 0x00FFFFFF
566 #define BF_PXP_AS_CLRKEYLOW_0_PIXEL(v) \ argument
567 (((v) << 0) & BM_PXP_AS_CLRKEYLOW_0_PIXEL)
569 #define HW_PXP_AS_CLRKEYHIGH_0 (0x00000190)
572 #define BM_PXP_AS_CLRKEYHIGH_0_RSVD1 0xFF000000
573 #define BF_PXP_AS_CLRKEYHIGH_0_RSVD1(v) \ argument
574 (((v) << 24) & BM_PXP_AS_CLRKEYHIGH_0_RSVD1)
575 #define BP_PXP_AS_CLRKEYHIGH_0_PIXEL 0
576 #define BM_PXP_AS_CLRKEYHIGH_0_PIXEL 0x00FFFFFF
577 #define BF_PXP_AS_CLRKEYHIGH_0_PIXEL(v) \ argument
578 (((v) << 0) & BM_PXP_AS_CLRKEYHIGH_0_PIXEL)
580 #define HW_PXP_CSC1_COEF0 (0x000001a0)
582 #define BM_PXP_CSC1_COEF0_YCBCR_MODE 0x80000000
583 #define BF_PXP_CSC1_COEF0_YCBCR_MODE(v) \ argument
584 (((v) << 31) & BM_PXP_CSC1_COEF0_YCBCR_MODE)
585 #define BM_PXP_CSC1_COEF0_BYPASS 0x40000000
586 #define BF_PXP_CSC1_COEF0_BYPASS(v) \ argument
587 (((v) << 30) & BM_PXP_CSC1_COEF0_BYPASS)
588 #define BM_PXP_CSC1_COEF0_RSVD1 0x20000000
589 #define BF_PXP_CSC1_COEF0_RSVD1(v) \ argument
590 (((v) << 29) & BM_PXP_CSC1_COEF0_RSVD1)
592 #define BM_PXP_CSC1_COEF0_C0 0x1FFC0000
593 #define BF_PXP_CSC1_COEF0_C0(v) \ argument
594 (((v) << 18) & BM_PXP_CSC1_COEF0_C0)
596 #define BM_PXP_CSC1_COEF0_UV_OFFSET 0x0003FE00
599 * We use v * (1 << 9) instead of v << 9, to workaround a gcc5 bug.
602 #define BF_PXP_CSC1_COEF0_UV_OFFSET(v) \ argument
603 (((v) * (1 << 9)) & BM_PXP_CSC1_COEF0_UV_OFFSET)
604 #define BP_PXP_CSC1_COEF0_Y_OFFSET 0
605 #define BM_PXP_CSC1_COEF0_Y_OFFSET 0x000001FF
606 #define BF_PXP_CSC1_COEF0_Y_OFFSET(v) \ argument
607 ((v) & BM_PXP_CSC1_COEF0_Y_OFFSET)
609 #define HW_PXP_CSC1_COEF1 (0x000001b0)
612 #define BM_PXP_CSC1_COEF1_RSVD1 0xF8000000
613 #define BF_PXP_CSC1_COEF1_RSVD1(v) \ argument
614 (((v) << 27) & BM_PXP_CSC1_COEF1_RSVD1)
616 #define BM_PXP_CSC1_COEF1_C1 0x07FF0000
617 #define BF_PXP_CSC1_COEF1_C1(v) \ argument
618 (((v) << 16) & BM_PXP_CSC1_COEF1_C1)
620 #define BM_PXP_CSC1_COEF1_RSVD0 0x0000F800
621 #define BF_PXP_CSC1_COEF1_RSVD0(v) \ argument
622 (((v) << 11) & BM_PXP_CSC1_COEF1_RSVD0)
623 #define BP_PXP_CSC1_COEF1_C4 0
624 #define BM_PXP_CSC1_COEF1_C4 0x000007FF
625 #define BF_PXP_CSC1_COEF1_C4(v) \ argument
626 (((v) << 0) & BM_PXP_CSC1_COEF1_C4)
628 #define HW_PXP_CSC1_COEF2 (0x000001c0)
631 #define BM_PXP_CSC1_COEF2_RSVD1 0xF8000000
632 #define BF_PXP_CSC1_COEF2_RSVD1(v) \ argument
633 (((v) << 27) & BM_PXP_CSC1_COEF2_RSVD1)
635 #define BM_PXP_CSC1_COEF2_C2 0x07FF0000
636 #define BF_PXP_CSC1_COEF2_C2(v) \ argument
637 (((v) << 16) & BM_PXP_CSC1_COEF2_C2)
639 #define BM_PXP_CSC1_COEF2_RSVD0 0x0000F800
640 #define BF_PXP_CSC1_COEF2_RSVD0(v) \ argument
641 (((v) << 11) & BM_PXP_CSC1_COEF2_RSVD0)
642 #define BP_PXP_CSC1_COEF2_C3 0
643 #define BM_PXP_CSC1_COEF2_C3 0x000007FF
644 #define BF_PXP_CSC1_COEF2_C3(v) \ argument
645 (((v) << 0) & BM_PXP_CSC1_COEF2_C3)
647 #define HW_PXP_CSC2_CTRL (0x000001d0)
650 #define BM_PXP_CSC2_CTRL_RSVD 0xFFFFFFF8
651 #define BF_PXP_CSC2_CTRL_RSVD(v) \ argument
652 (((v) << 3) & BM_PXP_CSC2_CTRL_RSVD)
654 #define BM_PXP_CSC2_CTRL_CSC_MODE 0x00000006
655 #define BF_PXP_CSC2_CTRL_CSC_MODE(v) \ argument
656 (((v) << 1) & BM_PXP_CSC2_CTRL_CSC_MODE)
657 #define BV_PXP_CSC2_CTRL_CSC_MODE__YUV2RGB 0x0
658 #define BV_PXP_CSC2_CTRL_CSC_MODE__YCbCr2RGB 0x1
659 #define BV_PXP_CSC2_CTRL_CSC_MODE__RGB2YUV 0x2
660 #define BV_PXP_CSC2_CTRL_CSC_MODE__RGB2YCbCr 0x3
661 #define BM_PXP_CSC2_CTRL_BYPASS 0x00000001
662 #define BF_PXP_CSC2_CTRL_BYPASS(v) \ argument
663 (((v) << 0) & BM_PXP_CSC2_CTRL_BYPASS)
665 #define HW_PXP_CSC2_COEF0 (0x000001e0)
668 #define BM_PXP_CSC2_COEF0_RSVD1 0xF8000000
669 #define BF_PXP_CSC2_COEF0_RSVD1(v) \ argument
670 (((v) << 27) & BM_PXP_CSC2_COEF0_RSVD1)
672 #define BM_PXP_CSC2_COEF0_A2 0x07FF0000
673 #define BF_PXP_CSC2_COEF0_A2(v) \ argument
674 (((v) << 16) & BM_PXP_CSC2_COEF0_A2)
676 #define BM_PXP_CSC2_COEF0_RSVD0 0x0000F800
677 #define BF_PXP_CSC2_COEF0_RSVD0(v) \ argument
678 (((v) << 11) & BM_PXP_CSC2_COEF0_RSVD0)
679 #define BP_PXP_CSC2_COEF0_A1 0
680 #define BM_PXP_CSC2_COEF0_A1 0x000007FF
681 #define BF_PXP_CSC2_COEF0_A1(v) \ argument
682 (((v) << 0) & BM_PXP_CSC2_COEF0_A1)
684 #define HW_PXP_CSC2_COEF1 (0x000001f0)
687 #define BM_PXP_CSC2_COEF1_RSVD1 0xF8000000
688 #define BF_PXP_CSC2_COEF1_RSVD1(v) \ argument
689 (((v) << 27) & BM_PXP_CSC2_COEF1_RSVD1)
691 #define BM_PXP_CSC2_COEF1_B1 0x07FF0000
692 #define BF_PXP_CSC2_COEF1_B1(v) \ argument
693 (((v) << 16) & BM_PXP_CSC2_COEF1_B1)
695 #define BM_PXP_CSC2_COEF1_RSVD0 0x0000F800
696 #define BF_PXP_CSC2_COEF1_RSVD0(v) \ argument
697 (((v) << 11) & BM_PXP_CSC2_COEF1_RSVD0)
698 #define BP_PXP_CSC2_COEF1_A3 0
699 #define BM_PXP_CSC2_COEF1_A3 0x000007FF
700 #define BF_PXP_CSC2_COEF1_A3(v) \ argument
701 (((v) << 0) & BM_PXP_CSC2_COEF1_A3)
703 #define HW_PXP_CSC2_COEF2 (0x00000200)
706 #define BM_PXP_CSC2_COEF2_RSVD1 0xF8000000
707 #define BF_PXP_CSC2_COEF2_RSVD1(v) \ argument
708 (((v) << 27) & BM_PXP_CSC2_COEF2_RSVD1)
710 #define BM_PXP_CSC2_COEF2_B3 0x07FF0000
711 #define BF_PXP_CSC2_COEF2_B3(v) \ argument
712 (((v) << 16) & BM_PXP_CSC2_COEF2_B3)
714 #define BM_PXP_CSC2_COEF2_RSVD0 0x0000F800
715 #define BF_PXP_CSC2_COEF2_RSVD0(v) \ argument
716 (((v) << 11) & BM_PXP_CSC2_COEF2_RSVD0)
717 #define BP_PXP_CSC2_COEF2_B2 0
718 #define BM_PXP_CSC2_COEF2_B2 0x000007FF
719 #define BF_PXP_CSC2_COEF2_B2(v) \ argument
720 (((v) << 0) & BM_PXP_CSC2_COEF2_B2)
722 #define HW_PXP_CSC2_COEF3 (0x00000210)
725 #define BM_PXP_CSC2_COEF3_RSVD1 0xF8000000
726 #define BF_PXP_CSC2_COEF3_RSVD1(v) \ argument
727 (((v) << 27) & BM_PXP_CSC2_COEF3_RSVD1)
729 #define BM_PXP_CSC2_COEF3_C2 0x07FF0000
730 #define BF_PXP_CSC2_COEF3_C2(v) \ argument
731 (((v) << 16) & BM_PXP_CSC2_COEF3_C2)
733 #define BM_PXP_CSC2_COEF3_RSVD0 0x0000F800
734 #define BF_PXP_CSC2_COEF3_RSVD0(v) \ argument
735 (((v) << 11) & BM_PXP_CSC2_COEF3_RSVD0)
736 #define BP_PXP_CSC2_COEF3_C1 0
737 #define BM_PXP_CSC2_COEF3_C1 0x000007FF
738 #define BF_PXP_CSC2_COEF3_C1(v) \ argument
739 (((v) << 0) & BM_PXP_CSC2_COEF3_C1)
741 #define HW_PXP_CSC2_COEF4 (0x00000220)
744 #define BM_PXP_CSC2_COEF4_RSVD1 0xFE000000
745 #define BF_PXP_CSC2_COEF4_RSVD1(v) \ argument
746 (((v) << 25) & BM_PXP_CSC2_COEF4_RSVD1)
748 #define BM_PXP_CSC2_COEF4_D1 0x01FF0000
749 #define BF_PXP_CSC2_COEF4_D1(v) \ argument
750 (((v) << 16) & BM_PXP_CSC2_COEF4_D1)
752 #define BM_PXP_CSC2_COEF4_RSVD0 0x0000F800
753 #define BF_PXP_CSC2_COEF4_RSVD0(v) \ argument
754 (((v) << 11) & BM_PXP_CSC2_COEF4_RSVD0)
755 #define BP_PXP_CSC2_COEF4_C3 0
756 #define BM_PXP_CSC2_COEF4_C3 0x000007FF
757 #define BF_PXP_CSC2_COEF4_C3(v) \ argument
758 (((v) << 0) & BM_PXP_CSC2_COEF4_C3)
760 #define HW_PXP_CSC2_COEF5 (0x00000230)
763 #define BM_PXP_CSC2_COEF5_RSVD1 0xFE000000
764 #define BF_PXP_CSC2_COEF5_RSVD1(v) \ argument
765 (((v) << 25) & BM_PXP_CSC2_COEF5_RSVD1)
767 #define BM_PXP_CSC2_COEF5_D3 0x01FF0000
768 #define BF_PXP_CSC2_COEF5_D3(v) \ argument
769 (((v) << 16) & BM_PXP_CSC2_COEF5_D3)
771 #define BM_PXP_CSC2_COEF5_RSVD0 0x0000FE00
772 #define BF_PXP_CSC2_COEF5_RSVD0(v) \ argument
773 (((v) << 9) & BM_PXP_CSC2_COEF5_RSVD0)
774 #define BP_PXP_CSC2_COEF5_D2 0
775 #define BM_PXP_CSC2_COEF5_D2 0x000001FF
776 #define BF_PXP_CSC2_COEF5_D2(v) \ argument
777 (((v) << 0) & BM_PXP_CSC2_COEF5_D2)
779 #define HW_PXP_LUT_CTRL (0x00000240)
781 #define BM_PXP_LUT_CTRL_BYPASS 0x80000000
782 #define BF_PXP_LUT_CTRL_BYPASS(v) \ argument
783 (((v) << 31) & BM_PXP_LUT_CTRL_BYPASS)
785 #define BM_PXP_LUT_CTRL_RSVD3 0x7C000000
786 #define BF_PXP_LUT_CTRL_RSVD3(v) \ argument
787 (((v) << 26) & BM_PXP_LUT_CTRL_RSVD3)
789 #define BM_PXP_LUT_CTRL_LOOKUP_MODE 0x03000000
790 #define BF_PXP_LUT_CTRL_LOOKUP_MODE(v) \ argument
791 (((v) << 24) & BM_PXP_LUT_CTRL_LOOKUP_MODE)
792 #define BV_PXP_LUT_CTRL_LOOKUP_MODE__CACHE_RGB565 0x0
793 #define BV_PXP_LUT_CTRL_LOOKUP_MODE__DIRECT_Y8 0x1
794 #define BV_PXP_LUT_CTRL_LOOKUP_MODE__DIRECT_RGB444 0x2
795 #define BV_PXP_LUT_CTRL_LOOKUP_MODE__DIRECT_RGB454 0x3
797 #define BM_PXP_LUT_CTRL_RSVD2 0x00FC0000
798 #define BF_PXP_LUT_CTRL_RSVD2(v) \ argument
799 (((v) << 18) & BM_PXP_LUT_CTRL_RSVD2)
801 #define BM_PXP_LUT_CTRL_OUT_MODE 0x00030000
802 #define BF_PXP_LUT_CTRL_OUT_MODE(v) \ argument
803 (((v) << 16) & BM_PXP_LUT_CTRL_OUT_MODE)
804 #define BV_PXP_LUT_CTRL_OUT_MODE__RESERVED 0x0
805 #define BV_PXP_LUT_CTRL_OUT_MODE__Y8 0x1
806 #define BV_PXP_LUT_CTRL_OUT_MODE__RGBW4444CFA 0x2
807 #define BV_PXP_LUT_CTRL_OUT_MODE__RGB888 0x3
809 #define BM_PXP_LUT_CTRL_RSVD1 0x0000F800
810 #define BF_PXP_LUT_CTRL_RSVD1(v) \ argument
811 (((v) << 11) & BM_PXP_LUT_CTRL_RSVD1)
812 #define BM_PXP_LUT_CTRL_SEL_8KB 0x00000400
813 #define BF_PXP_LUT_CTRL_SEL_8KB(v) \ argument
814 (((v) << 10) & BM_PXP_LUT_CTRL_SEL_8KB)
815 #define BM_PXP_LUT_CTRL_LRU_UPD 0x00000200
816 #define BF_PXP_LUT_CTRL_LRU_UPD(v) \ argument
817 (((v) << 9) & BM_PXP_LUT_CTRL_LRU_UPD)
818 #define BM_PXP_LUT_CTRL_INVALID 0x00000100
819 #define BF_PXP_LUT_CTRL_INVALID(v) \ argument
820 (((v) << 8) & BM_PXP_LUT_CTRL_INVALID)
822 #define BM_PXP_LUT_CTRL_RSVD0 0x000000FE
823 #define BF_PXP_LUT_CTRL_RSVD0(v) \ argument
824 (((v) << 1) & BM_PXP_LUT_CTRL_RSVD0)
825 #define BM_PXP_LUT_CTRL_DMA_START 0x00000001
826 #define BF_PXP_LUT_CTRL_DMA_START(v) \ argument
827 (((v) << 0) & BM_PXP_LUT_CTRL_DMA_START)
829 #define HW_PXP_LUT_ADDR (0x00000250)
831 #define BM_PXP_LUT_ADDR_RSVD2 0x80000000
832 #define BF_PXP_LUT_ADDR_RSVD2(v) \ argument
833 (((v) << 31) & BM_PXP_LUT_ADDR_RSVD2)
835 #define BM_PXP_LUT_ADDR_NUM_BYTES 0x7FFF0000
836 #define BF_PXP_LUT_ADDR_NUM_BYTES(v) \ argument
837 (((v) << 16) & BM_PXP_LUT_ADDR_NUM_BYTES)
839 #define BM_PXP_LUT_ADDR_RSVD1 0x0000C000
840 #define BF_PXP_LUT_ADDR_RSVD1(v) \ argument
841 (((v) << 14) & BM_PXP_LUT_ADDR_RSVD1)
842 #define BP_PXP_LUT_ADDR_ADDR 0
843 #define BM_PXP_LUT_ADDR_ADDR 0x00003FFF
844 #define BF_PXP_LUT_ADDR_ADDR(v) \ argument
845 (((v) << 0) & BM_PXP_LUT_ADDR_ADDR)
847 #define HW_PXP_LUT_DATA (0x00000260)
849 #define BP_PXP_LUT_DATA_DATA 0
850 #define BM_PXP_LUT_DATA_DATA 0xFFFFFFFF
851 #define BF_PXP_LUT_DATA_DATA(v) (v) argument
853 #define HW_PXP_LUT_EXTMEM (0x00000270)
855 #define BP_PXP_LUT_EXTMEM_ADDR 0
856 #define BM_PXP_LUT_EXTMEM_ADDR 0xFFFFFFFF
857 #define BF_PXP_LUT_EXTMEM_ADDR(v) (v) argument
859 #define HW_PXP_CFA (0x00000280)
861 #define BP_PXP_CFA_DATA 0
862 #define BM_PXP_CFA_DATA 0xFFFFFFFF
863 #define BF_PXP_CFA_DATA(v) (v) argument
865 #define HW_PXP_ALPHA_A_CTRL (0x00000290)
868 #define BM_PXP_ALPHA_A_CTRL_S1_GLOBAL_ALPHA 0xFF000000
869 #define BF_PXP_ALPHA_A_CTRL_S1_GLOBAL_ALPHA(v) \ argument
870 (((v) << 24) & BM_PXP_ALPHA_A_CTRL_S1_GLOBAL_ALPHA)
872 #define BM_PXP_ALPHA_A_CTRL_S0_GLOBAL_ALPHA 0x00FF0000
873 #define BF_PXP_ALPHA_A_CTRL_S0_GLOBAL_ALPHA(v) \ argument
874 (((v) << 16) & BM_PXP_ALPHA_A_CTRL_S0_GLOBAL_ALPHA)
876 #define BM_PXP_ALPHA_A_CTRL_RSVD0 0x0000C000
877 #define BF_PXP_ALPHA_A_CTRL_RSVD0(v) \ argument
878 (((v) << 14) & BM_PXP_ALPHA_A_CTRL_RSVD0)
879 #define BM_PXP_ALPHA_A_CTRL_S1_COLOR_MODE 0x00002000
880 #define BF_PXP_ALPHA_A_CTRL_S1_COLOR_MODE(v) \ argument
881 (((v) << 13) & BM_PXP_ALPHA_A_CTRL_S1_COLOR_MODE)
882 #define BV_PXP_ALPHA_A_CTRL_S1_COLOR_MODE__0 0x0
883 #define BV_PXP_ALPHA_A_CTRL_S1_COLOR_MODE__1 0x1
884 #define BM_PXP_ALPHA_A_CTRL_S1_ALPHA_MODE 0x00001000
885 #define BF_PXP_ALPHA_A_CTRL_S1_ALPHA_MODE(v) \ argument
886 (((v) << 12) & BM_PXP_ALPHA_A_CTRL_S1_ALPHA_MODE)
887 #define BV_PXP_ALPHA_A_CTRL_S1_ALPHA_MODE__0 0x0
888 #define BV_PXP_ALPHA_A_CTRL_S1_ALPHA_MODE__1 0x1
890 #define BM_PXP_ALPHA_A_CTRL_S1_GLOBAL_ALPHA_MODE 0x00000C00
891 #define BF_PXP_ALPHA_A_CTRL_S1_GLOBAL_ALPHA_MODE(v) \ argument
892 (((v) << 10) & BM_PXP_ALPHA_A_CTRL_S1_GLOBAL_ALPHA_MODE)
893 #define BV_PXP_ALPHA_A_CTRL_S1_GLOBAL_ALPHA_MODE__0 0x0
894 #define BV_PXP_ALPHA_A_CTRL_S1_GLOBAL_ALPHA_MODE__1 0x0
895 #define BV_PXP_ALPHA_A_CTRL_S1_GLOBAL_ALPHA_MODE__2 0x0
896 #define BV_PXP_ALPHA_A_CTRL_S1_GLOBAL_ALPHA_MODE__3 0x0
898 #define BM_PXP_ALPHA_A_CTRL_S1_S0_FACTOR_MODE 0x00000300
899 #define BF_PXP_ALPHA_A_CTRL_S1_S0_FACTOR_MODE(v) \ argument
900 (((v) << 8) & BM_PXP_ALPHA_A_CTRL_S1_S0_FACTOR_MODE)
901 #define BV_PXP_ALPHA_A_CTRL_S1_S0_FACTOR_MODE__0 0x0
902 #define BV_PXP_ALPHA_A_CTRL_S1_S0_FACTOR_MODE__1 0x1
903 #define BV_PXP_ALPHA_A_CTRL_S1_S0_FACTOR_MODE__2 0x2
904 #define BV_PXP_ALPHA_A_CTRL_S1_S0_FACTOR_MODE__3 0x3
905 #define BM_PXP_ALPHA_A_CTRL_RSVD1 0x00000080
906 #define BF_PXP_ALPHA_A_CTRL_RSVD1(v) \ argument
907 (((v) << 7) & BM_PXP_ALPHA_A_CTRL_RSVD1)
908 #define BM_PXP_ALPHA_A_CTRL_S0_COLOR_MODE 0x00000040
909 #define BF_PXP_ALPHA_A_CTRL_S0_COLOR_MODE(v) \ argument
910 (((v) << 6) & BM_PXP_ALPHA_A_CTRL_S0_COLOR_MODE)
911 #define BV_PXP_ALPHA_A_CTRL_S0_COLOR_MODE__0 0x0
912 #define BV_PXP_ALPHA_A_CTRL_S0_COLOR_MODE__1 0x1
913 #define BM_PXP_ALPHA_A_CTRL_S0_ALPHA_MODE 0x00000020
914 #define BF_PXP_ALPHA_A_CTRL_S0_ALPHA_MODE(v) \ argument
915 (((v) << 5) & BM_PXP_ALPHA_A_CTRL_S0_ALPHA_MODE)
916 #define BV_PXP_ALPHA_A_CTRL_S0_ALPHA_MODE__0 0x0
917 #define BV_PXP_ALPHA_A_CTRL_S0_ALPHA_MODE__1 0x1
919 #define BM_PXP_ALPHA_A_CTRL_S0_GLOBAL_ALPHA_MODE 0x00000018
920 #define BF_PXP_ALPHA_A_CTRL_S0_GLOBAL_ALPHA_MODE(v) \ argument
921 (((v) << 3) & BM_PXP_ALPHA_A_CTRL_S0_GLOBAL_ALPHA_MODE)
922 #define BV_PXP_ALPHA_A_CTRL_S0_GLOBAL_ALPHA_MODE__0 0x0
923 #define BV_PXP_ALPHA_A_CTRL_S0_GLOBAL_ALPHA_MODE__1 0x1
924 #define BV_PXP_ALPHA_A_CTRL_S0_GLOBAL_ALPHA_MODE__2 0x2
925 #define BV_PXP_ALPHA_A_CTRL_S0_GLOBAL_ALPHA_MODE__3 0x3
927 #define BM_PXP_ALPHA_A_CTRL_S0_S1_FACTOR_MODE 0x00000006
928 #define BF_PXP_ALPHA_A_CTRL_S0_S1_FACTOR_MODE(v) \ argument
929 (((v) << 1) & BM_PXP_ALPHA_A_CTRL_S0_S1_FACTOR_MODE)
930 #define BV_PXP_ALPHA_A_CTRL_S0_S1_FACTOR_MODE__0 0x0
931 #define BV_PXP_ALPHA_A_CTRL_S0_S1_FACTOR_MODE__1 0x1
932 #define BV_PXP_ALPHA_A_CTRL_S0_S1_FACTOR_MODE__2 0x2
933 #define BV_PXP_ALPHA_A_CTRL_S0_S1_FACTOR_MODE__3 0x3
934 #define BM_PXP_ALPHA_A_CTRL_POTER_DUFF_ENABLE 0x00000001
935 #define BF_PXP_ALPHA_A_CTRL_POTER_DUFF_ENABLE(v) \ argument
936 (((v) << 0) & BM_PXP_ALPHA_A_CTRL_POTER_DUFF_ENABLE)
937 #define BV_PXP_ALPHA_A_CTRL_POTER_DUFF_ENABLE__0 0x0
938 #define BV_PXP_ALPHA_A_CTRL_POTER_DUFF_ENABLE__1 0x1
940 #define HW_PXP_ALPHA_B_CTRL (0x000002a0)
943 #define BM_PXP_ALPHA_B_CTRL_S1_GLOBAL_ALPHA 0xFF000000
944 #define BF_PXP_ALPHA_B_CTRL_S1_GLOBAL_ALPHA(v) \ argument
945 (((v) << 24) & BM_PXP_ALPHA_B_CTRL_S1_GLOBAL_ALPHA)
947 #define BM_PXP_ALPHA_B_CTRL_S0_GLOBAL_ALPHA 0x00FF0000
948 #define BF_PXP_ALPHA_B_CTRL_S0_GLOBAL_ALPHA(v) \ argument
949 (((v) << 16) & BM_PXP_ALPHA_B_CTRL_S0_GLOBAL_ALPHA)
951 #define BM_PXP_ALPHA_B_CTRL_RSVD0 0x0000C000
952 #define BF_PXP_ALPHA_B_CTRL_RSVD0(v) \ argument
953 (((v) << 14) & BM_PXP_ALPHA_B_CTRL_RSVD0)
954 #define BM_PXP_ALPHA_B_CTRL_S1_COLOR_MODE 0x00002000
955 #define BF_PXP_ALPHA_B_CTRL_S1_COLOR_MODE(v) \ argument
956 (((v) << 13) & BM_PXP_ALPHA_B_CTRL_S1_COLOR_MODE)
957 #define BV_PXP_ALPHA_B_CTRL_S1_COLOR_MODE__0 0x0
958 #define BV_PXP_ALPHA_B_CTRL_S1_COLOR_MODE__1 0x1
959 #define BM_PXP_ALPHA_B_CTRL_S1_ALPHA_MODE 0x00001000
960 #define BF_PXP_ALPHA_B_CTRL_S1_ALPHA_MODE(v) \ argument
961 (((v) << 12) & BM_PXP_ALPHA_B_CTRL_S1_ALPHA_MODE)
962 #define BV_PXP_ALPHA_B_CTRL_S1_ALPHA_MODE__0 0x0
963 #define BV_PXP_ALPHA_B_CTRL_S1_ALPHA_MODE__1 0x1
965 #define BM_PXP_ALPHA_B_CTRL_S1_GLOBAL_ALPHA_MODE 0x00000C00
966 #define BF_PXP_ALPHA_B_CTRL_S1_GLOBAL_ALPHA_MODE(v) \ argument
967 (((v) << 10) & BM_PXP_ALPHA_B_CTRL_S1_GLOBAL_ALPHA_MODE)
968 #define BV_PXP_ALPHA_B_CTRL_S1_GLOBAL_ALPHA_MODE__0 0x0
969 #define BV_PXP_ALPHA_B_CTRL_S1_GLOBAL_ALPHA_MODE__1 0x1
970 #define BV_PXP_ALPHA_B_CTRL_S1_GLOBAL_ALPHA_MODE__2 0x2
971 #define BV_PXP_ALPHA_B_CTRL_S1_GLOBAL_ALPHA_MODE__3 0x3
973 #define BM_PXP_ALPHA_B_CTRL_S1_S0_FACTOR_MODE 0x00000300
974 #define BF_PXP_ALPHA_B_CTRL_S1_S0_FACTOR_MODE(v) \ argument
975 (((v) << 8) & BM_PXP_ALPHA_B_CTRL_S1_S0_FACTOR_MODE)
976 #define BV_PXP_ALPHA_B_CTRL_S1_S0_FACTOR_MODE__0 0x0
977 #define BV_PXP_ALPHA_B_CTRL_S1_S0_FACTOR_MODE__1 0x1
978 #define BV_PXP_ALPHA_B_CTRL_S1_S0_FACTOR_MODE__2 0x2
979 #define BV_PXP_ALPHA_B_CTRL_S1_S0_FACTOR_MODE__3 0x3
980 #define BM_PXP_ALPHA_B_CTRL_RSVD1 0x00000080
981 #define BF_PXP_ALPHA_B_CTRL_RSVD1(v) \ argument
982 (((v) << 7) & BM_PXP_ALPHA_B_CTRL_RSVD1)
983 #define BM_PXP_ALPHA_B_CTRL_S0_COLOR_MODE 0x00000040
984 #define BF_PXP_ALPHA_B_CTRL_S0_COLOR_MODE(v) \ argument
985 (((v) << 6) & BM_PXP_ALPHA_B_CTRL_S0_COLOR_MODE)
986 #define BV_PXP_ALPHA_B_CTRL_S0_COLOR_MODE__0 0x0
987 #define BV_PXP_ALPHA_B_CTRL_S0_COLOR_MODE__1 0x1
988 #define BM_PXP_ALPHA_B_CTRL_S0_ALPHA_MODE 0x00000020
989 #define BF_PXP_ALPHA_B_CTRL_S0_ALPHA_MODE(v) \ argument
990 (((v) << 5) & BM_PXP_ALPHA_B_CTRL_S0_ALPHA_MODE)
991 #define BV_PXP_ALPHA_B_CTRL_S0_ALPHA_MODE__0 0x0
992 #define BV_PXP_ALPHA_B_CTRL_S0_ALPHA_MODE__1 0x1
994 #define BM_PXP_ALPHA_B_CTRL_S0_GLOBAL_ALPHA_MODE 0x00000018
995 #define BF_PXP_ALPHA_B_CTRL_S0_GLOBAL_ALPHA_MODE(v) \ argument
996 (((v) << 3) & BM_PXP_ALPHA_B_CTRL_S0_GLOBAL_ALPHA_MODE)
997 #define BV_PXP_ALPHA_B_CTRL_S0_GLOBAL_ALPHA_MODE__0 0x0
998 #define BV_PXP_ALPHA_B_CTRL_S0_GLOBAL_ALPHA_MODE__1 0x1
999 #define BV_PXP_ALPHA_B_CTRL_S0_GLOBAL_ALPHA_MODE__2 0x2
1000 #define BV_PXP_ALPHA_B_CTRL_S0_GLOBAL_ALPHA_MODE__3 0x3
1002 #define BM_PXP_ALPHA_B_CTRL_S0_S1_FACTOR_MODE 0x00000006
1003 #define BF_PXP_ALPHA_B_CTRL_S0_S1_FACTOR_MODE(v) \ argument
1004 (((v) << 1) & BM_PXP_ALPHA_B_CTRL_S0_S1_FACTOR_MODE)
1005 #define BV_PXP_ALPHA_B_CTRL_S0_S1_FACTOR_MODE__0 0x0
1006 #define BV_PXP_ALPHA_B_CTRL_S0_S1_FACTOR_MODE__1 0x1
1007 #define BV_PXP_ALPHA_B_CTRL_S0_S1_FACTOR_MODE__2 0x2
1008 #define BV_PXP_ALPHA_B_CTRL_S0_S1_FACTOR_MODE__3 0x3
1009 #define BM_PXP_ALPHA_B_CTRL_POTER_DUFF_ENABLE 0x00000001
1010 #define BF_PXP_ALPHA_B_CTRL_POTER_DUFF_ENABLE(v) \ argument
1011 (((v) << 0) & BM_PXP_ALPHA_B_CTRL_POTER_DUFF_ENABLE)
1012 #define BV_PXP_ALPHA_B_CTRL_POTER_DUFF_ENABLE__0 0x0
1013 #define BV_PXP_ALPHA_B_CTRL_POTER_DUFF_ENABLE__1 0x1
1015 #define HW_PXP_ALPHA_B_CTRL_1 (0x000002b0)
1018 #define BM_PXP_ALPHA_B_CTRL_1_RSVD0 0xFFFFFF00
1019 #define BF_PXP_ALPHA_B_CTRL_1_RSVD0(v) \ argument
1020 (((v) << 8) & BM_PXP_ALPHA_B_CTRL_1_RSVD0)
1022 #define BM_PXP_ALPHA_B_CTRL_1_ROP 0x000000F0
1023 #define BF_PXP_ALPHA_B_CTRL_1_ROP(v) \ argument
1024 (((v) << 4) & BM_PXP_ALPHA_B_CTRL_1_ROP)
1025 #define BV_PXP_ALPHA_B_CTRL_1_ROP__MASKAS 0x0
1026 #define BV_PXP_ALPHA_B_CTRL_1_ROP__MASKNOTAS 0x1
1027 #define BV_PXP_ALPHA_B_CTRL_1_ROP__MASKASNOT 0x2
1028 #define BV_PXP_ALPHA_B_CTRL_1_ROP__MERGEAS 0x3
1029 #define BV_PXP_ALPHA_B_CTRL_1_ROP__MERGENOTAS 0x4
1030 #define BV_PXP_ALPHA_B_CTRL_1_ROP__MERGEASNOT 0x5
1031 #define BV_PXP_ALPHA_B_CTRL_1_ROP__NOTCOPYAS 0x6
1032 #define BV_PXP_ALPHA_B_CTRL_1_ROP__NOT 0x7
1033 #define BV_PXP_ALPHA_B_CTRL_1_ROP__NOTMASKAS 0x8
1034 #define BV_PXP_ALPHA_B_CTRL_1_ROP__NOTMERGEAS 0x9
1035 #define BV_PXP_ALPHA_B_CTRL_1_ROP__XORAS 0xA
1036 #define BV_PXP_ALPHA_B_CTRL_1_ROP__NOTXORAS 0xB
1038 #define BM_PXP_ALPHA_B_CTRL_1_RSVD1 0x0000000C
1039 #define BF_PXP_ALPHA_B_CTRL_1_RSVD1(v) \ argument
1040 (((v) << 2) & BM_PXP_ALPHA_B_CTRL_1_RSVD1)
1041 #define BM_PXP_ALPHA_B_CTRL_1_OL_CLRKEY_ENABLE 0x00000002
1042 #define BF_PXP_ALPHA_B_CTRL_1_OL_CLRKEY_ENABLE(v) \ argument
1043 (((v) << 1) & BM_PXP_ALPHA_B_CTRL_1_OL_CLRKEY_ENABLE)
1044 #define BM_PXP_ALPHA_B_CTRL_1_ROP_ENABLE 0x00000001
1045 #define BF_PXP_ALPHA_B_CTRL_1_ROP_ENABLE(v) \ argument
1046 (((v) << 0) & BM_PXP_ALPHA_B_CTRL_1_ROP_ENABLE)
1048 #define HW_PXP_PS_BACKGROUND_1 (0x000002c0)
1051 #define BM_PXP_PS_BACKGROUND_1_RSVD 0xFF000000
1052 #define BF_PXP_PS_BACKGROUND_1_RSVD(v) \ argument
1053 (((v) << 24) & BM_PXP_PS_BACKGROUND_1_RSVD)
1054 #define BP_PXP_PS_BACKGROUND_1_COLOR 0
1055 #define BM_PXP_PS_BACKGROUND_1_COLOR 0x00FFFFFF
1056 #define BF_PXP_PS_BACKGROUND_1_COLOR(v) \ argument
1057 (((v) << 0) & BM_PXP_PS_BACKGROUND_1_COLOR)
1059 #define HW_PXP_PS_CLRKEYLOW_1 (0x000002d0)
1062 #define BM_PXP_PS_CLRKEYLOW_1_RSVD1 0xFF000000
1063 #define BF_PXP_PS_CLRKEYLOW_1_RSVD1(v) \ argument
1064 (((v) << 24) & BM_PXP_PS_CLRKEYLOW_1_RSVD1)
1065 #define BP_PXP_PS_CLRKEYLOW_1_PIXEL 0
1066 #define BM_PXP_PS_CLRKEYLOW_1_PIXEL 0x00FFFFFF
1067 #define BF_PXP_PS_CLRKEYLOW_1_PIXEL(v) \ argument
1068 (((v) << 0) & BM_PXP_PS_CLRKEYLOW_1_PIXEL)
1070 #define HW_PXP_PS_CLRKEYHIGH_1 (0x000002e0)
1073 #define BM_PXP_PS_CLRKEYHIGH_1_RSVD1 0xFF000000
1074 #define BF_PXP_PS_CLRKEYHIGH_1_RSVD1(v) \ argument
1075 (((v) << 24) & BM_PXP_PS_CLRKEYHIGH_1_RSVD1)
1076 #define BP_PXP_PS_CLRKEYHIGH_1_PIXEL 0
1077 #define BM_PXP_PS_CLRKEYHIGH_1_PIXEL 0x00FFFFFF
1078 #define BF_PXP_PS_CLRKEYHIGH_1_PIXEL(v) \ argument
1079 (((v) << 0) & BM_PXP_PS_CLRKEYHIGH_1_PIXEL)
1081 #define HW_PXP_AS_CLRKEYLOW_1 (0x000002f0)
1084 #define BM_PXP_AS_CLRKEYLOW_1_RSVD1 0xFF000000
1085 #define BF_PXP_AS_CLRKEYLOW_1_RSVD1(v) \ argument
1086 (((v) << 24) & BM_PXP_AS_CLRKEYLOW_1_RSVD1)
1087 #define BP_PXP_AS_CLRKEYLOW_1_PIXEL 0
1088 #define BM_PXP_AS_CLRKEYLOW_1_PIXEL 0x00FFFFFF
1089 #define BF_PXP_AS_CLRKEYLOW_1_PIXEL(v) \ argument
1090 (((v) << 0) & BM_PXP_AS_CLRKEYLOW_1_PIXEL)
1092 #define HW_PXP_AS_CLRKEYHIGH_1 (0x00000300)
1095 #define BM_PXP_AS_CLRKEYHIGH_1_RSVD1 0xFF000000
1096 #define BF_PXP_AS_CLRKEYHIGH_1_RSVD1(v) \ argument
1097 (((v) << 24) & BM_PXP_AS_CLRKEYHIGH_1_RSVD1)
1098 #define BP_PXP_AS_CLRKEYHIGH_1_PIXEL 0
1099 #define BM_PXP_AS_CLRKEYHIGH_1_PIXEL 0x00FFFFFF
1100 #define BF_PXP_AS_CLRKEYHIGH_1_PIXEL(v) \ argument
1101 (((v) << 0) & BM_PXP_AS_CLRKEYHIGH_1_PIXEL)
1103 #define HW_PXP_CTRL2 (0x00000310)
1104 #define HW_PXP_CTRL2_SET (0x00000314)
1105 #define HW_PXP_CTRL2_CLR (0x00000318)
1106 #define HW_PXP_CTRL2_TOG (0x0000031c)
1109 #define BM_PXP_CTRL2_RSVD3 0xF0000000
1110 #define BF_PXP_CTRL2_RSVD3(v) \ argument
1111 (((v) << 28) & BM_PXP_CTRL2_RSVD3)
1112 #define BM_PXP_CTRL2_ENABLE_ROTATE1 0x08000000
1113 #define BF_PXP_CTRL2_ENABLE_ROTATE1(v) \ argument
1114 (((v) << 27) & BM_PXP_CTRL2_ENABLE_ROTATE1)
1115 #define BM_PXP_CTRL2_ENABLE_ROTATE0 0x04000000
1116 #define BF_PXP_CTRL2_ENABLE_ROTATE0(v) \ argument
1117 (((v) << 26) & BM_PXP_CTRL2_ENABLE_ROTATE0)
1118 #define BM_PXP_CTRL2_ENABLE_LUT 0x02000000
1119 #define BF_PXP_CTRL2_ENABLE_LUT(v) \ argument
1120 (((v) << 25) & BM_PXP_CTRL2_ENABLE_LUT)
1121 #define BM_PXP_CTRL2_ENABLE_CSC2 0x01000000
1122 #define BF_PXP_CTRL2_ENABLE_CSC2(v) \ argument
1123 (((v) << 24) & BM_PXP_CTRL2_ENABLE_CSC2)
1124 #define BM_PXP_CTRL2_BLOCK_SIZE 0x00800000
1125 #define BF_PXP_CTRL2_BLOCK_SIZE(v) \ argument
1126 (((v) << 23) & BM_PXP_CTRL2_BLOCK_SIZE)
1127 #define BV_PXP_CTRL2_BLOCK_SIZE__8X8 0x0
1128 #define BV_PXP_CTRL2_BLOCK_SIZE__16X16 0x1
1129 #define BM_PXP_CTRL2_RSVD2 0x00400000
1130 #define BF_PXP_CTRL2_RSVD2(v) \ argument
1131 (((v) << 22) & BM_PXP_CTRL2_RSVD2)
1132 #define BM_PXP_CTRL2_ENABLE_ALPHA_B 0x00200000
1133 #define BF_PXP_CTRL2_ENABLE_ALPHA_B(v) \ argument
1134 (((v) << 21) & BM_PXP_CTRL2_ENABLE_ALPHA_B)
1135 #define BM_PXP_CTRL2_ENABLE_INPUT_FETCH_STORE 0x00100000
1136 #define BF_PXP_CTRL2_ENABLE_INPUT_FETCH_STORE(v) \ argument
1137 (((v) << 20) & BM_PXP_CTRL2_ENABLE_INPUT_FETCH_STORE)
1138 #define BM_PXP_CTRL2_ENABLE_WFE_B 0x00080000
1139 #define BF_PXP_CTRL2_ENABLE_WFE_B(v) \ argument
1140 (((v) << 19) & BM_PXP_CTRL2_ENABLE_WFE_B)
1141 #define BM_PXP_CTRL2_ENABLE_WFE_A 0x00040000
1142 #define BF_PXP_CTRL2_ENABLE_WFE_A(v) \ argument
1143 (((v) << 18) & BM_PXP_CTRL2_ENABLE_WFE_A)
1144 #define BM_PXP_CTRL2_ENABLE_DITHER 0x00020000
1145 #define BF_PXP_CTRL2_ENABLE_DITHER(v) \ argument
1146 (((v) << 17) & BM_PXP_CTRL2_ENABLE_DITHER)
1147 #define BM_PXP_CTRL2_RSVD1 0x00010000
1148 #define BF_PXP_CTRL2_RSVD1(v) \ argument
1149 (((v) << 16) & BM_PXP_CTRL2_RSVD1)
1150 #define BM_PXP_CTRL2_VFLIP1 0x00008000
1151 #define BF_PXP_CTRL2_VFLIP1(v) \ argument
1152 (((v) << 15) & BM_PXP_CTRL2_VFLIP1)
1153 #define BM_PXP_CTRL2_HFLIP1 0x00004000
1154 #define BF_PXP_CTRL2_HFLIP1(v) \ argument
1155 (((v) << 14) & BM_PXP_CTRL2_HFLIP1)
1157 #define BM_PXP_CTRL2_ROTATE1 0x00003000
1158 #define BF_PXP_CTRL2_ROTATE1(v) \ argument
1159 (((v) << 12) & BM_PXP_CTRL2_ROTATE1)
1160 #define BV_PXP_CTRL2_ROTATE1__ROT_0 0x0
1161 #define BV_PXP_CTRL2_ROTATE1__ROT_90 0x1
1162 #define BV_PXP_CTRL2_ROTATE1__ROT_180 0x2
1163 #define BV_PXP_CTRL2_ROTATE1__ROT_270 0x3
1164 #define BM_PXP_CTRL2_VFLIP0 0x00000800
1165 #define BF_PXP_CTRL2_VFLIP0(v) \ argument
1166 (((v) << 11) & BM_PXP_CTRL2_VFLIP0)
1167 #define BM_PXP_CTRL2_HFLIP0 0x00000400
1168 #define BF_PXP_CTRL2_HFLIP0(v) \ argument
1169 (((v) << 10) & BM_PXP_CTRL2_HFLIP0)
1171 #define BM_PXP_CTRL2_ROTATE0 0x00000300
1172 #define BF_PXP_CTRL2_ROTATE0(v) \ argument
1173 (((v) << 8) & BM_PXP_CTRL2_ROTATE0)
1174 #define BV_PXP_CTRL2_ROTATE0__ROT_0 0x0
1175 #define BV_PXP_CTRL2_ROTATE0__ROT_90 0x1
1176 #define BV_PXP_CTRL2_ROTATE0__ROT_180 0x2
1177 #define BV_PXP_CTRL2_ROTATE0__ROT_270 0x3
1179 #define BM_PXP_CTRL2_RSVD0 0x000000FE
1180 #define BF_PXP_CTRL2_RSVD0(v) \ argument
1181 (((v) << 1) & BM_PXP_CTRL2_RSVD0)
1182 #define BM_PXP_CTRL2_ENABLE 0x00000001
1183 #define BF_PXP_CTRL2_ENABLE(v) \ argument
1184 (((v) << 0) & BM_PXP_CTRL2_ENABLE)
1186 #define HW_PXP_POWER_REG0 (0x00000320)
1189 #define BM_PXP_POWER_REG0_CTRL 0xFFFFF000
1190 #define BF_PXP_POWER_REG0_CTRL(v) \ argument
1191 (((v) << 12) & BM_PXP_POWER_REG0_CTRL)
1193 #define BM_PXP_POWER_REG0_ROT0_MEM_LP_STATE 0x00000E00
1194 #define BF_PXP_POWER_REG0_ROT0_MEM_LP_STATE(v) \ argument
1195 (((v) << 9) & BM_PXP_POWER_REG0_ROT0_MEM_LP_STATE)
1196 #define BV_PXP_POWER_REG0_ROT0_MEM_LP_STATE__NONE 0x0
1197 #define BV_PXP_POWER_REG0_ROT0_MEM_LP_STATE__LS 0x1
1198 #define BV_PXP_POWER_REG0_ROT0_MEM_LP_STATE__DS 0x2
1199 #define BV_PXP_POWER_REG0_ROT0_MEM_LP_STATE__SD 0x4
1201 #define BM_PXP_POWER_REG0_LUT_LP_STATE_WAY1_BANKN 0x000001C0
1202 #define BF_PXP_POWER_REG0_LUT_LP_STATE_WAY1_BANKN(v) \ argument
1203 (((v) << 6) & BM_PXP_POWER_REG0_LUT_LP_STATE_WAY1_BANKN)
1204 #define BV_PXP_POWER_REG0_LUT_LP_STATE_WAY1_BANKN__NONE 0x0
1205 #define BV_PXP_POWER_REG0_LUT_LP_STATE_WAY1_BANKN__LS 0x1
1206 #define BV_PXP_POWER_REG0_LUT_LP_STATE_WAY1_BANKN__DS 0x2
1207 #define BV_PXP_POWER_REG0_LUT_LP_STATE_WAY1_BANKN__SD 0x4
1209 #define BM_PXP_POWER_REG0_LUT_LP_STATE_WAY0_BANKN 0x00000038
1210 #define BF_PXP_POWER_REG0_LUT_LP_STATE_WAY0_BANKN(v) \ argument
1211 (((v) << 3) & BM_PXP_POWER_REG0_LUT_LP_STATE_WAY0_BANKN)
1212 #define BV_PXP_POWER_REG0_LUT_LP_STATE_WAY0_BANKN__NONE 0x0
1213 #define BV_PXP_POWER_REG0_LUT_LP_STATE_WAY0_BANKN__LS 0x1
1214 #define BV_PXP_POWER_REG0_LUT_LP_STATE_WAY0_BANKN__DS 0x2
1215 #define BV_PXP_POWER_REG0_LUT_LP_STATE_WAY0_BANKN__SD 0x4
1216 #define BP_PXP_POWER_REG0_LUT_LP_STATE_WAY0_BANK0 0
1217 #define BM_PXP_POWER_REG0_LUT_LP_STATE_WAY0_BANK0 0x00000007
1218 #define BF_PXP_POWER_REG0_LUT_LP_STATE_WAY0_BANK0(v) \ argument
1219 (((v) << 0) & BM_PXP_POWER_REG0_LUT_LP_STATE_WAY0_BANK0)
1220 #define BV_PXP_POWER_REG0_LUT_LP_STATE_WAY0_BANK0__NONE 0x0
1221 #define BV_PXP_POWER_REG0_LUT_LP_STATE_WAY0_BANK0__LS 0x1
1222 #define BV_PXP_POWER_REG0_LUT_LP_STATE_WAY0_BANK0__DS 0x2
1223 #define BV_PXP_POWER_REG0_LUT_LP_STATE_WAY0_BANK0__SD 0x4
1225 #define HW_PXP_POWER_REG1 (0x00000330)
1228 #define BM_PXP_POWER_REG1_RSVD0 0xFF000000
1229 #define BF_PXP_POWER_REG1_RSVD0(v) \ argument
1230 (((v) << 24) & BM_PXP_POWER_REG1_RSVD0)
1232 #define BM_PXP_POWER_REG1_ALU_B_MEM_LP_STATE 0x00E00000
1233 #define BF_PXP_POWER_REG1_ALU_B_MEM_LP_STATE(v) \ argument
1234 (((v) << 21) & BM_PXP_POWER_REG1_ALU_B_MEM_LP_STATE)
1235 #define BV_PXP_POWER_REG1_ALU_B_MEM_LP_STATE__NONE 0x0
1236 #define BV_PXP_POWER_REG1_ALU_B_MEM_LP_STATE__LS 0x1
1237 #define BV_PXP_POWER_REG1_ALU_B_MEM_LP_STATE__DS 0x2
1238 #define BV_PXP_POWER_REG1_ALU_B_MEM_LP_STATE__SD 0x4
1240 #define BM_PXP_POWER_REG1_ALU_A_MEM_LP_STATE 0x001C0000
1241 #define BF_PXP_POWER_REG1_ALU_A_MEM_LP_STATE(v) \ argument
1242 (((v) << 18) & BM_PXP_POWER_REG1_ALU_A_MEM_LP_STATE)
1243 #define BV_PXP_POWER_REG1_ALU_A_MEM_LP_STATE__NONE 0x0
1244 #define BV_PXP_POWER_REG1_ALU_A_MEM_LP_STATE__LS 0x1
1245 #define BV_PXP_POWER_REG1_ALU_A_MEM_LP_STATE__DS 0x2
1246 #define BV_PXP_POWER_REG1_ALU_A_MEM_LP_STATE__SD 0x4
1248 #define BM_PXP_POWER_REG1_DITH2_LUT_MEM_LP_STATE 0x00038000
1249 #define BF_PXP_POWER_REG1_DITH2_LUT_MEM_LP_STATE(v) \ argument
1250 (((v) << 15) & BM_PXP_POWER_REG1_DITH2_LUT_MEM_LP_STATE)
1251 #define BV_PXP_POWER_REG1_DITH2_LUT_MEM_LP_STATE__NONE 0x0
1252 #define BV_PXP_POWER_REG1_DITH2_LUT_MEM_LP_STATE__LS 0x1
1253 #define BV_PXP_POWER_REG1_DITH2_LUT_MEM_LP_STATE__DS 0x2
1254 #define BV_PXP_POWER_REG1_DITH2_LUT_MEM_LP_STATE__SD 0x4
1256 #define BM_PXP_POWER_REG1_DITH1_LUT_MEM_LP_STATE 0x00007000
1257 #define BF_PXP_POWER_REG1_DITH1_LUT_MEM_LP_STATE(v) \ argument
1258 (((v) << 12) & BM_PXP_POWER_REG1_DITH1_LUT_MEM_LP_STATE)
1259 #define BV_PXP_POWER_REG1_DITH1_LUT_MEM_LP_STATE__NONE 0x0
1260 #define BV_PXP_POWER_REG1_DITH1_LUT_MEM_LP_STATE__LS 0x1
1261 #define BV_PXP_POWER_REG1_DITH1_LUT_MEM_LP_STATE__DS 0x2
1262 #define BV_PXP_POWER_REG1_DITH1_LUT_MEM_LP_STATE__SD 0x4
1264 #define BM_PXP_POWER_REG1_DITH0_ERR1_MEM_LP_STATE 0x00000E00
1265 #define BF_PXP_POWER_REG1_DITH0_ERR1_MEM_LP_STATE(v) \ argument
1266 (((v) << 9) & BM_PXP_POWER_REG1_DITH0_ERR1_MEM_LP_STATE)
1267 #define BV_PXP_POWER_REG1_DITH0_ERR1_MEM_LP_STATE__NONE 0x0
1268 #define BV_PXP_POWER_REG1_DITH0_ERR1_MEM_LP_STATE__LS 0x1
1269 #define BV_PXP_POWER_REG1_DITH0_ERR1_MEM_LP_STATE__DS 0x2
1270 #define BV_PXP_POWER_REG1_DITH0_ERR1_MEM_LP_STATE__SD 0x4
1272 #define BM_PXP_POWER_REG1_DITH0_ERR0_MEM_LP_STATE 0x000001C0
1273 #define BF_PXP_POWER_REG1_DITH0_ERR0_MEM_LP_STATE(v) \ argument
1274 (((v) << 6) & BM_PXP_POWER_REG1_DITH0_ERR0_MEM_LP_STATE)
1275 #define BV_PXP_POWER_REG1_DITH0_ERR0_MEM_LP_STATE__NONE 0x0
1276 #define BV_PXP_POWER_REG1_DITH0_ERR0_MEM_LP_STATE__LS 0x1
1277 #define BV_PXP_POWER_REG1_DITH0_ERR0_MEM_LP_STATE__DS 0x2
1278 #define BV_PXP_POWER_REG1_DITH0_ERR0_MEM_LP_STATE__SD 0x4
1280 #define BM_PXP_POWER_REG1_DITH0_LUT_MEM_LP_STATE 0x00000038
1281 #define BF_PXP_POWER_REG1_DITH0_LUT_MEM_LP_STATE(v) \ argument
1282 (((v) << 3) & BM_PXP_POWER_REG1_DITH0_LUT_MEM_LP_STATE)
1283 #define BV_PXP_POWER_REG1_DITH0_LUT_MEM_LP_STATE__NONE 0x0
1284 #define BV_PXP_POWER_REG1_DITH0_LUT_MEM_LP_STATE__LS 0x1
1285 #define BV_PXP_POWER_REG1_DITH0_LUT_MEM_LP_STATE__DS 0x2
1286 #define BV_PXP_POWER_REG1_DITH0_LUT_MEM_LP_STATE__SD 0x4
1287 #define BP_PXP_POWER_REG1_ROT1_MEM_LP_STATE 0
1288 #define BM_PXP_POWER_REG1_ROT1_MEM_LP_STATE 0x00000007
1289 #define BF_PXP_POWER_REG1_ROT1_MEM_LP_STATE(v) \ argument
1290 (((v) << 0) & BM_PXP_POWER_REG1_ROT1_MEM_LP_STATE)
1291 #define BV_PXP_POWER_REG1_ROT1_MEM_LP_STATE__NONE 0x0
1292 #define BV_PXP_POWER_REG1_ROT1_MEM_LP_STATE__LS 0x1
1293 #define BV_PXP_POWER_REG1_ROT1_MEM_LP_STATE__DS 0x2
1294 #define BV_PXP_POWER_REG1_ROT1_MEM_LP_STATE__SD 0x4
1296 #define HW_PXP_DATA_PATH_CTRL0 (0x00000340)
1297 #define HW_PXP_DATA_PATH_CTRL0_SET (0x00000344)
1298 #define HW_PXP_DATA_PATH_CTRL0_CLR (0x00000348)
1299 #define HW_PXP_DATA_PATH_CTRL0_TOG (0x0000034c)
1302 #define BM_PXP_DATA_PATH_CTRL0_MUX15_SEL 0xC0000000
1303 #define BF_PXP_DATA_PATH_CTRL0_MUX15_SEL(v) \ argument
1304 (((v) << 30) & BM_PXP_DATA_PATH_CTRL0_MUX15_SEL)
1305 #define BV_PXP_DATA_PATH_CTRL0_MUX15_SEL__0 0x0
1306 #define BV_PXP_DATA_PATH_CTRL0_MUX15_SEL__1 0x1
1307 #define BV_PXP_DATA_PATH_CTRL0_MUX15_SEL__2 0x2
1308 #define BV_PXP_DATA_PATH_CTRL0_MUX15_SEL__3 0x3
1310 #define BM_PXP_DATA_PATH_CTRL0_MUX14_SEL 0x30000000
1311 #define BF_PXP_DATA_PATH_CTRL0_MUX14_SEL(v) \ argument
1312 (((v) << 28) & BM_PXP_DATA_PATH_CTRL0_MUX14_SEL)
1313 #define BV_PXP_DATA_PATH_CTRL0_MUX14_SEL__0 0x0
1314 #define BV_PXP_DATA_PATH_CTRL0_MUX14_SEL__1 0x1
1315 #define BV_PXP_DATA_PATH_CTRL0_MUX14_SEL__2 0x2
1316 #define BV_PXP_DATA_PATH_CTRL0_MUX14_SEL__3 0x3
1318 #define BM_PXP_DATA_PATH_CTRL0_MUX13_SEL 0x0C000000
1319 #define BF_PXP_DATA_PATH_CTRL0_MUX13_SEL(v) \ argument
1320 (((v) << 26) & BM_PXP_DATA_PATH_CTRL0_MUX13_SEL)
1321 #define BV_PXP_DATA_PATH_CTRL0_MUX13_SEL__0 0x0
1322 #define BV_PXP_DATA_PATH_CTRL0_MUX13_SEL__1 0x1
1323 #define BV_PXP_DATA_PATH_CTRL0_MUX13_SEL__2 0x2
1324 #define BV_PXP_DATA_PATH_CTRL0_MUX13_SEL__3 0x3
1326 #define BM_PXP_DATA_PATH_CTRL0_MUX12_SEL 0x03000000
1327 #define BF_PXP_DATA_PATH_CTRL0_MUX12_SEL(v) \ argument
1328 (((v) << 24) & BM_PXP_DATA_PATH_CTRL0_MUX12_SEL)
1329 #define BV_PXP_DATA_PATH_CTRL0_MUX12_SEL__0 0x0
1330 #define BV_PXP_DATA_PATH_CTRL0_MUX12_SEL__1 0x1
1331 #define BV_PXP_DATA_PATH_CTRL0_MUX12_SEL__2 0x2
1332 #define BV_PXP_DATA_PATH_CTRL0_MUX12_SEL__3 0x3
1334 #define BM_PXP_DATA_PATH_CTRL0_MUX11_SEL 0x00C00000
1335 #define BF_PXP_DATA_PATH_CTRL0_MUX11_SEL(v) \ argument
1336 (((v) << 22) & BM_PXP_DATA_PATH_CTRL0_MUX11_SEL)
1337 #define BV_PXP_DATA_PATH_CTRL0_MUX11_SEL__0 0x0
1338 #define BV_PXP_DATA_PATH_CTRL0_MUX11_SEL__1 0x1
1339 #define BV_PXP_DATA_PATH_CTRL0_MUX11_SEL__2 0x2
1340 #define BV_PXP_DATA_PATH_CTRL0_MUX11_SEL__3 0x3
1342 #define BM_PXP_DATA_PATH_CTRL0_MUX10_SEL 0x00300000
1343 #define BF_PXP_DATA_PATH_CTRL0_MUX10_SEL(v) \ argument
1344 (((v) << 20) & BM_PXP_DATA_PATH_CTRL0_MUX10_SEL)
1345 #define BV_PXP_DATA_PATH_CTRL0_MUX10_SEL__0 0x0
1346 #define BV_PXP_DATA_PATH_CTRL0_MUX10_SEL__1 0x1
1347 #define BV_PXP_DATA_PATH_CTRL0_MUX10_SEL__2 0x2
1348 #define BV_PXP_DATA_PATH_CTRL0_MUX10_SEL__3 0x3
1350 #define BM_PXP_DATA_PATH_CTRL0_MUX9_SEL 0x000C0000
1351 #define BF_PXP_DATA_PATH_CTRL0_MUX9_SEL(v) \ argument
1352 (((v) << 18) & BM_PXP_DATA_PATH_CTRL0_MUX9_SEL)
1353 #define BV_PXP_DATA_PATH_CTRL0_MUX9_SEL__0 0x0
1354 #define BV_PXP_DATA_PATH_CTRL0_MUX9_SEL__1 0x1
1355 #define BV_PXP_DATA_PATH_CTRL0_MUX9_SEL__2 0x2
1356 #define BV_PXP_DATA_PATH_CTRL0_MUX9_SEL__3 0x3
1358 #define BM_PXP_DATA_PATH_CTRL0_MUX8_SEL 0x00030000
1359 #define BF_PXP_DATA_PATH_CTRL0_MUX8_SEL(v) \ argument
1360 (((v) << 16) & BM_PXP_DATA_PATH_CTRL0_MUX8_SEL)
1361 #define BV_PXP_DATA_PATH_CTRL0_MUX8_SEL__0 0x0
1362 #define BV_PXP_DATA_PATH_CTRL0_MUX8_SEL__1 0x1
1363 #define BV_PXP_DATA_PATH_CTRL0_MUX8_SEL__2 0x2
1364 #define BV_PXP_DATA_PATH_CTRL0_MUX8_SEL__3 0x3
1366 #define BM_PXP_DATA_PATH_CTRL0_MUX7_SEL 0x0000C000
1367 #define BF_PXP_DATA_PATH_CTRL0_MUX7_SEL(v) \ argument
1368 (((v) << 14) & BM_PXP_DATA_PATH_CTRL0_MUX7_SEL)
1369 #define BV_PXP_DATA_PATH_CTRL0_MUX7_SEL__0 0x0
1370 #define BV_PXP_DATA_PATH_CTRL0_MUX7_SEL__1 0x1
1371 #define BV_PXP_DATA_PATH_CTRL0_MUX7_SEL__2 0x2
1372 #define BV_PXP_DATA_PATH_CTRL0_MUX7_SEL__3 0x3
1374 #define BM_PXP_DATA_PATH_CTRL0_MUX6_SEL 0x00003000
1375 #define BF_PXP_DATA_PATH_CTRL0_MUX6_SEL(v) \ argument
1376 (((v) << 12) & BM_PXP_DATA_PATH_CTRL0_MUX6_SEL)
1377 #define BV_PXP_DATA_PATH_CTRL0_MUX6_SEL__0 0x0
1378 #define BV_PXP_DATA_PATH_CTRL0_MUX6_SEL__1 0x1
1379 #define BV_PXP_DATA_PATH_CTRL0_MUX6_SEL__2 0x2
1380 #define BV_PXP_DATA_PATH_CTRL0_MUX6_SEL__3 0x3
1382 #define BM_PXP_DATA_PATH_CTRL0_MUX5_SEL 0x00000C00
1383 #define BF_PXP_DATA_PATH_CTRL0_MUX5_SEL(v) \ argument
1384 (((v) << 10) & BM_PXP_DATA_PATH_CTRL0_MUX5_SEL)
1385 #define BV_PXP_DATA_PATH_CTRL0_MUX5_SEL__0 0x0
1386 #define BV_PXP_DATA_PATH_CTRL0_MUX5_SEL__1 0x1
1387 #define BV_PXP_DATA_PATH_CTRL0_MUX5_SEL__2 0x2
1388 #define BV_PXP_DATA_PATH_CTRL0_MUX5_SEL__3 0x3
1390 #define BM_PXP_DATA_PATH_CTRL0_MUX4_SEL 0x00000300
1391 #define BF_PXP_DATA_PATH_CTRL0_MUX4_SEL(v) \ argument
1392 (((v) << 8) & BM_PXP_DATA_PATH_CTRL0_MUX4_SEL)
1393 #define BV_PXP_DATA_PATH_CTRL0_MUX4_SEL__0 0x0
1394 #define BV_PXP_DATA_PATH_CTRL0_MUX4_SEL__1 0x1
1395 #define BV_PXP_DATA_PATH_CTRL0_MUX4_SEL__2 0x2
1396 #define BV_PXP_DATA_PATH_CTRL0_MUX4_SEL__3 0x3
1398 #define BM_PXP_DATA_PATH_CTRL0_MUX3_SEL 0x000000C0
1399 #define BF_PXP_DATA_PATH_CTRL0_MUX3_SEL(v) \ argument
1400 (((v) << 6) & BM_PXP_DATA_PATH_CTRL0_MUX3_SEL)
1401 #define BV_PXP_DATA_PATH_CTRL0_MUX3_SEL__0 0x0
1402 #define BV_PXP_DATA_PATH_CTRL0_MUX3_SEL__1 0x1
1403 #define BV_PXP_DATA_PATH_CTRL0_MUX3_SEL__2 0x2
1404 #define BV_PXP_DATA_PATH_CTRL0_MUX3_SEL__3 0x3
1406 #define BM_PXP_DATA_PATH_CTRL0_MUX2_SEL 0x00000030
1407 #define BF_PXP_DATA_PATH_CTRL0_MUX2_SEL(v) \ argument
1408 (((v) << 4) & BM_PXP_DATA_PATH_CTRL0_MUX2_SEL)
1409 #define BV_PXP_DATA_PATH_CTRL0_MUX2_SEL__0 0x0
1410 #define BV_PXP_DATA_PATH_CTRL0_MUX2_SEL__1 0x1
1411 #define BV_PXP_DATA_PATH_CTRL0_MUX2_SEL__2 0x2
1412 #define BV_PXP_DATA_PATH_CTRL0_MUX2_SEL__3 0x3
1414 #define BM_PXP_DATA_PATH_CTRL0_MUX1_SEL 0x0000000C
1415 #define BF_PXP_DATA_PATH_CTRL0_MUX1_SEL(v) \ argument
1416 (((v) << 2) & BM_PXP_DATA_PATH_CTRL0_MUX1_SEL)
1417 #define BV_PXP_DATA_PATH_CTRL0_MUX1_SEL__0 0x0
1418 #define BV_PXP_DATA_PATH_CTRL0_MUX1_SEL__1 0x1
1419 #define BV_PXP_DATA_PATH_CTRL0_MUX1_SEL__2 0x2
1420 #define BV_PXP_DATA_PATH_CTRL0_MUX1_SEL__3 0x3
1421 #define BP_PXP_DATA_PATH_CTRL0_MUX0_SEL 0
1422 #define BM_PXP_DATA_PATH_CTRL0_MUX0_SEL 0x00000003
1423 #define BF_PXP_DATA_PATH_CTRL0_MUX0_SEL(v) \ argument
1424 (((v) << 0) & BM_PXP_DATA_PATH_CTRL0_MUX0_SEL)
1425 #define BV_PXP_DATA_PATH_CTRL0_MUX0_SEL__0 0x0
1426 #define BV_PXP_DATA_PATH_CTRL0_MUX0_SEL__1 0x1
1427 #define BV_PXP_DATA_PATH_CTRL0_MUX0_SEL__2 0x2
1428 #define BV_PXP_DATA_PATH_CTRL0_MUX0_SEL__3 0x3
1430 #define HW_PXP_DATA_PATH_CTRL1 (0x00000350)
1431 #define HW_PXP_DATA_PATH_CTRL1_SET (0x00000354)
1432 #define HW_PXP_DATA_PATH_CTRL1_CLR (0x00000358)
1433 #define HW_PXP_DATA_PATH_CTRL1_TOG (0x0000035c)
1436 #define BM_PXP_DATA_PATH_CTRL1_RSVD0 0xFFFFFFF0
1437 #define BF_PXP_DATA_PATH_CTRL1_RSVD0(v) \ argument
1438 (((v) << 4) & BM_PXP_DATA_PATH_CTRL1_RSVD0)
1440 #define BM_PXP_DATA_PATH_CTRL1_MUX17_SEL 0x0000000C
1441 #define BF_PXP_DATA_PATH_CTRL1_MUX17_SEL(v) \ argument
1442 (((v) << 2) & BM_PXP_DATA_PATH_CTRL1_MUX17_SEL)
1443 #define BV_PXP_DATA_PATH_CTRL1_MUX17_SEL__0 0x0
1444 #define BV_PXP_DATA_PATH_CTRL1_MUX17_SEL__1 0x1
1445 #define BV_PXP_DATA_PATH_CTRL1_MUX17_SEL__2 0x2
1446 #define BV_PXP_DATA_PATH_CTRL1_MUX17_SEL__3 0x3
1447 #define BP_PXP_DATA_PATH_CTRL1_MUX16_SEL 0
1448 #define BM_PXP_DATA_PATH_CTRL1_MUX16_SEL 0x00000003
1449 #define BF_PXP_DATA_PATH_CTRL1_MUX16_SEL(v) \ argument
1450 (((v) << 0) & BM_PXP_DATA_PATH_CTRL1_MUX16_SEL)
1451 #define BV_PXP_DATA_PATH_CTRL1_MUX16_SEL__0 0x0
1452 #define BV_PXP_DATA_PATH_CTRL1_MUX16_SEL__1 0x1
1453 #define BV_PXP_DATA_PATH_CTRL1_MUX16_SEL__2 0x2
1454 #define BV_PXP_DATA_PATH_CTRL1_MUX16_SEL__3 0x3
1456 #define HW_PXP_INIT_MEM_CTRL (0x00000360)
1457 #define HW_PXP_INIT_MEM_CTRL_SET (0x00000364)
1458 #define HW_PXP_INIT_MEM_CTRL_CLR (0x00000368)
1459 #define HW_PXP_INIT_MEM_CTRL_TOG (0x0000036c)
1461 #define BM_PXP_INIT_MEM_CTRL_START 0x80000000
1462 #define BF_PXP_INIT_MEM_CTRL_START(v) \ argument
1463 (((v) << 31) & BM_PXP_INIT_MEM_CTRL_START)
1465 #define BM_PXP_INIT_MEM_CTRL_SELECT 0x78000000
1466 #define BF_PXP_INIT_MEM_CTRL_SELECT(v) \ argument
1467 (((v) << 27) & BM_PXP_INIT_MEM_CTRL_SELECT)
1468 #define BV_PXP_INIT_MEM_CTRL_SELECT__DITHER0_LUT 0x0
1469 #define BV_PXP_INIT_MEM_CTRL_SELECT__DITHER0_ERR0 0x1
1470 #define BV_PXP_INIT_MEM_CTRL_SELECT__DITHER0_ERR1 0x2
1471 #define BV_PXP_INIT_MEM_CTRL_SELECT__DITHER1_LUT 0x3
1472 #define BV_PXP_INIT_MEM_CTRL_SELECT__DITHER2_LUT 0x4
1473 #define BV_PXP_INIT_MEM_CTRL_SELECT__ALU_A 0x5
1474 #define BV_PXP_INIT_MEM_CTRL_SELECT__ALU_B 0x6
1475 #define BV_PXP_INIT_MEM_CTRL_SELECT__WFE_A_FETCH 0x7
1476 #define BV_PXP_INIT_MEM_CTRL_SELECT__WFE_B_FETCH 0x8
1477 #define BV_PXP_INIT_MEM_CTRL_SELECT__RESERVED 0x15
1479 #define BM_PXP_INIT_MEM_CTRL_RSVD0 0x07FF0000
1480 #define BF_PXP_INIT_MEM_CTRL_RSVD0(v) \ argument
1481 (((v) << 16) & BM_PXP_INIT_MEM_CTRL_RSVD0)
1482 #define BP_PXP_INIT_MEM_CTRL_ADDR 0
1483 #define BM_PXP_INIT_MEM_CTRL_ADDR 0x0000FFFF
1484 #define BF_PXP_INIT_MEM_CTRL_ADDR(v) \ argument
1485 (((v) << 0) & BM_PXP_INIT_MEM_CTRL_ADDR)
1487 #define HW_PXP_INIT_MEM_DATA (0x00000370)
1489 #define BP_PXP_INIT_MEM_DATA_DATA 0
1490 #define BM_PXP_INIT_MEM_DATA_DATA 0xFFFFFFFF
1491 #define BF_PXP_INIT_MEM_DATA_DATA(v) (v) argument
1493 #define HW_PXP_INIT_MEM_DATA_HIGH (0x00000380)
1495 #define BP_PXP_INIT_MEM_DATA_HIGH_DATA 0
1496 #define BM_PXP_INIT_MEM_DATA_HIGH_DATA 0xFFFFFFFF
1497 #define BF_PXP_INIT_MEM_DATA_HIGH_DATA(v) (v) argument
1499 #define HW_PXP_IRQ_MASK (0x00000390)
1500 #define HW_PXP_IRQ_MASK_SET (0x00000394)
1501 #define HW_PXP_IRQ_MASK_CLR (0x00000398)
1502 #define HW_PXP_IRQ_MASK_TOG (0x0000039c)
1504 #define BM_PXP_IRQ_MASK_COMPRESS_DONE_IRQ_EN 0x80000000
1505 #define BF_PXP_IRQ_MASK_COMPRESS_DONE_IRQ_EN(v) \ argument
1506 (((v) << 31) & BM_PXP_IRQ_MASK_COMPRESS_DONE_IRQ_EN)
1508 #define BM_PXP_IRQ_MASK_RSVD1 0x7FFF0000
1509 #define BF_PXP_IRQ_MASK_RSVD1(v) \ argument
1510 (((v) << 16) & BM_PXP_IRQ_MASK_RSVD1)
1511 #define BM_PXP_IRQ_MASK_WFE_B_STORE_IRQ_EN 0x00008000
1512 #define BF_PXP_IRQ_MASK_WFE_B_STORE_IRQ_EN(v) \ argument
1513 (((v) << 15) & BM_PXP_IRQ_MASK_WFE_B_STORE_IRQ_EN)
1514 #define BM_PXP_IRQ_MASK_WFE_A_STORE_IRQ_EN 0x00004000
1515 #define BF_PXP_IRQ_MASK_WFE_A_STORE_IRQ_EN(v) \ argument
1516 (((v) << 14) & BM_PXP_IRQ_MASK_WFE_A_STORE_IRQ_EN)
1517 #define BM_PXP_IRQ_MASK_DITHER_STORE_IRQ_EN 0x00002000
1518 #define BF_PXP_IRQ_MASK_DITHER_STORE_IRQ_EN(v) \ argument
1519 (((v) << 13) & BM_PXP_IRQ_MASK_DITHER_STORE_IRQ_EN)
1520 #define BM_PXP_IRQ_MASK_FIRST_STORE_IRQ_EN 0x00001000
1521 #define BF_PXP_IRQ_MASK_FIRST_STORE_IRQ_EN(v) \ argument
1522 (((v) << 12) & BM_PXP_IRQ_MASK_FIRST_STORE_IRQ_EN)
1523 #define BM_PXP_IRQ_MASK_WFE_B_CH1_STORE_IRQ_EN 0x00000800
1524 #define BF_PXP_IRQ_MASK_WFE_B_CH1_STORE_IRQ_EN(v) \ argument
1525 (((v) << 11) & BM_PXP_IRQ_MASK_WFE_B_CH1_STORE_IRQ_EN)
1526 #define BM_PXP_IRQ_MASK_WFE_B_CH0_STORE_IRQ_EN 0x00000400
1527 #define BF_PXP_IRQ_MASK_WFE_B_CH0_STORE_IRQ_EN(v) \ argument
1528 (((v) << 10) & BM_PXP_IRQ_MASK_WFE_B_CH0_STORE_IRQ_EN)
1529 #define BM_PXP_IRQ_MASK_WFE_A_CH1_STORE_IRQ_EN 0x00000200
1530 #define BF_PXP_IRQ_MASK_WFE_A_CH1_STORE_IRQ_EN(v) \ argument
1531 (((v) << 9) & BM_PXP_IRQ_MASK_WFE_A_CH1_STORE_IRQ_EN)
1532 #define BM_PXP_IRQ_MASK_WFE_A_CH0_STORE_IRQ_EN 0x00000100
1533 #define BF_PXP_IRQ_MASK_WFE_A_CH0_STORE_IRQ_EN(v) \ argument
1534 (((v) << 8) & BM_PXP_IRQ_MASK_WFE_A_CH0_STORE_IRQ_EN)
1535 #define BM_PXP_IRQ_MASK_DITHER_CH1_STORE_IRQ_EN 0x00000080
1536 #define BF_PXP_IRQ_MASK_DITHER_CH1_STORE_IRQ_EN(v) \ argument
1537 (((v) << 7) & BM_PXP_IRQ_MASK_DITHER_CH1_STORE_IRQ_EN)
1538 #define BM_PXP_IRQ_MASK_DITHER_CH0_STORE_IRQ_EN 0x00000040
1539 #define BF_PXP_IRQ_MASK_DITHER_CH0_STORE_IRQ_EN(v) \ argument
1540 (((v) << 6) & BM_PXP_IRQ_MASK_DITHER_CH0_STORE_IRQ_EN)
1541 #define BM_PXP_IRQ_MASK_DITHER_CH1_PREFETCH_IRQ_EN 0x00000020
1542 #define BF_PXP_IRQ_MASK_DITHER_CH1_PREFETCH_IRQ_EN(v) \ argument
1543 (((v) << 5) & BM_PXP_IRQ_MASK_DITHER_CH1_PREFETCH_IRQ_EN)
1544 #define BM_PXP_IRQ_MASK_DITHER_CH0_PREFETCH_IRQ_EN 0x00000010
1545 #define BF_PXP_IRQ_MASK_DITHER_CH0_PREFETCH_IRQ_EN(v) \ argument
1546 (((v) << 4) & BM_PXP_IRQ_MASK_DITHER_CH0_PREFETCH_IRQ_EN)
1547 #define BM_PXP_IRQ_MASK_FIRST_CH1_STORE_IRQ_EN 0x00000008
1548 #define BF_PXP_IRQ_MASK_FIRST_CH1_STORE_IRQ_EN(v) \ argument
1549 (((v) << 3) & BM_PXP_IRQ_MASK_FIRST_CH1_STORE_IRQ_EN)
1550 #define BM_PXP_IRQ_MASK_FIRST_CH0_STORE_IRQ_EN 0x00000004
1551 #define BF_PXP_IRQ_MASK_FIRST_CH0_STORE_IRQ_EN(v) \ argument
1552 (((v) << 2) & BM_PXP_IRQ_MASK_FIRST_CH0_STORE_IRQ_EN)
1553 #define BM_PXP_IRQ_MASK_FIRST_CH1_PREFETCH_IRQ_EN 0x00000002
1554 #define BF_PXP_IRQ_MASK_FIRST_CH1_PREFETCH_IRQ_EN(v) \ argument
1555 (((v) << 1) & BM_PXP_IRQ_MASK_FIRST_CH1_PREFETCH_IRQ_EN)
1556 #define BM_PXP_IRQ_MASK_FIRST_CH0_PREFETCH_IRQ_EN 0x00000001
1557 #define BF_PXP_IRQ_MASK_FIRST_CH0_PREFETCH_IRQ_EN(v) \ argument
1558 (((v) << 0) & BM_PXP_IRQ_MASK_FIRST_CH0_PREFETCH_IRQ_EN)
1560 #define HW_PXP_IRQ (0x000003a0)
1561 #define HW_PXP_IRQ_SET (0x000003a4)
1562 #define HW_PXP_IRQ_CLR (0x000003a8)
1563 #define HW_PXP_IRQ_TOG (0x000003ac)
1565 #define BM_PXP_IRQ_COMPRESS_DONE_IRQ 0x80000000
1566 #define BF_PXP_IRQ_COMPRESS_DONE_IRQ(v) \ argument
1567 (((v) << 31) & BM_PXP_IRQ_COMPRESS_DONE_IRQ)
1569 #define BM_PXP_IRQ_RSVD1 0x7FFF0000
1570 #define BF_PXP_IRQ_RSVD1(v) \ argument
1571 (((v) << 16) & BM_PXP_IRQ_RSVD1)
1572 #define BM_PXP_IRQ_WFE_B_STORE_IRQ 0x00008000
1573 #define BF_PXP_IRQ_WFE_B_STORE_IRQ(v) \ argument
1574 (((v) << 15) & BM_PXP_IRQ_WFE_B_STORE_IRQ)
1575 #define BM_PXP_IRQ_WFE_A_STORE_IRQ 0x00004000
1576 #define BF_PXP_IRQ_WFE_A_STORE_IRQ(v) \ argument
1577 (((v) << 14) & BM_PXP_IRQ_WFE_A_STORE_IRQ)
1578 #define BM_PXP_IRQ_DITHER_STORE_IRQ 0x00002000
1579 #define BF_PXP_IRQ_DITHER_STORE_IRQ(v) \ argument
1580 (((v) << 13) & BM_PXP_IRQ_DITHER_STORE_IRQ)
1581 #define BM_PXP_IRQ_FIRST_STORE_IRQ 0x00001000
1582 #define BF_PXP_IRQ_FIRST_STORE_IRQ(v) \ argument
1583 (((v) << 12) & BM_PXP_IRQ_FIRST_STORE_IRQ)
1584 #define BM_PXP_IRQ_WFE_B_CH1_STORE_IRQ 0x00000800
1585 #define BF_PXP_IRQ_WFE_B_CH1_STORE_IRQ(v) \ argument
1586 (((v) << 11) & BM_PXP_IRQ_WFE_B_CH1_STORE_IRQ)
1587 #define BM_PXP_IRQ_WFE_B_CH0_STORE_IRQ 0x00000400
1588 #define BF_PXP_IRQ_WFE_B_CH0_STORE_IRQ(v) \ argument
1589 (((v) << 10) & BM_PXP_IRQ_WFE_B_CH0_STORE_IRQ)
1590 #define BM_PXP_IRQ_WFE_A_CH1_STORE_IRQ 0x00000200
1591 #define BF_PXP_IRQ_WFE_A_CH1_STORE_IRQ(v) \ argument
1592 (((v) << 9) & BM_PXP_IRQ_WFE_A_CH1_STORE_IRQ)
1593 #define BM_PXP_IRQ_WFE_A_CH0_STORE_IRQ 0x00000100
1594 #define BF_PXP_IRQ_WFE_A_CH0_STORE_IRQ(v) \ argument
1595 (((v) << 8) & BM_PXP_IRQ_WFE_A_CH0_STORE_IRQ)
1596 #define BM_PXP_IRQ_DITHER_CH1_STORE_IRQ 0x00000080
1597 #define BF_PXP_IRQ_DITHER_CH1_STORE_IRQ(v) \ argument
1598 (((v) << 7) & BM_PXP_IRQ_DITHER_CH1_STORE_IRQ)
1599 #define BM_PXP_IRQ_DITHER_CH0_STORE_IRQ 0x00000040
1600 #define BF_PXP_IRQ_DITHER_CH0_STORE_IRQ(v) \ argument
1601 (((v) << 6) & BM_PXP_IRQ_DITHER_CH0_STORE_IRQ)
1602 #define BM_PXP_IRQ_DITHER_CH1_PREFETCH_IRQ 0x00000020
1603 #define BF_PXP_IRQ_DITHER_CH1_PREFETCH_IRQ(v) \ argument
1604 (((v) << 5) & BM_PXP_IRQ_DITHER_CH1_PREFETCH_IRQ)
1605 #define BM_PXP_IRQ_DITHER_CH0_PREFETCH_IRQ 0x00000010
1606 #define BF_PXP_IRQ_DITHER_CH0_PREFETCH_IRQ(v) \ argument
1607 (((v) << 4) & BM_PXP_IRQ_DITHER_CH0_PREFETCH_IRQ)
1608 #define BM_PXP_IRQ_FIRST_CH1_STORE_IRQ 0x00000008
1609 #define BF_PXP_IRQ_FIRST_CH1_STORE_IRQ(v) \ argument
1610 (((v) << 3) & BM_PXP_IRQ_FIRST_CH1_STORE_IRQ)
1611 #define BM_PXP_IRQ_FIRST_CH0_STORE_IRQ 0x00000004
1612 #define BF_PXP_IRQ_FIRST_CH0_STORE_IRQ(v) \ argument
1613 (((v) << 2) & BM_PXP_IRQ_FIRST_CH0_STORE_IRQ)
1614 #define BM_PXP_IRQ_FIRST_CH1_PREFETCH_IRQ 0x00000002
1615 #define BF_PXP_IRQ_FIRST_CH1_PREFETCH_IRQ(v) \ argument
1616 (((v) << 1) & BM_PXP_IRQ_FIRST_CH1_PREFETCH_IRQ)
1617 #define BM_PXP_IRQ_FIRST_CH0_PREFETCH_IRQ 0x00000001
1618 #define BF_PXP_IRQ_FIRST_CH0_PREFETCH_IRQ(v) \ argument
1619 (((v) << 0) & BM_PXP_IRQ_FIRST_CH0_PREFETCH_IRQ)
1621 #define HW_PXP_NEXT (0x00000400)
1624 #define BM_PXP_NEXT_POINTER 0xFFFFFFFC
1625 #define BF_PXP_NEXT_POINTER(v) \ argument
1626 (((v) << 2) & BM_PXP_NEXT_POINTER)
1627 #define BM_PXP_NEXT_RSVD 0x00000002
1628 #define BF_PXP_NEXT_RSVD(v) \ argument
1629 (((v) << 1) & BM_PXP_NEXT_RSVD)
1630 #define BM_PXP_NEXT_ENABLED 0x00000001
1631 #define BF_PXP_NEXT_ENABLED(v) \ argument
1632 (((v) << 0) & BM_PXP_NEXT_ENABLED)
1634 #define HW_PXP_DEBUGCTRL (0x00000410)
1637 #define BM_PXP_DEBUGCTRL_RSVD 0xFFFFF000
1638 #define BF_PXP_DEBUGCTRL_RSVD(v) \ argument
1639 (((v) << 12) & BM_PXP_DEBUGCTRL_RSVD)
1641 #define BM_PXP_DEBUGCTRL_LUT_CLR_STAT_CNT 0x00000F00
1642 #define BF_PXP_DEBUGCTRL_LUT_CLR_STAT_CNT(v) \ argument
1643 (((v) << 8) & BM_PXP_DEBUGCTRL_LUT_CLR_STAT_CNT)
1644 #define BV_PXP_DEBUGCTRL_LUT_CLR_STAT_CNT__NONE 0x0
1645 #define BV_PXP_DEBUGCTRL_LUT_CLR_STAT_CNT__MISS_CNT 0x1
1646 #define BV_PXP_DEBUGCTRL_LUT_CLR_STAT_CNT__HIT_CNT 0x2
1647 #define BV_PXP_DEBUGCTRL_LUT_CLR_STAT_CNT__LAT_CNT 0x4
1648 #define BV_PXP_DEBUGCTRL_LUT_CLR_STAT_CNT__MAX_LAT 0x8
1649 #define BP_PXP_DEBUGCTRL_SELECT 0
1650 #define BM_PXP_DEBUGCTRL_SELECT 0x000000FF
1651 #define BF_PXP_DEBUGCTRL_SELECT(v) \ argument
1652 (((v) << 0) & BM_PXP_DEBUGCTRL_SELECT)
1653 #define BV_PXP_DEBUGCTRL_SELECT__NONE 0x0
1654 #define BV_PXP_DEBUGCTRL_SELECT__CTRL 0x1
1655 #define BV_PXP_DEBUGCTRL_SELECT__PSBUF 0x2
1656 #define BV_PXP_DEBUGCTRL_SELECT__PSBAX 0x3
1657 #define BV_PXP_DEBUGCTRL_SELECT__PSBAY 0x4
1658 #define BV_PXP_DEBUGCTRL_SELECT__ASBUF 0x5
1659 #define BV_PXP_DEBUGCTRL_SELECT__ROTATION 0x6
1660 #define BV_PXP_DEBUGCTRL_SELECT__OUTBUF0 0x7
1661 #define BV_PXP_DEBUGCTRL_SELECT__OUTBUF1 0x8
1662 #define BV_PXP_DEBUGCTRL_SELECT__OUTBUF2 0x9
1663 #define BV_PXP_DEBUGCTRL_SELECT__LUT_STAT 0x10
1664 #define BV_PXP_DEBUGCTRL_SELECT__LUT_MISS 0x11
1665 #define BV_PXP_DEBUGCTRL_SELECT__LUT_HIT 0x12
1666 #define BV_PXP_DEBUGCTRL_SELECT__LUT_LAT 0x13
1667 #define BV_PXP_DEBUGCTRL_SELECT__LUT_MAX_LAT 0x14
1669 #define HW_PXP_DEBUG (0x00000420)
1671 #define BP_PXP_DEBUG_DATA 0
1672 #define BM_PXP_DEBUG_DATA 0xFFFFFFFF
1673 #define BF_PXP_DEBUG_DATA(v) (v) argument
1675 #define HW_PXP_VERSION (0x00000430)
1678 #define BM_PXP_VERSION_MAJOR 0xFF000000
1679 #define BF_PXP_VERSION_MAJOR(v) \ argument
1680 (((v) << 24) & BM_PXP_VERSION_MAJOR)
1682 #define BM_PXP_VERSION_MINOR 0x00FF0000
1683 #define BF_PXP_VERSION_MINOR(v) \ argument
1684 (((v) << 16) & BM_PXP_VERSION_MINOR)
1685 #define BP_PXP_VERSION_STEP 0
1686 #define BM_PXP_VERSION_STEP 0x0000FFFF
1687 #define BF_PXP_VERSION_STEP(v) \ argument
1688 (((v) << 0) & BM_PXP_VERSION_STEP)