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

Go to the source code of this file.

Macros

#define PCI_VENDOR_ID_BROOKTREE   0x109e
 
#define PCI_DEVICE_ID_BT848   0x350
 
#define PCI_DEVICE_ID_BT849   0x351
 
#define PCI_DEVICE_ID_FUSION879   0x36c
 
#define PCI_DEVICE_ID_BT878   0x36e
 
#define PCI_DEVICE_ID_BT879   0x36f
 
#define BT848_DSTATUS   0x000
 
#define BT848_DSTATUS_PRES   (1<<7)
 
#define BT848_DSTATUS_HLOC   (1<<6)
 
#define BT848_DSTATUS_FIELD   (1<<5)
 
#define BT848_DSTATUS_NUML   (1<<4)
 
#define BT848_DSTATUS_CSEL   (1<<3)
 
#define BT848_DSTATUS_PLOCK   (1<<2)
 
#define BT848_DSTATUS_LOF   (1<<1)
 
#define BT848_DSTATUS_COF   (1<<0)
 
#define BT848_IFORM   0x004
 
#define BT848_IFORM_HACTIVE   (1<<7)
 
#define BT848_IFORM_MUXSEL   (3<<5)
 
#define BT848_IFORM_MUX0   (2<<5)
 
#define BT848_IFORM_MUX1   (3<<5)
 
#define BT848_IFORM_MUX2   (1<<5)
 
#define BT848_IFORM_XTSEL   (3<<3)
 
#define BT848_IFORM_XT0   (1<<3)
 
#define BT848_IFORM_XT1   (2<<3)
 
#define BT848_IFORM_XTAUTO   (3<<3)
 
#define BT848_IFORM_XTBOTH   (3<<3)
 
#define BT848_IFORM_NTSC   1
 
#define BT848_IFORM_NTSC_J   2
 
#define BT848_IFORM_PAL_BDGHI   3
 
#define BT848_IFORM_PAL_M   4
 
#define BT848_IFORM_PAL_N   5
 
#define BT848_IFORM_SECAM   6
 
#define BT848_IFORM_PAL_NC   7
 
#define BT848_IFORM_AUTO   0
 
#define BT848_IFORM_NORM   7
 
#define BT848_TDEC   0x008
 
#define BT848_TDEC_DEC_FIELD   (1<<7)
 
#define BT848_TDEC_FLDALIGN   (1<<6)
 
#define BT848_TDEC_DEC_RAT   (0x1f)
 
#define BT848_E_CROP   0x00C
 
#define BT848_O_CROP   0x08C
 
#define BT848_E_VDELAY_LO   0x010
 
#define BT848_O_VDELAY_LO   0x090
 
#define BT848_E_VACTIVE_LO   0x014
 
#define BT848_O_VACTIVE_LO   0x094
 
#define BT848_E_HDELAY_LO   0x018
 
#define BT848_O_HDELAY_LO   0x098
 
#define BT848_E_HACTIVE_LO   0x01C
 
#define BT848_O_HACTIVE_LO   0x09C
 
#define BT848_E_HSCALE_HI   0x020
 
#define BT848_O_HSCALE_HI   0x0A0
 
#define BT848_E_HSCALE_LO   0x024
 
#define BT848_O_HSCALE_LO   0x0A4
 
#define BT848_BRIGHT   0x028
 
#define BT848_E_CONTROL   0x02C
 
#define BT848_O_CONTROL   0x0AC
 
#define BT848_CONTROL_LNOTCH   (1<<7)
 
#define BT848_CONTROL_COMP   (1<<6)
 
#define BT848_CONTROL_LDEC   (1<<5)
 
#define BT848_CONTROL_CBSENSE   (1<<4)
 
#define BT848_CONTROL_CON_MSB   (1<<2)
 
#define BT848_CONTROL_SAT_U_MSB   (1<<1)
 
#define BT848_CONTROL_SAT_V_MSB   (1<<0)
 
#define BT848_CONTRAST_LO   0x030
 
#define BT848_SAT_U_LO   0x034
 
#define BT848_SAT_V_LO   0x038
 
#define BT848_HUE   0x03C
 
#define BT848_E_SCLOOP   0x040
 
#define BT848_O_SCLOOP   0x0C0
 
#define BT848_SCLOOP_CAGC   (1<<6)
 
#define BT848_SCLOOP_CKILL   (1<<5)
 
#define BT848_SCLOOP_HFILT_AUTO   (0<<3)
 
#define BT848_SCLOOP_HFILT_CIF   (1<<3)
 
#define BT848_SCLOOP_HFILT_QCIF   (2<<3)
 
#define BT848_SCLOOP_HFILT_ICON   (3<<3)
 
#define BT848_SCLOOP_PEAK   (1<<7)
 
#define BT848_SCLOOP_HFILT_MINP   (1<<3)
 
#define BT848_SCLOOP_HFILT_MEDP   (2<<3)
 
#define BT848_SCLOOP_HFILT_MAXP   (3<<3)
 
#define BT848_OFORM   0x048
 
#define BT848_OFORM_RANGE   (1<<7)
 
#define BT848_OFORM_CORE0   (0<<5)
 
#define BT848_OFORM_CORE8   (1<<5)
 
#define BT848_OFORM_CORE16   (2<<5)
 
#define BT848_OFORM_CORE32   (3<<5)
 
#define BT848_E_VSCALE_HI   0x04C
 
#define BT848_O_VSCALE_HI   0x0CC
 
#define BT848_VSCALE_YCOMB   (1<<7)
 
#define BT848_VSCALE_COMB   (1<<6)
 
#define BT848_VSCALE_INT   (1<<5)
 
