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

Go to the source code of this file.

Macros

#define ZR36057_VFEHCR   0x000 /* Video Front End, Horizontal Configuration Register */
 
#define ZR36057_VFEHCR_HSPol   (1<<30)
 
#define ZR36057_VFEHCR_HStart   10
 
#define ZR36057_VFEHCR_HEnd   0
 
#define ZR36057_VFEHCR_Hmask   0x3ff
 
#define ZR36057_VFEVCR   0x004 /* Video Front End, Vertical Configuration Register */
 
#define ZR36057_VFEVCR_VSPol   (1<<30)
 
#define ZR36057_VFEVCR_VStart   10
 
#define ZR36057_VFEVCR_VEnd   0
 
#define ZR36057_VFEVCR_Vmask   0x3ff
 
#define ZR36057_VFESPFR   0x008 /* Video Front End, Scaler and Pixel Format Register */
 
#define ZR36057_VFESPFR_ExtFl   (1<<26)
 
#define ZR36057_VFESPFR_TopField   (1<<25)
 
#define ZR36057_VFESPFR_VCLKPol   (1<<24)
 
#define ZR36057_VFESPFR_HFilter   21
 
#define ZR36057_VFESPFR_HorDcm   14
 
#define ZR36057_VFESPFR_VerDcm   8
 
#define ZR36057_VFESPFR_DispMode   6
 
#define ZR36057_VFESPFR_YUV422   (0<<3)
 
#define ZR36057_VFESPFR_RGB888   (1<<3)
 
#define ZR36057_VFESPFR_RGB565   (2<<3)
 
#define ZR36057_VFESPFR_RGB555   (3<<3)
 
#define ZR36057_VFESPFR_ErrDif   (1<<2)
 
#define ZR36057_VFESPFR_Pack24   (1<<1)
 
#define ZR36057_VFESPFR_LittleEndian   (1<<0)
 
#define ZR36057_VDTR   0x00c /* Video Display "Top" Register */
 
#define ZR36057_VDBR   0x010 /* Video Display "Bottom" Register */
 
#define ZR36057_VSSFGR   0x014 /* Video Stride, Status, and Frame Grab Register */
 
#define ZR36057_VSSFGR_DispStride   16
 
#define ZR36057_VSSFGR_VidOvf   (1<<8)
 
#define ZR36057_VSSFGR_SnapShot   (1<<1)
 
#define ZR36057_VSSFGR_FrameGrab   (1<<0)
 
#define ZR36057_VDCR   0x018 /* Video Display Configuration Register */
 
#define ZR36057_VDCR_VidEn   (1<<31)
 
#define ZR36057_VDCR_MinPix   24
 
#define ZR36057_VDCR_Triton   (1<<24)
 
#define ZR36057_VDCR_VidWinHt   12
 
#define ZR36057_VDCR_VidWinWid   0
 
#define ZR36057_MMTR   0x01c /* Masking Map "Top" Register */
 
#define ZR36057_MMBR   0x020 /* Masking Map "Bottom" Register */
 
#define ZR36057_OCR   0x024 /* Overlay Control Register */
 
#define ZR36057_OCR_OvlEnable   (1 << 15)
 
#define ZR36057_OCR_MaskStride   0
 
#define ZR36057_SPGPPCR   0x028 /* System, PCI, and General Purpose Pins Control Register */
 
#define ZR36057_SPGPPCR_SoftReset   (1<<24)
 
#define ZR36057_GPPGCR1   0x02c /* General Purpose Pins and GuestBus Control Register (1) */
 
#define ZR36057_MCSAR   0x030 /* MPEG Code Source Address Register */
 
#define ZR36057_MCTCR   0x034 /* MPEG Code Transfer Control Register */
 
#define ZR36057_MCTCR_CodTime   (1 << 30)
 
#define ZR36057_MCTCR_CEmpty   (1 << 29)
 
#define ZR36057_MCTCR_CFlush   (1 << 28)
 
#define ZR36057_MCTCR_CodGuestID   20
 
#define ZR36057_MCTCR_CodGuestReg   16
 
#define ZR36057_MCMPR   0x038 /* MPEG Code Memory Pointer Register */
 
