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

Go to the source code of this file.

Data Structures

struct  adv7343_std_info
 

Macros

#define ADV7343_REGS_H
 
#define ADV7343_POWER_MODE_REG   (0x00)
 
#define ADV7343_MODE_SELECT_REG   (0x01)
 
#define ADV7343_MODE_REG0   (0x02)
 
#define ADV7343_DAC2_OUTPUT_LEVEL   (0x0b)
 
#define ADV7343_SOFT_RESET   (0x17)
 
#define ADV7343_HD_MODE_REG1   (0x30)
 
#define ADV7343_HD_MODE_REG2   (0x31)
 
#define ADV7343_HD_MODE_REG3   (0x32)
 
#define ADV7343_HD_MODE_REG4   (0x33)
 
#define ADV7343_HD_MODE_REG5   (0x34)
 
#define ADV7343_HD_MODE_REG6   (0x35)
 
#define ADV7343_HD_MODE_REG7   (0x39)
 
#define ADV7343_SD_MODE_REG1   (0x80)
 
#define ADV7343_SD_MODE_REG2   (0x82)
 
#define ADV7343_SD_MODE_REG3   (0x83)
 
#define ADV7343_SD_MODE_REG4   (0x84)
 
#define ADV7343_SD_MODE_REG5   (0x86)
 
#define ADV7343_SD_MODE_REG6   (0x87)
 
#define ADV7343_SD_MODE_REG7   (0x88)
 
#define ADV7343_SD_MODE_REG8   (0x89)
 
#define ADV7343_FSC_REG0   (0x8C)
 
#define ADV7343_FSC_REG1   (0x8D)
 
#define ADV7343_FSC_REG2   (0x8E)
 
#define ADV7343_FSC_REG3   (0x8F)
 
#define ADV7343_SD_CGMS_WSS0   (0x99)
 
#define ADV7343_SD_HUE_REG   (0xA0)
 
#define ADV7343_SD_BRIGHTNESS_WSS   (0xA1)
 
#define ADV7343_POWER_MODE_REG_DEFAULT   (0x10)
 
#define ADV7343_HD_MODE_REG1_DEFAULT
 
#define ADV7343_HD_MODE_REG2_DEFAULT
 
#define ADV7343_HD_MODE_REG3_DEFAULT   (0x00) /* Color delay 0 clks */
 
#define ADV7343_HD_MODE_REG4_DEFAULT   (0xE8) /* Changed */
 
#define ADV7343_HD_MODE_REG5_DEFAULT   (0x08)
 
#define ADV7343_HD_MODE_REG6_DEFAULT   (0x00)
 
#define ADV7343_HD_MODE_REG7_DEFAULT   (0x00)
 
#define ADV7343_SD_MODE_REG8_DEFAULT   (0x00)
 
#define ADV7343_SOFT_RESET_DEFAULT   (0x02)
 
#define ADV7343_COMPOSITE_POWER_VALUE   (0x80)
 
#define ADV7343_COMPONENT_POWER_VALUE   (0x1C)
 
#define ADV7343_SVIDEO_POWER_VALUE   (0x60)
 
#define ADV7343_SD_HUE_REG_DEFAULT   (127)
 
#define ADV7343_SD_BRIGHTNESS_WSS_DEFAULT   (0x03)
 
#define ADV7343_SD_CGMS_WSS0_DEFAULT   (0x10)
 
#define ADV7343_SD_MODE_REG1_DEFAULT   (0x00)
 
#define ADV7343_SD_MODE_REG2_DEFAULT   (0xC9)
 
#define ADV7343_SD_MODE_REG3_DEFAULT   (0x10)
 
#define ADV7343_SD_MODE_REG4_DEFAULT   (0x01)
 
#define ADV7343_SD_MODE_REG5_DEFAULT   (0x02)
 
#define ADV7343_SD_MODE_REG6_DEFAULT   (0x0C)
 
#define ADV7343_SD_MODE_REG7_DEFAULT   (0x04)
 
#define ADV7343_SD_MODE_REG8_DEFAULT   (0x00)
 
#define INPUT_MODE_MASK   (0x70)
 
#define SD_INPUT_MODE   (0x00)
 
#define HD_720P_INPUT_MODE   (0x10)
 
#define HD_1080I_INPUT_MODE   (0x10)
 
#define TEST_PATTERN_BLACK_BAR_EN   (0x04)
 
#define YUV_OUTPUT_SELECT   (0x20)
 
#define RGB_OUTPUT_SELECT   (0xDF)
 
#define DAC_OUTPUT_LEVEL_MASK   (0xFF)
 
#define SOFT_RESET   (0x02)
 
