/* 
 * cx25840 - register map 
 *
 * This file is auto generated do not edit. 
 *
 * There are non obvoius relationships between values.
 *
 * Submit errors in this file to the ivtv development mail list.
 *
 */
#ifndef __CX25840_SETTINGS_H
#define __CX25840_SETTINGS_H
typedef enum {
	SLEEP,
	DIGITAL_PWR_DN,
	REF_CLK_SEL,
	PWR_DN_VID_PLL,
	PWR_DN_AUX_PLL,
	AUTO_INC_DIS,
	SLV_SI_DIS,
	FORCE_CHIP_SEL_VIPCLK,
	PREFETCH_EN,
	PWR_DN_PLL_REG1,
	PWR_DN_PLL_REG2,
	DEVICE_ID,
	SOFT_RST,
	CH_SEL_ADC2,
	DUAL_MODE_ADC2,
	CHIP_ACFG_DIS,
	CH_1__SOURCE,
	CH_2__SOURCE,
	CH_3__SOURCE,
	EN_12DB_CH1,
	EN_12DB_CH2,
	EN_12DB_CH3,
	HALF_BW_CH1,
	HALF_BW_CH2,
	HALF_BW_CH3,
	VGA_SEL_CH1,
	VGA_SEL_CH2,
	VGA_SEL_CH3,
	CLAMP_SEL_CH1,
	CLAMP_SEL_CH2,
	CLAMP_SEL_CH3,
	CHROMA_IN_SEL,
	LUMA_IN_SEL,
	AUD_IN_SEL,
	CLAMP_EN_CH1,
	CLAMP_EN_CH2,
	CLAMP_EN_CH3,
	DROOP_COMP_CH1,
	DROOP_COMP_CH2,
	DROOP_COMP_CH3,
	BYPASS_CH1,
	BYPASS_CH2,
	BYPASS_CH3,
	IREF_SEL,
	VID_PLL_INT,
	VID_PLL_POST,
	AUX_PLL_INT,
	AUX_PLL_POST,
	VID_PLL_FRAC1,
	VID_PLL_FRAC2,
	VID_PLL_FRAC3,
	VID_PLL_FRAC4,
	AUX_PLL_FRAC1,
	AUX_PLL_FRAC2,
	AUX_PLL_FRAC3,
	AUX_PLL_FRAC4,
	GPIO0_OUT_EN,
	GPIO1_OUT_EN,
	CHIP_SEL_VIPCLK_OUT_EN,
	IRQN_OUT_EN,
	IR_RX_OUT_EN,
	IR_TX_OUT_EN,
	DVAL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_7_2_,
	ACLCTRL07_1_0_,
	ACLCTRL07_7_2_,
	ACLCTRL08_1_0_,
	ACLCTRL08_7_2_,
	ACLCMD_15_0_,
	ACLCMD_23_16_,
	ACLGPOUT_15_0_,
	ACLGPIN_15_0_,
	ACLSTAT0_15_0_,
	ACLSTAT0_23_16_,
	LOWPOWER_0_,
	LOWPOWER_7_1_,
	LOWPOWER_20_8_,
	ACL_TAG,
	ACL_LINK_UPDATE,
	RDS_I,
	number_of_settings, special_tag_setting, special_end_setting,
	special_execute_setting, special_WI2C_setting, special_delay_setting
} cx25840_setting;
#endif
