Lines Matching refs:CCI_REG8
26 #define GC0308_CHIP_ID CCI_REG8(0x000)
27 #define GC0308_HBLANK CCI_REG8(0x001)
28 #define GC0308_VBLANK CCI_REG8(0x002)
34 #define GC0308_VS_START_TIME CCI_REG8(0x00d) /* in rows */
35 #define GC0308_VS_END_TIME CCI_REG8(0x00e) /* in rows */
36 #define GC0308_VB_HB CCI_REG8(0x00f)
37 #define GC0308_RSH_WIDTH CCI_REG8(0x010)
38 #define GC0308_TSP_WIDTH CCI_REG8(0x011)
39 #define GC0308_SAMPLE_HOLD_DELAY CCI_REG8(0x012)
40 #define GC0308_ROW_TAIL_WIDTH CCI_REG8(0x013)
41 #define GC0308_CISCTL_MODE1 CCI_REG8(0x014)
42 #define GC0308_CISCTL_MODE2 CCI_REG8(0x015)
43 #define GC0308_CISCTL_MODE3 CCI_REG8(0x016)
44 #define GC0308_CISCTL_MODE4 CCI_REG8(0x017)
45 #define GC0308_ANALOG_MODE1 CCI_REG8(0x01a)
46 #define GC0308_ANALOG_MODE2 CCI_REG8(0x01b)
47 #define GC0308_HRST_RSG_V18 CCI_REG8(0x01c)
48 #define GC0308_VREF_V25 CCI_REG8(0x01d)
49 #define GC0308_ADC_R CCI_REG8(0x01e)
50 #define GC0308_PAD_DRV CCI_REG8(0x01f)
51 #define GC0308_SOFT_RESET CCI_REG8(0x0fe)
54 #define GC0308_BLOCK_EN1 CCI_REG8(0x020)
55 #define GC0308_BLOCK_EN2 CCI_REG8(0x021)
56 #define GC0308_AAAA_EN CCI_REG8(0x022)
57 #define GC0308_SPECIAL_EFFECT CCI_REG8(0x023)
58 #define GC0308_OUT_FORMAT CCI_REG8(0x024)
59 #define GC0308_OUT_EN CCI_REG8(0x025)
60 #define GC0308_SYNC_MODE CCI_REG8(0x026)
61 #define GC0308_CLK_DIV_MODE CCI_REG8(0x028)
62 #define GC0308_BYPASS_MODE CCI_REG8(0x029)
63 #define GC0308_CLK_GATING CCI_REG8(0x02a)
64 #define GC0308_DITHER_MODE CCI_REG8(0x02b)
65 #define GC0308_DITHER_BIT CCI_REG8(0x02c)
66 #define GC0308_DEBUG_MODE1 CCI_REG8(0x02d)
67 #define GC0308_DEBUG_MODE2 CCI_REG8(0x02e)
68 #define GC0308_DEBUG_MODE3 CCI_REG8(0x02f)
69 #define GC0308_CROP_WIN_MODE CCI_REG8(0x046)
70 #define GC0308_CROP_WIN_Y1 CCI_REG8(0x047)
71 #define GC0308_CROP_WIN_X1 CCI_REG8(0x048)
76 #define GC0308_BLK_MODE CCI_REG8(0x030)
77 #define GC0308_BLK_LIMIT_VAL CCI_REG8(0x031)
78 #define GC0308_GLOBAL_OFF CCI_REG8(0x032)
79 #define GC0308_CURRENT_R_OFF CCI_REG8(0x033)
80 #define GC0308_CURRENT_G_OFF CCI_REG8(0x034)
81 #define GC0308_CURRENT_B_OFF CCI_REG8(0x035)
82 #define GC0308_CURRENT_R_DARK_CURRENT CCI_REG8(0x036)
83 #define GC0308_CURRENT_G_DARK_CURRENT CCI_REG8(0x037)
84 #define GC0308_CURRENT_B_DARK_CURRENT CCI_REG8(0x038)
85 #define GC0308_EXP_RATE_DARKC CCI_REG8(0x039)
86 #define GC0308_OFF_SUBMODE CCI_REG8(0x03a)
87 #define GC0308_DARKC_SUBMODE CCI_REG8(0x03b)
88 #define GC0308_MANUAL_G1_OFF CCI_REG8(0x03c)
89 #define GC0308_MANUAL_R1_OFF CCI_REG8(0x03d)
90 #define GC0308_MANUAL_B2_OFF CCI_REG8(0x03e)
91 #define GC0308_MANUAL_G2_OFF CCI_REG8(0x03f)
94 #define GC0308_GLOBAL_GAIN CCI_REG8(0x050)
95 #define GC0308_AUTO_PREGAIN CCI_REG8(0x051)
96 #define GC0308_AUTO_POSTGAIN CCI_REG8(0x052)
97 #define GC0308_CHANNEL_GAIN_G1 CCI_REG8(0x053)
98 #define GC0308_CHANNEL_GAIN_R CCI_REG8(0x054)
99 #define GC0308_CHANNEL_GAIN_B CCI_REG8(0x055)
100 #define GC0308_CHANNEL_GAIN_G2 CCI_REG8(0x056)
101 #define GC0308_R_RATIO CCI_REG8(0x057)
102 #define GC0308_G_RATIO CCI_REG8(0x058)
103 #define GC0308_B_RATIO CCI_REG8(0x059)
104 #define GC0308_AWB_R_GAIN CCI_REG8(0x05a)
105 #define GC0308_AWB_G_GAIN CCI_REG8(0x05b)
106 #define GC0308_AWB_B_GAIN CCI_REG8(0x05c)
107 #define GC0308_LSC_DEC_LVL1 CCI_REG8(0x05d)
108 #define GC0308_LSC_DEC_LVL2 CCI_REG8(0x05e)
109 #define GC0308_LSC_DEC_LVL3 CCI_REG8(0x05f)
112 #define GC0308_DN_MODE_EN CCI_REG8(0x060)
113 #define GC0308_DN_MODE_RATIO CCI_REG8(0x061)
114 #define GC0308_DN_BILAT_B_BASE CCI_REG8(0x062)
115 #define GC0308_DN_B_INCR CCI_REG8(0x063)
116 #define GC0308_DN_BILAT_N_BASE CCI_REG8(0x064)
117 #define GC0308_DN_N_INCR CCI_REG8(0x065)
118 #define GC0308_DD_DARK_BRIGHT_TH CCI_REG8(0x066)
119 #define GC0308_DD_FLAT_TH CCI_REG8(0x067)
120 #define GC0308_DD_LIMIT CCI_REG8(0x068)
123 #define GC0308_ASDE_GAIN_TRESH CCI_REG8(0x069)
124 #define GC0308_ASDE_GAIN_MODE CCI_REG8(0x06a)
125 #define GC0308_ASDE_DN_SLOPE CCI_REG8(0x06b)
126 #define GC0308_ASDE_DD_BRIGHT CCI_REG8(0x06c)
127 #define GC0308_ASDE_DD_LIMIT CCI_REG8(0x06d)
128 #define GC0308_ASDE_AUTO_EE1 CCI_REG8(0x06e)
129 #define GC0308_ASDE_AUTO_EE2 CCI_REG8(0x06f)
130 #define GC0308_ASDE_AUTO_SAT_DEC_SLOPE CCI_REG8(0x070)
131 #define GC0308_ASDE_AUTO_SAT_LOW_LIMIT CCI_REG8(0x071)
134 #define GC0308_EEINTP_MODE_1 CCI_REG8(0x072)
135 #define GC0308_EEINTP_MODE_2 CCI_REG8(0x073)
136 #define GC0308_DIRECTION_TH1 CCI_REG8(0x074)
137 #define GC0308_DIRECTION_TH2 CCI_REG8(0x075)
138 #define GC0308_DIFF_HV_TI_TH CCI_REG8(0x076)
139 #define GC0308_EDGE12_EFFECT CCI_REG8(0x077)
140 #define GC0308_EDGE_POS_RATIO CCI_REG8(0x078)
141 #define GC0308_EDGE1_MINMAX CCI_REG8(0x079)
142 #define GC0308_EDGE2_MINMAX CCI_REG8(0x07a)
143 #define GC0308_EDGE12_TH CCI_REG8(0x07b)
144 #define GC0308_EDGE_MAX CCI_REG8(0x07c)
147 #define GC0308_ABB_MODE CCI_REG8(0x080)
148 #define GC0308_ABB_TARGET_AVGH CCI_REG8(0x081)
149 #define GC0308_ABB_TARGET_AVGL CCI_REG8(0x082)
150 #define GC0308_ABB_LIMIT_VAL CCI_REG8(0x083)
151 #define GC0308_ABB_SPEED CCI_REG8(0x084)
152 #define GC0308_CURR_R_BLACK_LVL CCI_REG8(0x085)
153 #define GC0308_CURR_G_BLACK_LVL CCI_REG8(0x086)
154 #define GC0308_CURR_B_BLACK_LVL CCI_REG8(0x087)
155 #define GC0308_CURR_R_BLACK_FACTOR CCI_REG8(0x088)
156 #define GC0308_CURR_G_BLACK_FACTOR CCI_REG8(0x089)
157 #define GC0308_CURR_B_BLACK_FACTOR CCI_REG8(0x08a)
160 #define GC0308_LSC_RED_B2 CCI_REG8(0x08b)
161 #define GC0308_LSC_GREEN_B2 CCI_REG8(0x08c)
162 #define GC0308_LSC_BLUE_B2 CCI_REG8(0x08d)
163 #define GC0308_LSC_RED_B4 CCI_REG8(0x08e)
164 #define GC0308_LSC_GREEN_B4 CCI_REG8(0x08f)
165 #define GC0308_LSC_BLUE_B4 CCI_REG8(0x090)
166 #define GC0308_LSC_ROW_CENTER CCI_REG8(0x091)
167 #define GC0308_LSC_COL_CENTER CCI_REG8(0x092)
170 #define GC0308_CC_MATRIX_C11 CCI_REG8(0x093)
171 #define GC0308_CC_MATRIX_C12 CCI_REG8(0x094)
172 #define GC0308_CC_MATRIX_C13 CCI_REG8(0x095)
173 #define GC0308_CC_MATRIX_C21 CCI_REG8(0x096)
174 #define GC0308_CC_MATRIX_C22 CCI_REG8(0x097)
175 #define GC0308_CC_MATRIX_C23 CCI_REG8(0x098)
176 #define GC0308_CC_MATRIX_C41 CCI_REG8(0x09c)
177 #define GC0308_CC_MATRIX_C42 CCI_REG8(0x09d)
178 #define GC0308_CC_MATRIX_C43 CCI_REG8(0x09e)
181 #define GC0308_GAMMA_OUT0 CCI_REG8(0x09f)
182 #define GC0308_GAMMA_OUT1 CCI_REG8(0x0a0)
183 #define GC0308_GAMMA_OUT2 CCI_REG8(0x0a1)
184 #define GC0308_GAMMA_OUT3 CCI_REG8(0x0a2)
185 #define GC0308_GAMMA_OUT4 CCI_REG8(0x0a3)
186 #define GC0308_GAMMA_OUT5 CCI_REG8(0x0a4)
187 #define GC0308_GAMMA_OUT6 CCI_REG8(0x0a5)
188 #define GC0308_GAMMA_OUT7 CCI_REG8(0x0a6)
189 #define GC0308_GAMMA_OUT8 CCI_REG8(0x0a7)
190 #define GC0308_GAMMA_OUT9 CCI_REG8(0x0a8)
191 #define GC0308_GAMMA_OUT10 CCI_REG8(0x0a9)
192 #define GC0308_GAMMA_OUT11 CCI_REG8(0x0aa)
193 #define GC0308_GAMMA_OUT12 CCI_REG8(0x0ab)
194 #define GC0308_GAMMA_OUT13 CCI_REG8(0x0ac)
195 #define GC0308_GAMMA_OUT14 CCI_REG8(0x0ad)
196 #define GC0308_GAMMA_OUT15 CCI_REG8(0x0ae)
197 #define GC0308_GAMMA_OUT16 CCI_REG8(0x0af)
200 #define GC0308_GLOBAL_SATURATION CCI_REG8(0x0b0)
201 #define GC0308_SATURATION_CB CCI_REG8(0x0b1)
202 #define GC0308_SATURATION_CR CCI_REG8(0x0b2)
203 #define GC0308_LUMA_CONTRAST CCI_REG8(0x0b3)
204 #define GC0308_CONTRAST_CENTER CCI_REG8(0x0b4)
205 #define GC0308_LUMA_OFFSET CCI_REG8(0x0b5)
206 #define GC0308_SKIN_CB_CENTER CCI_REG8(0x0b6)
207 #define GC0308_SKIN_CR_CENTER CCI_REG8(0x0b7)
208 #define GC0308_SKIN_RADIUS_SQUARE CCI_REG8(0x0b8)
209 #define GC0308_SKIN_BRIGHTNESS CCI_REG8(0x0b9)
210 #define GC0308_FIXED_CB CCI_REG8(0x0ba)
211 #define GC0308_FIXED_CR CCI_REG8(0x0bb)
212 #define GC0308_EDGE_DEC_SA CCI_REG8(0x0bd)
213 #define GC0308_AUTO_GRAY_MODE CCI_REG8(0x0be)
214 #define GC0308_SATURATION_SUB_STRENGTH CCI_REG8(0x0bf)
215 #define GC0308_Y_GAMMA_OUT0 CCI_REG8(0x0c0)
216 #define GC0308_Y_GAMMA_OUT1 CCI_REG8(0x0c1)
217 #define GC0308_Y_GAMMA_OUT2 CCI_REG8(0x0c2)
218 #define GC0308_Y_GAMMA_OUT3 CCI_REG8(0x0c3)
219 #define GC0308_Y_GAMMA_OUT4 CCI_REG8(0x0c4)
220 #define GC0308_Y_GAMMA_OUT5 CCI_REG8(0x0c5)
221 #define GC0308_Y_GAMMA_OUT6 CCI_REG8(0x0c6)
222 #define GC0308_Y_GAMMA_OUT7 CCI_REG8(0x0c7)
223 #define GC0308_Y_GAMMA_OUT8 CCI_REG8(0x0c8)
224 #define GC0308_Y_GAMMA_OUT9 CCI_REG8(0x0c9)
225 #define GC0308_Y_GAMMA_OUT10 CCI_REG8(0x0ca)
226 #define GC0308_Y_GAMMA_OUT11 CCI_REG8(0x0cb)
227 #define GC0308_Y_GAMMA_OUT12 CCI_REG8(0x0cc)
230 #define GC0308_AEC_MODE1 CCI_REG8(0x0d0)
231 #define GC0308_AEC_MODE2 CCI_REG8(0x0d1)
232 #define GC0308_AEC_MODE3 CCI_REG8(0x0d2)
233 #define GC0308_AEC_TARGET_Y CCI_REG8(0x0d3)
234 #define GC0308_Y_AVG CCI_REG8(0x0d4)
235 #define GC0308_AEC_HIGH_LOW_RANGE CCI_REG8(0x0d5)
236 #define GC0308_AEC_IGNORE CCI_REG8(0x0d6)
237 #define GC0308_AEC_LIMIT_HIGH_RANGE CCI_REG8(0x0d7)
238 #define GC0308_AEC_R_OFFSET CCI_REG8(0x0d9)
239 #define GC0308_AEC_GB_OFFSET CCI_REG8(0x0da)
240 #define GC0308_AEC_SLOW_MARGIN CCI_REG8(0x0db)
241 #define GC0308_AEC_FAST_MARGIN CCI_REG8(0x0dc)
242 #define GC0308_AEC_EXP_CHANGE_GAIN CCI_REG8(0x0dd)
243 #define GC0308_AEC_STEP2_SUNLIGHT CCI_REG8(0x0de)
244 #define GC0308_AEC_I_FRAMES CCI_REG8(0x0df)
245 #define GC0308_AEC_I_STOP_L_MARGIN CCI_REG8(0x0e0)
246 #define GC0308_AEC_I_STOP_MARGIN CCI_REG8(0x0e1)
252 #define GC0308_MAX_EXP_LVL CCI_REG8(0x0ec)
253 #define GC0308_EXP_MIN_L CCI_REG8(0x0ed)
254 #define GC0308_MAX_POST_DF_GAIN CCI_REG8(0x0ee)
255 #define GC0308_MAX_PRE_DG_GAIN CCI_REG8(0x0ef)
258 #define GC0308_ABS_RANGE_COMP CCI_REG8(0x0f0)
259 #define GC0308_ABS_STOP_MARGIN CCI_REG8(0x0f1)
260 #define GC0308_Y_S_COMP CCI_REG8(0x0f2)
261 #define GC0308_Y_STRETCH_LIMIT CCI_REG8(0x0f3)
262 #define GC0308_Y_TILT CCI_REG8(0x0f4)
263 #define GC0308_Y_STRETCH CCI_REG8(0x0f5)
266 #define GC0308_BIG_WIN_X0 CCI_REG8(0x0f7)
267 #define GC0308_BIG_WIN_Y0 CCI_REG8(0x0f8)
268 #define GC0308_BIG_WIN_X1 CCI_REG8(0x0f9)
269 #define GC0308_BIG_WIN_Y1 CCI_REG8(0x0fa)
270 #define GC0308_DIFF_Y_BIG_THD CCI_REG8(0x0fb)
273 #define GC0308_CLOSE_FRAME_EN CCI_REG8(0x150)
274 #define GC0308_CLOSE_FRAME_NUM1 CCI_REG8(0x151)
275 #define GC0308_CLOSE_FRAME_NUM2 CCI_REG8(0x152)
276 #define GC0308_BAYER_MODE CCI_REG8(0x153)
277 #define GC0308_SUBSAMPLE CCI_REG8(0x154)
278 #define GC0308_SUBMODE CCI_REG8(0x155)
279 #define GC0308_SUB_ROW_N1 CCI_REG8(0x156)
280 #define GC0308_SUB_ROW_N2 CCI_REG8(0x157)
281 #define GC0308_SUB_COL_N1 CCI_REG8(0x158)
282 #define GC0308_SUB_COL_N2 CCI_REG8(0x159)
285 #define GC0308_AWB_RGB_HIGH_LOW CCI_REG8(0x100)
286 #define GC0308_AWB_Y_TO_C_DIFF2 CCI_REG8(0x102)
287 #define GC0308_AWB_C_MAX CCI_REG8(0x104)
288 #define GC0308_AWB_C_INTER CCI_REG8(0x105)
289 #define GC0308_AWB_C_INTER2 CCI_REG8(0x106)
290 #define GC0308_AWB_C_MAX_BIG CCI_REG8(0x108)
291 #define GC0308_AWB_Y_HIGH CCI_REG8(0x109)
292 #define GC0308_AWB_NUMBER_LIMIT CCI_REG8(0x10a)
293 #define GC0308_KWIN_RATIO CCI_REG8(0x10b)
294 #define GC0308_KWIN_THD CCI_REG8(0x10c)
295 #define GC0308_LIGHT_GAIN_RANGE CCI_REG8(0x10d)
296 #define GC0308_SMALL_WIN_WIDTH_STEP CCI_REG8(0x10e)
297 #define GC0308_SMALL_WIN_HEIGHT_STEP CCI_REG8(0x10f)
298 #define GC0308_AWB_YELLOW_TH CCI_REG8(0x110)
299 #define GC0308_AWB_MODE CCI_REG8(0x111)
300 #define GC0308_AWB_ADJUST_SPEED CCI_REG8(0x112)
301 #define GC0308_AWB_EVERY_N CCI_REG8(0x113)
302 #define GC0308_R_AVG_USE CCI_REG8(0x1d0)
303 #define GC0308_G_AVG_USE CCI_REG8(0x1d1)
304 #define GC0308_B_AVG_USE CCI_REG8(0x1d2)
507 {CCI_REG8(0x018), 0x44}, /* undocumented */
508 {CCI_REG8(0x019), 0x44}, /* undocumented */
663 {CCI_REG8(0x114), 0x44}, /* AWB set1 */
664 {CCI_REG8(0x115), 0x44}, /* AWB set1 */
665 {CCI_REG8(0x116), 0xc2}, /* AWB set1 */
666 {CCI_REG8(0x117), 0xa8}, /* AWB set1 */
667 {CCI_REG8(0x118), 0x18}, /* AWB set1 */
668 {CCI_REG8(0x119), 0x50}, /* AWB set1 */
669 {CCI_REG8(0x11a), 0xd8}, /* AWB set1 */
670 {CCI_REG8(0x11b), 0xf5}, /* AWB set1 */
671 {CCI_REG8(0x170), 0x40}, /* AWB set2 */
672 {CCI_REG8(0x171), 0x58}, /* AWB set2 */
673 {CCI_REG8(0x172), 0x30}, /* AWB set2 */
674 {CCI_REG8(0x173), 0x48}, /* AWB set2 */
675 {CCI_REG8(0x174), 0x20}, /* AWB set2 */
676 {CCI_REG8(0x175), 0x60}, /* AWB set2 */
677 {CCI_REG8(0x177), 0x20}, /* AWB set2 */
678 {CCI_REG8(0x178), 0x32}, /* AWB set2 */
679 {CCI_REG8(0x130), 0x03}, /* undocumented */
680 {CCI_REG8(0x131), 0x40}, /* undocumented */
681 {CCI_REG8(0x132), 0x10}, /* undocumented */
682 {CCI_REG8(0x133), 0xe0}, /* undocumented */
683 {CCI_REG8(0x134), 0xe0}, /* undocumented */
684 {CCI_REG8(0x135), 0x00}, /* undocumented */
685 {CCI_REG8(0x136), 0x80}, /* undocumented */
686 {CCI_REG8(0x137), 0x00}, /* undocumented */
687 {CCI_REG8(0x138), 0x04}, /* undocumented */
688 {CCI_REG8(0x139), 0x09}, /* undocumented */
689 {CCI_REG8(0x13a), 0x12}, /* undocumented */
690 {CCI_REG8(0x13b), 0x1c}, /* undocumented */
691 {CCI_REG8(0x13c), 0x28}, /* undocumented */
692 {CCI_REG8(0x13d), 0x31}, /* undocumented */
693 {CCI_REG8(0x13e), 0x44}, /* undocumented */
694 {CCI_REG8(0x13f), 0x57}, /* undocumented */
695 {CCI_REG8(0x140), 0x6c}, /* undocumented */
696 {CCI_REG8(0x141), 0x81}, /* undocumented */
697 {CCI_REG8(0x142), 0x94}, /* undocumented */
698 {CCI_REG8(0x143), 0xa7}, /* undocumented */
699 {CCI_REG8(0x144), 0xb8}, /* undocumented */
700 {CCI_REG8(0x145), 0xd6}, /* undocumented */
701 {CCI_REG8(0x146), 0xee}, /* undocumented */
702 {CCI_REG8(0x147), 0x0d}, /* undocumented */
703 {CCI_REG8(0x162), 0xf7}, /* undocumented */
704 {CCI_REG8(0x163), 0x68}, /* undocumented */
705 {CCI_REG8(0x164), 0xd3}, /* undocumented */
706 {CCI_REG8(0x165), 0xd3}, /* undocumented */
707 {CCI_REG8(0x166), 0x60}, /* undocumented */
815 return cci_read(gc0308->regmap, CCI_REG8(reg->reg), ®->val, NULL); in gc0308_g_register()
823 return cci_write(gc0308->regmap, CCI_REG8(reg->reg), reg->val, NULL); in gc0308_s_register()