#define BT848_VSCALE_HI   15
 
#define BT848_E_VSCALE_LO   0x050
 
#define BT848_O_VSCALE_LO   0x0D0
 
#define BT848_TEST   0x054
 
#define BT848_ADELAY   0x060
 
#define BT848_BDELAY   0x064
 
#define BT848_ADC   0x068
 
#define BT848_ADC_RESERVED   (2<<6)
 
#define BT848_ADC_SYNC_T   (1<<5)
 
#define BT848_ADC_AGC_EN   (1<<4)
 
#define BT848_ADC_CLK_SLEEP   (1<<3)
 
#define BT848_ADC_Y_SLEEP   (1<<2)
 
#define BT848_ADC_C_SLEEP   (1<<1)
 
#define BT848_ADC_CRUSH   (1<<0)
 
#define BT848_WC_UP   0x044
 
#define BT848_WC_DOWN   0x078
 
#define BT848_E_VTC   0x06C
 
#define BT848_O_VTC   0x0EC
 
#define BT848_VTC_HSFMT   (1<<7)
 
#define BT848_VTC_VFILT_2TAP   0
 
#define BT848_VTC_VFILT_3TAP   1
 
#define BT848_VTC_VFILT_4TAP   2
 
#define BT848_VTC_VFILT_5TAP   3
 
#define BT848_SRESET   0x07C
 
#define BT848_COLOR_FMT   0x0D4
 
#define BT848_COLOR_FMT_O_RGB32   (0<<4)
 
#define BT848_COLOR_FMT_O_RGB24   (1<<4)
 
#define BT848_COLOR_FMT_O_RGB16   (2<<4)
 
#define BT848_COLOR_FMT_O_RGB15   (3<<4)
 
#define BT848_COLOR_FMT_O_YUY2   (4<<4)
 
#define BT848_COLOR_FMT_O_BtYUV   (5<<4)
 
#define BT848_COLOR_FMT_O_Y8   (6<<4)
 
#define BT848_COLOR_FMT_O_RGB8   (7<<4)
 
#define BT848_COLOR_FMT_O_YCrCb422   (8<<4)
 
#define BT848_COLOR_FMT_O_YCrCb411   (9<<4)
 
#define BT848_COLOR_FMT_O_RAW   (14<<4)
 
#define BT848_COLOR_FMT_E_RGB32   0
 
#define BT848_COLOR_FMT_E_RGB24   1
 
#define BT848_COLOR_FMT_E_RGB16   2
 
#define BT848_COLOR_FMT_E_RGB15   3
 
#define BT848_COLOR_FMT_E_YUY2   4
 
#define BT848_COLOR_FMT_E_BtYUV   5
 
#define BT848_COLOR_FMT_E_Y8   6
 
#define BT848_COLOR_FMT_E_RGB8   7
 
#define BT848_COLOR_FMT_E_YCrCb422   8
 
#define BT848_COLOR_FMT_E_YCrCb411   9
 
#define BT848_COLOR_FMT_E_RAW   14
 
#define BT848_COLOR_FMT_RGB32   0x00
 
#define BT848_COLOR_FMT_RGB24   0x11
 
#define BT848_COLOR_FMT_RGB16   0x22
 
#define BT848_COLOR_FMT_RGB15   0x33
 
#define BT848_COLOR_FMT_YUY2   0x44
 
#define BT848_COLOR_FMT_BtYUV   0x55
 
#define BT848_COLOR_FMT_Y8   0x66
 
#define BT848_COLOR_FMT_RGB8   0x77
 
#define BT848_COLOR_FMT_YCrCb422   0x88
 
#define BT848_COLOR_FMT_YCrCb411   0x99
 
#define BT848_COLOR_FMT_RAW   0xee
 
#define BT848_VTOTAL_LO   0xB0
 
#define BT848_VTOTAL_HI   0xB4
 
#define BT848_COLOR_CTL   0x0D8
 
#define BT848_COLOR_CTL_EXT_FRMRATE   (1<<7)
 
#define BT848_COLOR_CTL_COLOR_BARS   (1<<6)
 
#define BT848_COLOR_CTL_RGB_DED   (1<<5)
 
#define BT848_COLOR_CTL_GAMMA   (1<<4)
 
#define BT848_COLOR_CTL_WSWAP_ODD   (1<<3)
 
#define BT848_COLOR_CTL_WSWAP_EVEN   (1<<2)
 
#define BT848_COLOR_CTL_BSWAP_ODD   (1<<1)
 
#define BT848_COLOR_CTL_BSWAP_EVEN   (1<<0)
 
#define BT848_CAP_CTL   0x0DC
 
#define BT848_CAP_CTL_DITH_FRAME   (1<<4)
 
#define BT848_CAP_CTL_CAPTURE_VBI_ODD   (1<<3)
 
#define BT848_CAP_CTL_CAPTURE_VBI_EVEN   (1<<2)
 
#define BT848_CAP_CTL_CAPTURE_ODD   (1<<1)
 
#define BT848_CAP_CTL_CAPTURE_EVEN   (1<<0)
 
#define BT848_VBI_PACK_SIZE   0x0E0
 
#define BT848_VBI_PACK_DEL   0x0E4
 
#define BT848_VBI_PACK_DEL_VBI_HDELAY   0xfc
 
#define BT848_VBI_PACK_DEL_EXT_FRAME   2
 
#define BT848_VBI_PACK_DEL_VBI_PKT_HI   1
 
#define BT848_INT_STAT   0x100
 
#define BT848_INT_MASK   0x104
 
#define BT848_INT_ETBF   (1<<23)
 
#define BT848_INT_RISCS   (0xf<<28)
 