#define ZR36057_ISR   0x03c /* Interrupt Status Register */
 
#define ZR36057_ISR_GIRQ1   (1<<30)
 
#define ZR36057_ISR_GIRQ0   (1<<29)
 
#define ZR36057_ISR_CodRepIRQ   (1<<28)
 
#define ZR36057_ISR_JPEGRepIRQ   (1<<27)
 
#define ZR36057_ICR   0x040 /* Interrupt Control Register */
 
#define ZR36057_ICR_GIRQ1   (1<<30)
 
#define ZR36057_ICR_GIRQ0   (1<<29)
 
#define ZR36057_ICR_CodRepIRQ   (1<<28)
 
#define ZR36057_ICR_JPEGRepIRQ   (1<<27)
 
#define ZR36057_ICR_IntPinEn   (1<<24)
 
#define ZR36057_I2CBR   0x044 /* I2C Bus Register */
 
#define ZR36057_I2CBR_SDA   (1<<1)
 
#define ZR36057_I2CBR_SCL   (1<<0)
 
#define ZR36057_JMC   0x100 /* JPEG Mode and Control */
 
#define ZR36057_JMC_JPG   (1 << 31)
 
#define ZR36057_JMC_JPGExpMode   (0 << 29)
 
#define ZR36057_JMC_JPGCmpMode   (1 << 29)
 
#define ZR36057_JMC_MJPGExpMode   (2 << 29)
 
#define ZR36057_JMC_MJPGCmpMode   (3 << 29)
 
#define ZR36057_JMC_RTBUSY_FB   (1 << 6)
 
#define ZR36057_JMC_Go_en   (1 << 5)
 
#define ZR36057_JMC_SyncMstr   (1 << 4)
 
#define ZR36057_JMC_Fld_per_buff   (1 << 3)
 
#define ZR36057_JMC_VFIFO_FB   (1 << 2)
 
#define ZR36057_JMC_CFIFO_FB   (1 << 1)
 
#define ZR36057_JMC_Stll_LitEndian   (1 << 0)
 
#define ZR36057_JPC   0x104 /* JPEG Process Control */
 
#define ZR36057_JPC_P_Reset   (1 << 7)
 
#define ZR36057_JPC_CodTrnsEn   (1 << 5)
 
#define ZR36057_JPC_Active   (1 << 0)
 
#define ZR36057_VSP   0x108 /* Vertical Sync Parameters */
 
#define ZR36057_VSP_VsyncSize   16
 
#define ZR36057_VSP_FrmTot   0
 
#define ZR36057_HSP   0x10c /* Horizontal Sync Parameters */
 
#define ZR36057_HSP_HsyncStart   16
 
#define ZR36057_HSP_LineTot   0
 
#define ZR36057_FHAP   0x110 /* Field Horizontal Active Portion */
 
#define ZR36057_FHAP_NAX   16
 
#define ZR36057_FHAP_PAX   0
 
#define ZR36057_FVAP   0x114 /* Field Vertical Active Portion */
 
#define ZR36057_FVAP_NAY   16
 
#define ZR36057_FVAP_PAY   0
 
#define ZR36057_FPP   0x118 /* Field Process Parameters */
 
#define ZR36057_FPP_Odd_Even   (1 << 0)
 
#define ZR36057_JCBA   0x11c /* JPEG Code Base Address */
 
#define ZR36057_JCFT   0x120 /* JPEG Code FIFO Threshold */
 
#define ZR36057_JCGI   0x124 /* JPEG Codec Guest ID */
 
#define ZR36057_JCGI_JPEGuestID   4
 
#define ZR36057_JCGI_JPEGuestReg   0
 
#define ZR36057_GCR2   0x12c /* GuestBus Control Register (2) */
 
#define ZR36057_POR   0x200 /* Post Office Register */
 
#define ZR36057_POR_POPen   (1<<25)
 
#define ZR36057_POR_POTime   (1<<24)
 
#define ZR36057_POR_PODir   (1<<23)
 
#define ZR36057_STR   0x300 /* "Still" Transfer Register */
 

Macro Definition Documentation

#define ZR36057_FHAP   0x110 /* Field Horizontal Active Portion */

