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

Go to the source code of this file.

Data Structures

struct  adv7393_std_info
 

Macros

#define ADV7393_POWER_MODE_REG   (0x00)
 
#define ADV7393_MODE_SELECT_REG   (0x01)
 
#define ADV7393_MODE_REG0   (0x02)
 
#define ADV7393_DAC123_OUTPUT_LEVEL   (0x0B)
 
#define ADV7393_SOFT_RESET   (0x17)
 
#define ADV7393_HD_MODE_REG1   (0x30)
 
#define ADV7393_HD_MODE_REG2   (0x31)
 
#define ADV7393_HD_MODE_REG3   (0x32)
 
#define ADV7393_HD_MODE_REG4   (0x33)
 
#define ADV7393_HD_MODE_REG5   (0x34)
 
#define ADV7393_HD_MODE_REG6   (0x35)
 
#define ADV7393_HD_MODE_REG7   (0x39)
 
#define ADV7393_SD_MODE_REG1   (0x80)
 
#define ADV7393_SD_MODE_REG2   (0x82)
 
#define ADV7393_SD_MODE_REG3   (0x83)
 
#define ADV7393_SD_MODE_REG4   (0x84)
 
#define ADV7393_SD_MODE_REG5   (0x86)
 
#define ADV7393_SD_MODE_REG6   (0x87)
 
#define ADV7393_SD_MODE_REG7   (0x88)
 
#define ADV7393_SD_MODE_REG8   (0x89)
 
#define ADV7393_SD_TIMING_REG0   (0x8A)
 
#define ADV7393_FSC_REG0   (0x8C)
 
#define ADV7393_FSC_REG1   (0x8D)
 
#define ADV7393_FSC_REG2   (0x8E)
 
#define ADV7393_FSC_REG3   (0x8F)
 
#define ADV7393_SD_CGMS_WSS0   (0x99)
 
#define ADV7393_SD_HUE_ADJUST   (0xA0)
 
#define ADV7393_SD_BRIGHTNESS_WSS   (0xA1)
 
#define ADV7393_POWER_MODE_REG_DEFAULT   (0x10)
 
#define ADV7393_HD_MODE_REG1_DEFAULT
 
#define ADV7393_HD_MODE_REG2_DEFAULT
 
#define ADV7393_HD_MODE_REG3_DEFAULT   (0x00) /* Color delay 0 clks */
 
#define ADV7393_HD_MODE_REG4_DEFAULT   (0xEC) /* Changed */
 
#define ADV7393_HD_MODE_REG5_DEFAULT   (0x08)
 
#define ADV7393_HD_MODE_REG6_DEFAULT   (0x00)
 
#define ADV7393_HD_MODE_REG7_DEFAULT   (0x00)
 
#define ADV7393_SOFT_RESET_DEFAULT   (0x02)
 
#define ADV7393_COMPOSITE_POWER_VALUE   (0x10)
 
#define ADV7393_COMPONENT_POWER_VALUE   (0x1C)
 
#define ADV7393_SVIDEO_POWER_VALUE   (0x0C)
 
#define ADV7393_SD_HUE_ADJUST_DEFAULT   (0x80)
 
#define ADV7393_SD_BRIGHTNESS_WSS_DEFAULT   (0x00)
 
#define ADV7393_SD_CGMS_WSS0_DEFAULT   (0x10)
 
#define ADV7393_SD_MODE_REG1_DEFAULT   (0x10)
 
#define ADV7393_SD_MODE_REG2_DEFAULT   (0xC9)
 
#define ADV7393_SD_MODE_REG3_DEFAULT   (0x00)
 
#define ADV7393_SD_MODE_REG4_DEFAULT   (0x00)
 
#define ADV7393_SD_MODE_REG5_DEFAULT   (0x02)
 
#define ADV7393_SD_MODE_REG6_DEFAULT   (0x8C)
 
#define ADV7393_SD_MODE_REG7_DEFAULT   (0x14)
 
#define ADV7393_SD_MODE_REG8_DEFAULT   (0x00)
 
