Lines Matching refs:GOP_REG

365 #define GOP_REG(bk, reg)                     (GOP_REG_BASE+((MS_U32)(bk)<<16) + (reg) * 2)  macro
460 #define GOP_4G_CTRL0 GOP_REG(GOP_4G_OFST, 0x00)
461 #define GOP_4G_CTRL1 GOP_REG(GOP_4G_OFST, 0x01)
462 #define GOP_4G_RATE GOP_REG(GOP_4G_OFST, 0x02)
463 #define GOP_4G_PALDATA_L GOP_REG(GOP_4G_OFST, 0x03)
464 #define GOP_4G_PALDATA_H GOP_REG(GOP_4G_OFST, 0x04)
465 #define GOP_4G_PALCTRL GOP_REG(GOP_4G_OFST, 0x05)
466 #define GOP_4G_REGDMA_END GOP_REG(GOP_4G_OFST, 0x06)
467 #define GOP_4G_REGDMA_STR GOP_REG(GOP_4G_OFST, 0x07)
468 #define GOP_4G_INT GOP_REG(GOP_4G_OFST, 0x08)
469 #define GOP_4G_HWSTATE GOP_REG(GOP_4G_OFST, 0x09)
470 #define GOP_4G_SVM_HSTR GOP_REG(GOP_4G_OFST, 0x0a)
471 #define GOP_4G_SVM_HEND GOP_REG(GOP_4G_OFST, 0x0b)
472 #define GOP_4G_SVM_VSTR GOP_REG(GOP_4G_OFST, 0x0c)
473 #define GOP_4G_SVM_VEND GOP_REG(GOP_4G_OFST, 0x0d)
474 #define GOP_4G_RDMA_HT GOP_REG(GOP_4G_OFST, 0x0e)
475 #define GOP_4G_HS_PIPE GOP_REG(GOP_4G_OFST, 0x0f)
476 #define GOP_4G_SLOW GOP_REG(GOP_4G_OFST, 0x10)
477 #define GOP_4G_BRI GOP_REG(GOP_4G_OFST, 0x11)
478 #define GOP_4G_CON GOP_REG(GOP_4G_OFST, 0x12)
479 #define GOP_4G_BW GOP_REG(GOP_4G_OFST, 0x19)
480 #define GOP_4G_H121 GOP_REG(GOP_4G_OFST, 0x1B)
481 #define GOP_4G_NEW_BW GOP_REG(GOP_4G_OFST, 0x1C)
482 #define GOP_4G_SRAM_BORROW GOP_REG(GOP_4G_OFST, 0x1D)
483 #define GOP_4G_3D_MIDDLE GOP_REG(GOP_4G_OFST, 0x1E)
484 #define GOP_4G_MIU_SEL GOP_REG(GOP_4G_OFST, 0x1F)
485 #define GOP_4G_PRI0 GOP_REG(GOP_4G_OFST, 0x20)
486 #define GOP_4G_BOT_HS GOP_REG(GOP_4G_OFST, 0x23)
487 #define GOP_4G_TRSCLR_L GOP_REG(GOP_4G_OFST, 0x24)
488 #define GOP_4G_TRSCLR_H GOP_REG(GOP_4G_OFST, 0x25)
489 #define GOP_4G_TRSCLR_TUV_L GOP_REG(GOP_4G_OFST, 0x26)
490 #define GOP_4G_TRSCLR_TUV_H GOP_REG(GOP_4G_OFST, 0x27)
491 #define GOP_4G_YUV_SWAP GOP_REG(GOP_4G_OFST, 0x28)
492 #define GOP_4G_STRCH_HSZ GOP_REG(GOP_4G_OFST, 0x30)
493 #define GOP_4G_STRCH_VSZ GOP_REG(GOP_4G_OFST, 0x31)
494 #define GOP_4G_STRCH_HSTR GOP_REG(GOP_4G_OFST, 0x32)
495 #define GOP_4G_STRCH_VSTR GOP_REG(GOP_4G_OFST, 0x34)
496 #define GOP_4G_HSTRCH GOP_REG(GOP_4G_OFST, 0x35)
497 #define GOP_4G_VSTRCH GOP_REG(GOP_4G_OFST, 0x36)
498 #define GOP_4G_HSTRCH_INI GOP_REG(GOP_4G_OFST, 0x38)
499 #define GOP_4G_VSTRCH_INI GOP_REG(GOP_4G_OFST, 0x39)
500 #define GOP_4G_HVSTRCHMD GOP_REG(GOP_4G_OFST, 0x3a)
501 #define GOP_4G_OLDADDR GOP_REG(GOP_4G_OFST, 0x3b)
502 #define GOP_4G_MULTI_ALPHA GOP_REG(GOP_4G_OFST, 0x3c)
504 #define GOP_4G_HW_USAGE GOP_REG(GOP_4G_OFST, 0x40)
505 #define GOP_4G_BANK_FWR GOP_REG(GOP_4G_OFST, 0x50)
506 #define GOP_4G_BANK_HVAILDSIZE GOP_REG(GOP_4G_OFST, 0x52)
507 #define GOP_4G_BANK_VVAILDSIZE GOP_REG(GOP_4G_OFST, 0x53)
508 #define GOP_4G_SCALING_H_OUTPUTSIZE GOP_REG(GOP_4G_OFST, 0x56)
509 #define GOP_4G_SCALING_HRATIO_L GOP_REG(GOP_4G_OFST, 0x59) //GOP scaling down ratio d…
510 #define GOP_4G_SCALING_HRATIO_H GOP_REG(GOP_4G_OFST, 0x5A)
511 #define GOP_4G_SCALING_CFG GOP_REG(GOP_4G_OFST, 0x5B)
512 #define GOP_4G_SCALING_VRATIO_L GOP_REG(GOP_4G_OFST, 0x5C) //GOP scaling down ratio d…
513 #define GOP_4G_SCALING_VRATIO_H GOP_REG(GOP_4G_OFST, 0x5D)
516 #define GOP_4G_RBLK0_VOFFL GOP_REG(GOP_4G_OFST, 0x60)
517 #define GOP_4G_RBLK0_VOFFH GOP_REG(GOP_4G_OFST, 0x61)
518 #define GOP_4G_RBLK1_VOFFL GOP_REG(GOP_4G_OFST, 0x62)
519 #define GOP_4G_RBLK1_VOFFH GOP_REG(GOP_4G_OFST, 0x63)
520 #define GOP_4G_RBLK2_VOFFL GOP_REG(GOP_4G_OFST, 0x64)
521 #define GOP_4G_RBLK2_VOFFH GOP_REG(GOP_4G_OFST, 0x65)
522 #define GOP_4G_RBLK3_VOFFL GOP_REG(GOP_4G_OFST, 0x66)
523 #define GOP_4G_RBLK3_VOFFH GOP_REG(GOP_4G_OFST, 0x67)
524 #define GOP_4G_GOP_INTERNAL_ZORDER GOP_REG(GOP_4G_OFST, 0x6A)
525 #define GOP_4G_GOP_INTERNAL_ZORDER_TRIG GOP_REG(GOP_4G_OFST, 0x6B)
526 #define GOP_4G_RBLK0_HOFF GOP_REG(GOP_4G_OFST, 0x70)
527 #define GOP_4G_RBLK1_HOFF GOP_REG(GOP_4G_OFST, 0x71)
528 #define GOP_4G_RBLK2_HOFF GOP_REG(GOP_4G_OFST, 0x72)
529 #define GOP_4G_RBLK3_HOFF GOP_REG(GOP_4G_OFST, 0x73)
530 #define GOP_4G_REGDMA_EN GOP_REG(GOP_4G_OFST, 0x78)
539 #define GOP_4G_GWIN0_CTRL(id) GOP_REG(GOP_4G_OFST+1, 0x00 + (0x20*((id)%MAX_GOP0_GWIN…
540 #define GOP_4G_DRAM_RBLK_L(id) GOP_REG(GOP_4G_OFST+1, 0x01 + (0x20*((id)%MAX_GOP0_GWIN…
541 #define GOP_4G_DRAM_RBLK_H(id) GOP_REG(GOP_4G_OFST+1, 0x02 + (0x20*((id)%MAX_GOP0_GWIN…
542 #define GOP_4G_DEL_PIXEL(id) GOP_REG(GOP_4G_OFST+1, 0x03 + (0x20*((id)%MAX_GOP1_GWIN…
543 #define GOP_4G_HSTR(id) GOP_REG(GOP_4G_OFST+1, 0x04 + (0x20*((id)%MAX_GOP0_GWIN…
544 #define GOP_4G_HEND(id) GOP_REG(GOP_4G_OFST+1, 0x05 + (0x20*((id)%MAX_GOP0_GWIN…
545 #define GOP_4G_VSTR(id) GOP_REG(GOP_4G_OFST+1, 0x06 + (0x20*((id)%MAX_GOP0_GWIN…
546 #define GOP_4G_GWIN_MIDDLE(id) GOP_REG(GOP_4G_OFST+1, 0x07 + (0x20*((id)%MAX_GOP0_GWIN…
547 #define GOP_4G_VEND(id) GOP_REG(GOP_4G_OFST+1, 0x08 + (0x20*((id)%MAX_GOP0_GWIN…
548 #define GOP_4G_DRAM_RBLK_HSIZE(id) GOP_REG(GOP_4G_OFST+1, 0x09 + (0x20*((id)%MAX_GOP0_GWIN…
549 #define GOP_4G_GWIN_ALPHA01(id) GOP_REG(GOP_4G_OFST+1, 0x0A + (0x20*((id)%MAX_GOP0_GWIN…
550 #define GOP_4G_DRAM_VSTR_L(id) GOP_REG(GOP_4G_OFST+1, 0x0C + (0x20*((id)%MAX_GOP0_GWIN…
551 #define GOP_4G_DRAM_VSTR_H(id) GOP_REG(GOP_4G_OFST+1, 0x0D + (0x20*((id)%MAX_GOP0_GWIN…
552 #define GOP_4G_DRAM_HSTR(id) GOP_REG(GOP_4G_OFST+1, 0x0E + (0x20*((id)%MAX_GOP0_GWIN…
553 #define GOP_4G_DRAM_RBLK_SIZE_L(id) GOP_REG(GOP_4G_OFST+1, 0x10 + (0x20*((id)%MAX_GOP0_GWIN…
554 #define GOP_4G_DRAM_RBLK_SIZE_H(id) GOP_REG(GOP_4G_OFST+1, 0x11 + (0x20*((id)%MAX_GOP0_GWIN…
555 #define GOP_4G_DRAM_RLEN_L(id) GOP_REG(GOP_4G_OFST+1, 0x12 + (0x20*((id)%MAX_GOP0_GWIN…
556 #define GOP_4G_DRAM_RLEN_H(id) GOP_REG(GOP_4G_OFST+1, 0x13 + (0x20*((id)%MAX_GOP0_GWIN…
557 #define GOP_4G_DRAM_HVSTOP_L(id) GOP_REG(GOP_4G_OFST+1, 0x14 + (0x20*((id)%MAX_GOP0_GWIN…
558 #define GOP_4G_DRAM_HVSTOP_H(id) GOP_REG(GOP_4G_OFST+1, 0x15 + (0x20*((id)%MAX_GOP0_GWIN…
559 #define GOP_4G_DRAM_FADE(id) GOP_REG(GOP_4G_OFST+1, 0x16 + (0x20*((id)%MAX_GOP0_GWIN…
560 #define GOP_4G_BG_CLR(id) GOP_REG(GOP_4G_OFST+1, 0x18 + (0x20*((id)%MAX_GOP0_GWIN…
561 #define GOP_4G_BG_HSTR(id) GOP_REG(GOP_4G_OFST+1, 0x19 + (0x20*((id)%MAX_GOP0_GWIN…
562 #define GOP_4G_BG_HEND(id) GOP_REG(GOP_4G_OFST+1, 0x1a + (0x20*((id)%MAX_GOP0_GWIN…
563 #define GOP_4G_BG_VSTR(id) GOP_REG(GOP_4G_OFST+1, 0x1C + (0x20*((id)%MAX_GOP0_GWIN…
564 #define GOP_4G_BG_VEND(id) GOP_REG(GOP_4G_OFST+1, 0x1D + (0x20*((id)%MAX_GOP0_GWIN…
565 #define GOP_4G_3DOSD_SUB_RBLK_L(id) GOP_REG(GOP_4G_OFST+1, 0x1E + (0x20*((id)%MAX_GOP0_GWIN…
566 #define GOP_4G_3DOSD_SUB_RBLK_H(id) GOP_REG(GOP_4G_OFST+1, 0x1F + (0x20*((id)%MAX_GOP0_GWIN…
569 #define GOP_2G_CTRL0 GOP_REG(GOP_2G_OFST, 0x00)
570 #define GOP_2G_CTRL1 GOP_REG(GOP_2G_OFST, 0x01)
571 #define GOP_2G_RATE GOP_REG(GOP_2G_OFST, 0x02)
572 #define GOP_2G_PALDATA_L GOP_REG(GOP_2G_OFST, 0x03)
573 #define GOP_2G_PALDATA_H GOP_REG(GOP_2G_OFST, 0x04)
574 #define GOP_2G_PALCTRL GOP_REG(GOP_2G_OFST, 0x05)
575 #define GOP_2G_REGDMA_END GOP_REG(GOP_2G_OFST, 0x06)
576 #define GOP_2G_REGDMA_STR GOP_REG(GOP_2G_OFST, 0x07)
577 #define GOP_2G_INT GOP_REG(GOP_2G_OFST, 0x08)
578 #define GOP_2G_HWSTATE GOP_REG(GOP_2G_OFST, 0x09)
579 #define GOP_2G_RDMA_HT GOP_REG(GOP_2G_OFST, 0x0e)
580 #define GOP_2G_HS_PIPE GOP_REG(GOP_2G_OFST, 0x0f)
581 #define GOP_2G_SLOW GOP_REG(GOP_2G_OFST, 0x10)
582 #define GOP_2G_BRI GOP_REG(GOP_2G_OFST, 0x11)
583 #define GOP_2G_CON GOP_REG(GOP_2G_OFST, 0x12)
584 #define GOP_2G_BW GOP_REG(GOP_2G_OFST, 0x19)
585 #define GOP_2G_H121 GOP_REG(GOP_2G_OFST, 0x1B)
586 #define GOP_2G_3D_MIDDLE GOP_REG(GOP_2G_OFST, 0x1E)
587 #define GOP_2G_PRI0 GOP_REG(GOP_2G_OFST, 0x20)
588 #define GOP_2G_TRSCLR_L GOP_REG(GOP_2G_OFST, 0x24)
589 #define GOP_2G_TRSCLR_H GOP_REG(GOP_2G_OFST, 0x25)
590 #define GOP_2G_STRCH_HSZ GOP_REG(GOP_2G_OFST, 0x30)
591 #define GOP_2G_STRCH_VSZ GOP_REG(GOP_2G_OFST, 0x31)
592 #define GOP_2G_STRCH_HSTR GOP_REG(GOP_2G_OFST, 0x32)
593 #define GOP_2G_STRCH_VSTR GOP_REG(GOP_2G_OFST, 0x34)
594 #define GOP_2G_HSTRCH GOP_REG(GOP_2G_OFST, 0x35)
595 #define GOP_2G_VSTRCH GOP_REG(GOP_2G_OFST, 0x36)
596 #define GOP_2G_HSTRCH_INI GOP_REG(GOP_2G_OFST, 0x38)
597 #define GOP_2G_VSTRCH_INI GOP_REG(GOP_2G_OFST, 0x39)
598 #define GOP_2G_HVStrch_MD GOP_REG(GOP_2G_OFST, 0x3a)
599 #define GOP_2G_OLDADDR GOP_REG(GOP_2G_OFST, 0x3b)
600 #define GOP_2G_MULTI_ALPHA GOP_REG(GOP_2G_OFST, 0x3c)
601 #define GOP_2G_REGDMA_EN GOP_REG(GOP_2G_OFST, 0x78)
604 #define GOP_2G_GWIN0_CTRL(id) GOP_REG(GOP_2G_OFST+1, 0x00 + (0x20*((id)%MAX_GOP1_GWIN…
605 #define GOP_2G_GWIN_CTRL(id) GOP_REG(GOP_2G_OFST+1, 0x00 + (0x20*((id)%MAX_GOP1_GWIN…
606 #define GOP_2G_DRAM_RBLK_L(id) GOP_REG(GOP_2G_OFST+1, 0x01 + (0x20*((id)%MAX_GOP1_GWIN…
607 #define GOP_2G_DRAM_RBLK_H(id) GOP_REG(GOP_2G_OFST+1, 0x02 + (0x20*((id)%MAX_GOP1_GWIN…
608 #define GOP_2G_DEL_PIXEL(id) GOP_REG(GOP_2G_OFST+1, 0x03 + (0x20*((id)%MAX_GOP1_GWIN…
609 #define GOP_2G_HSTR(id) GOP_REG(GOP_2G_OFST+1, 0x04 + (0x20*((id)%MAX_GOP1_GWIN…
610 #define GOP_2G_HEND(id) GOP_REG(GOP_2G_OFST+1, 0x05 + (0x20*((id)%MAX_GOP1_GWIN…
611 #define GOP_2G_VSTR(id) GOP_REG(GOP_2G_OFST+1, 0x06 + (0x20*((id)%MAX_GOP1_GWIN…
612 #define GOP_2G_VEND(id) GOP_REG(GOP_2G_OFST+1, 0x08 + (0x20*((id)%MAX_GOP1_GWIN…
613 #define GOP_2G_DRAM_RBLK_HSIZE(id) GOP_REG(GOP_2G_OFST+1, 0x09 + (0x20*((id)%MAX_GOP1_GWIN…
614 #define GOP_2G_GWIN_ALPHA01(id) GOP_REG(GOP_2G_OFST+1, 0x0A + (0x20*((id)%MAX_GOP1_GWIN…
615 #define GOP_2G_DRAM_VSTR_L(id) GOP_REG(GOP_2G_OFST+1, 0x0C + (0x20*((id)%MAX_GOP1_GWIN…
616 #define GOP_2G_DRAM_VSTR_H(id) GOP_REG(GOP_2G_OFST+1, 0x0D + (0x20*((id)%MAX_GOP1_GWIN…
617 #define GOP_2G_DRAM_FADE(id) GOP_REG(GOP_2G_OFST+1, 0x16 + (0x20*((id)%MAX_GOP1_GWIN…
618 #define GOP_2G_3DOSD_SUB_RBLK_L(id) GOP_REG(GOP_2G_OFST+1, 0x1E + (0x20*((id)%MAX_GOP1_GWIN…
619 #define GOP_2G_3DOSD_SUB_RBLK_H(id) GOP_REG(GOP_2G_OFST+1, 0x1F + (0x20*((id)%MAX_GOP1_GWIN…
622 #define GOP_DW_CTL0_EN GOP_REG(GOP_DW_OFST, 0x00)
628 #define GOP_DW_LSTR_WBE GOP_REG(GOP_DW_OFST, 0x01)
629 #define GOP_DW_INT_MASK GOP_REG(GOP_DW_OFST, 0x02)
630 #define GOP_DW_DEBUG GOP_REG(GOP_DW_OFST, 0x03)
631 #define GOP_DW_ALPHA GOP_REG(GOP_DW_OFST, 0x04)
632 #define GOP_DW_BW GOP_REG(GOP_DW_OFST, 0x05)
633 #define GOP_DW_VSTR GOP_REG(GOP_DW_OFST, 0x10)
634 #define GOP_DW_HSTR GOP_REG(GOP_DW_OFST, 0x11)
635 #define GOP_DW_VEND GOP_REG(GOP_DW_OFST, 0x12)
636 #define GOP_DW_HEND GOP_REG(GOP_DW_OFST, 0x13)
637 #define GOP_DW_HSIZE GOP_REG(GOP_DW_OFST, 0x14)
638 #define GOP_DW_JMPLEN GOP_REG(GOP_DW_OFST, 0x15)
639 #define GOP_DW_DSTR_L GOP_REG(GOP_DW_OFST, 0x16)
640 #define GOP_DW_DSTR_H GOP_REG(GOP_DW_OFST, 0x17)
641 #define GOP_DW_UB_L GOP_REG(GOP_DW_OFST, 0x18)
642 #define GOP_DW_UB_H GOP_REG(GOP_DW_OFST, 0x19)
644 #define GOP_DW_PON_DSTR_L GOP_REG(GOP_DW_OFST, 0x1a)
645 #define GOP_DW_PON_DSTR_H GOP_REG(GOP_DW_OFST, 0x1b)
646 #define GOP_DW_PON_UB_L GOP_REG(GOP_DW_OFST, 0x1c)
647 #define GOP_DW_PON_UB_H GOP_REG(GOP_DW_OFST, 0x1d)
648 #define GOP_DW_FRAME_CTRL GOP_REG(GOP_DW_OFST, 0x30)
650 #define GOP_VE_DATA_MUX GOP_REG(GOP_MIXER_OFST, 0x30)
652 #define GOP_1G_CTRL0 GOP_REG(GOP_1G_OFST, 0x00)
653 #define GOP_1G_CTRL1 GOP_REG(GOP_1G_OFST, 0x01)
654 #define GOP_1G_RATE GOP_REG(GOP_1G_OFST, 0x02)
655 #define GOP_1G_PALDATA_L GOP_REG(GOP_1G_OFST, 0x03)
656 #define GOP_1G_PALDATA_H GOP_REG(GOP_1G_OFST, 0x04)
657 #define GOP_1G_PALCTRL GOP_REG(GOP_1G_OFST, 0x05)
658 #define GOP_1G_REGDMA_END GOP_REG(GOP_1G_OFST, 0x06)
659 #define GOP_1G_REGDMA_STR GOP_REG(GOP_1G_OFST, 0x07)
660 #define GOP_1G_INT GOP_REG(GOP_1G_OFST, 0x08)
661 #define GOP_1G_HWSTATE GOP_REG(GOP_1G_OFST, 0x09)
662 #define GOP_1G_RDMA_HT GOP_REG(GOP_1G_OFST, 0x0e)
663 #define GOP_1G_HS_PIPE GOP_REG(GOP_1G_OFST, 0x0f)
664 #define GOP_1G_BRI GOP_REG(GOP_1G_OFST, 0x11)
665 #define GOP_1G_CON GOP_REG(GOP_1G_OFST, 0x12)
666 #define GOP_1G_BW GOP_REG(GOP_1G_OFST, 0x19)
667 #define GOP_1G_H121 GOP_REG(GOP_1G_OFST, 0x1B)
668 #define GOP_1G_3D_MIDDLE GOP_REG(GOP_1G_OFST, 0x1E)
669 #define GOP_1G_TRSCLR_L GOP_REG(GOP_1G_OFST, 0x24)
670 #define GOP_1G_TRSCLR_H GOP_REG(GOP_1G_OFST, 0x25)
671 #define GOP_1G_STRCH_HSZ GOP_REG(GOP_1G_OFST, 0x30)
672 #define GOP_1G_STRCH_VSZ GOP_REG(GOP_1G_OFST, 0x31)
673 #define GOP_1G_STRCH_HSTR GOP_REG(GOP_1G_OFST, 0x32)
674 #define GOP_1G_STRCH_VSTR GOP_REG(GOP_1G_OFST, 0x34)
675 #define GOP_1G_HSTRCH GOP_REG(GOP_1G_OFST, 0x35)
676 #define GOP_1G_HSTRCH_INI GOP_REG(GOP_1G_OFST, 0x38)
677 #define GOP_1G_VSTRCH_INI GOP_REG(GOP_1G_OFST, 0x39)
678 #define GOP_1G_HStrch_MD GOP_REG(GOP_1G_OFST, 0x3a)
679 #define GOP_1G_OLDADDR GOP_REG(GOP_1G_OFST, 0x3b)
680 #define GOP_1G_MULTI_ALPHA GOP_REG(GOP_1G_OFST, 0x3c)
682 #define GOP_1G_GWIN0_CTRL GOP_REG(GOP_1G_OFST+1, 0x0)
683 #define GOP_1G_DRAM_RBLK_L GOP_REG(GOP_1G_OFST+1, 0x1)
684 #define GOP_1G_DRAM_RBLK_H GOP_REG(GOP_1G_OFST+1, 0x2)
685 #define GOP_1G_DEL_PIXEL GOP_REG(GOP_1G_OFST+1, 0x3)
686 #define GOP_1G_HSTR GOP_REG(GOP_1G_OFST+1, 0x4)
687 #define GOP_1G_HEND GOP_REG(GOP_1G_OFST+1, 0x5)
688 #define GOP_1G_VSTR GOP_REG(GOP_1G_OFST+1, 0x6)
689 #define GOP_1G_VEND GOP_REG(GOP_1G_OFST+1, 0x8)
690 #define GOP_1G_DRAM_RBLK_HSIZE GOP_REG(GOP_1G_OFST+1, 0x9)
691 #define GOP_1G_GWIN_ALPHA01 GOP_REG(GOP_1G_OFST+1, 0xA)
692 #define GOP_1G_DRAM_VSTR_L GOP_REG(GOP_1G_OFST+1, 0x0C)
693 #define GOP_1G_DRAM_VSTR_H GOP_REG(GOP_1G_OFST+1, 0x0D)
694 #define GOP_1G_DRAM_FADE GOP_REG(GOP_1G_OFST+1, 0x16)
695 #define GOP_1G_3DOSD_SUB_RBLK_L GOP_REG(GOP_1G_OFST+1, 0x1E)
696 #define GOP_1G_3DOSD_SUB_RBLK_H GOP_REG(GOP_1G_OFST+1, 0x1F)
698 #define GOP_1GX_CTRL0 GOP_REG(GOP_1GX_OFST, 0x00)
699 #define GOP_1GX_CTRL1 GOP_REG(GOP_1GX_OFST, 0x01)
700 #define GOP_1GX_RATE GOP_REG(GOP_1GX_OFST, 0x02)
701 #define GOP_1GX_PALDATA_L GOP_REG(GOP_1GX_OFST, 0x03)
702 #define GOP_1GX_PALDATA_H GOP_REG(GOP_1GX_OFST, 0x04)
703 #define GOP_1GX_PALCTRL GOP_REG(GOP_1GX_OFST, 0x05)
704 #define GOP_1GX_REGDMA_END GOP_REG(GOP_1GX_OFST, 0x06)
705 #define GOP_1GX_REGDMA_STR GOP_REG(GOP_1GX_OFST, 0x07)
706 #define GOP_1GX_INT GOP_REG(GOP_1GX_OFST, 0x08)
707 #define GOP_1GX_HWSTATE GOP_REG(GOP_1GX_OFST, 0x09)
708 #define GOP_1GX_RDMA_HT GOP_REG(GOP_1GX_OFST, 0x0e)
709 #define GOP_1GX_HS_PIPE GOP_REG(GOP_1GX_OFST, 0x0f)
710 #define GOP_1GX_BRI GOP_REG(GOP_1GX_OFST, 0x11)
711 #define GOP_1GX_CON GOP_REG(GOP_1GX_OFST, 0x12)
712 #define GOP_1GX_BW GOP_REG(GOP_1GX_OFST, 0x19)
713 #define GOP_1GX_H121 GOP_REG(GOP_1GX_OFST, 0x1B)
714 #define GOP_1GX_3D_MIDDLE GOP_REG(GOP_1GX_OFST, 0x1E)
715 #define GOP_1GX_TRSCLR_L GOP_REG(GOP_1GX_OFST, 0x24)
716 #define GOP_1GX_TRSCLR_H GOP_REG(GOP_1GX_OFST, 0x25)
717 #define GOP_1GX_STRCH_HSZ GOP_REG(GOP_1GX_OFST, 0x30)
718 #define GOP_1GX_STRCH_VSZ GOP_REG(GOP_1GX_OFST, 0x31)
719 #define GOP_1GX_STRCH_HSTR GOP_REG(GOP_1GX_OFST, 0x32)
720 #define GOP_1GX_STRCH_VSTR GOP_REG(GOP_1GX_OFST, 0x34)
721 #define GOP_1GX_HSTRCH GOP_REG(GOP_1GX_OFST, 0x35)
722 #define GOP_1GX_HSTRCH_INI GOP_REG(GOP_1GX_OFST, 0x38)
723 #define GOP_1GX_VSTRCH_INI GOP_REG(GOP_1GX_OFST, 0x39)
724 #define GOP_1GX_HStrch_MD GOP_REG(GOP_1GX_OFST, 0x3a)
725 #define GOP_1GX_OLDADDR GOP_REG(GOP_1GX_OFST, 0x3b)
726 #define GOP_1GX_MULTI_ALPHA GOP_REG(GOP_1GX_OFST, 0x3c)
728 #define GOP_1GX_GWIN0_CTRL GOP_REG(GOP_1GX_OFST+1, 0x00)
729 #define GOP_1GX_DRAM_RBLK_L GOP_REG(GOP_1GX_OFST+1, 0x01)
730 #define GOP_1GX_DRAM_RBLK_H GOP_REG(GOP_1GX_OFST+1, 0x02)
731 #define GOP_1GX_DEL_PIXEL GOP_REG(GOP_1GX_OFST+1, 0x03)
732 #define GOP_1GX_HSTR GOP_REG(GOP_1GX_OFST+1, 0x04)
733 #define GOP_1GX_HEND GOP_REG(GOP_1GX_OFST+1, 0x05)
734 #define GOP_1GX_VSTR GOP_REG(GOP_1GX_OFST+1, 0x06)
735 #define GOP_1GX_VEND GOP_REG(GOP_1GX_OFST+1, 0x08)
736 #define GOP_1GX_DRAM_RBLK_HSIZE GOP_REG(GOP_1GX_OFST+1, 0x09)
737 #define GOP_1GX_GWIN_ALPHA01 GOP_REG(GOP_1GX_OFST+1, 0x0A)
738 #define GOP_1GX_DRAM_VSTR_L GOP_REG(GOP_1GX_OFST+1, 0x0C)
739 #define GOP_1GX_DRAM_VSTR_H GOP_REG(GOP_1GX_OFST+1, 0x0D)
740 #define GOP_1GX_DRAM_FADE GOP_REG(GOP_1GX_OFST+1, 0x16)
741 #define GOP_1GX_3DOSD_SUB_RBLK_L GOP_REG(GOP_1GX_OFST+1, 0x1E)
742 #define GOP_1GX_3DOSD_SUB_RBLK_H GOP_REG(GOP_1GX_OFST+1, 0x1F)
744 #define GOP_MIXER_CTRL GOP_REG(GOP_MIXER_OFST, 0x0)
757 #define GOP_MIXER_FHST GOP_REG(GOP_MIXER_OFST, 0x1)
758 #define GOP_MIXER_FVST GOP_REG(GOP_MIXER_OFST, 0x2)
759 #define GOP_MIXER_FHEND GOP_REG(GOP_MIXER_OFST, 0x3)
760 #define GOP_MIXER_FVEND GOP_REG(GOP_MIXER_OFST, 0x4)
761 #define GOP_MIXER_HTT GOP_REG(GOP_MIXER_OFST, 0x5)
762 #define GOP_MIXER_HS_DELAY GOP_REG(GOP_MIXER_OFST, 0x6)
763 #define GOP_MIXER_FLD_DELAY_LINE GOP_REG(GOP_MIXER_OFST, 0x7)
764 #define GOP_MIXER_FLD_DE_ADJUST GOP_REG(GOP_MIXER_OFST, 0x8)
765 #define GOP_MIXER_C_FIL_COEF0COEF1 GOP_REG(GOP_MIXER_OFST, 0x9)
766 #define GOP_MIXER_C_FIL_COEF2COEF3 GOP_REG(GOP_MIXER_OFST, 0xa)
767 #define GOP_MIXER_VFIL_RATIO GOP_REG(GOP_MIXER_OFST, 0xb)
768 #define GOP_MIXER_MIX_DUMMY GOP_REG(GOP_MIXER_OFST, 0xc)
769 #define GOP_MIXER_DEBUG_H GOP_REG(GOP_MIXER_OFST, 0xd)
770 #define GOP_MIXER_DEBUG_V GOP_REG(GOP_MIXER_OFST, 0xe)
771 #define GOP_MIXER_DEBUG_PIXEL_L GOP_REG(GOP_MIXER_OFST, 0xf)
772 #define GOP_MIXER_DEBUG_PIXEL_H GOP_REG(GOP_MIXER_OFST, 0x10)
773 #define GOP_MIXER_VE GOP_REG(GOP_MIXER_OFST, 0x11)
774 #define GOP_MIXER_FULL_WIN_DE GOP_REG(GOP_MIXER_OFST, 0x20)
775 #define GOP_VE_DATA_MUX GOP_REG(GOP_MIXER_OFST, 0x30)
781 #define GOP_MIXER_REG_DUMMY GOP_REG(GOP_MIXER_OFST, 0x20)
783 #define GOP_1GS0_CTRL0 GOP_REG(GOP_1GS0_OFST, 0x00)
784 #define GOP_1GS0_CTRL1 GOP_REG(GOP_1GS0_OFST, 0x01)
785 #define GOP_1GS0_RATE GOP_REG(GOP_1GS0_OFST, 0x02)
786 #define GOP_1GS0_PALDATA_L GOP_REG(GOP_1GS0_OFST, 0x03)
787 #define GOP_1GS0_PALDATA_H GOP_REG(GOP_1GS0_OFST, 0x04)
788 #define GOP_1GS0_PALCTRL GOP_REG(GOP_1GS0_OFST, 0x05)
789 #define GOP_1GS0_REGDMA_END GOP_REG(GOP_1GS0_OFST, 0x06)
790 #define GOP_1GS0_REGDMA_STR GOP_REG(GOP_1GS0_OFST, 0x07)
791 #define GOP_1GS0_INT GOP_REG(GOP_1GS0_OFST, 0x08)
792 #define GOP_1GS0_HWSTATE GOP_REG(GOP_1GS0_OFST, 0x09)
793 #define GOP_1GS0_RDMA_HT GOP_REG(GOP_1GS0_OFST, 0x0e)
794 #define GOP_1GS0_HS_PIPE GOP_REG(GOP_1GS0_OFST, 0x0f)
795 #define GOP_1GS0_BRI GOP_REG(GOP_1GS0_OFST, 0x11)
796 #define GOP_1GS0_CON GOP_REG(GOP_1GS0_OFST, 0x12)
797 #define GOP_1GS0_BW GOP_REG(GOP_1GS0_OFST, 0x19)
798 #define GOP_1GS0_TRSCLR_L GOP_REG(GOP_1GS0_OFST, 0x24)
799 #define GOP_1GS0_TRSCLR_H GOP_REG(GOP_1GS0_OFST, 0x25)
800 #define GOP_1GS0_STRCH_HSZ GOP_REG(GOP_1GS0_OFST, 0x30)
801 #define GOP_1GS0_STRCH_VSZ GOP_REG(GOP_1GS0_OFST, 0x31)
802 #define GOP_1GS0_STRCH_HSTR GOP_REG(GOP_1GS0_OFST, 0x32)
803 #define GOP_1GS0_STRCH_VSTR GOP_REG(GOP_1GS0_OFST, 0x34)
804 #define GOP_1GS0_HSTRCH GOP_REG(GOP_1GS0_OFST, 0x35)
805 #define GOP_1GS0_HSTRCH_INI GOP_REG(GOP_1GS0_OFST, 0x38)
806 #define GOP_1GS0_VSTRCH_INI GOP_REG(GOP_1GS0_OFST, 0x39)
807 #define GOP_1GS0_HVStrch_MD GOP_REG(GOP_1GS0_OFST, 0x3a)
808 #define GOP_1GS0_OLDADDR GOP_REG(GOP_1GS0_OFST, 0x3b)
809 #define GOP_1GS0_MULTI_ALPHA GOP_REG(GOP_1GS0_OFST, 0x3c)
811 #define GOP_1GS0_GWIN0_CTRL GOP_REG(GOP_1GS0_OFST+1, 0x00)
812 #define GOP_1GS0_DRAM_RBLK_L GOP_REG(GOP_1GS0_OFST+1, 0x01)
813 #define GOP_1GS0_DRAM_RBLK_H GOP_REG(GOP_1GS0_OFST+1, 0x02)
814 #define GOP_1GS0_DEL_PIXEL GOP_REG(GOP_1GS0_OFST+1, 0x03)
815 #define GOP_1GS0_HSTR GOP_REG(GOP_1GS0_OFST+1, 0x04)
816 #define GOP_1GS0_HEND GOP_REG(GOP_1GS0_OFST+1, 0x05)
817 #define GOP_1GS0_VSTR GOP_REG(GOP_1GS0_OFST+1, 0x06)
818 #define GOP_1GS0_VEND GOP_REG(GOP_1GS0_OFST+1, 0x08)
819 #define GOP_1GS0_DRAM_RBLK_HSIZE GOP_REG(GOP_1GS0_OFST+1, 0x09)
820 #define GOP_1GS0_GWIN_ALPHA01 GOP_REG(GOP_1GS0_OFST+1, 0x0A)
821 #define GOP_1GS0_DRAM_VSTR_L GOP_REG(GOP_1GS0_OFST+1, 0x0C)
822 #define GOP_1GS0_DRAM_VSTR_H GOP_REG(GOP_1GS0_OFST+1, 0x0D)
823 #define GOP_1GS0_DRAM_FADE GOP_REG(GOP_1GS0_OFST+1, 0x16)
824 #define GOP_1GS0_3DOSD_SUB_RBLK_L GOP_REG(GOP_1GS0_OFST+1, 0x1E)
825 #define GOP_1GS0_3DOSD_SUB_RBLK_H GOP_REG(GOP_1GS0_OFST+1, 0x1F)
827 #define GOP_1GS1_CTRL0 GOP_REG(GOP_1GS1_OFST, 0x00)
828 #define GOP_1GS1_CTRL1 GOP_REG(GOP_1GS1_OFST, 0x01)
829 #define GOP_1GS1_RATE GOP_REG(GOP_1GS1_OFST, 0x02)
830 #define GOP_1GS1_PALDATA_L GOP_REG(GOP_1GS1_OFST, 0x03)
831 #define GOP_1GS1_PALDATA_H GOP_REG(GOP_1GS1_OFST, 0x04)
832 #define GOP_1GS1_PALCTRL GOP_REG(GOP_1GS1_OFST, 0x05)
833 #define GOP_1GS1_REGDMA_END GOP_REG(GOP_1GS1_OFST, 0x06)
834 #define GOP_1GS1_REGDMA_STR GOP_REG(GOP_1GS1_OFST, 0x07)
835 #define GOP_1GS1_INT GOP_REG(GOP_1GS1_OFST, 0x08)
836 #define GOP_1GS1_HWSTATE GOP_REG(GOP_1GS1_OFST, 0x09)
837 #define GOP_1GS1_RDMA_HT GOP_REG(GOP_1GS1_OFST, 0x0e)
838 #define GOP_1GS1_HS_PIPE GOP_REG(GOP_1GS1_OFST, 0x0f)
839 #define GOP_1GS1_BRI GOP_REG(GOP_1GS1_OFST, 0x11)
840 #define GOP_1GS1_CON GOP_REG(GOP_1GS1_OFST, 0x12)
841 #define GOP_1GS1_BW GOP_REG(GOP_1GS1_OFST, 0x19)
842 #define GOP_1GS1_TRSCLR_L GOP_REG(GOP_1GS1_OFST, 0x24)
843 #define GOP_1GS1_TRSCLR_H GOP_REG(GOP_1GS1_OFST, 0x25)
844 #define GOP_1GS1_STRCH_HSZ GOP_REG(GOP_1GS1_OFST, 0x30)
845 #define GOP_1GS1_STRCH_VSZ GOP_REG(GOP_1GS1_OFST, 0x31)
846 #define GOP_1GS1_STRCH_HSTR GOP_REG(GOP_1GS1_OFST, 0x32)
847 #define GOP_1GS1_STRCH_VSTR GOP_REG(GOP_1GS1_OFST, 0x34)
848 #define GOP_1GS1_HSTRCH GOP_REG(GOP_1GS1_OFST, 0x35)
849 #define GOP_1GS1_HSTRCH_INI GOP_REG(GOP_1GS1_OFST, 0x38)
850 #define GOP_1GS1_VSTRCH_INI GOP_REG(GOP_1GS1_OFST, 0x39)
851 #define GOP_1GS1_HVStrch_MD GOP_REG(GOP_1GS1_OFST, 0x3a)
852 #define GOP_1GS1_OLDADDR GOP_REG(GOP_1GS1_OFST, 0x3b)
853 #define GOP_1GS1_MULTI_ALPHA GOP_REG(GOP_1GS1_OFST, 0x3c)
855 #define GOP_1GS1_GWIN0_CTRL GOP_REG(GOP_1GS1_OFST+1, 0x00)
856 #define GOP_1GS1_DRAM_RBLK_L GOP_REG(GOP_1GS1_OFST+1, 0x01)
857 #define GOP_1GS1_DRAM_RBLK_H GOP_REG(GOP_1GS1_OFST+1, 0x02)
858 #define GOP_1GS1_DEL_PIXEL GOP_REG(GOP_1GS1_OFST+1, 0x03)
859 #define GOP_1GS1_HSTR GOP_REG(GOP_1GS1_OFST+1, 0x04)
860 #define GOP_1GS1_HEND GOP_REG(GOP_1GS1_OFST+1, 0x05)
861 #define GOP_1GS1_VSTR GOP_REG(GOP_1GS1_OFST+1, 0x06)
862 #define GOP_1GS1_VEND GOP_REG(GOP_1GS1_OFST+1, 0x08)
863 #define GOP_1GS1_DRAM_RBLK_HSIZE GOP_REG(GOP_1GS1_OFST+1, 0x09)
864 #define GOP_1GS1_GWIN_ALPHA01 GOP_REG(GOP_1GS1_OFST+1, 0x0A)
865 #define GOP_1GS1_DRAM_VSTR_L GOP_REG(GOP_1GS1_OFST+1, 0x0C)
866 #define GOP_1GS1_DRAM_VSTR_H GOP_REG(GOP_1GS1_OFST+1, 0x0D)
867 #define GOP_1GS1_DRAM_FADE GOP_REG(GOP_1GS1_OFST+1, 0x16)
868 #define GOP_1GS1_3DOSD_SUB_RBLK_L GOP_REG(GOP_1GS1_OFST+1, 0x1E)
869 #define GOP_1GS1_3DOSD_SUB_RBLK_H GOP_REG(GOP_1GS1_OFST+1, 0x1F)
877 #define REG_TSTCLR_EN GOP_REG(GOP_4G_OFST, 0x00)
878 #define REG_TSTCLR_ALPHA_EN GOP_REG(GOP_4G_OFST+2, 0x00)
879 #define REG_TLB_TAG_ADDR_L GOP_REG(GOP_4G_OFST+2, 0x2C)
880 #define REG_TLB_TAG_ADDR_H GOP_REG(GOP_4G_OFST+2, 0x2D)
881 #define REG_TLB_TAG_ADDR_RVIEW_L GOP_REG(GOP_4G_OFST+2, 0x2E)
882 #define REG_TLB_TAG_ADDR_RVIEW_H GOP_REG(GOP_4G_OFST+2, 0x2F)
883 #define REG_TSTCLR_ALPHA GOP_REG(GOP_4G_OFST+2, 0x40)
884 #define REG_R_STC GOP_REG(GOP_4G_OFST+2, 0x41)
885 #define REG_G_STC GOP_REG(GOP_4G_OFST+2, 0x48)
886 #define REG_B_STC GOP_REG(GOP_4G_OFST+2, 0x49)
887 #define REG_TSTCLR_HDUP GOP_REG(GOP_4G_OFST+2, 0x01)
888 #define REG_TSTCLR_VDUP GOP_REG(GOP_4G_OFST+2, 0x01)
889 #define REG_HR_INC GOP_REG(GOP_4G_OFST+2, 0x42)
890 #define REG_HR_INC_SIGNZ GOP_REG(GOP_4G_OFST+2, 0x42)
891 #define REG_HG_INC GOP_REG(GOP_4G_OFST+2, 0x43)
892 #define REG_HG_INC_SIGNZ GOP_REG(GOP_4G_OFST+2, 0x43)
893 #define REG_HB_INC GOP_REG(GOP_4G_OFST+2, 0x44)
894 #define REG_HB_INC_SIGNZ GOP_REG(GOP_4G_OFST+2, 0x44)
895 #define REG_HR_STEP GOP_REG(GOP_4G_OFST+2, 0x4A)
896 #define REG_HG_STEP GOP_REG(GOP_4G_OFST+2, 0x4B)
897 #define REG_HB_STEP GOP_REG(GOP_4G_OFST+2, 0x4C)
898 #define REG_VR_INC GOP_REG(GOP_4G_OFST+2, 0x45)
899 #define REG_VR_INC_SIGNZ GOP_REG(GOP_4G_OFST+2, 0x45)
900 #define REG_VG_INC GOP_REG(GOP_4G_OFST+2, 0x46)
901 #define REG_VG_INC_SIGNZ GOP_REG(GOP_4G_OFST+2, 0x46)
902 #define REG_VB_INC GOP_REG(GOP_4G_OFST+2, 0x47)
903 #define REG_VB_INC_SIGNZ GOP_REG(GOP_4G_OFST+2, 0x47)
904 #define REG_VR_STEP GOP_REG(GOP_4G_OFST+2, 0x4D)
905 #define REG_VG_STEP GOP_REG(GOP_4G_OFST+2, 0x4E)
906 #define REG_VB_STEP GOP_REG(GOP_4G_OFST+2, 0x4F)
907 #define REG_TLB_BASE_ADDR_L GOP_REG(GOP_4G_OFST+2, 0x58)
908 #define REG_TLB_BASE_ADDR_H GOP_REG(GOP_4G_OFST+2, 0x59)
909 #define REG_TLB_BASE_ADDR_RVIEW_L GOP_REG(GOP_4G_OFST+2, 0x5A)
910 #define REG_TLB_BASE_ADDR_RVIEW_H GOP_REG(GOP_4G_OFST+2, 0x5B)
973 #define REG_AFBC_CORE_EN(id) GOP_REG(GOP_4G_OFST+GOP_AFBC_OFST, 0x00+(0x20*id))
974 #define REG_AFBC_ADDR_L(id) GOP_REG(GOP_4G_OFST+GOP_AFBC_OFST, 0x01+(0x20*id))
975 #define REG_AFBC_ADDR_H(id) GOP_REG(GOP_4G_OFST+GOP_AFBC_OFST, 0x02+(0x20*id))
976 #define REG_AFBC_FMT(id) GOP_REG(GOP_4G_OFST+GOP_AFBC_OFST, 0x0C+(0x20*id))
977 #define REG_AFBC_WIDTH(id) GOP_REG(GOP_4G_OFST+GOP_AFBC_OFST, 0x0A+(0x20*id))
978 #define REG_AFBC_HEIGHT(id) GOP_REG(GOP_4G_OFST+GOP_AFBC_OFST, 0x0B+(0x20*id))
979 #define REG_AFBC_RESP(id) GOP_REG(GOP_4G_OFST+GOP_AFBC_OFST, 0x0F+(0x20*id))
980 #define REG_AFBC_MIU GOP_REG(GOP_4G_OFST+GOP_AFBC_OFST, 0x43)
981 #define REG_AFBC_DEBUG(id) GOP_REG(GOP_4G_OFST+GOP_AFBC_OFST, 0x44+(0x20*id))
982 #define REG_AFBC_READCNT(id) GOP_REG(GOP_4G_OFST+GOP_AFBC_OFST, 0x4C+(0x20*id))
983 #define REG_AFBC_TRIGGER GOP_REG(GOP_4G_OFST+GOP_AFBC_OFST, 0x50)