Definition at line 140 of file zr36057.h.

#define ZR36057_FHAP_NAX   16

Definition at line 141 of file zr36057.h.

#define ZR36057_FHAP_PAX   0

Definition at line 142 of file zr36057.h.

#define ZR36057_FPP   0x118 /* Field Process Parameters */

Definition at line 148 of file zr36057.h.

#define ZR36057_FPP_Odd_Even   (1 << 0)

Definition at line 149 of file zr36057.h.

#define ZR36057_FVAP   0x114 /* Field Vertical Active Portion */

Definition at line 144 of file zr36057.h.

#define ZR36057_FVAP_NAY   16

Definition at line 145 of file zr36057.h.

#define ZR36057_FVAP_PAY   0

Definition at line 146 of file zr36057.h.

#define ZR36057_GCR2   0x12c /* GuestBus Control Register (2) */

Definition at line 159 of file zr36057.h.

#define ZR36057_GPPGCR1   0x02c /* General Purpose Pins and GuestBus Control Register (1) */

Definition at line 83 of file zr36057.h.

#define ZR36057_HSP   0x10c /* Horizontal Sync Parameters */

Definition at line 136 of file zr36057.h.

#define ZR36057_HSP_HsyncStart   16

Definition at line 137 of file zr36057.h.

#define ZR36057_HSP_LineTot   0

Definition at line 138 of file zr36057.h.

#define ZR36057_I2CBR   0x044 /* I2C Bus Register */

Definition at line 109 of file zr36057.h.

#define ZR36057_I2CBR_SCL   (1<<0)

Definition at line 111 of file zr36057.h.

#define ZR36057_I2CBR_SDA   (1<<1)

Definition at line 110 of file zr36057.h.

#define ZR36057_ICR   0x040 /* Interrupt Control Register */

Definition at line 102 of file zr36057.h.

#define ZR36057_ICR_CodRepIRQ   (1<<28)

Definition at line 105 of file zr36057.h.

#define ZR36057_ICR_GIRQ0   (1<<29)

Definition at line 104 of file zr36057.h.

#define ZR36057_ICR_GIRQ1   (1<<30)

Definition at line 103 of file zr36057.h.

#define ZR36057_ICR_IntPinEn   (1<<24)

Definition at line 107 of file zr36057.h.

#define ZR36057_ICR_JPEGRepIRQ   (1<<27)

Definition at line 106 of file zr36057.h.

#define ZR36057_ISR   0x03c /* Interrupt Status Register */

Definition at line 96 of file zr36057.h.

#define ZR36057_ISR_CodRepIRQ   (1<<28)

Definition at line 99 of file zr36057.h.

#define ZR36057_ISR_GIRQ0   (1<<29)

Definition at line 98 of file zr36057.h.

#define ZR36057_ISR_GIRQ1   (1<<30)

Definition at line 97 of file zr36057.h.

#define ZR36057_ISR_JPEGRepIRQ   (1<<27)

Definition at line 100 of file zr36057.h.

#define ZR36057_JCBA   0x11c /* JPEG Code Base Address */

Definition at line 151 of file zr36057.h.

#define ZR36057_JCFT   0x120 /* JPEG Code FIFO Threshold */

Definition at line 153 of file zr36057.h.

#define ZR36057_JCGI   0x124 /* JPEG Codec Guest ID */

Definition at line 155 of file zr36057.h.

#define ZR36057_JCGI_JPEGuestID   4

Definition at line 156 of file zr36057.h.

#define ZR36057_JCGI_JPEGuestReg   0

Definition at line 157 of file zr36057.h.

#define ZR36057_JMC   0x100 /* JPEG Mode and Control */

Definition at line 113 of file zr36057.h.

#define ZR36057_JMC_CFIFO_FB   (1 << 1)

Definition at line 124 of file zr36057.h.

#define ZR36057_JMC_Fld_per_buff   (1 << 3)

Definition at line 122 of file zr36057.h.

#define ZR36057_JMC_Go_en   (1 << 5)

Definition at line 120 of file zr36057.h.

#define ZR36057_JMC_JPG   (1 << 31)

Definition at line 114 of file zr36057.h.