#define ADV7393_SD_TIMING_REG0_DEFAULT   (0x0C)
 
#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 SD_BRIGHTNESS_VALUE_MASK   (0x7F)
 
#define SD_BLANK_WSS_DATA_MASK   (0x80)
 
#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_MASK   (0x1F)
 
#define STD_MODE_SHIFT   (3)
 
#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_25   (0x0E)
 
#define STD_MODE_1080P_24   (0x11)
 
#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   (0x07)
 
#define SD_LUMA_FLTR_SHIFT   (2)
 
#define SD_CHROMA_FLTR_MASK   (0x07)
 
#define SD_CHROMA_FLTR_SHIFT   (5)
 
#define SD_PRPB_SSAF_EN   (0x01)
 
#define SD_PRPB_SSAF_DI   (0xFE)
 
#define SD_DAC_OUT1_EN   (0x02)
 
#define SD_DAC_OUT1_DI   (0xFD)
 
#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_PRPB_SYNC_EN   (0x04)
 
#define HD_PRPB_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_MODEA   (0xBF)
 
#define HD_ADPT_FLTR_MODEB   (0x40)
 
#define HD_ADPT_FLTR_EN   (0x80)
 
#define HD_ADPT_FLTR_DI   (0x7F)
 
#define ADV7393_BRIGHTNESS_MAX   (63)
 
#define ADV7393_BRIGHTNESS_MIN   (-64)
 
#define ADV7393_BRIGHTNESS_DEF   (0)
 
#define ADV7393_HUE_MAX   (127)
 
#define ADV7393_HUE_MIN   (-128)
 
#define ADV7393_HUE_DEF   (0)
 
#define ADV7393_GAIN_MAX   (64)
 
#define ADV7393_GAIN_MIN   (-64)
 
#define ADV7393_GAIN_DEF   (0)
 

Macro Definition Documentation

#define ADV7393_BRIGHTNESS_DEF   (0)

Definition at line 178 of file adv7393_regs.h.

#define ADV7393_BRIGHTNESS_MAX   (63)

Definition at line 176 of file adv7393_regs.h.

#define ADV7393_BRIGHTNESS_MIN   (-64)

Definition at line 177 of file adv7393_regs.h.

#define ADV7393_COMPONENT_POWER_VALUE   (0x1C)

Definition at line 80 of file adv7393_regs.h.

#define ADV7393_COMPOSITE_POWER_VALUE   (0x10)

Definition at line 79 of file adv7393_regs.h.

#define ADV7393_DAC123_OUTPUT_LEVEL   (0x0B)

Definition at line 35 of file adv7393_regs.h.

#define ADV7393_FSC_REG0   (0x8C)

Definition at line 59 of file adv7393_regs.h.

#define ADV7393_FSC_REG1   (0x8D)

Definition at line 60 of file adv7393_regs.h.

#define ADV7393_FSC_REG2   (0x8E)

Definition at line 61 of file adv7393_regs.h.

#define ADV7393_FSC_REG3   (0x8F)

Definition at line 62 of file adv7393_regs.h.

#define ADV7393_GAIN_DEF   (0)

Definition at line 184 of file adv7393_regs.h.

#define ADV7393_GAIN_MAX   (64)

Definition at line 182 of file adv7393_regs.h.

#define ADV7393_GAIN_MIN   (-64)

Definition at line 183 of file adv7393_regs.h.

#define ADV7393_HD_MODE_REG1   (0x30)

Definition at line 39 of file adv7393_regs.h.

#define ADV7393_HD_MODE_REG1_DEFAULT
Value:
(0x3C) /* Changed Default
720p EAV/SAV code*/

Definition at line 71 of file adv7393_regs.h.

#define ADV7393_HD_MODE_REG2   (0x31)

Definition at line 40 of file adv7393_regs.h.

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

Definition at line 72 of file adv7393_regs.h.

#define ADV7393_HD_MODE_REG3   (0x32)

Definition at line 41 of file adv7393_regs.h.

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

Definition at line 73 of file adv7393_regs.h.

