linux/drivers/media/i2c/tvp5150_reg.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 *
 * tvp5150 - Texas Instruments TVP5150A/AM1 video decoder registers
 *
 * Copyright (c) 2005,2006 Mauro Carvalho Chehab <[email protected]>
 */

#define TVP5150_VD_IN_SRC_SEL_1
#define TVP5150_ANAL_CHL_CTL
#define TVP5150_OP_MODE_CTL
#define TVP5150_MISC_CTL
#define TVP5150_MISC_CTL_VBLK_GPCL
#define TVP5150_MISC_CTL_GPCL
#define TVP5150_MISC_CTL_INTREQ_OE
#define TVP5150_MISC_CTL_HVLK
#define TVP5150_MISC_CTL_YCBCR_OE
#define TVP5150_MISC_CTL_SYNC_OE
#define TVP5150_MISC_CTL_VBLANK
#define TVP5150_MISC_CTL_CLOCK_OE

#define TVP5150_AUTOSW_MSK

/* Reserved 05h */

#define TVP5150_COLOR_KIL_THSH_CTL
#define TVP5150_LUMA_PROC_CTL_1
#define TVP5150_LUMA_PROC_CTL_2
#define TVP5150_BRIGHT_CTL
#define TVP5150_SATURATION_CTL
#define TVP5150_HUE_CTL
#define TVP5150_CONTRAST_CTL
#define TVP5150_DATA_RATE_SEL
#define TVP5150_LUMA_PROC_CTL_3
#define TVP5150_CONF_SHARED_PIN

/* Reserved 10h */

#define TVP5150_ACT_VD_CROP_ST_MSB
#define TVP5150_ACT_VD_CROP_ST_LSB
#define TVP5150_ACT_VD_CROP_STP_MSB
#define TVP5150_ACT_VD_CROP_STP_LSB
#define TVP5150_GENLOCK
#define TVP5150_HORIZ_SYNC_START

/* Reserved 17h */

#define TVP5150_VERT_BLANKING_START
#define TVP5150_VERT_BLANKING_STOP
#define TVP5150_CHROMA_PROC_CTL_1
#define TVP5150_CHROMA_PROC_CTL_2
#define TVP5150_INT_RESET_REG_B
#define TVP5150_INT_ENABLE_REG_B
#define TVP5150_INTT_CONFIG_REG_B

/* Reserved 1Fh-27h */

#define VIDEO_STD_MASK
#define TVP5150_VIDEO_STD
#define VIDEO_STD_AUTO_SWITCH_BIT
#define VIDEO_STD_NTSC_MJ_BIT
#define VIDEO_STD_PAL_BDGHIN_BIT
#define VIDEO_STD_PAL_M_BIT
#define VIDEO_STD_PAL_COMBINATION_N_BIT
#define VIDEO_STD_NTSC_4_43_BIT
#define VIDEO_STD_SECAM_BIT

#define VIDEO_STD_NTSC_MJ_BIT_AS
#define VIDEO_STD_PAL_BDGHIN_BIT_AS
#define VIDEO_STD_PAL_M_BIT_AS
#define VIDEO_STD_PAL_COMBINATION_N_BIT_AS
#define VIDEO_STD_NTSC_4_43_BIT_AS
#define VIDEO_STD_SECAM_BIT_AS

/* Reserved 29h-2bh */

#define TVP5150_CB_GAIN_FACT
#define TVP5150_CR_GAIN_FACTOR
#define TVP5150_MACROVISION_ON_CTR
#define TVP5150_MACROVISION_OFF_CTR
#define TVP5150_REV_SELECT

/* Reserved	31h-7Fh */

#define TVP5150_MSB_DEV_ID
#define TVP5150_LSB_DEV_ID
#define TVP5150_ROM_MAJOR_VER
#define TVP5150_ROM_MINOR_VER
#define TVP5150_VERT_LN_COUNT_MSB
#define TVP5150_VERT_LN_COUNT_LSB
#define TVP5150_INT_STATUS_REG_B
#define TVP5150_INT_ACTIVE_REG_B
#define TVP5150_STATUS_REG_1
#define TVP5150_STATUS_REG_2
#define TVP5150_STATUS_REG_3
#define TVP5150_STATUS_REG_4
#define TVP5150_STATUS_REG_5
/* Reserved	8Dh-8Fh */
 /* Closed caption data registers */
#define TVP5150_CC_DATA_INI
#define TVP5150_CC_DATA_END

 /* WSS data registers */
#define TVP5150_WSS_DATA_INI
#define TVP5150_WSS_DATA_END

/* VPS data registers */
#define TVP5150_VPS_DATA_INI
#define TVP5150_VPS_DATA_END

/* VITC data registers */
#define TVP5150_VITC_DATA_INI
#define TVP5150_VITC_DATA_END

#define TVP5150_VBI_FIFO_READ_DATA

/* Teletext filter 1 */
#define TVP5150_TELETEXT_FIL1_INI
#define TVP5150_TELETEXT_FIL1_END

/* Teletext filter 2 */
#define TVP5150_TELETEXT_FIL2_INI
#define TVP5150_TELETEXT_FIL2_END

#define TVP5150_TELETEXT_FIL_ENA
/* Reserved	BCh-BFh */
#define TVP5150_INT_STATUS_REG_A
#define TVP5150_INT_A_LOCK_STATUS
#define TVP5150_INT_A_LOCK
#define TVP5150_INT_ENABLE_REG_A
#define TVP5150_INT_CONF
#define TVP5150_VDPOE
#define TVP5150_VDP_CONF_RAM_DATA
#define TVP5150_CONF_RAM_ADDR_LOW
#define TVP5150_CONF_RAM_ADDR_HIGH
#define TVP5150_VDP_STATUS_REG
#define TVP5150_FIFO_WORD_COUNT
#define TVP5150_FIFO_INT_THRESHOLD
#define TVP5150_FIFO_RESET
#define TVP5150_LINE_NUMBER_INT
#define TVP5150_PIX_ALIGN_REG_LOW
#define TVP5150_PIX_ALIGN_REG_HIGH
#define TVP5150_FIFO_OUT_CTRL
/* Reserved	CEh */
#define TVP5150_FULL_FIELD_ENA

/* Line mode registers */
#define TVP5150_LINE_MODE_INI
#define TVP5150_LINE_MODE_END

#define TVP5150_FULL_FIELD_MODE_REG
/* Reserved	FDh-FFh */