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

Go to the source code of this file.

Macros

#define TVP5150_VD_IN_SRC_SEL_1   0x00 /* Video input source selection #1 */
 
#define TVP5150_ANAL_CHL_CTL   0x01 /* Analog channel controls */
 
#define TVP5150_OP_MODE_CTL   0x02 /* Operation mode controls */
 
#define TVP5150_MISC_CTL   0x03 /* Miscellaneous controls */
 
#define TVP5150_AUTOSW_MSK   0x04 /* Autoswitch mask: TVP5150A / TVP5150AM */
 
#define TVP5150_COLOR_KIL_THSH_CTL   0x06 /* Color killer threshold control */
 
#define TVP5150_LUMA_PROC_CTL_1   0x07 /* Luminance processing control #1 */
 
#define TVP5150_LUMA_PROC_CTL_2   0x08 /* Luminance processing control #2 */
 
#define TVP5150_BRIGHT_CTL   0x09 /* Brightness control */
 
#define TVP5150_SATURATION_CTL   0x0a /* Color saturation control */
 
#define TVP5150_HUE_CTL   0x0b /* Hue control */
 
#define TVP5150_CONTRAST_CTL   0x0c /* Contrast control */
 
#define TVP5150_DATA_RATE_SEL   0x0d /* Outputs and data rates select */
 
#define TVP5150_LUMA_PROC_CTL_3   0x0e /* Luminance processing control #3 */
 
#define TVP5150_CONF_SHARED_PIN   0x0f /* Configuration shared pins */
 
#define TVP5150_ACT_VD_CROP_ST_MSB   0x11 /* Active video cropping start MSB */
 
#define TVP5150_ACT_VD_CROP_ST_LSB   0x12 /* Active video cropping start LSB */
 
#define TVP5150_ACT_VD_CROP_STP_MSB   0x13 /* Active video cropping stop MSB */
 
#define TVP5150_ACT_VD_CROP_STP_LSB   0x14 /* Active video cropping stop LSB */
 
#define TVP5150_GENLOCK   0x15 /* Genlock/RTC */
 
#define TVP5150_HORIZ_SYNC_START   0x16 /* Horizontal sync start */
 
#define TVP5150_VERT_BLANKING_START   0x18 /* Vertical blanking start */
 
#define TVP5150_VERT_BLANKING_STOP   0x19 /* Vertical blanking stop */
 
#define TVP5150_CHROMA_PROC_CTL_1   0x1a /* Chrominance processing control #1 */
 
#define TVP5150_CHROMA_PROC_CTL_2   0x1b /* Chrominance processing control #2 */
 
#define TVP5150_INT_RESET_REG_B   0x1c /* Interrupt reset register B */
 
#define TVP5150_INT_ENABLE_REG_B   0x1d /* Interrupt enable register B */
 
#define TVP5150_INTT_CONFIG_REG_B   0x1e /* Interrupt configuration register B */
 
#define VIDEO_STD_MASK   (0x07 >> 1)
 
#define TVP5150_VIDEO_STD   0x28 /* Video standard */
 
#define VIDEO_STD_AUTO_SWITCH_BIT   0x00
 
#define VIDEO_STD_NTSC_MJ_BIT   0x02
 
#define VIDEO_STD_PAL_BDGHIN_BIT   0x04
 
#define VIDEO_STD_PAL_M_BIT   0x06
 
#define VIDEO_STD_PAL_COMBINATION_N_BIT   0x08
 
#define VIDEO_STD_NTSC_4_43_BIT   0x0a
 
#define VIDEO_STD_SECAM_BIT   0x0c
 
#define VIDEO_STD_NTSC_MJ_BIT_AS   0x01
 
#define VIDEO_STD_PAL_BDGHIN_BIT_AS   0x03
 
#define VIDEO_STD_PAL_M_BIT_AS   0x05
 
#define VIDEO_STD_PAL_COMBINATION_N_BIT_AS   0x07
 
#define VIDEO_STD_NTSC_4_43_BIT_AS   0x09
 
#define VIDEO_STD_SECAM_BIT_AS   0x0b
 
#define TVP5150_CB_GAIN_FACT   0x2c /* Cb gain factor */
 
#define TVP5150_CR_GAIN_FACTOR   0x2d /* Cr gain factor */
 
#define TVP5150_MACROVISION_ON_CTR   0x2e /* Macrovision on counter */
 