#define OUTPUT_STD_MASK   (0x03)
 
#define OUTPUT_STD_SHIFT   (0)
 
#define OUTPUT_STD_EIA0_2   (0x00)
 
#define OUTPUT_STD_EIA0_1   (0x01)
 
#define OUTPUT_STD_FULL   (0x02)
 
#define EMBEDDED_SYNC   (0x04)
 
#define EXTERNAL_SYNC   (0xFB)
 
#define STD_MODE_SHIFT   (3)
 
#define STD_MODE_MASK   (0x1F)
 
#define STD_MODE_720P   (0x05)
 
#define STD_MODE_720P_25   (0x08)
 
#define STD_MODE_720P_30   (0x07)
 
#define STD_MODE_720P_50   (0x06)
 
#define STD_MODE_1080I   (0x0D)
 
#define STD_MODE_1080I_25fps   (0x0E)
 
#define STD_MODE_1080P_24   (0x12)
 
#define STD_MODE_1080P_25   (0x10)
 
#define STD_MODE_1080P_30   (0x0F)
 
#define STD_MODE_525P   (0x00)
 
#define STD_MODE_625P   (0x03)
 
#define SD_STD_MASK   (0x03)
 
#define SD_STD_NTSC   (0x00)
 
#define SD_STD_PAL_BDGHI   (0x01)
 
#define SD_STD_PAL_M   (0x02)
 
#define SD_STD_PAL_N   (0x03)
 
#define SD_LUMA_FLTR_MASK   (0x7)
 
#define SD_LUMA_FLTR_SHIFT   (0x2)
 
#define SD_CHROMA_FLTR_MASK   (0x7)
 
#define SD_CHROMA_FLTR_SHIFT   (0x5)
 
#define SD_PBPR_SSAF_EN   (0x01)
 
#define SD_PBPR_SSAF_DI   (0xFE)
 
#define SD_DAC_1_DI   (0xFD)
 
#define SD_DAC_2_DI   (0xFB)
 
#define SD_PEDESTAL_EN   (0x08)
 
#define SD_PEDESTAL_DI   (0xF7)
 
#define SD_SQUARE_PIXEL_EN   (0x10)
 
#define SD_SQUARE_PIXEL_DI   (0xEF)
 
#define SD_PIXEL_DATA_VALID   (0x40)
 
#define SD_ACTIVE_EDGE_EN   (0x80)
 
#define SD_ACTIVE_EDGE_DI   (0x7F)
 
#define HD_RGB_INPUT_EN   (0x02)
 
#define HD_RGB_INPUT_DI   (0xFD)
 
#define HD_PBPR_SYNC_EN   (0x04)
 
#define HD_PBPR_SYNC_DI   (0xFB)
 
#define HD_DAC_SWAP_EN   (0x08)
 
#define HD_DAC_SWAP_DI   (0xF7)
 
#define HD_GAMMA_CURVE_A   (0xEF)
 
#define HD_GAMMA_CURVE_B   (0x10)
 
#define HD_GAMMA_EN   (0x20)
 
#define HD_GAMMA_DI   (0xDF)
 
#define HD_ADPT_FLTR_MODEB   (0x40)
 
#define HD_ADPT_FLTR_MODEA   (0xBF)
 
#define HD_ADPT_FLTR_EN   (0x80)
 
#define HD_ADPT_FLTR_DI   (0x7F)
 
#define ADV7343_BRIGHTNESS_MAX   (127)
 
#define ADV7343_BRIGHTNESS_MIN   (0)
 
#define ADV7343_BRIGHTNESS_DEF   (3)
 
#define ADV7343_HUE_MAX   (255)
 
#define ADV7343_HUE_MIN   (0)
 
#define ADV7343_HUE_DEF   (127)
 
#define ADV7343_GAIN_MAX   (64)
 
#define ADV7343_GAIN_MIN   (-64)
 
#define ADV7343_GAIN_DEF   (0)
 

Macro Definition Documentation

#define ADV7343_BRIGHTNESS_DEF   (3)

Definition at line 171 of file adv7343_regs.h.

#define ADV7343_BRIGHTNESS_MAX   (127)

Definition at line 169 of file adv7343_regs.h.

#define ADV7343_BRIGHTNESS_MIN   (0)

Definition at line 170 of file adv7343_regs.h.

#define ADV7343_COMPONENT_POWER_VALUE   (0x1C)

Definition at line 74 of file adv7343_regs.h.

#define ADV7343_COMPOSITE_POWER_VALUE   (0x80)

Definition at line 73 of file adv7343_regs.h.

#define ADV7343_DAC2_OUTPUT_LEVEL   (0x0b)

