Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
vpbe_venc_regs.h File Reference

Go to the source code of this file.

Macros

#define VENC_VMOD   0x00
 
#define VENC_VIDCTL   0x04
 
#define VENC_VDPRO   0x08
 
#define VENC_SYNCCTL   0x0C
 
#define VENC_HSPLS   0x10
 
#define VENC_VSPLS   0x14
 
#define VENC_HINT   0x18
 
#define VENC_HSTART   0x1C
 
#define VENC_HVALID   0x20
 
#define VENC_VINT   0x24
 
#define VENC_VSTART   0x28
 
#define VENC_VVALID   0x2C
 
#define VENC_HSDLY   0x30
 
#define VENC_VSDLY   0x34
 
#define VENC_YCCCTL   0x38
 
#define VENC_RGBCTL   0x3C
 
#define VENC_RGBCLP   0x40
 
#define VENC_LINECTL   0x44
 
#define VENC_CULLLINE   0x48
 
#define VENC_LCDOUT   0x4C
 
#define VENC_BRTS   0x50
 
#define VENC_BRTW   0x54
 
#define VENC_ACCTL   0x58
 
#define VENC_PWMP   0x5C
 
#define VENC_PWMW   0x60
 
#define VENC_DCLKCTL   0x64
 
#define VENC_DCLKPTN0   0x68
 
#define VENC_DCLKPTN1   0x6C
 
#define VENC_DCLKPTN2   0x70
 
#define VENC_DCLKPTN3   0x74
 
#define VENC_DCLKPTN0A   0x78
 
#define VENC_DCLKPTN1A   0x7C
 
#define VENC_DCLKPTN2A   0x80
 
#define VENC_DCLKPTN3A   0x84
 
#define VENC_DCLKHS   0x88
 
#define VENC_DCLKHSA   0x8C
 
#define VENC_DCLKHR   0x90
 
#define VENC_DCLKVS   0x94
 
#define VENC_DCLKVR   0x98
 
#define VENC_CAPCTL   0x9C
 
#define VENC_CAPDO   0xA0
 
#define VENC_CAPDE   0xA4
 
#define VENC_ATR0   0xA8
 
#define VENC_ATR1   0xAC
 
#define VENC_ATR2   0xB0
 
#define VENC_VSTAT   0xB8
 
#define VENC_RAMADR   0xBC
 
#define VENC_RAMPORT   0xC0
 
#define VENC_DACTST   0xC4
 
#define VENC_YCOLVL   0xC8
 
#define VENC_SCPROG   0xCC
 
#define VENC_CVBS   0xDC
 
#define VENC_CMPNT   0xE0
 
#define VENC_ETMG0   0xE4
 
#define VENC_ETMG1   0xE8
 
#define VENC_ETMG2   0xEC
 
#define VENC_ETMG3   0xF0
 
#define VENC_DACSEL   0xF4
 
#define VENC_ARGBX0   0x100
 
#define VENC_ARGBX1   0x104
 
#define VENC_ARGBX2   0x108
 
#define VENC_ARGBX3   0x10C
 
#define VENC_ARGBX4   0x110
 
#define VENC_DRGBX0   0x114
 
#define VENC_DRGBX1   0x118
 
#define VENC_DRGBX2   0x11C
 
#define VENC_DRGBX3   0x120
 
#define VENC_DRGBX4   0x124
 
#define VENC_VSTARTA   0x128
 
#define VENC_OSDCLK0   0x12C
 
#define VENC_OSDCLK1   0x130
 
#define VENC_HVLDCL0   0x134
 
#define VENC_HVLDCL1   0x138
 
#define VENC_OSDHADV   0x13C
 
#define VENC_CLKCTL   0x140
 
#define VENC_GAMCTL   0x144
 
#define VENC_XHINTVL   0x174
 
#define VPBE_PCR_VENC_DIV   (1 << 1)
 
#define VPBE_PCR_CLK_OFF   (1 << 0)
 
#define VENC_VMOD_VDMD_SHIFT   12
 
#define VENC_VMOD_VDMD_YCBCR16   0
 