#define ADV7393_HD_MODE_REG4   (0x33)

Definition at line 42 of file adv7393_regs.h.

#define ADV7393_HD_MODE_REG4_DEFAULT   (0xEC) /* Changed */

Definition at line 74 of file adv7393_regs.h.

#define ADV7393_HD_MODE_REG5   (0x34)

Definition at line 43 of file adv7393_regs.h.

#define ADV7393_HD_MODE_REG5_DEFAULT   (0x08)

Definition at line 75 of file adv7393_regs.h.

#define ADV7393_HD_MODE_REG6   (0x35)

Definition at line 44 of file adv7393_regs.h.

#define ADV7393_HD_MODE_REG6_DEFAULT   (0x00)

Definition at line 76 of file adv7393_regs.h.

#define ADV7393_HD_MODE_REG7   (0x39)

Definition at line 46 of file adv7393_regs.h.

#define ADV7393_HD_MODE_REG7_DEFAULT   (0x00)

Definition at line 77 of file adv7393_regs.h.

#define ADV7393_HUE_DEF   (0)

Definition at line 181 of file adv7393_regs.h.

#define ADV7393_HUE_MAX   (127)

Definition at line 179 of file adv7393_regs.h.

#define ADV7393_HUE_MIN   (-128)

Definition at line 180 of file adv7393_regs.h.

#define ADV7393_MODE_REG0   (0x02)

Definition at line 33 of file adv7393_regs.h.

#define ADV7393_MODE_SELECT_REG   (0x01)

Definition at line 32 of file adv7393_regs.h.

#define ADV7393_POWER_MODE_REG   (0x00)

Definition at line 31 of file adv7393_regs.h.

#define ADV7393_POWER_MODE_REG_DEFAULT   (0x10)

Definition at line 70 of file adv7393_regs.h.

#define ADV7393_SD_BRIGHTNESS_WSS   (0xA1)

Definition at line 67 of file adv7393_regs.h.

#define ADV7393_SD_BRIGHTNESS_WSS_DEFAULT   (0x00)

Definition at line 83 of file adv7393_regs.h.

#define ADV7393_SD_CGMS_WSS0   (0x99)

Definition at line 64 of file adv7393_regs.h.

#define ADV7393_SD_CGMS_WSS0_DEFAULT   (0x10)

Definition at line 85 of file adv7393_regs.h.

#define ADV7393_SD_HUE_ADJUST   (0xA0)

Definition at line 66 of file adv7393_regs.h.

#define ADV7393_SD_HUE_ADJUST_DEFAULT   (0x80)

Definition at line 82 of file adv7393_regs.h.

#define ADV7393_SD_MODE_REG1   (0x80)

Definition at line 48 of file adv7393_regs.h.

#define ADV7393_SD_MODE_REG1_DEFAULT   (0x10)

Definition at line 87 of file adv7393_regs.h.

#define ADV7393_SD_MODE_REG2   (0x82)

Definition at line 49 of file adv7393_regs.h.

#define ADV7393_SD_MODE_REG2_DEFAULT   (0xC9)

Definition at line 88 of file adv7393_regs.h.

#define ADV7393_SD_MODE_REG3   (0x83)

Definition at line 50 of file adv7393_regs.h.

#define ADV7393_SD_MODE_REG3_DEFAULT   (0x00)

Definition at line 89 of file adv7393_regs.h.

#define ADV7393_SD_MODE_REG4   (0x84)

Definition at line 51 of file adv7393_regs.h.

#define ADV7393_SD_MODE_REG4_DEFAULT   (0x00)

Definition at line 90 of file adv7393_regs.h.

#define ADV7393_SD_MODE_REG5   (0x86)

Definition at line 52 of file adv7393_regs.h.

#define ADV7393_SD_MODE_REG5_DEFAULT   (0x02)

Definition at line 91 of file adv7393_regs.h.

#define ADV7393_SD_MODE_REG6   (0x87)

Definition at line 53 of file adv7393_regs.h.

#define ADV7393_SD_MODE_REG6_DEFAULT   (0x8C)