#define TVP5150_MACROVISION_OFF_CTR   0x2f /* Macrovision off counter */
 
#define TVP5150_REV_SELECT   0x30 /* revision select (TVP5150AM1 only) */
 
#define TVP5150_MSB_DEV_ID   0x80 /* MSB of device ID */
 
#define TVP5150_LSB_DEV_ID   0x81 /* LSB of device ID */
 
#define TVP5150_ROM_MAJOR_VER   0x82 /* ROM major version */
 
#define TVP5150_ROM_MINOR_VER   0x83 /* ROM minor version */
 
#define TVP5150_VERT_LN_COUNT_MSB   0x84 /* Vertical line count MSB */
 
#define TVP5150_VERT_LN_COUNT_LSB   0x85 /* Vertical line count LSB */
 
#define TVP5150_INT_STATUS_REG_B   0x86 /* Interrupt status register B */
 
#define TVP5150_INT_ACTIVE_REG_B   0x87 /* Interrupt active register B */
 
#define TVP5150_STATUS_REG_1   0x88 /* Status register #1 */
 
#define TVP5150_STATUS_REG_2   0x89 /* Status register #2 */
 
#define TVP5150_STATUS_REG_3   0x8a /* Status register #3 */
 
#define TVP5150_STATUS_REG_4   0x8b /* Status register #4 */
 
#define TVP5150_STATUS_REG_5   0x8c /* Status register #5 */
 
#define TVP5150_CC_DATA_INI   0x90
 
#define TVP5150_CC_DATA_END   0x93
 
#define TVP5150_WSS_DATA_INI   0x94
 
#define TVP5150_WSS_DATA_END   0x99
 
#define TVP5150_VPS_DATA_INI   0x9a
 
#define TVP5150_VPS_DATA_END   0xa6
 
#define TVP5150_VITC_DATA_INI   0xa7
 
#define TVP5150_VITC_DATA_END   0xaf
 
#define TVP5150_VBI_FIFO_READ_DATA   0xb0 /* VBI FIFO read data */
 
#define TVP5150_TELETEXT_FIL1_INI   0xb1
 
#define TVP5150_TELETEXT_FIL1_END   0xb5
 
#define TVP5150_TELETEXT_FIL2_INI   0xb6
 
#define TVP5150_TELETEXT_FIL2_END   0xba
 
#define TVP5150_TELETEXT_FIL_ENA   0xbb /* Teletext filter enable */
 
#define TVP5150_INT_STATUS_REG_A   0xc0 /* Interrupt status register A */
 
#define TVP5150_INT_ENABLE_REG_A   0xc1 /* Interrupt enable register A */
 
#define TVP5150_INT_CONF   0xc2 /* Interrupt configuration */
 
#define TVP5150_VDP_CONF_RAM_DATA   0xc3 /* VDP configuration RAM data */
 
#define TVP5150_CONF_RAM_ADDR_LOW   0xc4 /* Configuration RAM address low byte */
 
#define TVP5150_CONF_RAM_ADDR_HIGH   0xc5 /* Configuration RAM address high byte */
 
#define TVP5150_VDP_STATUS_REG   0xc6 /* VDP status register */
 
#define TVP5150_FIFO_WORD_COUNT   0xc7 /* FIFO word count */
 
#define TVP5150_FIFO_INT_THRESHOLD   0xc8 /* FIFO interrupt threshold */
 
#define TVP5150_FIFO_RESET   0xc9 /* FIFO reset */
 
#define TVP5150_LINE_NUMBER_INT   0xca /* Line number interrupt */
 
#define TVP5150_PIX_ALIGN_REG_LOW   0xcb /* Pixel alignment register low byte */
 
#define TVP5150_PIX_ALIGN_REG_HIGH   0xcc /* Pixel alignment register high byte */
 
#define TVP5150_FIFO_OUT_CTRL   0xcd /* FIFO output control */
 
#define TVP5150_FULL_FIELD_ENA   0xcf /* Full field enable 1 */
 
#define TVP5150_LINE_MODE_INI   0xd0
 
#define TVP5150_LINE_MODE_END   0xfb
 
#define TVP5150_FULL_FIELD_MODE_REG   0xfc /* Full field mode register */
 

Macro Definition Documentation

#define TVP5150_ACT_VD_CROP_ST_LSB   0x12 /* Active video cropping start LSB */

