Lines Matching refs:GOP_REG

316 #define GOP_REG(bk, reg)                     (GOP_REG_BASE+((MS_U32)(bk)<<16) + (reg) * 2)  macro
397 #define GOP_4G_CTRL0 GOP_REG(GOP_4G_OFST, 0x00)
398 #define GOP_4G_CTRL1 GOP_REG(GOP_4G_OFST, 0x01)
399 #define GOP_4G_RATE GOP_REG(GOP_4G_OFST, 0x02)
400 #define GOP_4G_PALDATA_L GOP_REG(GOP_4G_OFST, 0x03)
401 #define GOP_4G_PALDATA_H GOP_REG(GOP_4G_OFST, 0x04)
402 #define GOP_4G_PALCTRL GOP_REG(GOP_4G_OFST, 0x05)
403 #define GOP_4G_REGDMA_END GOP_REG(GOP_4G_OFST, 0x06)
404 #define GOP_4G_REGDMA_STR GOP_REG(GOP_4G_OFST, 0x07)
405 #define GOP_4G_INT GOP_REG(GOP_4G_OFST, 0x08)
406 #define GOP_4G_HWSTATE GOP_REG(GOP_4G_OFST, 0x09)
407 #define GOP_4G_SVM_HSTR GOP_REG(GOP_4G_OFST, 0x0a)
408 #define GOP_4G_SVM_HEND GOP_REG(GOP_4G_OFST, 0x0b)
409 #define GOP_4G_SVM_VSTR GOP_REG(GOP_4G_OFST, 0x0c)
410 #define GOP_4G_SVM_VEND GOP_REG(GOP_4G_OFST, 0x0d)
411 #define GOP_4G_RDMA_HT GOP_REG(GOP_4G_OFST, 0x0e)
412 #define GOP_4G_HS_PIPE GOP_REG(GOP_4G_OFST, 0x0f)
413 #define GOP_4G_SLOW GOP_REG(GOP_4G_OFST, 0x10)
414 #define GOP_4G_BRI GOP_REG(GOP_4G_OFST, 0x11)
415 #define GOP_4G_CON GOP_REG(GOP_4G_OFST, 0x12)
416 #define GOP_4G_BW GOP_REG(GOP_4G_OFST, 0x19)
417 #define GOP_4G_NEW_BW GOP_REG(GOP_4G_OFST, 0x1C)
418 #define GOP_4G_SRAM_BORROW GOP_REG(GOP_4G_OFST, 0x1D)
419 #define GOP_4G_3D_MIDDLE GOP_REG(GOP_4G_OFST, 0x1E)
420 #define GOP_4G_MIU_SEL GOP_REG(GOP_4G_OFST, 0x1F)
421 #define GOP_4G_PRI0 GOP_REG(GOP_4G_OFST, 0x20)
422 #define GOP_4G_BOT_HS GOP_REG(GOP_4G_OFST, 0x23)
423 #define GOP_4G_TRSCLR_L GOP_REG(GOP_4G_OFST, 0x24)
424 #define GOP_4G_TRSCLR_H GOP_REG(GOP_4G_OFST, 0x25)
425 #define GOP_4G_YUV_SWAP GOP_REG(GOP_4G_OFST, 0x28)
426 #define GOP_4G_STRCH_HSZ GOP_REG(GOP_4G_OFST, 0x30)
427 #define GOP_4G_STRCH_VSZ GOP_REG(GOP_4G_OFST, 0x31)
428 #define GOP_4G_STRCH_HSTR GOP_REG(GOP_4G_OFST, 0x32)
429 #define GOP_4G_STRCH_VSTR GOP_REG(GOP_4G_OFST, 0x34)
430 #define GOP_4G_HSTRCH GOP_REG(GOP_4G_OFST, 0x35)
431 #define GOP_4G_VSTRCH GOP_REG(GOP_4G_OFST, 0x36)
432 #define GOP_4G_HSTRCH_INI GOP_REG(GOP_4G_OFST, 0x38)
433 #define GOP_4G_VSTRCH_INI GOP_REG(GOP_4G_OFST, 0x39)
434 #define GOP_4G_HVSTRCHMD GOP_REG(GOP_4G_OFST, 0x3a)
435 #define GOP_4G_OLDADDR GOP_REG(GOP_4G_OFST, 0x3b)
436 #define GOP_4G_MULTI_ALPHA GOP_REG(GOP_4G_OFST, 0x3c)
439 #define GOP_4G_HW_USAGE GOP_REG(GOP_4G_OFST, 0x40)
440 #define GOP_4G_BANK_FWR GOP_REG(GOP_4G_OFST, 0x50)
441 #define GOP_4G_BANK_HVAILDSIZE GOP_REG(GOP_4G_OFST, 0x52)
442 #define GOP_4G_BANK_VVAILDSIZE GOP_REG(GOP_4G_OFST, 0x53)
443 #define GOP_4G_SCALING_H_OUTPUTSIZE GOP_REG(GOP_4G_OFST, 0x56)
444 #define GOP_4G_SCALING_HRATIO_L GOP_REG(GOP_4G_OFST, 0x59) //GOP scaling down ratio d…
445 #define GOP_4G_SCALING_HRATIO_H GOP_REG(GOP_4G_OFST, 0x5A)
446 #define GOP_4G_SCALING_CFG GOP_REG(GOP_4G_OFST, 0x5B)
447 #define GOP_4G_SCALING_VRATIO_L GOP_REG(GOP_4G_OFST, 0x5C) //GOP scaling down ratio d…
448 #define GOP_4G_SCALING_VRATIO_H GOP_REG(GOP_4G_OFST, 0x5D)
451 #define GOP_4G_RBLK0_VOFFL GOP_REG(GOP_4G_OFST, 0x60)
452 #define GOP_4G_RBLK0_VOFFH GOP_REG(GOP_4G_OFST, 0x61)
453 #define GOP_4G_RBLK1_VOFFL GOP_REG(GOP_4G_OFST, 0x62)
454 #define GOP_4G_RBLK1_VOFFH GOP_REG(GOP_4G_OFST, 0x63)
455 #define GOP_4G_RBLK2_VOFFL GOP_REG(GOP_4G_OFST, 0x64)
456 #define GOP_4G_RBLK2_VOFFH GOP_REG(GOP_4G_OFST, 0x65)
457 #define GOP_4G_RBLK3_VOFFL GOP_REG(GOP_4G_OFST, 0x66)
458 #define GOP_4G_RBLK3_VOFFH GOP_REG(GOP_4G_OFST, 0x67)
459 #define GOP_4G_RBLK0_HOFF GOP_REG(GOP_4G_OFST, 0x70)
460 #define GOP_4G_RBLK1_HOFF GOP_REG(GOP_4G_OFST, 0x71)
461 #define GOP_4G_RBLK2_HOFF GOP_REG(GOP_4G_OFST, 0x72)
462 #define GOP_4G_RBLK3_HOFF GOP_REG(GOP_4G_OFST, 0x73)
463 #define GOP_4G_REGDMA_EN GOP_REG(GOP_4G_OFST, 0x78)
471 #define GOP_4G_GWIN0_CTRL(id) GOP_REG(GOP_4G_OFST+1, 0x00 + (0x20*((id)%MAX_GOP0_GWIN…
472 #define GOP_4G_DRAM_RBLK_L(id) GOP_REG(GOP_4G_OFST+1, 0x01 + (0x20*((id)%MAX_GOP0_GWIN…
473 #define GOP_4G_DRAM_RBLK_H(id) GOP_REG(GOP_4G_OFST+1, 0x02 + (0x20*((id)%MAX_GOP0_GWIN…
474 #define GOP_4G_DEL_PIXEL(id) GOP_REG(GOP_4G_OFST+1, 0x03 + (0x20*((id)%MAX_GOP1_GWIN…
475 #define GOP_4G_HSTR(id) GOP_REG(GOP_4G_OFST+1, 0x04 + (0x20*((id)%MAX_GOP0_GWIN…
476 #define GOP_4G_HEND(id) GOP_REG(GOP_4G_OFST+1, 0x05 + (0x20*((id)%MAX_GOP0_GWIN…
477 #define GOP_4G_VSTR(id) GOP_REG(GOP_4G_OFST+1, 0x06 + (0x20*((id)%MAX_GOP0_GWIN…
478 #define GOP_4G_GWIN_MIDDLE(id) GOP_REG(GOP_4G_OFST+1, 0x07 + (0x20*((id)%MAX_GOP0_GWIN…
479 #define GOP_4G_VEND(id) GOP_REG(GOP_4G_OFST+1, 0x08 + (0x20*((id)%MAX_GOP0_GWIN…
480 #define GOP_4G_DRAM_RBLK_HSIZE(id) GOP_REG(GOP_4G_OFST+1, 0x09 + (0x20*((id)%MAX_GOP0_GWIN…
481 #define GOP_4G_GWIN_ALPHA01(id) GOP_REG(GOP_4G_OFST+1, 0x0A + (0x20*((id)%MAX_GOP0_GWIN…
482 #define GOP_4G_DRAM_VSTR_L(id) GOP_REG(GOP_4G_OFST+1, 0x0C + (0x20*((id)%MAX_GOP0_GWIN…
483 #define GOP_4G_DRAM_VSTR_H(id) GOP_REG(GOP_4G_OFST+1, 0x0D + (0x20*((id)%MAX_GOP0_GWIN…
484 #define GOP_4G_DRAM_HSTR(id) GOP_REG(GOP_4G_OFST+1, 0x0E + (0x20*((id)%MAX_GOP0_GWIN…
485 #define GOP_4G_DRAM_RBLK_SIZE_L(id) GOP_REG(GOP_4G_OFST+1, 0x10 + (0x20*((id)%MAX_GOP0_GWIN…
486 #define GOP_4G_DRAM_RBLK_SIZE_H(id) GOP_REG(GOP_4G_OFST+1, 0x11 + (0x20*((id)%MAX_GOP0_GWIN…
487 #define GOP_4G_DRAM_RLEN_L(id) GOP_REG(GOP_4G_OFST+1, 0x12 + (0x20*((id)%MAX_GOP0_GWIN…
488 #define GOP_4G_DRAM_RLEN_H(id) GOP_REG(GOP_4G_OFST+1, 0x13 + (0x20*((id)%MAX_GOP0_GWIN…
489 #define GOP_4G_DRAM_HVSTOP_L(id) GOP_REG(GOP_4G_OFST+1, 0x14 + (0x20*((id)%MAX_GOP0_GWIN…
490 #define GOP_4G_DRAM_HVSTOP_H(id) GOP_REG(GOP_4G_OFST+1, 0x15 + (0x20*((id)%MAX_GOP0_GWIN…
491 #define GOP_4G_DRAM_FADE(id) GOP_REG(GOP_4G_OFST+1, 0x16 + (0x20*((id)%MAX_GOP0_GWIN…
492 #define GOP_4G_BG_CLR(id) GOP_REG(GOP_4G_OFST+1, 0x18 + (0x20*((id)%MAX_GOP0_GWIN…
493 #define GOP_4G_BG_HSTR(id) GOP_REG(GOP_4G_OFST+1, 0x19 + (0x20*((id)%MAX_GOP0_GWIN…
494 #define GOP_4G_BG_HEND(id) GOP_REG(GOP_4G_OFST+1, 0x1a + (0x20*((id)%MAX_GOP0_GWIN…
495 #define GOP_4G_BG_VSTR(id) GOP_REG(GOP_4G_OFST+1, 0x1C + (0x20*((id)%MAX_GOP0_GWIN…
496 #define GOP_4G_BG_VEND(id) GOP_REG(GOP_4G_OFST+1, 0x1D + (0x20*((id)%MAX_GOP0_GWIN…
497 #define GOP_4G_3DOSD_SUB_RBLK_L(id) GOP_REG(GOP_4G_OFST+1, 0x1E + (0x20*((id)%MAX_GOP0_GWIN…
498 #define GOP_4G_3DOSD_SUB_RBLK_H(id) GOP_REG(GOP_4G_OFST+1, 0x1F + (0x20*((id)%MAX_GOP0_GWIN…
501 #define GOP_2G_CTRL0 GOP_REG(GOP_2G_OFST, 0x00)
502 #define GOP_2G_CTRL1 GOP_REG(GOP_2G_OFST, 0x01)
503 #define GOP_2G_RATE GOP_REG(GOP_2G_OFST, 0x02)
504 #define GOP_2G_PALDATA_L GOP_REG(GOP_2G_OFST, 0x03)
505 #define GOP_2G_PALDATA_H GOP_REG(GOP_2G_OFST, 0x04)
506 #define GOP_2G_PALCTRL GOP_REG(GOP_2G_OFST, 0x05)
507 #define GOP_2G_REGDMA_END GOP_REG(GOP_2G_OFST, 0x06)
508 #define GOP_2G_REGDMA_STR GOP_REG(GOP_2G_OFST, 0x07)
509 #define GOP_2G_INT GOP_REG(GOP_2G_OFST, 0x08)
510 #define GOP_2G_HWSTATE GOP_REG(GOP_2G_OFST, 0x09)
511 #define GOP_2G_RDMA_HT GOP_REG(GOP_2G_OFST, 0x0e)
512 #define GOP_2G_HS_PIPE GOP_REG(GOP_2G_OFST, 0x0f)
513 #define GOP_2G_SLOW GOP_REG(GOP_2G_OFST, 0x10)
514 #define GOP_2G_BRI GOP_REG(GOP_2G_OFST, 0x11)
515 #define GOP_2G_CON GOP_REG(GOP_2G_OFST, 0x12)
516 #define GOP_2G_BW GOP_REG(GOP_2G_OFST, 0x19)
517 #define GOP_2G_3D_MIDDLE GOP_REG(GOP_2G_OFST, 0x1E)
518 #define GOP_2G_PRI0 GOP_REG(GOP_2G_OFST, 0x20)
519 #define GOP_2G_TRSCLR_L GOP_REG(GOP_2G_OFST, 0x24)
520 #define GOP_2G_TRSCLR_H GOP_REG(GOP_2G_OFST, 0x25)
521 #define GOP_2G_STRCH_HSZ GOP_REG(GOP_2G_OFST, 0x30)
522 #define GOP_2G_STRCH_VSZ GOP_REG(GOP_2G_OFST, 0x31)
523 #define GOP_2G_STRCH_HSTR GOP_REG(GOP_2G_OFST, 0x32)
524 #define GOP_2G_STRCH_VSTR GOP_REG(GOP_2G_OFST, 0x34)
525 #define GOP_2G_HSTRCH GOP_REG(GOP_2G_OFST, 0x35)
526 #define GOP_2G_VSTRCH GOP_REG(GOP_2G_OFST, 0x36)
527 #define GOP_2G_HSTRCH_INI GOP_REG(GOP_2G_OFST, 0x38)
528 #define GOP_2G_VSTRCH_INI GOP_REG(GOP_2G_OFST, 0x39)
529 #define GOP_2G_HVStrch_MD GOP_REG(GOP_2G_OFST, 0x3a)
530 #define GOP_2G_OLDADDR GOP_REG(GOP_2G_OFST, 0x3b)
531 #define GOP_2G_MULTI_ALPHA GOP_REG(GOP_2G_OFST, 0x3c)
532 #define GOP_2G_REGDMA_EN GOP_REG(GOP_2G_OFST, 0x78)
535 #define GOP_2G_GWIN0_CTRL(id) GOP_REG(GOP_2G_OFST+1, 0x00 + (0x20*((id)%MAX_GOP1_GWIN…
536 #define GOP_2G_GWIN_CTRL(id) GOP_REG(GOP_2G_OFST+1, 0x00 + (0x20*((id)%MAX_GOP1_GWIN…
537 #define GOP_2G_DRAM_RBLK_L(id) GOP_REG(GOP_2G_OFST+1, 0x01 + (0x20*((id)%MAX_GOP1_GWIN…
538 #define GOP_2G_DRAM_RBLK_H(id) GOP_REG(GOP_2G_OFST+1, 0x02 + (0x20*((id)%MAX_GOP1_GWIN…
539 #define GOP_2G_DEL_PIXEL(id) GOP_REG(GOP_2G_OFST+1, 0x03 + (0x20*((id)%MAX_GOP1_GWIN…
540 #define GOP_2G_HSTR(id) GOP_REG(GOP_2G_OFST+1, 0x04 + (0x20*((id)%MAX_GOP1_GWIN…
541 #define GOP_2G_HEND(id) GOP_REG(GOP_2G_OFST+1, 0x05 + (0x20*((id)%MAX_GOP1_GWIN…
542 #define GOP_2G_VSTR(id) GOP_REG(GOP_2G_OFST+1, 0x06 + (0x20*((id)%MAX_GOP1_GWIN…
543 #define GOP_2G_VEND(id) GOP_REG(GOP_2G_OFST+1, 0x08 + (0x20*((id)%MAX_GOP1_GWIN…
544 #define GOP_2G_DRAM_RBLK_HSIZE(id) GOP_REG(GOP_2G_OFST+1, 0x09 + (0x20*((id)%MAX_GOP1_GWIN…
545 #define GOP_2G_GWIN_ALPHA01(id) GOP_REG(GOP_2G_OFST+1, 0x0A + (0x20*((id)%MAX_GOP1_GWIN…
546 #define GOP_2G_DRAM_VSTR_L(id) GOP_REG(GOP_2G_OFST+1, 0x0C + (0x20*((id)%MAX_GOP1_GWIN…
547 #define GOP_2G_DRAM_VSTR_H(id) GOP_REG(GOP_2G_OFST+1, 0x0D + (0x20*((id)%MAX_GOP1_GWIN…
548 #define GOP_2G_DRAM_FADE(id) GOP_REG(GOP_2G_OFST+1, 0x16 + (0x20*((id)%MAX_GOP1_GWIN…
549 #define GOP_2G_3DOSD_SUB_RBLK_L(id) GOP_REG(GOP_2G_OFST+1, 0x1E + (0x20*((id)%MAX_GOP1_GWIN…
550 #define GOP_2G_3DOSD_SUB_RBLK_H(id) GOP_REG(GOP_2G_OFST+1, 0x1F + (0x20*((id)%MAX_GOP1_GWIN…
553 #define GOP_DW_CTL0_EN GOP_REG(GOP_DW_OFST, 0x00)
559 #define GOP_DW_LSTR_WBE GOP_REG(GOP_DW_OFST, 0x01)
560 #define GOP_DW_INT_MASK GOP_REG(GOP_DW_OFST, 0x02)
561 #define GOP_DW_DEBUG GOP_REG(GOP_DW_OFST, 0x03)
562 #define GOP_DW_ALPHA GOP_REG(GOP_DW_OFST, 0x04)
563 #define GOP_DW_BW GOP_REG(GOP_DW_OFST, 0x05)
564 #define GOP_DW_VSTR GOP_REG(GOP_DW_OFST, 0x10)
565 #define GOP_DW_HSTR GOP_REG(GOP_DW_OFST, 0x11)
566 #define GOP_DW_VEND GOP_REG(GOP_DW_OFST, 0x12)
567 #define GOP_DW_HEND GOP_REG(GOP_DW_OFST, 0x13)
568 #define GOP_DW_HSIZE GOP_REG(GOP_DW_OFST, 0x14)
569 #define GOP_DW_JMPLEN GOP_REG(GOP_DW_OFST, 0x15)
570 #define GOP_DW_DSTR_L GOP_REG(GOP_DW_OFST, 0x16)
571 #define GOP_DW_DSTR_H GOP_REG(GOP_DW_OFST, 0x17)
572 #define GOP_DW_UB_L GOP_REG(GOP_DW_OFST, 0x18)
573 #define GOP_DW_UB_H GOP_REG(GOP_DW_OFST, 0x19)
575 #define GOP_DW_PON_DSTR_L GOP_REG(GOP_DW_OFST, 0x1a)
576 #define GOP_DW_PON_DSTR_H GOP_REG(GOP_DW_OFST, 0x1b)
577 #define GOP_DW_PON_UB_L GOP_REG(GOP_DW_OFST, 0x1c)
578 #define GOP_DW_PON_UB_H GOP_REG(GOP_DW_OFST, 0x1d)
579 #define GOP_DW_FRAME_CTRL GOP_REG(GOP_DW_OFST, 0x30)
581 #define GOP_1G_CTRL0 GOP_REG(GOP_1G_OFST, 0x00)
582 #define GOP_1G_CTRL1 GOP_REG(GOP_1G_OFST, 0x01)
583 #define GOP_1G_RATE GOP_REG(GOP_1G_OFST, 0x02)
584 #define GOP_1G_PALDATA_L GOP_REG(GOP_1G_OFST, 0x03)
585 #define GOP_1G_PALDATA_H GOP_REG(GOP_1G_OFST, 0x04)
586 #define GOP_1G_PALCTRL GOP_REG(GOP_1G_OFST, 0x05)
587 #define GOP_1G_REGDMA_END GOP_REG(GOP_1G_OFST, 0x06)
588 #define GOP_1G_REGDMA_STR GOP_REG(GOP_1G_OFST, 0x07)
589 #define GOP_1G_INT GOP_REG(GOP_1G_OFST, 0x08)
590 #define GOP_1G_HWSTATE GOP_REG(GOP_1G_OFST, 0x09)
591 #define GOP_1G_RDMA_HT GOP_REG(GOP_1G_OFST, 0x0e)
592 #define GOP_1G_HS_PIPE GOP_REG(GOP_1G_OFST, 0x0f)
593 #define GOP_1G_BRI GOP_REG(GOP_1G_OFST, 0x11)
594 #define GOP_1G_CON GOP_REG(GOP_1G_OFST, 0x12)
595 #define GOP_1G_BW GOP_REG(GOP_1G_OFST, 0x19)
596 #define GOP_1G_3D_MIDDLE GOP_REG(GOP_1G_OFST, 0x1E)
597 #define GOP_1G_TRSCLR_L GOP_REG(GOP_1G_OFST, 0x24)
598 #define GOP_1G_TRSCLR_H GOP_REG(GOP_1G_OFST, 0x25)
599 #define GOP_1G_STRCH_HSZ GOP_REG(GOP_1G_OFST, 0x30)
600 #define GOP_1G_STRCH_VSZ GOP_REG(GOP_1G_OFST, 0x31)
601 #define GOP_1G_STRCH_HSTR GOP_REG(GOP_1G_OFST, 0x32)
602 #define GOP_1G_STRCH_VSTR GOP_REG(GOP_1G_OFST, 0x34)
603 #define GOP_1G_HSTRCH GOP_REG(GOP_1G_OFST, 0x35)
604 #define GOP_1G_HSTRCH_INI GOP_REG(GOP_1G_OFST, 0x38)
605 #define GOP_1G_VSTRCH_INI GOP_REG(GOP_1G_OFST, 0x39)
606 #define GOP_1G_HStrch_MD GOP_REG(GOP_1G_OFST, 0x3a)
607 #define GOP_1G_OLDADDR GOP_REG(GOP_1G_OFST, 0x3b)
608 #define GOP_1G_MULTI_ALPHA GOP_REG(GOP_1G_OFST, 0x3c)
610 #define GOP_1G_GWIN0_CTRL GOP_REG(GOP_1G_OFST+1, 0x0)
611 #define GOP_1G_DRAM_RBLK_L GOP_REG(GOP_1G_OFST+1, 0x1)
612 #define GOP_1G_DRAM_RBLK_H GOP_REG(GOP_1G_OFST+1, 0x2)
613 #define GOP_1G_DEL_PIXEL GOP_REG(GOP_1G_OFST+1, 0x3)
614 #define GOP_1G_HSTR GOP_REG(GOP_1G_OFST+1, 0x4)
615 #define GOP_1G_HEND GOP_REG(GOP_1G_OFST+1, 0x5)
616 #define GOP_1G_VSTR GOP_REG(GOP_1G_OFST+1, 0x6)
617 #define GOP_1G_VEND GOP_REG(GOP_1G_OFST+1, 0x8)
618 #define GOP_1G_DRAM_RBLK_HSIZE GOP_REG(GOP_1G_OFST+1, 0x9)
619 #define GOP_1G_GWIN_ALPHA01 GOP_REG(GOP_1G_OFST+1, 0xA)
620 #define GOP_1G_DRAM_VSTR_L GOP_REG(GOP_1G_OFST+1, 0x0C)
621 #define GOP_1G_DRAM_VSTR_H GOP_REG(GOP_1G_OFST+1, 0x0D)
622 #define GOP_1G_DRAM_FADE GOP_REG(GOP_1G_OFST+1, 0x16)
623 #define GOP_1G_3DOSD_SUB_RBLK_L GOP_REG(GOP_1G_OFST+1, 0x1E)
624 #define GOP_1G_3DOSD_SUB_RBLK_H GOP_REG(GOP_1G_OFST+1, 0x1F)
626 #define GOP_1GX_CTRL0 GOP_REG(GOP_1GX_OFST, 0x00)
627 #define GOP_1GX_CTRL1 GOP_REG(GOP_1GX_OFST, 0x01)
628 #define GOP_1GX_RATE GOP_REG(GOP_1GX_OFST, 0x02)
629 #define GOP_1GX_PALDATA_L GOP_REG(GOP_1GX_OFST, 0x03)
630 #define GOP_1GX_PALDATA_H GOP_REG(GOP_1GX_OFST, 0x04)
631 #define GOP_1GX_PALCTRL GOP_REG(GOP_1GX_OFST, 0x05)
632 #define GOP_1GX_REGDMA_END GOP_REG(GOP_1GX_OFST, 0x06)
633 #define GOP_1GX_REGDMA_STR GOP_REG(GOP_1GX_OFST, 0x07)
634 #define GOP_1GX_INT GOP_REG(GOP_1GX_OFST, 0x08)
635 #define GOP_1GX_HWSTATE GOP_REG(GOP_1GX_OFST, 0x09)
636 #define GOP_1GX_RDMA_HT GOP_REG(GOP_1GX_OFST, 0x0e)
637 #define GOP_1GX_HS_PIPE GOP_REG(GOP_1GX_OFST, 0x0f)
638 #define GOP_1GX_BRI GOP_REG(GOP_1GX_OFST, 0x11)
639 #define GOP_1GX_CON GOP_REG(GOP_1GX_OFST, 0x12)
640 #define GOP_1GX_BW GOP_REG(GOP_1GX_OFST, 0x19)
641 #define GOP_1GX_3D_MIDDLE GOP_REG(GOP_1GX_OFST, 0x1E)
642 #define GOP_1GX_TRSCLR_L GOP_REG(GOP_1GX_OFST, 0x24)
643 #define GOP_1GX_TRSCLR_H GOP_REG(GOP_1GX_OFST, 0x25)
644 #define GOP_1GX_STRCH_HSZ GOP_REG(GOP_1GX_OFST, 0x30)
645 #define GOP_1GX_STRCH_VSZ GOP_REG(GOP_1GX_OFST, 0x31)
646 #define GOP_1GX_STRCH_HSTR GOP_REG(GOP_1GX_OFST, 0x32)
647 #define GOP_1GX_STRCH_VSTR GOP_REG(GOP_1GX_OFST, 0x34)
648 #define GOP_1GX_HSTRCH GOP_REG(GOP_1GX_OFST, 0x35)
649 #define GOP_1GX_HSTRCH_INI GOP_REG(GOP_1GX_OFST, 0x38)
650 #define GOP_1GX_VSTRCH_INI GOP_REG(GOP_1GX_OFST, 0x39)
651 #define GOP_1GX_HStrch_MD GOP_REG(GOP_1GX_OFST, 0x3a)
652 #define GOP_1GX_OLDADDR GOP_REG(GOP_1GX_OFST, 0x3b)
653 #define GOP_1GX_MULTI_ALPHA GOP_REG(GOP_1GX_OFST, 0x3c)
655 #define GOP_1GX_GWIN0_CTRL GOP_REG(GOP_1GX_OFST+1, 0x00)
656 #define GOP_1GX_DRAM_RBLK_L GOP_REG(GOP_1GX_OFST+1, 0x01)
657 #define GOP_1GX_DRAM_RBLK_H GOP_REG(GOP_1GX_OFST+1, 0x02)
658 #define GOP_1GX_DEL_PIXEL GOP_REG(GOP_1GX_OFST+1, 0x03)
659 #define GOP_1GX_HSTR GOP_REG(GOP_1GX_OFST+1, 0x04)
660 #define GOP_1GX_HEND GOP_REG(GOP_1GX_OFST+1, 0x05)
661 #define GOP_1GX_VSTR GOP_REG(GOP_1GX_OFST+1, 0x06)
662 #define GOP_1GX_VEND GOP_REG(GOP_1GX_OFST+1, 0x08)
663 #define GOP_1GX_DRAM_RBLK_HSIZE GOP_REG(GOP_1GX_OFST+1, 0x09)
664 #define GOP_1GX_GWIN_ALPHA01 GOP_REG(GOP_1GX_OFST+1, 0x0A)
665 #define GOP_1GX_DRAM_VSTR_L GOP_REG(GOP_1GX_OFST+1, 0x0C)
666 #define GOP_1GX_DRAM_VSTR_H GOP_REG(GOP_1GX_OFST+1, 0x0D)
667 #define GOP_1GX_DRAM_FADE GOP_REG(GOP_1GX_OFST+1, 0x16)
668 #define GOP_1GX_3DOSD_SUB_RBLK_L GOP_REG(GOP_1GX_OFST+1, 0x1E)
669 #define GOP_1GX_3DOSD_SUB_RBLK_H GOP_REG(GOP_1GX_OFST+1, 0x1F)
671 #define GOP_1GS0_CTRL0 GOP_REG(GOP_1GS0_OFST, 0x00)
672 #define GOP_1GS0_CTRL1 GOP_REG(GOP_1GS0_OFST, 0x01)
673 #define GOP_1GS0_RATE GOP_REG(GOP_1GS0_OFST, 0x02)
674 #define GOP_1GS0_PALDATA_L GOP_REG(GOP_1GS0_OFST, 0x03)
675 #define GOP_1GS0_PALDATA_H GOP_REG(GOP_1GS0_OFST, 0x04)
676 #define GOP_1GS0_PALCTRL GOP_REG(GOP_1GS0_OFST, 0x05)
677 #define GOP_1GS0_REGDMA_END GOP_REG(GOP_1GS0_OFST, 0x06)
678 #define GOP_1GS0_REGDMA_STR GOP_REG(GOP_1GS0_OFST, 0x07)
679 #define GOP_1GS0_INT GOP_REG(GOP_1GS0_OFST, 0x08)
680 #define GOP_1GS0_HWSTATE GOP_REG(GOP_1GS0_OFST, 0x09)
681 #define GOP_1GS0_RDMA_HT GOP_REG(GOP_1GS0_OFST, 0x0e)
682 #define GOP_1GS0_HS_PIPE GOP_REG(GOP_1GS0_OFST, 0x0f)
683 #define GOP_1GS0_BRI GOP_REG(GOP_1GS0_OFST, 0x11)
684 #define GOP_1GS0_CON GOP_REG(GOP_1GS0_OFST, 0x12)
685 #define GOP_1GS0_BW GOP_REG(GOP_1GS0_OFST, 0x19)
686 #define GOP_1GS0_TRSCLR_L GOP_REG(GOP_1GS0_OFST, 0x24)
687 #define GOP_1GS0_TRSCLR_H GOP_REG(GOP_1GS0_OFST, 0x25)
688 #define GOP_1GS0_STRCH_HSZ GOP_REG(GOP_1GS0_OFST, 0x30)
689 #define GOP_1GS0_STRCH_VSZ GOP_REG(GOP_1GS0_OFST, 0x31)
690 #define GOP_1GS0_STRCH_HSTR GOP_REG(GOP_1GS0_OFST, 0x32)
691 #define GOP_1GS0_STRCH_VSTR GOP_REG(GOP_1GS0_OFST, 0x34)
692 #define GOP_1GS0_HSTRCH GOP_REG(GOP_1GS0_OFST, 0x35)
693 #define GOP_1GS0_HSTRCH_INI GOP_REG(GOP_1GS0_OFST, 0x38)
694 #define GOP_1GS0_VSTRCH_INI GOP_REG(GOP_1GS0_OFST, 0x39)
695 #define GOP_1GS0_HVStrch_MD GOP_REG(GOP_1GS0_OFST, 0x3a)
696 #define GOP_1GS0_OLDADDR GOP_REG(GOP_1GS0_OFST, 0x3b)
697 #define GOP_1GS0_MULTI_ALPHA GOP_REG(GOP_1GS0_OFST, 0x3c)
699 #define GOP_1GS0_GWIN0_CTRL GOP_REG(GOP_1GS0_OFST+1, 0x00)
700 #define GOP_1GS0_DRAM_RBLK_L GOP_REG(GOP_1GS0_OFST+1, 0x01)
701 #define GOP_1GS0_DRAM_RBLK_H GOP_REG(GOP_1GS0_OFST+1, 0x02)
702 #define GOP_1GS0_DEL_PIXEL GOP_REG(GOP_1GS0_OFST+1, 0x03)
703 #define GOP_1GS0_HSTR GOP_REG(GOP_1GS0_OFST+1, 0x04)
704 #define GOP_1GS0_HEND GOP_REG(GOP_1GS0_OFST+1, 0x05)
705 #define GOP_1GS0_VSTR GOP_REG(GOP_1GS0_OFST+1, 0x06)
706 #define GOP_1GS0_VEND GOP_REG(GOP_1GS0_OFST+1, 0x08)
707 #define GOP_1GS0_DRAM_RBLK_HSIZE GOP_REG(GOP_1GS0_OFST+1, 0x09)
708 #define GOP_1GS0_GWIN_ALPHA01 GOP_REG(GOP_1GS0_OFST+1, 0x0A)
709 #define GOP_1GS0_DRAM_VSTR_L GOP_REG(GOP_1GS0_OFST+1, 0x0C)
710 #define GOP_1GS0_DRAM_VSTR_H GOP_REG(GOP_1GS0_OFST+1, 0x0D)
711 #define GOP_1GS0_DRAM_FADE GOP_REG(GOP_1GS0_OFST+1, 0x16)
712 #define GOP_1GS0_3DOSD_SUB_RBLK_L GOP_REG(GOP_1GS0_OFST+1, 0x1E)
713 #define GOP_1GS0_3DOSD_SUB_RBLK_H GOP_REG(GOP_1GS0_OFST+1, 0x1F)
715 #define GOP_1GS1_CTRL0 GOP_REG(GOP_1GS1_OFST, 0x00)
716 #define GOP_1GS1_CTRL1 GOP_REG(GOP_1GS1_OFST, 0x01)
717 #define GOP_1GS1_RATE GOP_REG(GOP_1GS1_OFST, 0x02)
718 #define GOP_1GS1_PALDATA_L GOP_REG(GOP_1GS1_OFST, 0x03)
719 #define GOP_1GS1_PALDATA_H GOP_REG(GOP_1GS1_OFST, 0x04)
720 #define GOP_1GS1_PALCTRL GOP_REG(GOP_1GS1_OFST, 0x05)
721 #define GOP_1GS1_REGDMA_END GOP_REG(GOP_1GS1_OFST, 0x06)
722 #define GOP_1GS1_REGDMA_STR GOP_REG(GOP_1GS1_OFST, 0x07)
723 #define GOP_1GS1_INT GOP_REG(GOP_1GS1_OFST, 0x08)
724 #define GOP_1GS1_HWSTATE GOP_REG(GOP_1GS1_OFST, 0x09)
725 #define GOP_1GS1_RDMA_HT GOP_REG(GOP_1GS1_OFST, 0x0e)
726 #define GOP_1GS1_HS_PIPE GOP_REG(GOP_1GS1_OFST, 0x0f)
727 #define GOP_1GS1_BRI GOP_REG(GOP_1GS1_OFST, 0x11)
728 #define GOP_1GS1_CON GOP_REG(GOP_1GS1_OFST, 0x12)
729 #define GOP_1GS1_BW GOP_REG(GOP_1GS1_OFST, 0x19)
730 #define GOP_1GS1_TRSCLR_L GOP_REG(GOP_1GS1_OFST, 0x24)
731 #define GOP_1GS1_TRSCLR_H GOP_REG(GOP_1GS1_OFST, 0x25)
732 #define GOP_1GS1_STRCH_HSZ GOP_REG(GOP_1GS1_OFST, 0x30)
733 #define GOP_1GS1_STRCH_VSZ GOP_REG(GOP_1GS1_OFST, 0x31)
734 #define GOP_1GS1_STRCH_HSTR GOP_REG(GOP_1GS1_OFST, 0x32)
735 #define GOP_1GS1_STRCH_VSTR GOP_REG(GOP_1GS1_OFST, 0x34)
736 #define GOP_1GS1_HSTRCH GOP_REG(GOP_1GS1_OFST, 0x35)
737 #define GOP_1GS1_HSTRCH_INI GOP_REG(GOP_1GS1_OFST, 0x38)
738 #define GOP_1GS1_VSTRCH_INI GOP_REG(GOP_1GS1_OFST, 0x39)
739 #define GOP_1GS1_HVStrch_MD GOP_REG(GOP_1GS1_OFST, 0x3a)
740 #define GOP_1GS1_OLDADDR GOP_REG(GOP_1GS1_OFST, 0x3b)
741 #define GOP_1GS1_MULTI_ALPHA GOP_REG(GOP_1GS1_OFST, 0x3c)
743 #define GOP_1GS1_GWIN0_CTRL GOP_REG(GOP_1GS1_OFST+1, 0x00)
744 #define GOP_1GS1_DRAM_RBLK_L GOP_REG(GOP_1GS1_OFST+1, 0x01)
745 #define GOP_1GS1_DRAM_RBLK_H GOP_REG(GOP_1GS1_OFST+1, 0x02)
746 #define GOP_1GS1_DEL_PIXEL GOP_REG(GOP_1GS1_OFST+1, 0x03)
747 #define GOP_1GS1_HSTR GOP_REG(GOP_1GS1_OFST+1, 0x04)
748 #define GOP_1GS1_HEND GOP_REG(GOP_1GS1_OFST+1, 0x05)
749 #define GOP_1GS1_VSTR GOP_REG(GOP_1GS1_OFST+1, 0x06)
750 #define GOP_1GS1_VEND GOP_REG(GOP_1GS1_OFST+1, 0x08)
751 #define GOP_1GS1_DRAM_RBLK_HSIZE GOP_REG(GOP_1GS1_OFST+1, 0x09)
752 #define GOP_1GS1_GWIN_ALPHA01 GOP_REG(GOP_1GS1_OFST+1, 0x0A)
753 #define GOP_1GS1_DRAM_VSTR_L GOP_REG(GOP_1GS1_OFST+1, 0x0C)
754 #define GOP_1GS1_DRAM_VSTR_H GOP_REG(GOP_1GS1_OFST+1, 0x0D)
755 #define GOP_1GS1_DRAM_FADE GOP_REG(GOP_1GS1_OFST+1, 0x16)
756 #define GOP_1GS1_3DOSD_SUB_RBLK_L GOP_REG(GOP_1GS1_OFST+1, 0x1E)
757 #define GOP_1GS1_3DOSD_SUB_RBLK_H GOP_REG(GOP_1GS1_OFST+1, 0x1F)
765 #define REG_TSTCLR_EN GOP_REG(GOP_4G_OFST, 0x00)
766 #define REG_TSTCLR_ALPHA_EN GOP_REG(GOP_4G_OFST+2, 0x00)
767 #define REG_TLB_TAG_ADDR_L GOP_REG(GOP_4G_OFST+2, 0x2C)
768 #define REG_TLB_TAG_ADDR_H GOP_REG(GOP_4G_OFST+2, 0x2D)
769 #define REG_TLB_TAG_ADDR_RVIEW_L GOP_REG(GOP_4G_OFST+2, 0x2E)
770 #define REG_TLB_TAG_ADDR_RVIEW_H GOP_REG(GOP_4G_OFST+2, 0x2F)
771 #define REG_TSTCLR_ALPHA GOP_REG(GOP_4G_OFST+2, 0x40)
772 #define REG_R_STC GOP_REG(GOP_4G_OFST+2, 0x41)
773 #define REG_G_STC GOP_REG(GOP_4G_OFST+2, 0x48)
774 #define REG_B_STC GOP_REG(GOP_4G_OFST+2, 0x49)
775 #define REG_TSTCLR_HDUP GOP_REG(GOP_4G_OFST+2, 0x01)
776 #define REG_TSTCLR_VDUP GOP_REG(GOP_4G_OFST+2, 0x01)
777 #define REG_HR_INC GOP_REG(GOP_4G_OFST+2, 0x42)
778 #define REG_HR_INC_SIGNZ GOP_REG(GOP_4G_OFST+2, 0x42)
779 #define REG_HG_INC GOP_REG(GOP_4G_OFST+2, 0x43)
780 #define REG_HG_INC_SIGNZ GOP_REG(GOP_4G_OFST+2, 0x43)
781 #define REG_HB_INC GOP_REG(GOP_4G_OFST+2, 0x44)
782 #define REG_HB_INC_SIGNZ GOP_REG(GOP_4G_OFST+2, 0x44)
783 #define REG_HR_STEP GOP_REG(GOP_4G_OFST+2, 0x4A)
784 #define REG_HG_STEP GOP_REG(GOP_4G_OFST+2, 0x4B)
785 #define REG_HB_STEP GOP_REG(GOP_4G_OFST+2, 0x4C)
786 #define REG_VR_INC GOP_REG(GOP_4G_OFST+2, 0x45)
787 #define REG_VR_INC_SIGNZ GOP_REG(GOP_4G_OFST+2, 0x45)
788 #define REG_VG_INC GOP_REG(GOP_4G_OFST+2, 0x46)
789 #define REG_VG_INC_SIGNZ GOP_REG(GOP_4G_OFST+2, 0x46)
790 #define REG_VB_INC GOP_REG(GOP_4G_OFST+2, 0x47)
791 #define REG_VB_INC_SIGNZ GOP_REG(GOP_4G_OFST+2, 0x47)
792 #define REG_VR_STEP GOP_REG(GOP_4G_OFST+2, 0x4D)
793 #define REG_VG_STEP GOP_REG(GOP_4G_OFST+2, 0x4E)
794 #define REG_VB_STEP GOP_REG(GOP_4G_OFST+2, 0x4F)
795 #define REG_TLB_BASE_ADDR_L GOP_REG(GOP_4G_OFST+2, 0x58)
796 #define REG_TLB_BASE_ADDR_H GOP_REG(GOP_4G_OFST+2, 0x59)
797 #define REG_TLB_BASE_ADDR_RVIEW_L GOP_REG(GOP_4G_OFST+2, 0x5A)
798 #define REG_TLB_BASE_ADDR_RVIEW_H GOP_REG(GOP_4G_OFST+2, 0x5B)