#define BT848_INT_RISC_EN   (1<<27)
 
#define BT848_INT_RACK   (1<<25)
 
#define BT848_INT_FIELD   (1<<24)
 
#define BT848_INT_SCERR   (1<<19)
 
#define BT848_INT_OCERR   (1<<18)
 
#define BT848_INT_PABORT   (1<<17)
 
#define BT848_INT_RIPERR   (1<<16)
 
#define BT848_INT_PPERR   (1<<15)
 
#define BT848_INT_FDSR   (1<<14)
 
#define BT848_INT_FTRGT   (1<<13)
 
#define BT848_INT_FBUS   (1<<12)
 
#define BT848_INT_RISCI   (1<<11)
 
#define BT848_INT_GPINT   (1<<9)
 
#define BT848_INT_I2CDONE   (1<<8)
 
#define BT848_INT_VPRES   (1<<5)
 
#define BT848_INT_HLOCK   (1<<4)
 
#define BT848_INT_OFLOW   (1<<3)
 
#define BT848_INT_HSYNC   (1<<2)
 
#define BT848_INT_VSYNC   (1<<1)
 
#define BT848_INT_FMTCHG   (1<<0)
 
#define BT848_GPIO_DMA_CTL   0x10C
 
#define BT848_GPIO_DMA_CTL_GPINTC   (1<<15)
 
#define BT848_GPIO_DMA_CTL_GPINTI   (1<<14)
 
#define BT848_GPIO_DMA_CTL_GPWEC   (1<<13)
 
#define BT848_GPIO_DMA_CTL_GPIOMODE   (3<<11)
 
#define BT848_GPIO_DMA_CTL_GPCLKMODE   (1<<10)
 
#define BT848_GPIO_DMA_CTL_PLTP23_4   (0<<6)
 
#define BT848_GPIO_DMA_CTL_PLTP23_8   (1<<6)
 
#define BT848_GPIO_DMA_CTL_PLTP23_16   (2<<6)
 
#define BT848_GPIO_DMA_CTL_PLTP23_32   (3<<6)
 
#define BT848_GPIO_DMA_CTL_PLTP1_4   (0<<4)
 
#define BT848_GPIO_DMA_CTL_PLTP1_8   (1<<4)
 
#define BT848_GPIO_DMA_CTL_PLTP1_16   (2<<4)
 
#define BT848_GPIO_DMA_CTL_PLTP1_32   (3<<4)
 
#define BT848_GPIO_DMA_CTL_PKTP_4   (0<<2)
 
#define BT848_GPIO_DMA_CTL_PKTP_8   (1<<2)
 
#define BT848_GPIO_DMA_CTL_PKTP_16   (2<<2)
 
#define BT848_GPIO_DMA_CTL_PKTP_32   (3<<2)
 
#define BT848_GPIO_DMA_CTL_RISC_ENABLE   (1<<1)
 
#define BT848_GPIO_DMA_CTL_FIFO_ENABLE   (1<<0)
 
#define BT848_I2C   0x110
 
#define BT878_I2C_MODE   (1<<7)
 
#define BT878_I2C_RATE   (1<<6)
 
#define BT878_I2C_NOSTOP   (1<<5)
 
#define BT878_I2C_NOSTART   (1<<4)
 
#define BT848_I2C_DIV   (0xf<<4)
 
#define BT848_I2C_SYNC   (1<<3)
 
#define BT848_I2C_W3B   (1<<2)
 
#define BT848_I2C_SCL   (1<<1)
 
#define BT848_I2C_SDA   (1<<0)
 
#define BT848_RISC_STRT_ADD   0x114
 
#define BT848_GPIO_OUT_EN   0x118
 
#define BT848_GPIO_REG_INP   0x11C
 
#define BT848_RISC_COUNT   0x120
 
#define BT848_GPIO_DATA   0x200
 
#define BT848_FIFO_STATUS_FM1   0x06
 
#define BT848_FIFO_STATUS_FM3   0x0e
 
#define BT848_FIFO_STATUS_SOL   0x02
 
#define BT848_FIFO_STATUS_EOL4   0x01
 
#define BT848_FIFO_STATUS_EOL3   0x0d
 
#define BT848_FIFO_STATUS_EOL2   0x09
 
#define BT848_FIFO_STATUS_EOL1   0x05
 
#define BT848_FIFO_STATUS_VRE   0x04
 
#define BT848_FIFO_STATUS_VRO   0x0c
 
#define BT848_FIFO_STATUS_PXV   0x00
 
#define BT848_RISC_RESYNC   (1<<15)
 
#define BT848_RISC_BYTE0   (1U<<12)
 
#define BT848_RISC_BYTE1   (1U<<13)
 
#define BT848_RISC_BYTE2   (1U<<14)
 
#define BT848_RISC_BYTE3   (1U<<15)
 
#define BT848_RISC_BYTE_ALL   (0x0fU<<12)
 
#define BT848_RISC_BYTE_NONE   0
 
#define BT848_RISC_IRQ   (1U<<24)
 
#define BT848_RISC_EOL   (1U<<26)
 
#define BT848_RISC_SOL   (1U<<27)
 
#define BT848_RISC_WRITE   (0x01U<<28)
 
#define BT848_RISC_SKIP   (0x02U<<28)
 
#define BT848_RISC_WRITEC   (0x05U<<28)
 
#define BT848_RISC_JUMP   (0x07U<<28)
 
#define BT848_RISC_SYNC   (0x08U<<28)
 
#define BT848_RISC_WRITE123   (0x09U<<28)
 
#define BT848_RISC_SKIP123   (0x0aU<<28)
 
#define BT848_RISC_WRITE1S23   (0x0bU<<28)
 