Definition at line 30 of file tvp5150_reg.h.

#define TVP5150_ACT_VD_CROP_ST_MSB   0x11 /* Active video cropping start MSB */

Definition at line 29 of file tvp5150_reg.h.

#define TVP5150_ACT_VD_CROP_STP_LSB   0x14 /* Active video cropping stop LSB */

Definition at line 32 of file tvp5150_reg.h.

#define TVP5150_ACT_VD_CROP_STP_MSB   0x13 /* Active video cropping stop MSB */

Definition at line 31 of file tvp5150_reg.h.

#define TVP5150_ANAL_CHL_CTL   0x01 /* Analog channel controls */

Definition at line 9 of file tvp5150_reg.h.

#define TVP5150_AUTOSW_MSK   0x04 /* Autoswitch mask: TVP5150A / TVP5150AM */

Definition at line 12 of file tvp5150_reg.h.

#define TVP5150_BRIGHT_CTL   0x09 /* Brightness control */

Definition at line 19 of file tvp5150_reg.h.

#define TVP5150_CB_GAIN_FACT   0x2c /* Cb gain factor */

Definition at line 67 of file tvp5150_reg.h.

#define TVP5150_CC_DATA_END   0x93

Definition at line 91 of file tvp5150_reg.h.

#define TVP5150_CC_DATA_INI   0x90

Definition at line 90 of file tvp5150_reg.h.

#define TVP5150_CHROMA_PROC_CTL_1   0x1a /* Chrominance processing control #1 */

Definition at line 40 of file tvp5150_reg.h.

#define TVP5150_CHROMA_PROC_CTL_2   0x1b /* Chrominance processing control #2 */

Definition at line 41 of file tvp5150_reg.h.

#define TVP5150_COLOR_KIL_THSH_CTL   0x06 /* Color killer threshold control */

Definition at line 16 of file tvp5150_reg.h.

#define TVP5150_CONF_RAM_ADDR_HIGH   0xc5 /* Configuration RAM address high byte */

Definition at line 122 of file tvp5150_reg.h.

#define TVP5150_CONF_RAM_ADDR_LOW   0xc4 /* Configuration RAM address low byte */

Definition at line 121 of file tvp5150_reg.h.

#define TVP5150_CONF_SHARED_PIN   0x0f /* Configuration shared pins */

Definition at line 25 of file tvp5150_reg.h.

#define TVP5150_CONTRAST_CTL   0x0c /* Contrast control */

Definition at line 22 of file tvp5150_reg.h.

#define TVP5150_CR_GAIN_FACTOR   0x2d /* Cr gain factor */

Definition at line 68 of file tvp5150_reg.h.

#define TVP5150_DATA_RATE_SEL   0x0d /* Outputs and data rates select */

Definition at line 23 of file tvp5150_reg.h.

#define TVP5150_FIFO_INT_THRESHOLD   0xc8 /* FIFO interrupt threshold */

Definition at line 125 of file tvp5150_reg.h.

#define TVP5150_FIFO_OUT_CTRL   0xcd /* FIFO output control */

Definition at line 130 of file tvp5150_reg.h.

#define TVP5150_FIFO_RESET   0xc9 /* FIFO reset */

Definition at line 126 of file tvp5150_reg.h.

#define TVP5150_FIFO_WORD_COUNT   0xc7 /* FIFO word count */

Definition at line 124 of file tvp5150_reg.h.

#define TVP5150_FULL_FIELD_ENA   0xcf /* Full field enable 1 */

Definition at line 132 of file tvp5150_reg.h.

#define TVP5150_FULL_FIELD_MODE_REG   0xfc /* Full field mode register */

Definition at line 138 of file tvp5150_reg.h.

#define TVP5150_GENLOCK   0x15 /* Genlock/RTC */

Definition at line 33 of file tvp5150_reg.h.

#define TVP5150_HORIZ_SYNC_START   0x16 /* Horizontal sync start */

Definition at line 34 of file tvp5150_reg.h.

#define TVP5150_HUE_CTL   0x0b /* Hue control */

Definition at line 21 of file tvp5150_reg.h.

#define TVP5150_INT_ACTIVE_REG_B   0x87 /* Interrupt active register B */

Definition at line 82 of file tvp5150_reg.h.

#define TVP5150_INT_CONF   0xc2 /* Interrupt configuration */

Definition at line 119 of file tvp5150_reg.h.