Definition at line 92 of file adv7393_regs.h.

#define ADV7393_SD_MODE_REG7   (0x88)

Definition at line 54 of file adv7393_regs.h.

#define ADV7393_SD_MODE_REG7_DEFAULT   (0x14)

Definition at line 93 of file adv7393_regs.h.

#define ADV7393_SD_MODE_REG8   (0x89)

Definition at line 55 of file adv7393_regs.h.

#define ADV7393_SD_MODE_REG8_DEFAULT   (0x00)

Definition at line 94 of file adv7393_regs.h.

#define ADV7393_SD_TIMING_REG0   (0x8A)

Definition at line 57 of file adv7393_regs.h.

#define ADV7393_SD_TIMING_REG0_DEFAULT   (0x0C)

Definition at line 96 of file adv7393_regs.h.

#define ADV7393_SOFT_RESET   (0x17)

Definition at line 37 of file adv7393_regs.h.

#define ADV7393_SOFT_RESET_DEFAULT   (0x02)

Definition at line 78 of file adv7393_regs.h.

#define ADV7393_SVIDEO_POWER_VALUE   (0x0C)

Definition at line 81 of file adv7393_regs.h.

#define EMBEDDED_SYNC   (0x04)

Definition at line 122 of file adv7393_regs.h.

#define EXTERNAL_SYNC   (0xFB)

Definition at line 123 of file adv7393_regs.h.

#define HD_1080I_INPUT_MODE   (0x10)

Definition at line 102 of file adv7393_regs.h.

#define HD_720P_INPUT_MODE   (0x10)

Definition at line 101 of file adv7393_regs.h.

#define HD_ADPT_FLTR_DI   (0x7F)

Definition at line 174 of file adv7393_regs.h.

#define HD_ADPT_FLTR_EN   (0x80)

Definition at line 173 of file adv7393_regs.h.

#define HD_ADPT_FLTR_MODEA   (0xBF)

Definition at line 171 of file adv7393_regs.h.

#define HD_ADPT_FLTR_MODEB   (0x40)

Definition at line 172 of file adv7393_regs.h.

#define HD_DAC_SWAP_DI   (0xF7)

Definition at line 166 of file adv7393_regs.h.

#define HD_DAC_SWAP_EN   (0x08)

Definition at line 165 of file adv7393_regs.h.

#define HD_GAMMA_CURVE_A   (0xEF)

Definition at line 167 of file adv7393_regs.h.

#define HD_GAMMA_CURVE_B   (0x10)

Definition at line 168 of file adv7393_regs.h.

#define HD_GAMMA_DI   (0xDF)

Definition at line 170 of file adv7393_regs.h.

#define HD_GAMMA_EN   (0x20)

Definition at line 169 of file adv7393_regs.h.

#define HD_PRPB_SYNC_DI   (0xFB)

Definition at line 164 of file adv7393_regs.h.

#define HD_PRPB_SYNC_EN   (0x04)

Definition at line 163 of file adv7393_regs.h.

#define INPUT_MODE_MASK   (0x70)

Definition at line 99 of file adv7393_regs.h.

#define OUTPUT_STD_EIA0_1   (0x01)

Definition at line 120 of file adv7393_regs.h.

#define OUTPUT_STD_EIA0_2   (0x00)

Definition at line 119 of file adv7393_regs.h.

#define OUTPUT_STD_FULL   (0x02)

Definition at line 121 of file adv7393_regs.h.

#define OUTPUT_STD_MASK   (0x03)

Definition at line 117 of file adv7393_regs.h.

#define OUTPUT_STD_SHIFT   (0)

Definition at line 118 of file adv7393_regs.h.

#define RGB_OUTPUT_SELECT   (0xDF)

Definition at line 107 of file adv7393_regs.h.

#define SD_ACTIVE_EDGE_DI   (0x7F)

Definition at line 160 of file adv7393_regs.h.

#define SD_ACTIVE_EDGE_EN   (0x80)

Definition at line 159 of file adv7393_regs.h.