#define BT848_TGLB   0x080
 
#define BT848_TGCTRL   0x084
 
#define BT848_FCAP   0x0E8
 
#define BT848_PLL_F_LO   0x0F0
 
#define BT848_PLL_F_HI   0x0F4
 
#define BT848_PLL_XCI   0x0F8
 
#define BT848_PLL_X   (1<<7)
 
#define BT848_PLL_C   (1<<6)
 
#define BT848_DVSIF   0x0FC
 
#define BT878_DEVCTRL   0x40
 
#define BT878_EN_TBFX   0x02
 
#define BT878_EN_VSFX   0x04
 

Macro Definition Documentation

#define BT848_ADC   0x068

Definition at line 155 of file bt848.h.

#define BT848_ADC_AGC_EN   (1<<4)

Definition at line 158 of file bt848.h.

#define BT848_ADC_C_SLEEP   (1<<1)

Definition at line 161 of file bt848.h.

#define BT848_ADC_CLK_SLEEP   (1<<3)

Definition at line 159 of file bt848.h.

#define BT848_ADC_CRUSH   (1<<0)

Definition at line 162 of file bt848.h.

#define BT848_ADC_RESERVED   (2<<6)

Definition at line 156 of file bt848.h.

#define BT848_ADC_SYNC_T   (1<<5)

Definition at line 157 of file bt848.h.

#define BT848_ADC_Y_SLEEP   (1<<2)

Definition at line 160 of file bt848.h.

#define BT848_ADELAY   0x060

Definition at line 152 of file bt848.h.

#define BT848_BDELAY   0x064

Definition at line 153 of file bt848.h.

#define BT848_BRIGHT   0x028

Definition at line 103 of file bt848.h.

#define BT848_CAP_CTL   0x0DC

Definition at line 226 of file bt848.h.

#define BT848_CAP_CTL_CAPTURE_EVEN   (1<<0)

Definition at line 231 of file bt848.h.

#define BT848_CAP_CTL_CAPTURE_ODD   (1<<1)

Definition at line 230 of file bt848.h.

#define BT848_CAP_CTL_CAPTURE_VBI_EVEN   (1<<2)

Definition at line 229 of file bt848.h.

#define BT848_CAP_CTL_CAPTURE_VBI_ODD   (1<<3)

Definition at line 228 of file bt848.h.

#define BT848_CAP_CTL_DITH_FRAME   (1<<4)

Definition at line 227 of file bt848.h.

#define BT848_COLOR_CTL   0x0D8

Definition at line 216 of file bt848.h.

#define BT848_COLOR_CTL_BSWAP_EVEN   (1<<0)

Definition at line 224 of file bt848.h.

#define BT848_COLOR_CTL_BSWAP_ODD   (1<<1)

Definition at line 223 of file bt848.h.

#define BT848_COLOR_CTL_COLOR_BARS   (1<<6)

Definition at line 218 of file bt848.h.

#define BT848_COLOR_CTL_EXT_FRMRATE   (1<<7)

Definition at line 217 of file bt848.h.

#define BT848_COLOR_CTL_GAMMA   (1<<4)

Definition at line 220 of file bt848.h.

#define BT848_COLOR_CTL_RGB_DED   (1<<5)

Definition at line 219 of file bt848.h.

#define BT848_COLOR_CTL_WSWAP_EVEN   (1<<2)

Definition at line 222 of file bt848.h.

#define BT848_COLOR_CTL_WSWAP_ODD   (1<<3)

Definition at line 221 of file bt848.h.

#define BT848_COLOR_FMT   0x0D4

Definition at line 177 of file bt848.h.

#define BT848_COLOR_FMT_BtYUV   0x55

Definition at line 206 of file bt848.h.

#define BT848_COLOR_FMT_E_BtYUV   5

Definition at line 194 of file bt848.h.

#define BT848_COLOR_FMT_E_RAW   14

Definition at line 199 of file bt848.h.

#define BT848_COLOR_FMT_E_RGB15   3

Definition at line 192 of file bt848.h.

#define BT848_COLOR_FMT_E_RGB16   2

Definition at line 191 of file bt848.h.

#define BT848_COLOR_FMT_E_RGB24   1

Definition at line 190 of file bt848.h.

#define BT848_COLOR_FMT_E_RGB32   0

Definition at line 189 of file bt848.h.

#define BT848_COLOR_FMT_E_RGB8   7

Definition at line 196 of file bt848.h.

#define BT848_COLOR_FMT_E_Y8   6

Definition at line 195 of file bt848.h.

#define BT848_COLOR_FMT_E_YCrCb411   9

Definition at line 198 of file bt848.h.

#define BT848_COLOR_FMT_E_YCrCb422   8

Definition at line 197 of file bt848.h.

#define BT848_COLOR_FMT_E_YUY2   4

Definition at line 193 of file bt848.h.

#define BT848_COLOR_FMT_O_BtYUV   (5<<4)

Definition at line 183 of file bt848.h.

#define BT848_COLOR_FMT_O_RAW   (14<<4)

Definition at line 188 of file bt848.h.

#define BT848_COLOR_FMT_O_RGB15   (3<<4)

Definition at line 181 of file bt848.h.

#define BT848_COLOR_FMT_O_RGB16   (2<<4)

Definition at line 180 of file bt848.h.

#define BT848_COLOR_FMT_O_RGB24   (1<<4)

Definition at line 179 of file bt848.h.

#define BT848_COLOR_FMT_O_RGB32   (0<<4)

Definition at line 178 of file bt848.h.

#define BT848_COLOR_FMT_O_RGB8   (7<<4)

Definition at line 185 of file bt848.h.