#define ZR36057_JMC_JPGCmpMode   (1 << 29)

Definition at line 116 of file zr36057.h.

#define ZR36057_JMC_JPGExpMode   (0 << 29)

Definition at line 115 of file zr36057.h.

#define ZR36057_JMC_MJPGCmpMode   (3 << 29)

Definition at line 118 of file zr36057.h.

#define ZR36057_JMC_MJPGExpMode   (2 << 29)

Definition at line 117 of file zr36057.h.

#define ZR36057_JMC_RTBUSY_FB   (1 << 6)

Definition at line 119 of file zr36057.h.

#define ZR36057_JMC_Stll_LitEndian   (1 << 0)

Definition at line 125 of file zr36057.h.

#define ZR36057_JMC_SyncMstr   (1 << 4)

Definition at line 121 of file zr36057.h.

#define ZR36057_JMC_VFIFO_FB   (1 << 2)

Definition at line 123 of file zr36057.h.

#define ZR36057_JPC   0x104 /* JPEG Process Control */

Definition at line 127 of file zr36057.h.

#define ZR36057_JPC_Active   (1 << 0)

Definition at line 130 of file zr36057.h.

#define ZR36057_JPC_CodTrnsEn   (1 << 5)

Definition at line 129 of file zr36057.h.

#define ZR36057_JPC_P_Reset   (1 << 7)

Definition at line 128 of file zr36057.h.

#define ZR36057_MCMPR   0x038 /* MPEG Code Memory Pointer Register */

Definition at line 94 of file zr36057.h.

#define ZR36057_MCSAR   0x030 /* MPEG Code Source Address Register */

Definition at line 85 of file zr36057.h.

#define ZR36057_MCTCR   0x034 /* MPEG Code Transfer Control Register */

Definition at line 87 of file zr36057.h.

#define ZR36057_MCTCR_CEmpty   (1 << 29)

Definition at line 89 of file zr36057.h.

#define ZR36057_MCTCR_CFlush   (1 << 28)

Definition at line 90 of file zr36057.h.

#define ZR36057_MCTCR_CodGuestID   20

Definition at line 91 of file zr36057.h.

#define ZR36057_MCTCR_CodGuestReg   16

Definition at line 92 of file zr36057.h.

#define ZR36057_MCTCR_CodTime   (1 << 30)

Definition at line 88 of file zr36057.h.

#define ZR36057_MMBR   0x020 /* Masking Map "Bottom" Register */

Definition at line 74 of file zr36057.h.

#define ZR36057_MMTR   0x01c /* Masking Map "Top" Register */

Definition at line 72 of file zr36057.h.

#define ZR36057_OCR   0x024 /* Overlay Control Register */

Definition at line 76 of file zr36057.h.

#define ZR36057_OCR_MaskStride   0

Definition at line 78 of file zr36057.h.

#define ZR36057_OCR_OvlEnable   (1 << 15)

Definition at line 77 of file zr36057.h.

#define ZR36057_POR   0x200 /* Post Office Register */

Definition at line 161 of file zr36057.h.

#define ZR36057_POR_PODir   (1<<23)

Definition at line 164 of file zr36057.h.

#define ZR36057_POR_POPen   (1<<25)

Definition at line 162 of file zr36057.h.

#define ZR36057_POR_POTime   (1<<24)

Definition at line 163 of file zr36057.h.

#define ZR36057_SPGPPCR   0x028 /* System, PCI, and General Purpose Pins Control Register */

Definition at line 80 of file zr36057.h.

#define ZR36057_SPGPPCR_SoftReset   (1<<24)

Definition at line 81 of file zr36057.h.

#define ZR36057_STR   0x300 /* "Still" Transfer Register */

Definition at line 166 of file zr36057.h.

#define ZR36057_VDBR   0x010 /* Video Display "Bottom" Register */

Definition at line 57 of file zr36057.h.

#define ZR36057_VDCR   0x018 /* Video Display Configuration Register */

Definition at line 65 of file zr36057.h.

#define ZR36057_VDCR_MinPix   24

Definition at line 67 of file zr36057.h.

#define ZR36057_VDCR_Triton   (1<<24)

Definition at line 68 of file zr36057.h.