#define VENC_VMOD_VDMD_YCBCR8   1
 
#define VENC_VMOD_VDMD_RGB666   2
 
#define VENC_VMOD_VDMD_RGB8   3
 
#define VENC_VMOD_VDMD_EPSON   4
 
#define VENC_VMOD_VDMD_CASIO   5
 
#define VENC_VMOD_VDMD_UDISPQVGA   6
 
#define VENC_VMOD_VDMD_STNLCD   7
 
#define VENC_VMOD_VIE_SHIFT   1
 
#define VENC_VMOD_VDMD   (7 << 12)
 
#define VENC_VMOD_ITLCL   (1 << 11)
 
#define VENC_VMOD_ITLC   (1 << 10)
 
#define VENC_VMOD_NSIT   (1 << 9)
 
#define VENC_VMOD_HDMD   (1 << 8)
 
#define VENC_VMOD_TVTYP_SHIFT   6
 
#define VENC_VMOD_TVTYP   (3 << 6)
 
#define VENC_VMOD_SLAVE   (1 << 5)
 
#define VENC_VMOD_VMD   (1 << 4)
 
#define VENC_VMOD_BLNK   (1 << 3)
 
#define VENC_VMOD_VIE   (1 << 1)
 
#define VENC_VMOD_VENC   (1 << 0)
 
#define SDTV_NTSC   0
 
#define SDTV_PAL   1
 
#define HDTV_525P   0
 
#define HDTV_625P   1
 
#define HDTV_1080I   2
 
#define HDTV_720P   3
 
#define VENC_VIDCTL_VCLKP   (1 << 14)
 
#define VENC_VIDCTL_VCLKE_SHIFT   13
 
#define VENC_VIDCTL_VCLKE   (1 << 13)
 
#define VENC_VIDCTL_VCLKZ_SHIFT   12
 
#define VENC_VIDCTL_VCLKZ   (1 << 12)
 
#define VENC_VIDCTL_SYDIR_SHIFT   8
 
#define VENC_VIDCTL_SYDIR   (1 << 8)
 
#define VENC_VIDCTL_DOMD_SHIFT   4
 
#define VENC_VIDCTL_DOMD   (3 << 4)
 
#define VENC_VIDCTL_YCDIR_SHIFT   0
 
#define VENC_VIDCTL_YCDIR   (1 << 0)
 
#define VENC_VDPRO_ATYCC_SHIFT   5
 
#define VENC_VDPRO_ATYCC   (1 << 5)
 
#define VENC_VDPRO_ATCOM_SHIFT   4
 
#define VENC_VDPRO_ATCOM   (1 << 4)
 
#define VENC_VDPRO_DAFRQ   (1 << 3)
 
#define VENC_VDPRO_DAUPS   (1 << 2)
 
#define VENC_VDPRO_CUPS   (1 << 1)
 
#define VENC_VDPRO_YUPS   (1 << 0)
 
#define VENC_SYNCCTL_VPL_SHIFT   3
 
#define VENC_SYNCCTL_VPL   (1 << 3)
 
#define VENC_SYNCCTL_HPL_SHIFT   2
 
#define VENC_SYNCCTL_HPL   (1 << 2)
 
#define VENC_SYNCCTL_SYEV_SHIFT   1
 
#define VENC_SYNCCTL_SYEV   (1 << 1)
 
#define VENC_SYNCCTL_SYEH_SHIFT   0
 
#define VENC_SYNCCTL_SYEH   (1 << 0)
 
#define VENC_SYNCCTL_OVD_SHIFT   14
 
#define VENC_SYNCCTL_OVD   (1 << 14)
 
#define VENC_DCLKCTL_DCKEC_SHIFT   11
 
#define VENC_DCLKCTL_DCKEC   (1 << 11)
 
#define VENC_DCLKCTL_DCKPW_SHIFT   0
 
#define VENC_DCLKCTL_DCKPW   (0x3f << 0)
 
#define VENC_VSTAT_FIDST   (1 << 4)
 