#define BT848_COLOR_FMT_O_Y8   (6<<4)

Definition at line 184 of file bt848.h.

#define BT848_COLOR_FMT_O_YCrCb411   (9<<4)

Definition at line 187 of file bt848.h.

#define BT848_COLOR_FMT_O_YCrCb422   (8<<4)

Definition at line 186 of file bt848.h.

#define BT848_COLOR_FMT_O_YUY2   (4<<4)

Definition at line 182 of file bt848.h.

#define BT848_COLOR_FMT_RAW   0xee

Definition at line 211 of file bt848.h.

#define BT848_COLOR_FMT_RGB15   0x33

Definition at line 204 of file bt848.h.

#define BT848_COLOR_FMT_RGB16   0x22

Definition at line 203 of file bt848.h.

#define BT848_COLOR_FMT_RGB24   0x11

Definition at line 202 of file bt848.h.

#define BT848_COLOR_FMT_RGB32   0x00

Definition at line 201 of file bt848.h.

#define BT848_COLOR_FMT_RGB8   0x77

Definition at line 208 of file bt848.h.

#define BT848_COLOR_FMT_Y8   0x66

Definition at line 207 of file bt848.h.

#define BT848_COLOR_FMT_YCrCb411   0x99

Definition at line 210 of file bt848.h.

#define BT848_COLOR_FMT_YCrCb422   0x88

Definition at line 209 of file bt848.h.

#define BT848_COLOR_FMT_YUY2   0x44

Definition at line 205 of file bt848.h.

#define BT848_CONTRAST_LO   0x030

Definition at line 115 of file bt848.h.

#define BT848_CONTROL_CBSENSE   (1<<4)

Definition at line 110 of file bt848.h.

#define BT848_CONTROL_COMP   (1<<6)

Definition at line 108 of file bt848.h.

#define BT848_CONTROL_CON_MSB   (1<<2)

Definition at line 111 of file bt848.h.

#define BT848_CONTROL_LDEC   (1<<5)

Definition at line 109 of file bt848.h.

#define BT848_CONTROL_LNOTCH   (1<<7)

Definition at line 107 of file bt848.h.

#define BT848_CONTROL_SAT_U_MSB   (1<<1)

Definition at line 112 of file bt848.h.

#define BT848_CONTROL_SAT_V_MSB   (1<<0)

Definition at line 113 of file bt848.h.

#define BT848_DSTATUS   0x000

Definition at line 46 of file bt848.h.

#define BT848_DSTATUS_COF   (1<<0)

Definition at line 54 of file bt848.h.

#define BT848_DSTATUS_CSEL   (1<<3)

Definition at line 51 of file bt848.h.

#define BT848_DSTATUS_FIELD   (1<<5)

Definition at line 49 of file bt848.h.

#define BT848_DSTATUS_HLOC   (1<<6)

Definition at line 48 of file bt848.h.

#define BT848_DSTATUS_LOF   (1<<1)

Definition at line 53 of file bt848.h.

#define BT848_DSTATUS_NUML   (1<<4)

Definition at line 50 of file bt848.h.

#define BT848_DSTATUS_PLOCK   (1<<2)

Definition at line 52 of file bt848.h.

#define BT848_DSTATUS_PRES   (1<<7)

Definition at line 47 of file bt848.h.

#define BT848_DVSIF   0x0FC

Definition at line 361 of file bt848.h.

#define BT848_E_CONTROL   0x02C

Definition at line 105 of file bt848.h.

#define BT848_E_CROP   0x00C

Definition at line 82 of file bt848.h.

#define BT848_E_HACTIVE_LO   0x01C

Definition at line 94 of file bt848.h.

#define BT848_E_HDELAY_LO   0x018

Definition at line 91 of file bt848.h.

#define BT848_E_HSCALE_HI   0x020

Definition at line 97 of file bt848.h.

#define BT848_E_HSCALE_LO   0x024

Definition at line 100 of file bt848.h.

#define BT848_E_SCLOOP   0x040

Definition at line 120 of file bt848.h.

#define BT848_E_VACTIVE_LO   0x014

Definition at line 88 of file bt848.h.

#define BT848_E_VDELAY_LO   0x010

Definition at line 85 of file bt848.h.

#define BT848_E_VSCALE_HI   0x04C

Definition at line 142 of file bt848.h.

#define BT848_E_VSCALE_LO   0x050

Definition at line 149 of file bt848.h.

#define BT848_E_VTC   0x06C

Definition at line 167 of file bt848.h.

#define BT848_FCAP   0x0E8

Definition at line 353 of file bt848.h.

#define BT848_FIFO_STATUS_EOL1   0x05

Definition at line 317 of file bt848.h.

#define BT848_FIFO_STATUS_EOL2   0x09

Definition at line 316 of file bt848.h.

#define BT848_FIFO_STATUS_EOL3   0x0d

Definition at line 315 of file bt848.h.

#define BT848_FIFO_STATUS_EOL4   0x01

Definition at line 314 of file bt848.h.

#define BT848_FIFO_STATUS_FM1   0x06

Definition at line 311 of file bt848.h.

#define BT848_FIFO_STATUS_FM3   0x0e

Definition at line 312 of file bt848.h.

#define BT848_FIFO_STATUS_PXV   0x00

Definition at line 320 of file bt848.h.

#define BT848_FIFO_STATUS_SOL   0x02

Definition at line 313 of file bt848.h.

#define BT848_FIFO_STATUS_VRE   0x04

Definition at line 318 of file bt848.h.

#define BT848_FIFO_STATUS_VRO   0x0c

Definition at line 319 of file bt848.h.

#define BT848_GPIO_DATA   0x200

Definition at line 305 of file bt848.h.