Definition at line 30 of file adv7343_regs.h.

#define ADV7343_FSC_REG0   (0x8C)

Definition at line 52 of file adv7343_regs.h.

#define ADV7343_FSC_REG1   (0x8D)

Definition at line 53 of file adv7343_regs.h.

#define ADV7343_FSC_REG2   (0x8E)

Definition at line 54 of file adv7343_regs.h.

#define ADV7343_FSC_REG3   (0x8F)

Definition at line 55 of file adv7343_regs.h.

#define ADV7343_GAIN_DEF   (0)

Definition at line 177 of file adv7343_regs.h.

#define ADV7343_GAIN_MAX   (64)

Definition at line 175 of file adv7343_regs.h.

#define ADV7343_GAIN_MIN   (-64)

Definition at line 176 of file adv7343_regs.h.

#define ADV7343_HD_MODE_REG1   (0x30)

Definition at line 34 of file adv7343_regs.h.

#define ADV7343_HD_MODE_REG1_DEFAULT
Value:
(0x3C) /* Changed Default
720p EAVSAV code*/

Definition at line 64 of file adv7343_regs.h.

#define ADV7343_HD_MODE_REG2   (0x31)

Definition at line 35 of file adv7343_regs.h.

#define ADV7343_HD_MODE_REG2_DEFAULT
Value:
(0x01) /* Changed Pixel data
valid */

Definition at line 65 of file adv7343_regs.h.

#define ADV7343_HD_MODE_REG3   (0x32)

Definition at line 36 of file adv7343_regs.h.

#define ADV7343_HD_MODE_REG3_DEFAULT   (0x00) /* Color delay 0 clks */

Definition at line 66 of file adv7343_regs.h.

#define ADV7343_HD_MODE_REG4   (0x33)

Definition at line 37 of file adv7343_regs.h.

#define ADV7343_HD_MODE_REG4_DEFAULT   (0xE8) /* Changed */

Definition at line 67 of file adv7343_regs.h.

#define ADV7343_HD_MODE_REG5   (0x34)

Definition at line 38 of file adv7343_regs.h.

#define ADV7343_HD_MODE_REG5_DEFAULT   (0x08)

Definition at line 68 of file adv7343_regs.h.

#define ADV7343_HD_MODE_REG6   (0x35)

Definition at line 39 of file adv7343_regs.h.

#define ADV7343_HD_MODE_REG6_DEFAULT   (0x00)

Definition at line 69 of file adv7343_regs.h.

#define ADV7343_HD_MODE_REG7   (0x39)

Definition at line 41 of file adv7343_regs.h.

#define ADV7343_HD_MODE_REG7_DEFAULT   (0x00)

Definition at line 70 of file adv7343_regs.h.

#define ADV7343_HUE_DEF   (127)

Definition at line 174 of file adv7343_regs.h.

#define ADV7343_HUE_MAX   (255)

Definition at line 172 of file adv7343_regs.h.

#define ADV7343_HUE_MIN   (0)

Definition at line 173 of file adv7343_regs.h.

#define ADV7343_MODE_REG0   (0x02)

Definition at line 28 of file adv7343_regs.h.

#define ADV7343_MODE_SELECT_REG   (0x01)

Definition at line 27 of file adv7343_regs.h.

#define ADV7343_POWER_MODE_REG   (0x00)

Definition at line 26 of file adv7343_regs.h.

#define ADV7343_POWER_MODE_REG_DEFAULT   (0x10)

Definition at line 63 of file adv7343_regs.h.

#define ADV7343_REGS_H

Definition at line 17 of file adv7343_regs.h.

#define ADV7343_SD_BRIGHTNESS_WSS   (0xA1)

Definition at line 60 of file adv7343_regs.h.

#define ADV7343_SD_BRIGHTNESS_WSS_DEFAULT   (0x03)

Definition at line 77 of file adv7343_regs.h.

#define ADV7343_SD_CGMS_WSS0   (0x99)

Definition at line 57 of file adv7343_regs.h.

#define ADV7343_SD_CGMS_WSS0_DEFAULT   (0x10)

Definition at line 79 of file adv7343_regs.h.

#define ADV7343_SD_HUE_REG   (0xA0)

Definition at line 59 of file adv7343_regs.h.

#define ADV7343_SD_HUE_REG_DEFAULT   (127)

Definition at line 76 of file adv7343_regs.h.

#define ADV7343_SD_MODE_REG1   (0x80)

Definition at line 43 of file adv7343_regs.h.

#define ADV7343_SD_MODE_REG1_DEFAULT   (0x00)