#define VENC_CMPNT_MRGB_SHIFT   14
 
#define VENC_CMPNT_MRGB   (1 << 14)
 

Macro Definition Documentation

#define HDTV_1080I   2

Definition at line 132 of file vpbe_venc_regs.h.

#define HDTV_525P   0

Definition at line 130 of file vpbe_venc_regs.h.

#define HDTV_625P   1

Definition at line 131 of file vpbe_venc_regs.h.

#define HDTV_720P   3

Definition at line 133 of file vpbe_venc_regs.h.

#define SDTV_NTSC   0

Definition at line 127 of file vpbe_venc_regs.h.

#define SDTV_PAL   1

Definition at line 128 of file vpbe_venc_regs.h.

#define VENC_ACCTL   0x58

Definition at line 43 of file vpbe_venc_regs.h.

#define VENC_ARGBX0   0x100

Definition at line 79 of file vpbe_venc_regs.h.

#define VENC_ARGBX1   0x104

Definition at line 80 of file vpbe_venc_regs.h.

#define VENC_ARGBX2   0x108

Definition at line 81 of file vpbe_venc_regs.h.

#define VENC_ARGBX3   0x10C

Definition at line 82 of file vpbe_venc_regs.h.

#define VENC_ARGBX4   0x110

Definition at line 83 of file vpbe_venc_regs.h.

#define VENC_ATR0   0xA8

Definition at line 63 of file vpbe_venc_regs.h.

#define VENC_ATR1   0xAC

Definition at line 64 of file vpbe_venc_regs.h.

#define VENC_ATR2   0xB0

Definition at line 65 of file vpbe_venc_regs.h.

#define VENC_BRTS   0x50

Definition at line 41 of file vpbe_venc_regs.h.

#define VENC_BRTW   0x54

Definition at line 42 of file vpbe_venc_regs.h.

#define VENC_CAPCTL   0x9C

Definition at line 60 of file vpbe_venc_regs.h.

#define VENC_CAPDE   0xA4

Definition at line 62 of file vpbe_venc_regs.h.

#define VENC_CAPDO   0xA0

Definition at line 61 of file vpbe_venc_regs.h.

#define VENC_CLKCTL   0x140

Definition at line 95 of file vpbe_venc_regs.h.

#define VENC_CMPNT   0xE0

Definition at line 73 of file vpbe_venc_regs.h.

#define VENC_CMPNT_MRGB   (1 << 14)

Definition at line 175 of file vpbe_venc_regs.h.

#define VENC_CMPNT_MRGB_SHIFT   14

Definition at line 174 of file vpbe_venc_regs.h.

#define VENC_CULLLINE   0x48

Definition at line 39 of file vpbe_venc_regs.h.

#define VENC_CVBS   0xDC

Definition at line 72 of file vpbe_venc_regs.h.

#define VENC_DACSEL   0xF4

Definition at line 78 of file vpbe_venc_regs.h.

#define VENC_DACTST   0xC4

Definition at line 69 of file vpbe_venc_regs.h.

#define VENC_DCLKCTL   0x64

Definition at line 46 of file vpbe_venc_regs.h.

#define VENC_DCLKCTL_DCKEC   (1 << 11)

Definition at line 168 of file vpbe_venc_regs.h.

#define VENC_DCLKCTL_DCKEC_SHIFT   11

Definition at line 167 of file vpbe_venc_regs.h.

#define VENC_DCLKCTL_DCKPW   (0x3f << 0)

Definition at line 170 of file vpbe_venc_regs.h.

#define VENC_DCLKCTL_DCKPW_SHIFT   0

Definition at line 169 of file vpbe_venc_regs.h.

#define VENC_DCLKHR   0x90

Definition at line 57 of file vpbe_venc_regs.h.

#define VENC_DCLKHS   0x88

Definition at line 55 of file vpbe_venc_regs.h.

#define VENC_DCLKHSA   0x8C

Definition at line 56 of file vpbe_venc_regs.h.

#define VENC_DCLKPTN0   0x68

Definition at line 47 of file vpbe_venc_regs.h.

