Lines Matching +full:0 +full:x63000000
101 S3_UNKNOWN = 0,
227 #define SAVAGE_FB_SIZE_S3 0x01000000 /* 16MB */
228 #define SAVAGE_FB_SIZE_S4 0x02000000 /* 32MB */
229 #define SAVAGE_MMIO_SIZE 0x00080000 /* 512kB */
230 #define SAVAGE_APERTURE_OFFSET 0x02000000 /* 32MB */
231 #define SAVAGE_APERTURE_SIZE 0x05000000 /* 5 tiled surfaces, 16MB each */
233 #define SAVAGE_BCI_OFFSET 0x00010000 /* offset of the BCI region
241 #define SAVAGE_STATUS_WORD0 0x48C00
242 #define SAVAGE_STATUS_WORD1 0x48C04
243 #define SAVAGE_ALT_STATUS_WORD0 0x48C60
245 #define SAVAGE_FIFO_USED_MASK_S3D 0x0001ffff
246 #define SAVAGE_FIFO_USED_MASK_S4 0x001fffff
251 #define SAVAGE_BD_STRIDE_SHIFT 0
256 #define SAVAGE_BD_TILE_LINEAR 0
267 #define SAVAGE_GBD_BCI_ENABLE_TWISTER 0
270 #define SAVAGE_GBD_LITTLE_ENDIAN 0
274 #define SAVAGE_BCI_GLB_BD_LOW 0x8168
275 #define SAVAGE_BCI_GLB_BD_HIGH 0x816C
281 #define SAVAGE_DRAWLOCALCTRL_S4 0x1e
282 #define SAVAGE_TEXPALADDR_S4 0x1f
283 #define SAVAGE_TEXCTRL0_S4 0x20
284 #define SAVAGE_TEXCTRL1_S4 0x21
285 #define SAVAGE_TEXADDR0_S4 0x22
286 #define SAVAGE_TEXADDR1_S4 0x23
287 #define SAVAGE_TEXBLEND0_S4 0x24
288 #define SAVAGE_TEXBLEND1_S4 0x25
289 #define SAVAGE_TEXXPRCLR_S4 0x26 /* never used */
290 #define SAVAGE_TEXDESCR_S4 0x27
291 #define SAVAGE_FOGTABLE_S4 0x28
292 #define SAVAGE_FOGCTRL_S4 0x30
293 #define SAVAGE_STENCILCTRL_S4 0x31
294 #define SAVAGE_ZBUFCTRL_S4 0x32
295 #define SAVAGE_ZBUFOFF_S4 0x33
296 #define SAVAGE_DESTCTRL_S4 0x34
297 #define SAVAGE_DRAWCTRL0_S4 0x35
298 #define SAVAGE_DRAWCTRL1_S4 0x36
299 #define SAVAGE_ZWATERMARK_S4 0x37
300 #define SAVAGE_DESTTEXRWWATERMARK_S4 0x38
301 #define SAVAGE_TEXBLENDCOLOR_S4 0x39
303 #define SAVAGE_TEXPALADDR_S3D 0x18
304 #define SAVAGE_TEXXPRCLR_S3D 0x19 /* never used */
305 #define SAVAGE_TEXADDR_S3D 0x1A
306 #define SAVAGE_TEXDESCR_S3D 0x1B
307 #define SAVAGE_TEXCTRL_S3D 0x1C
308 #define SAVAGE_FOGTABLE_S3D 0x20
309 #define SAVAGE_FOGCTRL_S3D 0x30
310 #define SAVAGE_DRAWCTRL_S3D 0x31
311 #define SAVAGE_ZBUFCTRL_S3D 0x32
312 #define SAVAGE_ZBUFOFF_S3D 0x33
313 #define SAVAGE_DESTCTRL_S3D 0x34
314 #define SAVAGE_SCSTART_S3D 0x35
315 #define SAVAGE_SCEND_S3D 0x36
316 #define SAVAGE_ZWATERMARK_S3D 0x37
317 #define SAVAGE_DESTTEXRWWATERMARK_S3D 0x38
319 #define SAVAGE_VERTBUFADDR 0x3e
320 #define SAVAGE_BITPLANEWTMASK 0xd7
321 #define SAVAGE_DMABUFADDR 0x51
324 #define SAVAGE_TEXCTRL_TEXEN_MASK 0x00010000 /* S3D */
325 #define SAVAGE_TEXDESCR_TEX0EN_MASK 0x02000000 /* S4 */
326 #define SAVAGE_TEXDESCR_TEX1EN_MASK 0x04000000 /* S4 */
341 #define SAVAGE_DRAWCTRL_S3D_GLOBAL 0x03f3c00c
342 #define SAVAGE_ZBUFCTRL_S3D_GLOBAL 0x00000027
346 #define SAVAGE_SCISSOR_MASK_S4 0x00fff7ff
347 #define SAVAGE_SCISSOR_MASK_S3D 0x07ff07ff
352 #define BCI_CMD_NOP 0x40000000
353 #define BCI_CMD_RECT 0x48000000
354 #define BCI_CMD_RECT_XP 0x01000000
355 #define BCI_CMD_RECT_YP 0x02000000
356 #define BCI_CMD_SCANLINE 0x50000000
357 #define BCI_CMD_LINE 0x5C000000
358 #define BCI_CMD_LINE_LAST_PIXEL 0x58000000
359 #define BCI_CMD_BYTE_TEXT 0x63000000
360 #define BCI_CMD_NT_BYTE_TEXT 0x67000000
361 #define BCI_CMD_BIT_TEXT 0x6C000000
362 #define BCI_CMD_GET_ROP(cmd) (((cmd) >> 16) & 0xFF)
363 #define BCI_CMD_SET_ROP(cmd, rop) ((cmd) |= ((rop & 0xFF) << 16))
364 #define BCI_CMD_SEND_COLOR 0x00008000
366 #define BCI_CMD_CLIP_NONE 0x00000000
367 #define BCI_CMD_CLIP_CURRENT 0x00002000
368 #define BCI_CMD_CLIP_LR 0x00004000
369 #define BCI_CMD_CLIP_NEW 0x00006000
371 #define BCI_CMD_DEST_GBD 0x00000000
372 #define BCI_CMD_DEST_PBD 0x00000800
373 #define BCI_CMD_DEST_PBD_NEW 0x00000C00
374 #define BCI_CMD_DEST_SBD 0x00001000
375 #define BCI_CMD_DEST_SBD_NEW 0x00001400
377 #define BCI_CMD_SRC_TRANSPARENT 0x00000200
378 #define BCI_CMD_SRC_SOLID 0x00000000
379 #define BCI_CMD_SRC_GBD 0x00000020
380 #define BCI_CMD_SRC_COLOR 0x00000040
381 #define BCI_CMD_SRC_MONO 0x00000060
382 #define BCI_CMD_SRC_PBD_COLOR 0x00000080
383 #define BCI_CMD_SRC_PBD_MONO 0x000000A0
384 #define BCI_CMD_SRC_PBD_COLOR_NEW 0x000000C0
385 #define BCI_CMD_SRC_PBD_MONO_NEW 0x000000E0
386 #define BCI_CMD_SRC_SBD_COLOR 0x00000100
387 #define BCI_CMD_SRC_SBD_MONO 0x00000120
388 #define BCI_CMD_SRC_SBD_COLOR_NEW 0x00000140
389 #define BCI_CMD_SRC_SBD_MONO_NEW 0x00000160
391 #define BCI_CMD_PAT_TRANSPARENT 0x00000010
392 #define BCI_CMD_PAT_NONE 0x00000000
393 #define BCI_CMD_PAT_COLOR 0x00000002
394 #define BCI_CMD_PAT_MONO 0x00000003
395 #define BCI_CMD_PAT_PBD_COLOR 0x00000004
396 #define BCI_CMD_PAT_PBD_MONO 0x00000005
397 #define BCI_CMD_PAT_PBD_COLOR_NEW 0x00000006
398 #define BCI_CMD_PAT_PBD_MONO_NEW 0x00000007
399 #define BCI_CMD_PAT_SBD_COLOR 0x00000008
400 #define BCI_CMD_PAT_SBD_MONO 0x00000009
401 #define BCI_CMD_PAT_SBD_COLOR_NEW 0x0000000A
402 #define BCI_CMD_PAT_SBD_MONO_NEW 0x0000000B
404 #define BCI_BD_BW_DISABLE 0x10000000
405 #define BCI_BD_TILE_MASK 0x03000000
406 #define BCI_BD_TILE_NONE 0x00000000
407 #define BCI_BD_TILE_16 0x02000000
408 #define BCI_BD_TILE_32 0x03000000
409 #define BCI_BD_GET_BPP(bd) (((bd) >> 16) & 0xFF)
410 #define BCI_BD_SET_BPP(bd, bpp) ((bd) |= (((bpp) & 0xFF) << 16))
411 #define BCI_BD_GET_STRIDE(bd) ((bd) & 0xFFFF)
412 #define BCI_BD_SET_STRIDE(bd, st) ((bd) |= ((st) & 0xFFFF))
414 #define BCI_CMD_SET_REGISTER 0x96000000
416 #define BCI_CMD_WAIT 0xC0000000
417 #define BCI_CMD_WAIT_3D 0x00010000
418 #define BCI_CMD_WAIT_2D 0x00020000
420 #define BCI_CMD_UPDATE_EVENT_TAG 0x98000000
422 #define BCI_CMD_DRAW_PRIM 0x80000000
423 #define BCI_CMD_DRAW_INDEXED_PRIM 0x88000000
424 #define BCI_CMD_DRAW_CONT 0x01000000
425 #define BCI_CMD_DRAW_TRILIST 0x00000000
426 #define BCI_CMD_DRAW_TRISTRIP 0x02000000
427 #define BCI_CMD_DRAW_TRIFAN 0x04000000
428 #define BCI_CMD_DRAW_SKIPFLAGS 0x000000ff
429 #define BCI_CMD_DRAW_NO_Z 0x00000001
430 #define BCI_CMD_DRAW_NO_W 0x00000002
431 #define BCI_CMD_DRAW_NO_CD 0x00000004
432 #define BCI_CMD_DRAW_NO_CS 0x00000008
433 #define BCI_CMD_DRAW_NO_U0 0x00000010
434 #define BCI_CMD_DRAW_NO_V0 0x00000020
435 #define BCI_CMD_DRAW_NO_UV0 0x00000030
436 #define BCI_CMD_DRAW_NO_U1 0x00000040
437 #define BCI_CMD_DRAW_NO_V1 0x00000080
438 #define BCI_CMD_DRAW_NO_UV1 0x000000c0
440 #define BCI_CMD_DMA 0xa8000000
442 #define BCI_W_H(w, h) ((((h) << 16) | (w)) & 0x0FFF0FFF)
443 #define BCI_X_Y(x, y) ((((y) << 16) | (x)) & 0x0FFF0FFF)
444 #define BCI_X_W(x, y) ((((w) << 16) | (x)) & 0x0FFF0FFF)
445 #define BCI_CLIP_LR(l, r) ((((r) << 16) | (l)) & 0x0FFF0FFF)
446 #define BCI_CLIP_TL(t, l) ((((t) << 16) | (l)) & 0x0FFF0FFF)
447 #define BCI_CLIP_BR(b, r) ((((b) << 16) | (r)) & 0x0FFF0FFF)
449 #define BCI_LINE_X_Y(x, y) (((y) << 16) | ((x) & 0xFFFF))
450 #define BCI_LINE_STEPS(diag, axi) (((axi) << 16) | ((diag) & 0xFFFF))
452 (((maj) & 0x1FFF) | \
453 ((ym) ? 1<<13 : 0) | \
454 ((xp) ? 1<<14 : 0) | \
455 ((yp) ? 1<<15 : 0) | \
463 ((uint32_t)(n) & 0xff) << 16 | \
464 ((uint32_t)(first) & 0xffff))
467 ((uint32_t)(n) & 0xff) << 16 | \
468 ((uint32_t)(first) & 0xffff))
506 } while(0)
527 if (dev_priv->dma_pages[cur].used == 0) \
531 } while(0)
538 } while(0)
551 } while(0)
553 #define DMA_COMMIT() do {/* nothing */} while(0)
570 } while(0)
575 } while(0)