#define BT848_GPIO_DMA_CTL   0x10C

Definition at line 269 of file bt848.h.

#define BT848_GPIO_DMA_CTL_FIFO_ENABLE   (1<<0)

Definition at line 288 of file bt848.h.

#define BT848_GPIO_DMA_CTL_GPCLKMODE   (1<<10)

Definition at line 274 of file bt848.h.

#define BT848_GPIO_DMA_CTL_GPINTC   (1<<15)

Definition at line 270 of file bt848.h.

#define BT848_GPIO_DMA_CTL_GPINTI   (1<<14)

Definition at line 271 of file bt848.h.

#define BT848_GPIO_DMA_CTL_GPIOMODE   (3<<11)

Definition at line 273 of file bt848.h.

#define BT848_GPIO_DMA_CTL_GPWEC   (1<<13)

Definition at line 272 of file bt848.h.

#define BT848_GPIO_DMA_CTL_PKTP_16   (2<<2)

Definition at line 285 of file bt848.h.

#define BT848_GPIO_DMA_CTL_PKTP_32   (3<<2)

Definition at line 286 of file bt848.h.

#define BT848_GPIO_DMA_CTL_PKTP_4   (0<<2)

Definition at line 283 of file bt848.h.

#define BT848_GPIO_DMA_CTL_PKTP_8   (1<<2)

Definition at line 284 of file bt848.h.

#define BT848_GPIO_DMA_CTL_PLTP1_16   (2<<4)

Definition at line 281 of file bt848.h.

#define BT848_GPIO_DMA_CTL_PLTP1_32   (3<<4)

Definition at line 282 of file bt848.h.

#define BT848_GPIO_DMA_CTL_PLTP1_4   (0<<4)

Definition at line 279 of file bt848.h.

#define BT848_GPIO_DMA_CTL_PLTP1_8   (1<<4)

Definition at line 280 of file bt848.h.

#define BT848_GPIO_DMA_CTL_PLTP23_16   (2<<6)

Definition at line 277 of file bt848.h.

#define BT848_GPIO_DMA_CTL_PLTP23_32   (3<<6)

Definition at line 278 of file bt848.h.

#define BT848_GPIO_DMA_CTL_PLTP23_4   (0<<6)

Definition at line 275 of file bt848.h.

#define BT848_GPIO_DMA_CTL_PLTP23_8   (1<<6)

Definition at line 276 of file bt848.h.

#define BT848_GPIO_DMA_CTL_RISC_ENABLE   (1<<1)

Definition at line 287 of file bt848.h.

#define BT848_GPIO_OUT_EN   0x118

Definition at line 302 of file bt848.h.

#define BT848_GPIO_REG_INP   0x11C

Definition at line 303 of file bt848.h.

#define BT848_HUE   0x03C

Definition at line 118 of file bt848.h.

#define BT848_I2C   0x110

Definition at line 290 of file bt848.h.

#define BT848_I2C_DIV   (0xf<<4)

Definition at line 295 of file bt848.h.

#define BT848_I2C_SCL   (1<<1)

Definition at line 298 of file bt848.h.

#define BT848_I2C_SDA   (1<<0)

Definition at line 299 of file bt848.h.

#define BT848_I2C_SYNC   (1<<3)

Definition at line 296 of file bt848.h.

#define BT848_I2C_W3B   (1<<2)

Definition at line 297 of file bt848.h.

#define BT848_IFORM   0x004

Definition at line 56 of file bt848.h.

#define BT848_IFORM_AUTO   0

Definition at line 74 of file bt848.h.

#define BT848_IFORM_HACTIVE   (1<<7)

Definition at line 57 of file bt848.h.

#define BT848_IFORM_MUX0   (2<<5)

Definition at line 59 of file bt848.h.

#define BT848_IFORM_MUX1   (3<<5)

Definition at line 60 of file bt848.h.

#define BT848_IFORM_MUX2   (1<<5)

Definition at line 61 of file bt848.h.

#define BT848_IFORM_MUXSEL   (3<<5)

Definition at line 58 of file bt848.h.

#define BT848_IFORM_NORM   7

Definition at line 75 of file bt848.h.

#define BT848_IFORM_NTSC   1

Definition at line 67 of file bt848.h.

#define BT848_IFORM_NTSC_J   2

Definition at line 68 of file bt848.h.

#define BT848_IFORM_PAL_BDGHI   3

Definition at line 69 of file bt848.h.

#define BT848_IFORM_PAL_M   4

Definition at line 70 of file bt848.h.

#define BT848_IFORM_PAL_N   5

Definition at line 71 of file bt848.h.

#define BT848_IFORM_PAL_NC   7

Definition at line 73 of file bt848.h.

#define BT848_IFORM_SECAM   6

Definition at line 72 of file bt848.h.

#define BT848_IFORM_XT0   (1<<3)

Definition at line 63 of file bt848.h.

#define BT848_IFORM_XT1   (2<<3)

Definition at line 64 of file bt848.h.

#define BT848_IFORM_XTAUTO   (3<<3)

Definition at line 65 of file bt848.h.

#define BT848_IFORM_XTBOTH   (3<<3)

Definition at line 66 of file bt848.h.

#define BT848_IFORM_XTSEL   (3<<3)

Definition at line 62 of file bt848.h.

#define BT848_INT_ETBF   (1<<23)

Definition at line 244 of file bt848.h.

#define BT848_INT_FBUS   (1<<12)

Definition at line 257 of file bt848.h.

#define BT848_INT_FDSR   (1<<14)

Definition at line 255 of file bt848.h.

#define BT848_INT_FIELD   (1<<24)

Definition at line 249 of file bt848.h.

