Lines Matching +full:0 +full:x4010
27 #define OG01A1B_REG_CHIP_ID 0x300a
28 #define OG01A1B_CHIP_ID 0x470141
30 #define OG01A1B_REG_MODE_SELECT 0x0100
31 #define OG01A1B_MODE_STANDBY 0x00
32 #define OG01A1B_MODE_STREAMING 0x01
35 #define OG01A1B_REG_VTS 0x380e
36 #define OG01A1B_VTS_120FPS 0x0498
37 #define OG01A1B_VTS_120FPS_MIN 0x0498
38 #define OG01A1B_VTS_MAX 0x7fff
41 #define OG01A1B_REG_HTS 0x380c
44 #define OG01A1B_REG_EXPOSURE 0x3501
50 #define OG01A1B_REG_ANALOG_GAIN 0x3508
56 #define OG01A1B_REG_DIG_GAIN 0x350a
63 #define OG01A1B_REG_GROUP_ACCESS 0x3208
64 #define OG01A1B_GROUP_HOLD_START 0x0
65 #define OG01A1B_GROUP_HOLD_END 0x10
66 #define OG01A1B_GROUP_HOLD_LAUNCH 0xa0
69 #define OG01A1B_REG_TEST_PATTERN 0x5100
117 {0x0103, 0x01},
118 {0x0303, 0x02},
119 {0x0304, 0x00},
120 {0x0305, 0xd2},
121 {0x0323, 0x02},
122 {0x0324, 0x01},
123 {0x0325, 0x77},
127 {0x0300, 0x0a},
128 {0x0301, 0x29},
129 {0x0302, 0x31},
130 {0x0303, 0x02},
131 {0x0304, 0x00},
132 {0x0305, 0xd2},
133 {0x0306, 0x00},
134 {0x0307, 0x01},
135 {0x0308, 0x02},
136 {0x0309, 0x00},
137 {0x0310, 0x00},
138 {0x0311, 0x00},
139 {0x0312, 0x07},
140 {0x0313, 0x00},
141 {0x0314, 0x00},
142 {0x0315, 0x00},
143 {0x0320, 0x02},
144 {0x0321, 0x01},
145 {0x0322, 0x01},
146 {0x0323, 0x02},
147 {0x0324, 0x01},
148 {0x0325, 0x77},
149 {0x0326, 0xce},
150 {0x0327, 0x04},
151 {0x0329, 0x02},
152 {0x032a, 0x04},
153 {0x032b, 0x04},
154 {0x032c, 0x02},
155 {0x032d, 0x01},
156 {0x032e, 0x00},
157 {0x300d, 0x02},
158 {0x300e, 0x04},
159 {0x3021, 0x08},
160 {0x301e, 0x03},
161 {0x3103, 0x00},
162 {0x3106, 0x08},
163 {0x3107, 0x40},
164 {0x3216, 0x01},
165 {0x3217, 0x00},
166 {0x3218, 0xc0},
167 {0x3219, 0x55},
168 {0x3500, 0x00},
169 {0x3501, 0x04},
170 {0x3502, 0x8a},
171 {0x3506, 0x01},
172 {0x3507, 0x72},
173 {0x3508, 0x01},
174 {0x3509, 0x00},
175 {0x350a, 0x01},
176 {0x350b, 0x00},
177 {0x350c, 0x00},
178 {0x3541, 0x00},
179 {0x3542, 0x40},
180 {0x3605, 0xe0},
181 {0x3606, 0x41},
182 {0x3614, 0x20},
183 {0x3620, 0x0b},
184 {0x3630, 0x07},
185 {0x3636, 0xa0},
186 {0x3637, 0xf9},
187 {0x3638, 0x09},
188 {0x3639, 0x38},
189 {0x363f, 0x09},
190 {0x3640, 0x17},
191 {0x3662, 0x04},
192 {0x3665, 0x80},
193 {0x3670, 0x68},
194 {0x3674, 0x00},
195 {0x3677, 0x3f},
196 {0x3679, 0x00},
197 {0x369f, 0x19},
198 {0x36a0, 0x03},
199 {0x36a2, 0x19},
200 {0x36a3, 0x03},
201 {0x370d, 0x66},
202 {0x370f, 0x00},
203 {0x3710, 0x03},
204 {0x3715, 0x03},
205 {0x3716, 0x03},
206 {0x3717, 0x06},
207 {0x3733, 0x00},
208 {0x3778, 0x00},
209 {0x37a8, 0x0f},
210 {0x37a9, 0x01},
211 {0x37aa, 0x07},
212 {0x37bd, 0x1c},
213 {0x37c1, 0x2f},
214 {0x37c3, 0x09},
215 {0x37c8, 0x1d},
216 {0x37ca, 0x30},
217 {0x37df, 0x00},
218 {0x3800, 0x00},
219 {0x3801, 0x00},
220 {0x3802, 0x00},
221 {0x3803, 0x00},
222 {0x3804, 0x05},
223 {0x3805, 0x0f},
224 {0x3806, 0x04},
225 {0x3807, 0x0f},
226 {0x3808, 0x05},
227 {0x3809, 0x00},
228 {0x380a, 0x04},
229 {0x380b, 0x00},
230 {0x380c, 0x03},
231 {0x380d, 0x50},
232 {0x380e, 0x04},
233 {0x380f, 0x98},
234 {0x3810, 0x00},
235 {0x3811, 0x08},
236 {0x3812, 0x00},
237 {0x3813, 0x08},
238 {0x3814, 0x11},
239 {0x3815, 0x11},
240 {0x3820, 0x40},
241 {0x3821, 0x04},
242 {0x3826, 0x00},
243 {0x3827, 0x00},
244 {0x382a, 0x08},
245 {0x382b, 0x52},
246 {0x382d, 0xba},
247 {0x383d, 0x14},
248 {0x384a, 0xa2},
249 {0x3866, 0x0e},
250 {0x3867, 0x07},
251 {0x3884, 0x00},
252 {0x3885, 0x08},
253 {0x3893, 0x68},
254 {0x3894, 0x2a},
255 {0x3898, 0x00},
256 {0x3899, 0x31},
257 {0x389a, 0x04},
258 {0x389b, 0x00},
259 {0x389c, 0x0b},
260 {0x389d, 0xad},
261 {0x389f, 0x08},
262 {0x38a0, 0x00},
263 {0x38a1, 0x00},
264 {0x38a8, 0x70},
265 {0x38ac, 0xea},
266 {0x38b2, 0x00},
267 {0x38b3, 0x08},
268 {0x38bc, 0x20},
269 {0x38c4, 0x0c},
270 {0x38c5, 0x3a},
271 {0x38c7, 0x3a},
272 {0x38e1, 0xc0},
273 {0x38ec, 0x3c},
274 {0x38f0, 0x09},
275 {0x38f1, 0x6f},
276 {0x38fe, 0x3c},
277 {0x391e, 0x00},
278 {0x391f, 0x00},
279 {0x3920, 0xa5},
280 {0x3921, 0x00},
281 {0x3922, 0x00},
282 {0x3923, 0x00},
283 {0x3924, 0x05},
284 {0x3925, 0x00},
285 {0x3926, 0x00},
286 {0x3927, 0x00},
287 {0x3928, 0x1a},
288 {0x3929, 0x01},
289 {0x392a, 0xb4},
290 {0x392b, 0x00},
291 {0x392c, 0x10},
292 {0x392f, 0x40},
293 {0x4000, 0xcf},
294 {0x4003, 0x40},
295 {0x4008, 0x00},
296 {0x4009, 0x07},
297 {0x400a, 0x02},
298 {0x400b, 0x54},
299 {0x400c, 0x00},
300 {0x400d, 0x07},
301 {0x4010, 0xc0},
302 {0x4012, 0x02},
303 {0x4014, 0x04},
304 {0x4015, 0x04},
305 {0x4017, 0x02},
306 {0x4042, 0x01},
307 {0x4306, 0x04},
308 {0x4307, 0x12},
309 {0x4509, 0x00},
310 {0x450b, 0x83},
311 {0x4604, 0x68},
312 {0x4608, 0x0a},
313 {0x4700, 0x06},
314 {0x4800, 0x64},
315 {0x481b, 0x3c},
316 {0x4825, 0x32},
317 {0x4833, 0x18},
318 {0x4837, 0x0f},
319 {0x4850, 0x40},
320 {0x4860, 0x00},
321 {0x4861, 0xec},
322 {0x4864, 0x00},
323 {0x4883, 0x00},
324 {0x4888, 0x90},
325 {0x4889, 0x05},
326 {0x488b, 0x04},
327 {0x4f00, 0x04},
328 {0x4f10, 0x04},
329 {0x4f21, 0x01},
330 {0x4f22, 0x40},
331 {0x4f23, 0x44},
332 {0x4f24, 0x51},
333 {0x4f25, 0x41},
334 {0x5000, 0x1f},
335 {0x500a, 0x00},
336 {0x5100, 0x00},
337 {0x5111, 0x20},
338 {0x3020, 0x20},
339 {0x3613, 0x03},
340 {0x38c9, 0x02},
341 {0x5304, 0x01},
342 {0x3620, 0x08},
343 {0x3639, 0x58},
344 {0x363a, 0x10},
345 {0x3674, 0x04},
346 {0x3780, 0xff},
347 {0x3781, 0xff},
348 {0x3782, 0x00},
349 {0x3783, 0x01},
350 {0x3798, 0xa3},
351 {0x37aa, 0x10},
352 {0x38a8, 0xf0},
353 {0x38c4, 0x09},
354 {0x38c5, 0xb0},
355 {0x38df, 0x80},
356 {0x38ff, 0x05},
357 {0x4010, 0xf1},
358 {0x4011, 0x70},
359 {0x3667, 0x80},
360 {0x4d00, 0x4a},
361 {0x4d01, 0x18},
362 {0x4d02, 0xbb},
363 {0x4d03, 0xde},
364 {0x4d04, 0x93},
365 {0x4d05, 0xff},
366 {0x4d09, 0x0a},
367 {0x37aa, 0x16},
368 {0x3606, 0x42},
369 {0x3605, 0x00},
370 {0x36a2, 0x17},
371 {0x300d, 0x0a},
372 {0x4d00, 0x4d},
373 {0x4d01, 0x95},
374 {0x3d8C, 0x70},
375 {0x3d8d, 0xE9},
376 {0x5300, 0x00},
377 {0x5301, 0x10},
378 {0x5302, 0x00},
379 {0x5303, 0xE3},
380 {0x3d88, 0x00},
381 {0x3d89, 0x10},
382 {0x3d8a, 0x00},
383 {0x3d8b, 0xE3},
384 {0x4f22, 0x00},
471 u8 data_buf[4] = {0}; in og01a1b_read_reg()
478 msgs[0].addr = client->addr; in og01a1b_read_reg()
479 msgs[0].flags = 0; in og01a1b_read_reg()
480 msgs[0].len = sizeof(addr_buf); in og01a1b_read_reg()
481 msgs[0].buf = addr_buf; in og01a1b_read_reg()
493 return 0; in og01a1b_read_reg()
509 return 0; in og01a1b_write_reg()
519 for (i = 0; i < r_list->num_of_regs; i++) { in og01a1b_write_reg_list()
524 "failed to write reg 0x%4.4x. error = %d", in og01a1b_write_reg_list()
530 return 0; in og01a1b_write_reg_list()
549 int ret = 0; in og01a1b_set_ctrl()
564 return 0; in og01a1b_set_ctrl()
625 0, link_freq_menu_items); in og01a1b_init_controls()
630 V4L2_CID_PIXEL_RATE, 0, in og01a1b_init_controls()
670 0, 0, og01a1b_test_pattern_menu); in og01a1b_init_controls()
677 return 0; in og01a1b_init_controls()
723 return 0; in og01a1b_start_streaming()
739 int ret = 0; in og01a1b_set_stream()
751 enable = 0; in og01a1b_set_stream()
803 return 0; in og01a1b_set_format()
821 return 0; in og01a1b_get_format()
828 if (code->index > 0) in og01a1b_enum_mbus_code()
833 return 0; in og01a1b_enum_mbus_code()
851 return 0; in og01a1b_enum_frame_size()
859 og01a1b_update_pad_format(&supported_modes[0], in og01a1b_open()
860 v4l2_subdev_state_get_format(fh->state, 0)); in og01a1b_open()
863 return 0; in og01a1b_open()
907 return 0; in og01a1b_identify_module()
963 for (i = 0; i < ARRAY_SIZE(link_freq_menu_items); i++) { in og01a1b_check_hwcfg()
964 for (j = 0; j < bus_cfg.nr_of_link_frequencies; j++) { in og01a1b_check_hwcfg()
1014 gpiod_set_value_cansleep(og01a1b->reset_gpio, 0); in og01a1b_power_on()
1021 return 0; in og01a1b_power_on()
1058 return 0; in og01a1b_power_off()
1153 og01a1b->cur_mode = &supported_modes[0]; in og01a1b_probe()
1172 if (ret < 0) { in og01a1b_probe()
1183 return 0; in og01a1b_probe()