#define VENC_DCLKPTN0A   0x78

Definition at line 51 of file vpbe_venc_regs.h.

#define VENC_DCLKPTN1   0x6C

Definition at line 48 of file vpbe_venc_regs.h.

#define VENC_DCLKPTN1A   0x7C

Definition at line 52 of file vpbe_venc_regs.h.

#define VENC_DCLKPTN2   0x70

Definition at line 49 of file vpbe_venc_regs.h.

#define VENC_DCLKPTN2A   0x80

Definition at line 53 of file vpbe_venc_regs.h.

#define VENC_DCLKPTN3   0x74

Definition at line 50 of file vpbe_venc_regs.h.

#define VENC_DCLKPTN3A   0x84

Definition at line 54 of file vpbe_venc_regs.h.

#define VENC_DCLKVR   0x98

Definition at line 59 of file vpbe_venc_regs.h.

#define VENC_DCLKVS   0x94

Definition at line 58 of file vpbe_venc_regs.h.

#define VENC_DRGBX0   0x114

Definition at line 84 of file vpbe_venc_regs.h.

#define VENC_DRGBX1   0x118

Definition at line 85 of file vpbe_venc_regs.h.

#define VENC_DRGBX2   0x11C

Definition at line 86 of file vpbe_venc_regs.h.

#define VENC_DRGBX3   0x120

Definition at line 87 of file vpbe_venc_regs.h.

#define VENC_DRGBX4   0x124

Definition at line 88 of file vpbe_venc_regs.h.

#define VENC_ETMG0   0xE4

Definition at line 74 of file vpbe_venc_regs.h.

#define VENC_ETMG1   0xE8

Definition at line 75 of file vpbe_venc_regs.h.

#define VENC_ETMG2   0xEC

Definition at line 76 of file vpbe_venc_regs.h.

#define VENC_ETMG3   0xF0

Definition at line 77 of file vpbe_venc_regs.h.

#define VENC_GAMCTL   0x144

Definition at line 96 of file vpbe_venc_regs.h.

#define VENC_HINT   0x18

Definition at line 27 of file vpbe_venc_regs.h.

#define VENC_HSDLY   0x30

Definition at line 33 of file vpbe_venc_regs.h.

#define VENC_HSPLS   0x10

Definition at line 25 of file vpbe_venc_regs.h.

#define VENC_HSTART   0x1C

Definition at line 28 of file vpbe_venc_regs.h.

#define VENC_HVALID   0x20

Definition at line 29 of file vpbe_venc_regs.h.

#define VENC_HVLDCL0   0x134

Definition at line 92 of file vpbe_venc_regs.h.

#define VENC_HVLDCL1   0x138

Definition at line 93 of file vpbe_venc_regs.h.

#define VENC_LCDOUT   0x4C

Definition at line 40 of file vpbe_venc_regs.h.

#define VENC_LINECTL   0x44

Definition at line 38 of file vpbe_venc_regs.h.

#define VENC_OSDCLK0   0x12C

Definition at line 90 of file vpbe_venc_regs.h.

#define VENC_OSDCLK1   0x130

Definition at line 91 of file vpbe_venc_regs.h.

#define VENC_OSDHADV   0x13C

Definition at line 94 of file vpbe_venc_regs.h.

#define VENC_PWMP   0x5C

Definition at line 44 of file vpbe_venc_regs.h.

#define VENC_PWMW   0x60

Definition at line 45 of file vpbe_venc_regs.h.

#define VENC_RAMADR   0xBC

Definition at line 67 of file vpbe_venc_regs.h.

#define VENC_RAMPORT   0xC0

Definition at line 68 of file vpbe_venc_regs.h.

#define VENC_RGBCLP   0x40

Definition at line 37 of file vpbe_venc_regs.h.

#define VENC_RGBCTL   0x3C

Definition at line 36 of file vpbe_venc_regs.h.

#define VENC_SCPROG   0xCC

Definition at line 71 of file vpbe_venc_regs.h.

#define VENC_SYNCCTL   0x0C