#define TVP5150_INT_ENABLE_REG_A   0xc1 /* Interrupt enable register A */

Definition at line 118 of file tvp5150_reg.h.

#define TVP5150_INT_ENABLE_REG_B   0x1d /* Interrupt enable register B */

Definition at line 43 of file tvp5150_reg.h.

#define TVP5150_INT_RESET_REG_B   0x1c /* Interrupt reset register B */

Definition at line 42 of file tvp5150_reg.h.

#define TVP5150_INT_STATUS_REG_A   0xc0 /* Interrupt status register A */

Definition at line 117 of file tvp5150_reg.h.

#define TVP5150_INT_STATUS_REG_B   0x86 /* Interrupt status register B */

Definition at line 81 of file tvp5150_reg.h.

#define TVP5150_INTT_CONFIG_REG_B   0x1e /* Interrupt configuration register B */

Definition at line 44 of file tvp5150_reg.h.

#define TVP5150_LINE_MODE_END   0xfb

Definition at line 136 of file tvp5150_reg.h.

#define TVP5150_LINE_MODE_INI   0xd0

Definition at line 135 of file tvp5150_reg.h.

#define TVP5150_LINE_NUMBER_INT   0xca /* Line number interrupt */

Definition at line 127 of file tvp5150_reg.h.

#define TVP5150_LSB_DEV_ID   0x81 /* LSB of device ID */

Definition at line 76 of file tvp5150_reg.h.

#define TVP5150_LUMA_PROC_CTL_1   0x07 /* Luminance processing control #1 */

Definition at line 17 of file tvp5150_reg.h.

#define TVP5150_LUMA_PROC_CTL_2   0x08 /* Luminance processing control #2 */

Definition at line 18 of file tvp5150_reg.h.

#define TVP5150_LUMA_PROC_CTL_3   0x0e /* Luminance processing control #3 */

Definition at line 24 of file tvp5150_reg.h.

#define TVP5150_MACROVISION_OFF_CTR   0x2f /* Macrovision off counter */

Definition at line 70 of file tvp5150_reg.h.

#define TVP5150_MACROVISION_ON_CTR   0x2e /* Macrovision on counter */

Definition at line 69 of file tvp5150_reg.h.

#define TVP5150_MISC_CTL   0x03 /* Miscellaneous controls */

Definition at line 11 of file tvp5150_reg.h.

#define TVP5150_MSB_DEV_ID   0x80 /* MSB of device ID */

Definition at line 75 of file tvp5150_reg.h.

#define TVP5150_OP_MODE_CTL   0x02 /* Operation mode controls */

Definition at line 10 of file tvp5150_reg.h.

#define TVP5150_PIX_ALIGN_REG_HIGH   0xcc /* Pixel alignment register high byte */

Definition at line 129 of file tvp5150_reg.h.

#define TVP5150_PIX_ALIGN_REG_LOW   0xcb /* Pixel alignment register low byte */

Definition at line 128 of file tvp5150_reg.h.

#define TVP5150_REV_SELECT   0x30 /* revision select (TVP5150AM1 only) */

Definition at line 71 of file tvp5150_reg.h.

#define TVP5150_ROM_MAJOR_VER   0x82 /* ROM major version */

Definition at line 77 of file tvp5150_reg.h.

#define TVP5150_ROM_MINOR_VER   0x83 /* ROM minor version */

Definition at line 78 of file tvp5150_reg.h.

#define TVP5150_SATURATION_CTL   0x0a /* Color saturation control */

Definition at line 20 of file tvp5150_reg.h.

#define TVP5150_STATUS_REG_1   0x88 /* Status register #1 */

Definition at line 83 of file tvp5150_reg.h.

#define TVP5150_STATUS_REG_2   0x89 /* Status register #2 */

Definition at line 84 of file tvp5150_reg.h.

#define TVP5150_STATUS_REG_3   0x8a /* Status register #3 */

Definition at line 85 of file tvp5150_reg.h.

#define TVP5150_STATUS_REG_4   0x8b /* Status register #4 */

Definition at line 86 of file tvp5150_reg.h.

#define TVP5150_STATUS_REG_5   0x8c /* Status register #5 */

Definition at line 87 of file tvp5150_reg.h.

#define TVP5150_TELETEXT_FIL1_END   0xb5

Definition at line 109 of file tvp5150_reg.h.