Definition at line 81 of file adv7343_regs.h.

#define ADV7343_SD_MODE_REG2   (0x82)

Definition at line 44 of file adv7343_regs.h.

#define ADV7343_SD_MODE_REG2_DEFAULT   (0xC9)

Definition at line 82 of file adv7343_regs.h.

#define ADV7343_SD_MODE_REG3   (0x83)

Definition at line 45 of file adv7343_regs.h.

#define ADV7343_SD_MODE_REG3_DEFAULT   (0x10)

Definition at line 83 of file adv7343_regs.h.

#define ADV7343_SD_MODE_REG4   (0x84)

Definition at line 46 of file adv7343_regs.h.

#define ADV7343_SD_MODE_REG4_DEFAULT   (0x01)

Definition at line 84 of file adv7343_regs.h.

#define ADV7343_SD_MODE_REG5   (0x86)

Definition at line 47 of file adv7343_regs.h.

#define ADV7343_SD_MODE_REG5_DEFAULT   (0x02)

Definition at line 85 of file adv7343_regs.h.

#define ADV7343_SD_MODE_REG6   (0x87)

Definition at line 48 of file adv7343_regs.h.

#define ADV7343_SD_MODE_REG6_DEFAULT   (0x0C)

Definition at line 86 of file adv7343_regs.h.

#define ADV7343_SD_MODE_REG7   (0x88)

Definition at line 49 of file adv7343_regs.h.

#define ADV7343_SD_MODE_REG7_DEFAULT   (0x04)

Definition at line 87 of file adv7343_regs.h.

#define ADV7343_SD_MODE_REG8   (0x89)

Definition at line 50 of file adv7343_regs.h.

#define ADV7343_SD_MODE_REG8_DEFAULT   (0x00)

Definition at line 88 of file adv7343_regs.h.

#define ADV7343_SD_MODE_REG8_DEFAULT   (0x00)

Definition at line 88 of file adv7343_regs.h.

#define ADV7343_SOFT_RESET   (0x17)

Definition at line 32 of file adv7343_regs.h.

#define ADV7343_SOFT_RESET_DEFAULT   (0x02)

Definition at line 72 of file adv7343_regs.h.

#define ADV7343_SVIDEO_POWER_VALUE   (0x60)

Definition at line 75 of file adv7343_regs.h.

#define DAC_OUTPUT_LEVEL_MASK   (0xFF)

Definition at line 102 of file adv7343_regs.h.

#define EMBEDDED_SYNC   (0x04)

Definition at line 113 of file adv7343_regs.h.

#define EXTERNAL_SYNC   (0xFB)

Definition at line 114 of file adv7343_regs.h.

#define HD_1080I_INPUT_MODE   (0x10)

Definition at line 94 of file adv7343_regs.h.

#define HD_720P_INPUT_MODE   (0x10)

Definition at line 93 of file adv7343_regs.h.

#define HD_ADPT_FLTR_DI   (0x7F)

Definition at line 167 of file adv7343_regs.h.

#define HD_ADPT_FLTR_EN   (0x80)

Definition at line 166 of file adv7343_regs.h.

#define HD_ADPT_FLTR_MODEA   (0xBF)

Definition at line 165 of file adv7343_regs.h.

#define HD_ADPT_FLTR_MODEB   (0x40)

Definition at line 164 of file adv7343_regs.h.

#define HD_DAC_SWAP_DI   (0xF7)

Definition at line 159 of file adv7343_regs.h.

#define HD_DAC_SWAP_EN   (0x08)

Definition at line 158 of file adv7343_regs.h.

#define HD_GAMMA_CURVE_A   (0xEF)

Definition at line 160 of file adv7343_regs.h.

#define HD_GAMMA_CURVE_B   (0x10)

Definition at line 161 of file adv7343_regs.h.

#define HD_GAMMA_DI   (0xDF)

Definition at line 163 of file adv7343_regs.h.

#define HD_GAMMA_EN   (0x20)

Definition at line 162 of file adv7343_regs.h.

#define HD_PBPR_SYNC_DI   (0xFB)

Definition at line 157 of file adv7343_regs.h.

#define HD_PBPR_SYNC_EN   (0x04)

Definition at line 156 of file adv7343_regs.h.

#define HD_RGB_INPUT_DI   (0xFD)

Definition at line 155 of file adv7343_regs.h.

#define HD_RGB_INPUT_EN   (0x02)

Definition at line 154 of file adv7343_regs.h.

#define INPUT_MODE_MASK   (0x70)

Definition at line 91 of file adv7343_regs.h.

#define OUTPUT_STD_EIA0_1   (0x01)