Definition at line 24 of file vpbe_venc_regs.h.

#define VENC_SYNCCTL_HPL   (1 << 2)

Definition at line 159 of file vpbe_venc_regs.h.

#define VENC_SYNCCTL_HPL_SHIFT   2

Definition at line 158 of file vpbe_venc_regs.h.

#define VENC_SYNCCTL_OVD   (1 << 14)

Definition at line 165 of file vpbe_venc_regs.h.

#define VENC_SYNCCTL_OVD_SHIFT   14

Definition at line 164 of file vpbe_venc_regs.h.

#define VENC_SYNCCTL_SYEH   (1 << 0)

Definition at line 163 of file vpbe_venc_regs.h.

#define VENC_SYNCCTL_SYEH_SHIFT   0

Definition at line 162 of file vpbe_venc_regs.h.

#define VENC_SYNCCTL_SYEV   (1 << 1)

Definition at line 161 of file vpbe_venc_regs.h.

#define VENC_SYNCCTL_SYEV_SHIFT   1

Definition at line 160 of file vpbe_venc_regs.h.

#define VENC_SYNCCTL_VPL   (1 << 3)

Definition at line 157 of file vpbe_venc_regs.h.

#define VENC_SYNCCTL_VPL_SHIFT   3

Definition at line 156 of file vpbe_venc_regs.h.

#define VENC_VDPRO   0x08

Definition at line 23 of file vpbe_venc_regs.h.

#define VENC_VDPRO_ATCOM   (1 << 4)

Definition at line 150 of file vpbe_venc_regs.h.

#define VENC_VDPRO_ATCOM_SHIFT   4

Definition at line 149 of file vpbe_venc_regs.h.

#define VENC_VDPRO_ATYCC   (1 << 5)

Definition at line 148 of file vpbe_venc_regs.h.

#define VENC_VDPRO_ATYCC_SHIFT   5

Definition at line 147 of file vpbe_venc_regs.h.

#define VENC_VDPRO_CUPS   (1 << 1)

Definition at line 153 of file vpbe_venc_regs.h.

#define VENC_VDPRO_DAFRQ   (1 << 3)

Definition at line 151 of file vpbe_venc_regs.h.

#define VENC_VDPRO_DAUPS   (1 << 2)

Definition at line 152 of file vpbe_venc_regs.h.

#define VENC_VDPRO_YUPS   (1 << 0)

Definition at line 154 of file vpbe_venc_regs.h.

#define VENC_VIDCTL   0x04

Definition at line 22 of file vpbe_venc_regs.h.

#define VENC_VIDCTL_DOMD   (3 << 4)

Definition at line 143 of file vpbe_venc_regs.h.

#define VENC_VIDCTL_DOMD_SHIFT   4

Definition at line 142 of file vpbe_venc_regs.h.

#define VENC_VIDCTL_SYDIR   (1 << 8)

Definition at line 141 of file vpbe_venc_regs.h.

#define VENC_VIDCTL_SYDIR_SHIFT   8

Definition at line 140 of file vpbe_venc_regs.h.

#define VENC_VIDCTL_VCLKE   (1 << 13)

Definition at line 137 of file vpbe_venc_regs.h.

#define VENC_VIDCTL_VCLKE_SHIFT   13

Definition at line 136 of file vpbe_venc_regs.h.

#define VENC_VIDCTL_VCLKP   (1 << 14)

Definition at line 135 of file vpbe_venc_regs.h.

#define VENC_VIDCTL_VCLKZ   (1 << 12)

Definition at line 139 of file vpbe_venc_regs.h.

#define VENC_VIDCTL_VCLKZ_SHIFT   12

Definition at line 138 of file vpbe_venc_regs.h.

#define VENC_VIDCTL_YCDIR   (1 << 0)

Definition at line 145 of file vpbe_venc_regs.h.

#define VENC_VIDCTL_YCDIR_SHIFT   0

Definition at line 144 of file vpbe_venc_regs.h.

#define VENC_VINT   0x24

Definition at line 30 of file vpbe_venc_regs.h.