#define BT848_INT_FMTCHG   (1<<0)

Definition at line 266 of file bt848.h.

#define BT848_INT_FTRGT   (1<<13)

Definition at line 256 of file bt848.h.

#define BT848_INT_GPINT   (1<<9)

Definition at line 259 of file bt848.h.

#define BT848_INT_HLOCK   (1<<4)

Definition at line 262 of file bt848.h.

#define BT848_INT_HSYNC   (1<<2)

Definition at line 264 of file bt848.h.

#define BT848_INT_I2CDONE   (1<<8)

Definition at line 260 of file bt848.h.

#define BT848_INT_MASK   0x104

Definition at line 242 of file bt848.h.

#define BT848_INT_OCERR   (1<<18)

Definition at line 251 of file bt848.h.

#define BT848_INT_OFLOW   (1<<3)

Definition at line 263 of file bt848.h.

#define BT848_INT_PABORT   (1<<17)

Definition at line 252 of file bt848.h.

#define BT848_INT_PPERR   (1<<15)

Definition at line 254 of file bt848.h.

#define BT848_INT_RACK   (1<<25)

Definition at line 248 of file bt848.h.

#define BT848_INT_RIPERR   (1<<16)

Definition at line 253 of file bt848.h.

#define BT848_INT_RISC_EN   (1<<27)

Definition at line 247 of file bt848.h.

#define BT848_INT_RISCI   (1<<11)

Definition at line 258 of file bt848.h.

#define BT848_INT_RISCS   (0xf<<28)

Definition at line 246 of file bt848.h.

#define BT848_INT_SCERR   (1<<19)

Definition at line 250 of file bt848.h.

#define BT848_INT_STAT   0x100

Definition at line 241 of file bt848.h.

#define BT848_INT_VPRES   (1<<5)

Definition at line 261 of file bt848.h.

#define BT848_INT_VSYNC   (1<<1)

Definition at line 265 of file bt848.h.

#define BT848_O_CONTROL   0x0AC

Definition at line 106 of file bt848.h.

#define BT848_O_CROP   0x08C

Definition at line 83 of file bt848.h.

#define BT848_O_HACTIVE_LO   0x09C

Definition at line 95 of file bt848.h.

#define BT848_O_HDELAY_LO   0x098

Definition at line 92 of file bt848.h.

#define BT848_O_HSCALE_HI   0x0A0

Definition at line 98 of file bt848.h.

#define BT848_O_HSCALE_LO   0x0A4

Definition at line 101 of file bt848.h.

#define BT848_O_SCLOOP   0x0C0

Definition at line 121 of file bt848.h.

#define BT848_O_VACTIVE_LO   0x094

Definition at line 89 of file bt848.h.

#define BT848_O_VDELAY_LO   0x090

Definition at line 86 of file bt848.h.

#define BT848_O_VSCALE_HI   0x0CC

Definition at line 143 of file bt848.h.

#define BT848_O_VSCALE_LO   0x0D0

Definition at line 150 of file bt848.h.

#define BT848_O_VTC   0x0EC

Definition at line 168 of file bt848.h.

#define BT848_OFORM   0x048

Definition at line 135 of file bt848.h.

#define BT848_OFORM_CORE0   (0<<5)

Definition at line 137 of file bt848.h.

#define BT848_OFORM_CORE16   (2<<5)

Definition at line 139 of file bt848.h.

#define BT848_OFORM_CORE32   (3<<5)

Definition at line 140 of file bt848.h.

#define BT848_OFORM_CORE8   (1<<5)

Definition at line 138 of file bt848.h.

#define BT848_OFORM_RANGE   (1<<7)

Definition at line 136 of file bt848.h.

#define BT848_PLL_C   (1<<6)

Definition at line 359 of file bt848.h.

#define BT848_PLL_F_HI   0x0F4

Definition at line 355 of file bt848.h.

#define BT848_PLL_F_LO   0x0F0

Definition at line 354 of file bt848.h.

#define BT848_PLL_X   (1<<7)

Definition at line 358 of file bt848.h.

#define BT848_PLL_XCI   0x0F8

Definition at line 357 of file bt848.h.

#define BT848_RISC_BYTE0   (1U<<12)

Definition at line 326 of file bt848.h.

#define BT848_RISC_BYTE1   (1U<<13)

Definition at line 327 of file bt848.h.

#define BT848_RISC_BYTE2   (1U<<14)

Definition at line 328 of file bt848.h.

#define BT848_RISC_BYTE3   (1U<<15)

Definition at line 329 of file bt848.h.

#define BT848_RISC_BYTE_ALL   (0x0fU<<12)

Definition at line 330 of file bt848.h.

#define BT848_RISC_BYTE_NONE   0

Definition at line 331 of file bt848.h.

#define BT848_RISC_COUNT   0x120

Definition at line 304 of file bt848.h.

#define BT848_RISC_EOL   (1U<<26)

Definition at line 335 of file bt848.h.

#define BT848_RISC_IRQ   (1U<<24)

Definition at line 333 of file bt848.h.

#define BT848_RISC_JUMP   (0x07U<<28)

Definition at line 342 of file bt848.h.

#define BT848_RISC_RESYNC   (1<<15)

Definition at line 322 of file bt848.h.

#define BT848_RISC_SKIP   (0x02U<<28)

Definition at line 340 of file bt848.h.

#define BT848_RISC_SKIP123   (0x0aU<<28)

Definition at line 346 of file bt848.h.

#define BT848_RISC_SOL   (1U<<27)

Definition at line 337 of file bt848.h.

#define BT848_RISC_STRT_ADD   0x114

Definition at line 301 of file bt848.h.