#define TVP5150_TELETEXT_FIL1_INI   0xb1

Definition at line 108 of file tvp5150_reg.h.

#define TVP5150_TELETEXT_FIL2_END   0xba

Definition at line 113 of file tvp5150_reg.h.

#define TVP5150_TELETEXT_FIL2_INI   0xb6

Definition at line 112 of file tvp5150_reg.h.

#define TVP5150_TELETEXT_FIL_ENA   0xbb /* Teletext filter enable */

Definition at line 115 of file tvp5150_reg.h.

#define TVP5150_VBI_FIFO_READ_DATA   0xb0 /* VBI FIFO read data */

Definition at line 105 of file tvp5150_reg.h.

#define TVP5150_VD_IN_SRC_SEL_1   0x00 /* Video input source selection #1 */

Definition at line 8 of file tvp5150_reg.h.

#define TVP5150_VDP_CONF_RAM_DATA   0xc3 /* VDP configuration RAM data */

Definition at line 120 of file tvp5150_reg.h.

#define TVP5150_VDP_STATUS_REG   0xc6 /* VDP status register */

Definition at line 123 of file tvp5150_reg.h.

#define TVP5150_VERT_BLANKING_START   0x18 /* Vertical blanking start */

Definition at line 38 of file tvp5150_reg.h.

#define TVP5150_VERT_BLANKING_STOP   0x19 /* Vertical blanking stop */

Definition at line 39 of file tvp5150_reg.h.

#define TVP5150_VERT_LN_COUNT_LSB   0x85 /* Vertical line count LSB */

Definition at line 80 of file tvp5150_reg.h.

#define TVP5150_VERT_LN_COUNT_MSB   0x84 /* Vertical line count MSB */

Definition at line 79 of file tvp5150_reg.h.

#define TVP5150_VIDEO_STD   0x28 /* Video standard */

Definition at line 49 of file tvp5150_reg.h.

#define TVP5150_VITC_DATA_END   0xaf

Definition at line 103 of file tvp5150_reg.h.

#define TVP5150_VITC_DATA_INI   0xa7

Definition at line 102 of file tvp5150_reg.h.

#define TVP5150_VPS_DATA_END   0xa6

Definition at line 99 of file tvp5150_reg.h.

#define TVP5150_VPS_DATA_INI   0x9a

Definition at line 98 of file tvp5150_reg.h.

#define TVP5150_WSS_DATA_END   0x99

Definition at line 95 of file tvp5150_reg.h.

#define TVP5150_WSS_DATA_INI   0x94

Definition at line 94 of file tvp5150_reg.h.

#define VIDEO_STD_AUTO_SWITCH_BIT   0x00

Definition at line 50 of file tvp5150_reg.h.

#define VIDEO_STD_MASK   (0x07 >> 1)

Definition at line 48 of file tvp5150_reg.h.

#define VIDEO_STD_NTSC_4_43_BIT   0x0a

Definition at line 55 of file tvp5150_reg.h.

#define VIDEO_STD_NTSC_4_43_BIT_AS   0x09

Definition at line 62 of file tvp5150_reg.h.

#define VIDEO_STD_NTSC_MJ_BIT   0x02

Definition at line 51 of file tvp5150_reg.h.

#define VIDEO_STD_NTSC_MJ_BIT_AS   0x01

Definition at line 58 of file tvp5150_reg.h.

#define VIDEO_STD_PAL_BDGHIN_BIT   0x04

Definition at line 52 of file tvp5150_reg.h.

#define VIDEO_STD_PAL_BDGHIN_BIT_AS   0x03

Definition at line 59 of file tvp5150_reg.h.

#define VIDEO_STD_PAL_COMBINATION_N_BIT   0x08

Definition at line 54 of file tvp5150_reg.h.

#define VIDEO_STD_PAL_COMBINATION_N_BIT_AS   0x07

Definition at line 61 of file tvp5150_reg.h.

#define VIDEO_STD_PAL_M_BIT   0x06

Definition at line 53 of file tvp5150_reg.h.

#define VIDEO_STD_PAL_M_BIT_AS   0x05

Definition at line 60 of file tvp5150_reg.h.

#define VIDEO_STD_SECAM_BIT   0x0c

Definition at line 56 of file tvp5150_reg.h.

#define VIDEO_STD_SECAM_BIT_AS   0x0b

Definition at line 63 of file tvp5150_reg.h.