#define VENC_VMOD   0x00

Definition at line 21 of file vpbe_venc_regs.h.

#define VENC_VMOD_BLNK   (1 << 3)

Definition at line 122 of file vpbe_venc_regs.h.

#define VENC_VMOD_HDMD   (1 << 8)

Definition at line 117 of file vpbe_venc_regs.h.

#define VENC_VMOD_ITLC   (1 << 10)

Definition at line 115 of file vpbe_venc_regs.h.

#define VENC_VMOD_ITLCL   (1 << 11)

Definition at line 114 of file vpbe_venc_regs.h.

#define VENC_VMOD_NSIT   (1 << 9)

Definition at line 116 of file vpbe_venc_regs.h.

#define VENC_VMOD_SLAVE   (1 << 5)

Definition at line 120 of file vpbe_venc_regs.h.

#define VENC_VMOD_TVTYP   (3 << 6)

Definition at line 119 of file vpbe_venc_regs.h.

#define VENC_VMOD_TVTYP_SHIFT   6

Definition at line 118 of file vpbe_venc_regs.h.

#define VENC_VMOD_VDMD   (7 << 12)

Definition at line 113 of file vpbe_venc_regs.h.

#define VENC_VMOD_VDMD_CASIO   5

Definition at line 109 of file vpbe_venc_regs.h.

#define VENC_VMOD_VDMD_EPSON   4

Definition at line 108 of file vpbe_venc_regs.h.

#define VENC_VMOD_VDMD_RGB666   2

Definition at line 106 of file vpbe_venc_regs.h.

#define VENC_VMOD_VDMD_RGB8   3

Definition at line 107 of file vpbe_venc_regs.h.

#define VENC_VMOD_VDMD_SHIFT   12

Definition at line 103 of file vpbe_venc_regs.h.

#define VENC_VMOD_VDMD_STNLCD   7

Definition at line 111 of file vpbe_venc_regs.h.

#define VENC_VMOD_VDMD_UDISPQVGA   6

Definition at line 110 of file vpbe_venc_regs.h.

#define VENC_VMOD_VDMD_YCBCR16   0

Definition at line 104 of file vpbe_venc_regs.h.

#define VENC_VMOD_VDMD_YCBCR8   1

Definition at line 105 of file vpbe_venc_regs.h.

#define VENC_VMOD_VENC   (1 << 0)

Definition at line 124 of file vpbe_venc_regs.h.

#define VENC_VMOD_VIE   (1 << 1)

Definition at line 123 of file vpbe_venc_regs.h.

#define VENC_VMOD_VIE_SHIFT   1

Definition at line 112 of file vpbe_venc_regs.h.

#define VENC_VMOD_VMD   (1 << 4)

Definition at line 121 of file vpbe_venc_regs.h.

#define VENC_VSDLY   0x34

Definition at line 34 of file vpbe_venc_regs.h.

#define VENC_VSPLS   0x14

Definition at line 26 of file vpbe_venc_regs.h.

#define VENC_VSTART   0x28

Definition at line 31 of file vpbe_venc_regs.h.

#define VENC_VSTARTA   0x128

Definition at line 89 of file vpbe_venc_regs.h.

#define VENC_VSTAT   0xB8

Definition at line 66 of file vpbe_venc_regs.h.

#define VENC_VSTAT_FIDST   (1 << 4)

Definition at line 172 of file vpbe_venc_regs.h.

#define VENC_VVALID   0x2C

Definition at line 32 of file vpbe_venc_regs.h.

#define VENC_XHINTVL   0x174

Definition at line 97 of file vpbe_venc_regs.h.

#define VENC_YCCCTL   0x38

Definition at line 35 of file vpbe_venc_regs.h.

#define VENC_YCOLVL   0xC8

Definition at line 70 of file vpbe_venc_regs.h.

#define VPBE_PCR_CLK_OFF   (1 << 0)

Definition at line 101 of file vpbe_venc_regs.h.

#define VPBE_PCR_VENC_DIV   (1 << 1)

Definition at line 100 of file vpbe_venc_regs.h.