#define BT848_RISC_SYNC   (0x08U<<28)

Definition at line 343 of file bt848.h.

#define BT848_RISC_WRITE   (0x01U<<28)

Definition at line 339 of file bt848.h.

#define BT848_RISC_WRITE123   (0x09U<<28)

Definition at line 345 of file bt848.h.

#define BT848_RISC_WRITE1S23   (0x0bU<<28)

Definition at line 347 of file bt848.h.

#define BT848_RISC_WRITEC   (0x05U<<28)

Definition at line 341 of file bt848.h.

#define BT848_SAT_U_LO   0x034

Definition at line 116 of file bt848.h.

#define BT848_SAT_V_LO   0x038

Definition at line 117 of file bt848.h.

#define BT848_SCLOOP_CAGC   (1<<6)

Definition at line 122 of file bt848.h.

#define BT848_SCLOOP_CKILL   (1<<5)

Definition at line 123 of file bt848.h.

#define BT848_SCLOOP_HFILT_AUTO   (0<<3)

Definition at line 124 of file bt848.h.

#define BT848_SCLOOP_HFILT_CIF   (1<<3)

Definition at line 125 of file bt848.h.

#define BT848_SCLOOP_HFILT_ICON   (3<<3)

Definition at line 127 of file bt848.h.

#define BT848_SCLOOP_HFILT_MAXP   (3<<3)

Definition at line 132 of file bt848.h.

#define BT848_SCLOOP_HFILT_MEDP   (2<<3)

Definition at line 131 of file bt848.h.

#define BT848_SCLOOP_HFILT_MINP   (1<<3)

Definition at line 130 of file bt848.h.

#define BT848_SCLOOP_HFILT_QCIF   (2<<3)

Definition at line 126 of file bt848.h.

#define BT848_SCLOOP_PEAK   (1<<7)

Definition at line 129 of file bt848.h.

#define BT848_SRESET   0x07C

Definition at line 175 of file bt848.h.

#define BT848_TDEC   0x008

Definition at line 77 of file bt848.h.

#define BT848_TDEC_DEC_FIELD   (1<<7)

Definition at line 78 of file bt848.h.

#define BT848_TDEC_DEC_RAT   (0x1f)

Definition at line 80 of file bt848.h.

#define BT848_TDEC_FLDALIGN   (1<<6)

Definition at line 79 of file bt848.h.

#define BT848_TEST   0x054

Definition at line 151 of file bt848.h.

#define BT848_TGCTRL   0x084

Definition at line 352 of file bt848.h.

#define BT848_TGLB   0x080

Definition at line 351 of file bt848.h.

#define BT848_VBI_PACK_DEL   0x0E4

Definition at line 235 of file bt848.h.

#define BT848_VBI_PACK_DEL_EXT_FRAME   2

Definition at line 237 of file bt848.h.

#define BT848_VBI_PACK_DEL_VBI_HDELAY   0xfc

Definition at line 236 of file bt848.h.

#define BT848_VBI_PACK_DEL_VBI_PKT_HI   1

Definition at line 238 of file bt848.h.

#define BT848_VBI_PACK_SIZE   0x0E0

Definition at line 233 of file bt848.h.

#define BT848_VSCALE_COMB   (1<<6)

Definition at line 145 of file bt848.h.

#define BT848_VSCALE_HI   15

Definition at line 147 of file bt848.h.

#define BT848_VSCALE_INT   (1<<5)

Definition at line 146 of file bt848.h.

#define BT848_VSCALE_YCOMB   (1<<7)

Definition at line 144 of file bt848.h.

#define BT848_VTC_HSFMT   (1<<7)

Definition at line 169 of file bt848.h.

#define BT848_VTC_VFILT_2TAP   0

Definition at line 170 of file bt848.h.

#define BT848_VTC_VFILT_3TAP   1

Definition at line 171 of file bt848.h.

#define BT848_VTC_VFILT_4TAP   2

Definition at line 172 of file bt848.h.

#define BT848_VTC_VFILT_5TAP   3

Definition at line 173 of file bt848.h.

#define BT848_VTOTAL_HI   0xB4

Definition at line 214 of file bt848.h.

#define BT848_VTOTAL_LO   0xB0

Definition at line 213 of file bt848.h.

#define BT848_WC_DOWN   0x078

Definition at line 165 of file bt848.h.

#define BT848_WC_UP   0x044

Definition at line 164 of file bt848.h.

#define BT878_DEVCTRL   0x40

Definition at line 365 of file bt848.h.

#define BT878_EN_TBFX   0x02

Definition at line 366 of file bt848.h.

#define BT878_EN_VSFX   0x04

Definition at line 367 of file bt848.h.

#define BT878_I2C_MODE   (1<<7)

Definition at line 291 of file bt848.h.

#define BT878_I2C_NOSTART   (1<<4)

Definition at line 294 of file bt848.h.

#define BT878_I2C_NOSTOP   (1<<5)

Definition at line 293 of file bt848.h.

#define BT878_I2C_RATE   (1<<6)

Definition at line 292 of file bt848.h.

#define PCI_DEVICE_ID_BT848   0x350

Definition at line 28 of file bt848.h.

#define PCI_DEVICE_ID_BT849   0x351

Definition at line 31 of file bt848.h.

#define PCI_DEVICE_ID_BT878   0x36e

Definition at line 38 of file bt848.h.

#define PCI_DEVICE_ID_BT879   0x36f

Definition at line 41 of file bt848.h.

#define PCI_DEVICE_ID_FUSION879   0x36c

Definition at line 34 of file bt848.h.

#define PCI_VENDOR_ID_BROOKTREE   0x109e

Definition at line 25 of file bt848.h.