#define SD_BLANK_WSS_DATA_MASK   (0x80)

Definition at line 111 of file adv7393_regs.h.

#define SD_BRIGHTNESS_VALUE_MASK   (0x7F)

Definition at line 110 of file adv7393_regs.h.

#define SD_CHROMA_FLTR_MASK   (0x07)

Definition at line 146 of file adv7393_regs.h.

#define SD_CHROMA_FLTR_SHIFT   (5)

Definition at line 147 of file adv7393_regs.h.

#define SD_DAC_OUT1_DI   (0xFD)

Definition at line 153 of file adv7393_regs.h.

#define SD_DAC_OUT1_EN   (0x02)

Definition at line 152 of file adv7393_regs.h.

#define SD_INPUT_MODE   (0x00)

Definition at line 100 of file adv7393_regs.h.

#define SD_LUMA_FLTR_MASK   (0x07)

Definition at line 144 of file adv7393_regs.h.

#define SD_LUMA_FLTR_SHIFT   (2)

Definition at line 145 of file adv7393_regs.h.

#define SD_PEDESTAL_DI   (0xF7)

Definition at line 155 of file adv7393_regs.h.

#define SD_PEDESTAL_EN   (0x08)

Definition at line 154 of file adv7393_regs.h.

#define SD_PIXEL_DATA_VALID   (0x40)

Definition at line 158 of file adv7393_regs.h.

#define SD_PRPB_SSAF_DI   (0xFE)

Definition at line 151 of file adv7393_regs.h.

#define SD_PRPB_SSAF_EN   (0x01)

Definition at line 150 of file adv7393_regs.h.

#define SD_SQUARE_PIXEL_DI   (0xEF)

Definition at line 157 of file adv7393_regs.h.

#define SD_SQUARE_PIXEL_EN   (0x10)

Definition at line 156 of file adv7393_regs.h.

#define SD_STD_MASK   (0x03)

Definition at line 139 of file adv7393_regs.h.

#define SD_STD_NTSC   (0x00)

Definition at line 140 of file adv7393_regs.h.

#define SD_STD_PAL_BDGHI   (0x01)

Definition at line 141 of file adv7393_regs.h.

#define SD_STD_PAL_M   (0x02)

Definition at line 142 of file adv7393_regs.h.

#define SD_STD_PAL_N   (0x03)

Definition at line 143 of file adv7393_regs.h.

#define SOFT_RESET   (0x02)

Definition at line 114 of file adv7393_regs.h.

#define STD_MODE_1080I   (0x0D)

Definition at line 130 of file adv7393_regs.h.

#define STD_MODE_1080I_25   (0x0E)

Definition at line 131 of file adv7393_regs.h.

#define STD_MODE_1080P_24   (0x11)

Definition at line 132 of file adv7393_regs.h.

#define STD_MODE_1080P_25   (0x10)

Definition at line 133 of file adv7393_regs.h.

#define STD_MODE_1080P_30   (0x0F)

Definition at line 134 of file adv7393_regs.h.

#define STD_MODE_525P   (0x00)

Definition at line 135 of file adv7393_regs.h.

#define STD_MODE_625P   (0x03)

Definition at line 136 of file adv7393_regs.h.

#define STD_MODE_720P   (0x05)

Definition at line 126 of file adv7393_regs.h.

#define STD_MODE_720P_25   (0x08)

Definition at line 127 of file adv7393_regs.h.

#define STD_MODE_720P_30   (0x07)

Definition at line 128 of file adv7393_regs.h.

#define STD_MODE_720P_50   (0x06)

Definition at line 129 of file adv7393_regs.h.

#define STD_MODE_MASK   (0x1F)

Definition at line 124 of file adv7393_regs.h.

#define STD_MODE_SHIFT   (3)

Definition at line 125 of file adv7393_regs.h.

#define TEST_PATTERN_BLACK_BAR_EN   (0x04)

Definition at line 105 of file adv7393_regs.h.

#define YUV_OUTPUT_SELECT   (0x20)

Definition at line 106 of file adv7393_regs.h.