Definition at line 111 of file adv7343_regs.h.

#define OUTPUT_STD_EIA0_2   (0x00)

Definition at line 110 of file adv7343_regs.h.

#define OUTPUT_STD_FULL   (0x02)

Definition at line 112 of file adv7343_regs.h.

#define OUTPUT_STD_MASK   (0x03)

Definition at line 108 of file adv7343_regs.h.

#define OUTPUT_STD_SHIFT   (0)

Definition at line 109 of file adv7343_regs.h.

#define RGB_OUTPUT_SELECT   (0xDF)

Definition at line 99 of file adv7343_regs.h.

#define SD_ACTIVE_EDGE_DI   (0x7F)

Definition at line 151 of file adv7343_regs.h.

#define SD_ACTIVE_EDGE_EN   (0x80)

Definition at line 150 of file adv7343_regs.h.

#define SD_CHROMA_FLTR_MASK   (0x7)

Definition at line 137 of file adv7343_regs.h.

#define SD_CHROMA_FLTR_SHIFT   (0x5)

Definition at line 138 of file adv7343_regs.h.

#define SD_DAC_1_DI   (0xFD)

Definition at line 143 of file adv7343_regs.h.

#define SD_DAC_2_DI   (0xFB)

Definition at line 144 of file adv7343_regs.h.

#define SD_INPUT_MODE   (0x00)

Definition at line 92 of file adv7343_regs.h.

#define SD_LUMA_FLTR_MASK   (0x7)

Definition at line 135 of file adv7343_regs.h.

#define SD_LUMA_FLTR_SHIFT   (0x2)

Definition at line 136 of file adv7343_regs.h.

#define SD_PBPR_SSAF_DI   (0xFE)

Definition at line 142 of file adv7343_regs.h.

#define SD_PBPR_SSAF_EN   (0x01)

Definition at line 141 of file adv7343_regs.h.

#define SD_PEDESTAL_DI   (0xF7)

Definition at line 146 of file adv7343_regs.h.

#define SD_PEDESTAL_EN   (0x08)

Definition at line 145 of file adv7343_regs.h.

#define SD_PIXEL_DATA_VALID   (0x40)

Definition at line 149 of file adv7343_regs.h.

#define SD_SQUARE_PIXEL_DI   (0xEF)

Definition at line 148 of file adv7343_regs.h.

#define SD_SQUARE_PIXEL_EN   (0x10)

Definition at line 147 of file adv7343_regs.h.

#define SD_STD_MASK   (0x03)

Definition at line 130 of file adv7343_regs.h.

#define SD_STD_NTSC   (0x00)

Definition at line 131 of file adv7343_regs.h.

#define SD_STD_PAL_BDGHI   (0x01)

Definition at line 132 of file adv7343_regs.h.

#define SD_STD_PAL_M   (0x02)

Definition at line 133 of file adv7343_regs.h.

#define SD_STD_PAL_N   (0x03)

Definition at line 134 of file adv7343_regs.h.

#define SOFT_RESET   (0x02)

Definition at line 105 of file adv7343_regs.h.

#define STD_MODE_1080I   (0x0D)

Definition at line 121 of file adv7343_regs.h.

#define STD_MODE_1080I_25fps   (0x0E)

Definition at line 122 of file adv7343_regs.h.

#define STD_MODE_1080P_24   (0x12)

Definition at line 123 of file adv7343_regs.h.

#define STD_MODE_1080P_25   (0x10)

Definition at line 124 of file adv7343_regs.h.

#define STD_MODE_1080P_30   (0x0F)

Definition at line 125 of file adv7343_regs.h.

#define STD_MODE_525P   (0x00)

Definition at line 126 of file adv7343_regs.h.

#define STD_MODE_625P   (0x03)

Definition at line 127 of file adv7343_regs.h.

#define STD_MODE_720P   (0x05)

Definition at line 117 of file adv7343_regs.h.

#define STD_MODE_720P_25   (0x08)

Definition at line 118 of file adv7343_regs.h.

#define STD_MODE_720P_30   (0x07)

Definition at line 119 of file adv7343_regs.h.

#define STD_MODE_720P_50   (0x06)

Definition at line 120 of file adv7343_regs.h.

#define STD_MODE_MASK   (0x1F)

Definition at line 116 of file adv7343_regs.h.

#define STD_MODE_SHIFT   (3)

Definition at line 115 of file adv7343_regs.h.

#define TEST_PATTERN_BLACK_BAR_EN   (0x04)

Definition at line 97 of file adv7343_regs.h.

#define YUV_OUTPUT_SELECT   (0x20)

Definition at line 98 of file adv7343_regs.h.