#define ZR36057_VDCR_VidEn   (1<<31)

Definition at line 66 of file zr36057.h.

#define ZR36057_VDCR_VidWinHt   12

Definition at line 69 of file zr36057.h.

#define ZR36057_VDCR_VidWinWid   0

Definition at line 70 of file zr36057.h.

#define ZR36057_VDTR   0x00c /* Video Display "Top" Register */

Definition at line 55 of file zr36057.h.

#define ZR36057_VFEHCR   0x000 /* Video Front End, Horizontal Configuration Register */

Definition at line 27 of file zr36057.h.

#define ZR36057_VFEHCR_HEnd   0

Definition at line 30 of file zr36057.h.

#define ZR36057_VFEHCR_Hmask   0x3ff

Definition at line 31 of file zr36057.h.

#define ZR36057_VFEHCR_HSPol   (1<<30)

Definition at line 28 of file zr36057.h.

#define ZR36057_VFEHCR_HStart   10

Definition at line 29 of file zr36057.h.

#define ZR36057_VFESPFR   0x008 /* Video Front End, Scaler and Pixel Format Register */

Definition at line 39 of file zr36057.h.

#define ZR36057_VFESPFR_DispMode   6

Definition at line 46 of file zr36057.h.

#define ZR36057_VFESPFR_ErrDif   (1<<2)

Definition at line 51 of file zr36057.h.

#define ZR36057_VFESPFR_ExtFl   (1<<26)

Definition at line 40 of file zr36057.h.

#define ZR36057_VFESPFR_HFilter   21

Definition at line 43 of file zr36057.h.

#define ZR36057_VFESPFR_HorDcm   14

Definition at line 44 of file zr36057.h.

#define ZR36057_VFESPFR_LittleEndian   (1<<0)

Definition at line 53 of file zr36057.h.

#define ZR36057_VFESPFR_Pack24   (1<<1)

Definition at line 52 of file zr36057.h.

#define ZR36057_VFESPFR_RGB555   (3<<3)

Definition at line 50 of file zr36057.h.

#define ZR36057_VFESPFR_RGB565   (2<<3)

Definition at line 49 of file zr36057.h.

#define ZR36057_VFESPFR_RGB888   (1<<3)

Definition at line 48 of file zr36057.h.

#define ZR36057_VFESPFR_TopField   (1<<25)

Definition at line 41 of file zr36057.h.

#define ZR36057_VFESPFR_VCLKPol   (1<<24)

Definition at line 42 of file zr36057.h.

#define ZR36057_VFESPFR_VerDcm   8

Definition at line 45 of file zr36057.h.

#define ZR36057_VFESPFR_YUV422   (0<<3)

Definition at line 47 of file zr36057.h.

#define ZR36057_VFEVCR   0x004 /* Video Front End, Vertical Configuration Register */

Definition at line 33 of file zr36057.h.

#define ZR36057_VFEVCR_VEnd   0

Definition at line 36 of file zr36057.h.

#define ZR36057_VFEVCR_Vmask   0x3ff

Definition at line 37 of file zr36057.h.

#define ZR36057_VFEVCR_VSPol   (1<<30)

Definition at line 34 of file zr36057.h.

#define ZR36057_VFEVCR_VStart   10

Definition at line 35 of file zr36057.h.

#define ZR36057_VSP   0x108 /* Vertical Sync Parameters */

Definition at line 132 of file zr36057.h.

#define ZR36057_VSP_FrmTot   0

Definition at line 134 of file zr36057.h.

#define ZR36057_VSP_VsyncSize   16

Definition at line 133 of file zr36057.h.

#define ZR36057_VSSFGR   0x014 /* Video Stride, Status, and Frame Grab Register */

Definition at line 59 of file zr36057.h.

#define ZR36057_VSSFGR_DispStride   16

Definition at line 60 of file zr36057.h.

#define ZR36057_VSSFGR_FrameGrab   (1<<0)

Definition at line 63 of file zr36057.h.

#define ZR36057_VSSFGR_SnapShot   (1<<1)

Definition at line 62 of file zr36057.h.

#define ZR36057_VSSFGR_VidOvf   (1<<8)

Definition at line 61 of file zr36057.h.