Lines Matching +full:0 +full:x4500
17 #define OV13858_REG_MODE_SELECT 0x0100
18 #define OV13858_MODE_STANDBY 0x00
19 #define OV13858_MODE_STREAMING 0x01
21 #define OV13858_REG_SOFTWARE_RST 0x0103
22 #define OV13858_SOFTWARE_RST 0x01
25 #define OV13858_REG_PLL1_CTRL_0 0x0300
26 #define OV13858_REG_PLL1_CTRL_1 0x0301
27 #define OV13858_REG_PLL1_CTRL_2 0x0302
28 #define OV13858_REG_PLL1_CTRL_3 0x0303
29 #define OV13858_REG_PLL1_CTRL_4 0x0304
30 #define OV13858_REG_PLL1_CTRL_5 0x0305
33 #define OV13858_REG_PLL2_CTRL_B 0x030b
34 #define OV13858_REG_PLL2_CTRL_C 0x030c
35 #define OV13858_REG_PLL2_CTRL_D 0x030d
36 #define OV13858_REG_PLL2_CTRL_E 0x030e
37 #define OV13858_REG_PLL2_CTRL_F 0x030f
38 #define OV13858_REG_PLL2_CTRL_12 0x0312
39 #define OV13858_REG_MIPI_SC_CTRL0 0x3016
40 #define OV13858_REG_MIPI_SC_CTRL1 0x3022
43 #define OV13858_REG_CHIP_ID 0x300a
44 #define OV13858_CHIP_ID 0x00d855
47 #define OV13858_REG_VTS 0x380e
48 #define OV13858_VTS_30FPS 0x0c8e /* 30 fps */
49 #define OV13858_VTS_60FPS 0x0648 /* 60 fps */
50 #define OV13858_VTS_MAX 0x7fff
57 #define OV13858_REG_EXPOSURE 0x3500
60 #define OV13858_EXPOSURE_DEFAULT 0x640
63 #define OV13858_REG_ANALOG_GAIN 0x3508
64 #define OV13858_ANA_GAIN_MIN 0
65 #define OV13858_ANA_GAIN_MAX 0x1fff
67 #define OV13858_ANA_GAIN_DEFAULT 0x80
70 #define OV13858_REG_B_MWB_GAIN 0x5100
71 #define OV13858_REG_G_MWB_GAIN 0x5102
72 #define OV13858_REG_R_MWB_GAIN 0x5104
73 #define OV13858_DGTL_GAIN_MIN 0
79 #define OV13858_REG_TEST_PATTERN 0x4503
81 #define OV13858_TEST_PATTERN_MASK 0xfc
124 {OV13858_REG_PLL1_CTRL_0, 0x07},
125 {OV13858_REG_PLL1_CTRL_1, 0x01},
126 {OV13858_REG_PLL1_CTRL_2, 0xc2},
127 {OV13858_REG_PLL1_CTRL_3, 0x00},
128 {OV13858_REG_PLL1_CTRL_4, 0x00},
129 {OV13858_REG_PLL1_CTRL_5, 0x01},
132 {OV13858_REG_PLL2_CTRL_B, 0x05},
133 {OV13858_REG_PLL2_CTRL_C, 0x01},
134 {OV13858_REG_PLL2_CTRL_D, 0x0e},
135 {OV13858_REG_PLL2_CTRL_E, 0x05},
136 {OV13858_REG_PLL2_CTRL_F, 0x01},
137 {OV13858_REG_PLL2_CTRL_12, 0x01},
138 {OV13858_REG_MIPI_SC_CTRL0, 0x72},
139 {OV13858_REG_MIPI_SC_CTRL1, 0x01},
148 {OV13858_REG_PLL1_CTRL_0, 0x07},
149 {OV13858_REG_PLL1_CTRL_1, 0x01},
150 {OV13858_REG_PLL1_CTRL_2, 0xc2},
151 {OV13858_REG_PLL1_CTRL_3, 0x01},
152 {OV13858_REG_PLL1_CTRL_4, 0x00},
153 {OV13858_REG_PLL1_CTRL_5, 0x01},
156 {OV13858_REG_PLL2_CTRL_B, 0x05},
157 {OV13858_REG_PLL2_CTRL_C, 0x01},
158 {OV13858_REG_PLL2_CTRL_D, 0x0e},
159 {OV13858_REG_PLL2_CTRL_E, 0x05},
160 {OV13858_REG_PLL2_CTRL_F, 0x01},
161 {OV13858_REG_PLL2_CTRL_12, 0x01},
162 {OV13858_REG_MIPI_SC_CTRL0, 0x72},
163 {OV13858_REG_MIPI_SC_CTRL1, 0x01},
167 {0x3013, 0x32},
168 {0x301b, 0xf0},
169 {0x301f, 0xd0},
170 {0x3106, 0x15},
171 {0x3107, 0x23},
172 {0x350a, 0x00},
173 {0x350e, 0x00},
174 {0x3510, 0x00},
175 {0x3511, 0x02},
176 {0x3512, 0x00},
177 {0x3600, 0x2b},
178 {0x3601, 0x52},
179 {0x3602, 0x60},
180 {0x3612, 0x05},
181 {0x3613, 0xa4},
182 {0x3620, 0x80},
183 {0x3621, 0x10},
184 {0x3622, 0x30},
185 {0x3624, 0x1c},
186 {0x3640, 0x10},
187 {0x3641, 0x70},
188 {0x3660, 0x04},
189 {0x3661, 0x80},
190 {0x3662, 0x12},
191 {0x3664, 0x73},
192 {0x3665, 0xa7},
193 {0x366e, 0xff},
194 {0x366f, 0xf4},
195 {0x3674, 0x00},
196 {0x3679, 0x0c},
197 {0x367f, 0x01},
198 {0x3680, 0x0c},
199 {0x3681, 0x50},
200 {0x3682, 0x50},
201 {0x3683, 0xa9},
202 {0x3684, 0xa9},
203 {0x3709, 0x5f},
204 {0x3714, 0x24},
205 {0x371a, 0x3e},
206 {0x3737, 0x04},
207 {0x3738, 0xcc},
208 {0x3739, 0x12},
209 {0x373d, 0x26},
210 {0x3764, 0x20},
211 {0x3765, 0x20},
212 {0x37a1, 0x36},
213 {0x37a8, 0x3b},
214 {0x37ab, 0x31},
215 {0x37c2, 0x04},
216 {0x37c3, 0xf1},
217 {0x37c5, 0x00},
218 {0x37d8, 0x03},
219 {0x37d9, 0x0c},
220 {0x37da, 0xc2},
221 {0x37dc, 0x02},
222 {0x37e0, 0x00},
223 {0x37e1, 0x0a},
224 {0x37e2, 0x14},
225 {0x37e3, 0x04},
226 {0x37e4, 0x2a},
227 {0x37e5, 0x03},
228 {0x37e6, 0x04},
229 {0x3800, 0x00},
230 {0x3801, 0x00},
231 {0x3802, 0x00},
232 {0x3803, 0x08},
233 {0x3804, 0x10},
234 {0x3805, 0x9f},
235 {0x3806, 0x0c},
236 {0x3807, 0x57},
237 {0x3808, 0x10},
238 {0x3809, 0x80},
239 {0x380a, 0x0c},
240 {0x380b, 0x40},
241 {0x380c, 0x04},
242 {0x380d, 0x62},
243 {0x380e, 0x0c},
244 {0x380f, 0x8e},
245 {0x3811, 0x04},
246 {0x3813, 0x05},
247 {0x3814, 0x01},
248 {0x3815, 0x01},
249 {0x3816, 0x01},
250 {0x3817, 0x01},
251 {0x3820, 0xa8},
252 {0x3821, 0x00},
253 {0x3822, 0xc2},
254 {0x3823, 0x18},
255 {0x3826, 0x11},
256 {0x3827, 0x1c},
257 {0x3829, 0x03},
258 {0x3832, 0x00},
259 {0x3c80, 0x00},
260 {0x3c87, 0x01},
261 {0x3c8c, 0x19},
262 {0x3c8d, 0x1c},
263 {0x3c90, 0x00},
264 {0x3c91, 0x00},
265 {0x3c92, 0x00},
266 {0x3c93, 0x00},
267 {0x3c94, 0x40},
268 {0x3c95, 0x54},
269 {0x3c96, 0x34},
270 {0x3c97, 0x04},
271 {0x3c98, 0x00},
272 {0x3d8c, 0x73},
273 {0x3d8d, 0xc0},
274 {0x3f00, 0x0b},
275 {0x3f03, 0x00},
276 {0x4001, 0xe0},
277 {0x4008, 0x00},
278 {0x4009, 0x0f},
279 {0x4011, 0xf0},
280 {0x4017, 0x08},
281 {0x4050, 0x04},
282 {0x4051, 0x0b},
283 {0x4052, 0x00},
284 {0x4053, 0x80},
285 {0x4054, 0x00},
286 {0x4055, 0x80},
287 {0x4056, 0x00},
288 {0x4057, 0x80},
289 {0x4058, 0x00},
290 {0x4059, 0x80},
291 {0x405e, 0x20},
292 {0x4500, 0x07},
293 {0x4503, 0x00},
294 {0x450a, 0x04},
295 {0x4809, 0x04},
296 {0x480c, 0x12},
297 {0x481f, 0x30},
298 {0x4833, 0x10},
299 {0x4837, 0x0e},
300 {0x4902, 0x01},
301 {0x4d00, 0x03},
302 {0x4d01, 0xc9},
303 {0x4d02, 0xbc},
304 {0x4d03, 0xd7},
305 {0x4d04, 0xf0},
306 {0x4d05, 0xa2},
307 {0x5000, 0xfd},
308 {0x5001, 0x01},
309 {0x5040, 0x39},
310 {0x5041, 0x10},
311 {0x5042, 0x10},
312 {0x5043, 0x84},
313 {0x5044, 0x62},
314 {0x5180, 0x00},
315 {0x5181, 0x10},
316 {0x5182, 0x02},
317 {0x5183, 0x0f},
318 {0x5200, 0x1b},
319 {0x520b, 0x07},
320 {0x520c, 0x0f},
321 {0x5300, 0x04},
322 {0x5301, 0x0c},
323 {0x5302, 0x0c},
324 {0x5303, 0x0f},
325 {0x5304, 0x00},
326 {0x5305, 0x70},
327 {0x5306, 0x00},
328 {0x5307, 0x80},
329 {0x5308, 0x00},
330 {0x5309, 0xa5},
331 {0x530a, 0x00},
332 {0x530b, 0xd3},
333 {0x530c, 0x00},
334 {0x530d, 0xf0},
335 {0x530e, 0x01},
336 {0x530f, 0x10},
337 {0x5310, 0x01},
338 {0x5311, 0x20},
339 {0x5312, 0x01},
340 {0x5313, 0x20},
341 {0x5314, 0x01},
342 {0x5315, 0x20},
343 {0x5316, 0x08},
344 {0x5317, 0x08},
345 {0x5318, 0x10},
346 {0x5319, 0x88},
347 {0x531a, 0x88},
348 {0x531b, 0xa9},
349 {0x531c, 0xaa},
350 {0x531d, 0x0a},
351 {0x5405, 0x02},
352 {0x5406, 0x67},
353 {0x5407, 0x01},
354 {0x5408, 0x4a},
358 {0x3013, 0x32},
359 {0x301b, 0xf0},
360 {0x301f, 0xd0},
361 {0x3106, 0x15},
362 {0x3107, 0x23},
363 {0x350a, 0x00},
364 {0x350e, 0x00},
365 {0x3510, 0x00},
366 {0x3511, 0x02},
367 {0x3512, 0x00},
368 {0x3600, 0x2b},
369 {0x3601, 0x52},
370 {0x3602, 0x60},
371 {0x3612, 0x05},
372 {0x3613, 0xa4},
373 {0x3620, 0x80},
374 {0x3621, 0x10},
375 {0x3622, 0x30},
376 {0x3624, 0x1c},
377 {0x3640, 0x10},
378 {0x3641, 0x70},
379 {0x3660, 0x04},
380 {0x3661, 0x80},
381 {0x3662, 0x10},
382 {0x3664, 0x73},
383 {0x3665, 0xa7},
384 {0x366e, 0xff},
385 {0x366f, 0xf4},
386 {0x3674, 0x00},
387 {0x3679, 0x0c},
388 {0x367f, 0x01},
389 {0x3680, 0x0c},
390 {0x3681, 0x50},
391 {0x3682, 0x50},
392 {0x3683, 0xa9},
393 {0x3684, 0xa9},
394 {0x3709, 0x5f},
395 {0x3714, 0x28},
396 {0x371a, 0x3e},
397 {0x3737, 0x08},
398 {0x3738, 0xcc},
399 {0x3739, 0x20},
400 {0x373d, 0x26},
401 {0x3764, 0x20},
402 {0x3765, 0x20},
403 {0x37a1, 0x36},
404 {0x37a8, 0x3b},
405 {0x37ab, 0x31},
406 {0x37c2, 0x14},
407 {0x37c3, 0xf1},
408 {0x37c5, 0x00},
409 {0x37d8, 0x03},
410 {0x37d9, 0x0c},
411 {0x37da, 0xc2},
412 {0x37dc, 0x02},
413 {0x37e0, 0x00},
414 {0x37e1, 0x0a},
415 {0x37e2, 0x14},
416 {0x37e3, 0x08},
417 {0x37e4, 0x38},
418 {0x37e5, 0x03},
419 {0x37e6, 0x08},
420 {0x3800, 0x00},
421 {0x3801, 0x00},
422 {0x3802, 0x00},
423 {0x3803, 0x00},
424 {0x3804, 0x10},
425 {0x3805, 0x9f},
426 {0x3806, 0x0c},
427 {0x3807, 0x5f},
428 {0x3808, 0x08},
429 {0x3809, 0x40},
430 {0x380a, 0x06},
431 {0x380b, 0x20},
432 {0x380c, 0x04},
433 {0x380d, 0x62},
434 {0x380e, 0x0c},
435 {0x380f, 0x8e},
436 {0x3811, 0x04},
437 {0x3813, 0x05},
438 {0x3814, 0x03},
439 {0x3815, 0x01},
440 {0x3816, 0x03},
441 {0x3817, 0x01},
442 {0x3820, 0xab},
443 {0x3821, 0x00},
444 {0x3822, 0xc2},
445 {0x3823, 0x18},
446 {0x3826, 0x04},
447 {0x3827, 0x90},
448 {0x3829, 0x07},
449 {0x3832, 0x00},
450 {0x3c80, 0x00},
451 {0x3c87, 0x01},
452 {0x3c8c, 0x19},
453 {0x3c8d, 0x1c},
454 {0x3c90, 0x00},
455 {0x3c91, 0x00},
456 {0x3c92, 0x00},
457 {0x3c93, 0x00},
458 {0x3c94, 0x40},
459 {0x3c95, 0x54},
460 {0x3c96, 0x34},
461 {0x3c97, 0x04},
462 {0x3c98, 0x00},
463 {0x3d8c, 0x73},
464 {0x3d8d, 0xc0},
465 {0x3f00, 0x0b},
466 {0x3f03, 0x00},
467 {0x4001, 0xe0},
468 {0x4008, 0x00},
469 {0x4009, 0x0d},
470 {0x4011, 0xf0},
471 {0x4017, 0x08},
472 {0x4050, 0x04},
473 {0x4051, 0x0b},
474 {0x4052, 0x00},
475 {0x4053, 0x80},
476 {0x4054, 0x00},
477 {0x4055, 0x80},
478 {0x4056, 0x00},
479 {0x4057, 0x80},
480 {0x4058, 0x00},
481 {0x4059, 0x80},
482 {0x405e, 0x20},
483 {0x4500, 0x07},
484 {0x4503, 0x00},
485 {0x450a, 0x04},
486 {0x4809, 0x04},
487 {0x480c, 0x12},
488 {0x481f, 0x30},
489 {0x4833, 0x10},
490 {0x4837, 0x1c},
491 {0x4902, 0x01},
492 {0x4d00, 0x03},
493 {0x4d01, 0xc9},
494 {0x4d02, 0xbc},
495 {0x4d03, 0xd7},
496 {0x4d04, 0xf0},
497 {0x4d05, 0xa2},
498 {0x5000, 0xfd},
499 {0x5001, 0x01},
500 {0x5040, 0x39},
501 {0x5041, 0x10},
502 {0x5042, 0x10},
503 {0x5043, 0x84},
504 {0x5044, 0x62},
505 {0x5180, 0x00},
506 {0x5181, 0x10},
507 {0x5182, 0x02},
508 {0x5183, 0x0f},
509 {0x5200, 0x1b},
510 {0x520b, 0x07},
511 {0x520c, 0x0f},
512 {0x5300, 0x04},
513 {0x5301, 0x0c},
514 {0x5302, 0x0c},
515 {0x5303, 0x0f},
516 {0x5304, 0x00},
517 {0x5305, 0x70},
518 {0x5306, 0x00},
519 {0x5307, 0x80},
520 {0x5308, 0x00},
521 {0x5309, 0xa5},
522 {0x530a, 0x00},
523 {0x530b, 0xd3},
524 {0x530c, 0x00},
525 {0x530d, 0xf0},
526 {0x530e, 0x01},
527 {0x530f, 0x10},
528 {0x5310, 0x01},
529 {0x5311, 0x20},
530 {0x5312, 0x01},
531 {0x5313, 0x20},
532 {0x5314, 0x01},
533 {0x5315, 0x20},
534 {0x5316, 0x08},
535 {0x5317, 0x08},
536 {0x5318, 0x10},
537 {0x5319, 0x88},
538 {0x531a, 0x88},
539 {0x531b, 0xa9},
540 {0x531c, 0xaa},
541 {0x531d, 0x0a},
542 {0x5405, 0x02},
543 {0x5406, 0x67},
544 {0x5407, 0x01},
545 {0x5408, 0x4a},
549 {0x3013, 0x32},
550 {0x301b, 0xf0},
551 {0x301f, 0xd0},
552 {0x3106, 0x15},
553 {0x3107, 0x23},
554 {0x350a, 0x00},
555 {0x350e, 0x00},
556 {0x3510, 0x00},
557 {0x3511, 0x02},
558 {0x3512, 0x00},
559 {0x3600, 0x2b},
560 {0x3601, 0x52},
561 {0x3602, 0x60},
562 {0x3612, 0x05},
563 {0x3613, 0xa4},
564 {0x3620, 0x80},
565 {0x3621, 0x10},
566 {0x3622, 0x30},
567 {0x3624, 0x1c},
568 {0x3640, 0x10},
569 {0x3641, 0x70},
570 {0x3660, 0x04},
571 {0x3661, 0x80},
572 {0x3662, 0x10},
573 {0x3664, 0x73},
574 {0x3665, 0xa7},
575 {0x366e, 0xff},
576 {0x366f, 0xf4},
577 {0x3674, 0x00},
578 {0x3679, 0x0c},
579 {0x367f, 0x01},
580 {0x3680, 0x0c},
581 {0x3681, 0x50},
582 {0x3682, 0x50},
583 {0x3683, 0xa9},
584 {0x3684, 0xa9},
585 {0x3709, 0x5f},
586 {0x3714, 0x28},
587 {0x371a, 0x3e},
588 {0x3737, 0x08},
589 {0x3738, 0xcc},
590 {0x3739, 0x20},
591 {0x373d, 0x26},
592 {0x3764, 0x20},
593 {0x3765, 0x20},
594 {0x37a1, 0x36},
595 {0x37a8, 0x3b},
596 {0x37ab, 0x31},
597 {0x37c2, 0x14},
598 {0x37c3, 0xf1},
599 {0x37c5, 0x00},
600 {0x37d8, 0x03},
601 {0x37d9, 0x0c},
602 {0x37da, 0xc2},
603 {0x37dc, 0x02},
604 {0x37e0, 0x00},
605 {0x37e1, 0x0a},
606 {0x37e2, 0x14},
607 {0x37e3, 0x08},
608 {0x37e4, 0x38},
609 {0x37e5, 0x03},
610 {0x37e6, 0x08},
611 {0x3800, 0x00},
612 {0x3801, 0x00},
613 {0x3802, 0x01},
614 {0x3803, 0x84},
615 {0x3804, 0x10},
616 {0x3805, 0x9f},
617 {0x3806, 0x0a},
618 {0x3807, 0xd3},
619 {0x3808, 0x08},
620 {0x3809, 0x40},
621 {0x380a, 0x04},
622 {0x380b, 0xa4},
623 {0x380c, 0x04},
624 {0x380d, 0x62},
625 {0x380e, 0x0c},
626 {0x380f, 0x8e},
627 {0x3811, 0x08},
628 {0x3813, 0x03},
629 {0x3814, 0x03},
630 {0x3815, 0x01},
631 {0x3816, 0x03},
632 {0x3817, 0x01},
633 {0x3820, 0xab},
634 {0x3821, 0x00},
635 {0x3822, 0xc2},
636 {0x3823, 0x18},
637 {0x3826, 0x04},
638 {0x3827, 0x90},
639 {0x3829, 0x07},
640 {0x3832, 0x00},
641 {0x3c80, 0x00},
642 {0x3c87, 0x01},
643 {0x3c8c, 0x19},
644 {0x3c8d, 0x1c},
645 {0x3c90, 0x00},
646 {0x3c91, 0x00},
647 {0x3c92, 0x00},
648 {0x3c93, 0x00},
649 {0x3c94, 0x40},
650 {0x3c95, 0x54},
651 {0x3c96, 0x34},
652 {0x3c97, 0x04},
653 {0x3c98, 0x00},
654 {0x3d8c, 0x73},
655 {0x3d8d, 0xc0},
656 {0x3f00, 0x0b},
657 {0x3f03, 0x00},
658 {0x4001, 0xe0},
659 {0x4008, 0x00},
660 {0x4009, 0x0d},
661 {0x4011, 0xf0},
662 {0x4017, 0x08},
663 {0x4050, 0x04},
664 {0x4051, 0x0b},
665 {0x4052, 0x00},
666 {0x4053, 0x80},
667 {0x4054, 0x00},
668 {0x4055, 0x80},
669 {0x4056, 0x00},
670 {0x4057, 0x80},
671 {0x4058, 0x00},
672 {0x4059, 0x80},
673 {0x405e, 0x20},
674 {0x4500, 0x07},
675 {0x4503, 0x00},
676 {0x450a, 0x04},
677 {0x4809, 0x04},
678 {0x480c, 0x12},
679 {0x481f, 0x30},
680 {0x4833, 0x10},
681 {0x4837, 0x1c},
682 {0x4902, 0x01},
683 {0x4d00, 0x03},
684 {0x4d01, 0xc9},
685 {0x4d02, 0xbc},
686 {0x4d03, 0xd7},
687 {0x4d04, 0xf0},
688 {0x4d05, 0xa2},
689 {0x5000, 0xfd},
690 {0x5001, 0x01},
691 {0x5040, 0x39},
692 {0x5041, 0x10},
693 {0x5042, 0x10},
694 {0x5043, 0x84},
695 {0x5044, 0x62},
696 {0x5180, 0x00},
697 {0x5181, 0x10},
698 {0x5182, 0x02},
699 {0x5183, 0x0f},
700 {0x5200, 0x1b},
701 {0x520b, 0x07},
702 {0x520c, 0x0f},
703 {0x5300, 0x04},
704 {0x5301, 0x0c},
705 {0x5302, 0x0c},
706 {0x5303, 0x0f},
707 {0x5304, 0x00},
708 {0x5305, 0x70},
709 {0x5306, 0x00},
710 {0x5307, 0x80},
711 {0x5308, 0x00},
712 {0x5309, 0xa5},
713 {0x530a, 0x00},
714 {0x530b, 0xd3},
715 {0x530c, 0x00},
716 {0x530d, 0xf0},
717 {0x530e, 0x01},
718 {0x530f, 0x10},
719 {0x5310, 0x01},
720 {0x5311, 0x20},
721 {0x5312, 0x01},
722 {0x5313, 0x20},
723 {0x5314, 0x01},
724 {0x5315, 0x20},
725 {0x5316, 0x08},
726 {0x5317, 0x08},
727 {0x5318, 0x10},
728 {0x5319, 0x88},
729 {0x531a, 0x88},
730 {0x531b, 0xa9},
731 {0x531c, 0xaa},
732 {0x531d, 0x0a},
733 {0x5405, 0x02},
734 {0x5406, 0x67},
735 {0x5407, 0x01},
736 {0x5408, 0x4a},
740 {0x3013, 0x32},
741 {0x301b, 0xf0},
742 {0x301f, 0xd0},
743 {0x3106, 0x15},
744 {0x3107, 0x23},
745 {0x350a, 0x00},
746 {0x350e, 0x00},
747 {0x3510, 0x00},
748 {0x3511, 0x02},
749 {0x3512, 0x00},
750 {0x3600, 0x2b},
751 {0x3601, 0x52},
752 {0x3602, 0x60},
753 {0x3612, 0x05},
754 {0x3613, 0xa4},
755 {0x3620, 0x80},
756 {0x3621, 0x10},
757 {0x3622, 0x30},
758 {0x3624, 0x1c},
759 {0x3640, 0x10},
760 {0x3641, 0x70},
761 {0x3660, 0x04},
762 {0x3661, 0x80},
763 {0x3662, 0x08},
764 {0x3664, 0x73},
765 {0x3665, 0xa7},
766 {0x366e, 0xff},
767 {0x366f, 0xf4},
768 {0x3674, 0x00},
769 {0x3679, 0x0c},
770 {0x367f, 0x01},
771 {0x3680, 0x0c},
772 {0x3681, 0x50},
773 {0x3682, 0x50},
774 {0x3683, 0xa9},
775 {0x3684, 0xa9},
776 {0x3709, 0x5f},
777 {0x3714, 0x30},
778 {0x371a, 0x3e},
779 {0x3737, 0x08},
780 {0x3738, 0xcc},
781 {0x3739, 0x20},
782 {0x373d, 0x26},
783 {0x3764, 0x20},
784 {0x3765, 0x20},
785 {0x37a1, 0x36},
786 {0x37a8, 0x3b},
787 {0x37ab, 0x31},
788 {0x37c2, 0x2c},
789 {0x37c3, 0xf1},
790 {0x37c5, 0x00},
791 {0x37d8, 0x03},
792 {0x37d9, 0x06},
793 {0x37da, 0xc2},
794 {0x37dc, 0x02},
795 {0x37e0, 0x00},
796 {0x37e1, 0x0a},
797 {0x37e2, 0x14},
798 {0x37e3, 0x08},
799 {0x37e4, 0x36},
800 {0x37e5, 0x03},
801 {0x37e6, 0x08},
802 {0x3800, 0x00},
803 {0x3801, 0x00},
804 {0x3802, 0x00},
805 {0x3803, 0x00},
806 {0x3804, 0x10},
807 {0x3805, 0x9f},
808 {0x3806, 0x0c},
809 {0x3807, 0x5f},
810 {0x3808, 0x04},
811 {0x3809, 0x20},
812 {0x380a, 0x03},
813 {0x380b, 0x10},
814 {0x380c, 0x04},
815 {0x380d, 0x62},
816 {0x380e, 0x0c},
817 {0x380f, 0x8e},
818 {0x3811, 0x04},
819 {0x3813, 0x05},
820 {0x3814, 0x07},
821 {0x3815, 0x01},
822 {0x3816, 0x07},
823 {0x3817, 0x01},
824 {0x3820, 0xac},
825 {0x3821, 0x00},
826 {0x3822, 0xc2},
827 {0x3823, 0x18},
828 {0x3826, 0x04},
829 {0x3827, 0x48},
830 {0x3829, 0x03},
831 {0x3832, 0x00},
832 {0x3c80, 0x00},
833 {0x3c87, 0x01},
834 {0x3c8c, 0x19},
835 {0x3c8d, 0x1c},
836 {0x3c90, 0x00},
837 {0x3c91, 0x00},
838 {0x3c92, 0x00},
839 {0x3c93, 0x00},
840 {0x3c94, 0x40},
841 {0x3c95, 0x54},
842 {0x3c96, 0x34},
843 {0x3c97, 0x04},
844 {0x3c98, 0x00},
845 {0x3d8c, 0x73},
846 {0x3d8d, 0xc0},
847 {0x3f00, 0x0b},
848 {0x3f03, 0x00},
849 {0x4001, 0xe0},
850 {0x4008, 0x00},
851 {0x4009, 0x05},
852 {0x4011, 0xf0},
853 {0x4017, 0x08},
854 {0x4050, 0x02},
855 {0x4051, 0x05},
856 {0x4052, 0x00},
857 {0x4053, 0x80},
858 {0x4054, 0x00},
859 {0x4055, 0x80},
860 {0x4056, 0x00},
861 {0x4057, 0x80},
862 {0x4058, 0x00},
863 {0x4059, 0x80},
864 {0x405e, 0x20},
865 {0x4500, 0x07},
866 {0x4503, 0x00},
867 {0x450a, 0x04},
868 {0x4809, 0x04},
869 {0x480c, 0x12},
870 {0x481f, 0x30},
871 {0x4833, 0x10},
872 {0x4837, 0x1e},
873 {0x4902, 0x02},
874 {0x4d00, 0x03},
875 {0x4d01, 0xc9},
876 {0x4d02, 0xbc},
877 {0x4d03, 0xd7},
878 {0x4d04, 0xf0},
879 {0x4d05, 0xa2},
880 {0x5000, 0xfd},
881 {0x5001, 0x01},
882 {0x5040, 0x39},
883 {0x5041, 0x10},
884 {0x5042, 0x10},
885 {0x5043, 0x84},
886 {0x5044, 0x62},
887 {0x5180, 0x00},
888 {0x5181, 0x10},
889 {0x5182, 0x02},
890 {0x5183, 0x0f},
891 {0x5200, 0x1b},
892 {0x520b, 0x07},
893 {0x520c, 0x0f},
894 {0x5300, 0x04},
895 {0x5301, 0x0c},
896 {0x5302, 0x0c},
897 {0x5303, 0x0f},
898 {0x5304, 0x00},
899 {0x5305, 0x70},
900 {0x5306, 0x00},
901 {0x5307, 0x80},
902 {0x5308, 0x00},
903 {0x5309, 0xa5},
904 {0x530a, 0x00},
905 {0x530b, 0xd3},
906 {0x530c, 0x00},
907 {0x530d, 0xf0},
908 {0x530e, 0x01},
909 {0x530f, 0x10},
910 {0x5310, 0x01},
911 {0x5311, 0x20},
912 {0x5312, 0x01},
913 {0x5313, 0x20},
914 {0x5314, 0x01},
915 {0x5315, 0x20},
916 {0x5316, 0x08},
917 {0x5317, 0x08},
918 {0x5318, 0x10},
919 {0x5319, 0x88},
920 {0x531a, 0x88},
921 {0x531b, 0xa9},
922 {0x531c, 0xaa},
923 {0x531d, 0x0a},
924 {0x5405, 0x02},
925 {0x5406, 0x67},
926 {0x5407, 0x01},
927 {0x5408, 0x4a},
942 #define OV13858_LINK_FREQ_INDEX_0 0
1059 __be32 data_be = 0; in ov13858_read_reg()
1067 msgs[0].addr = client->addr; in ov13858_read_reg()
1068 msgs[0].flags = 0; in ov13858_read_reg()
1069 msgs[0].len = 2; in ov13858_read_reg()
1070 msgs[0].buf = (u8 *)®_addr_be; in ov13858_read_reg()
1084 return 0; in ov13858_read_reg()
1099 buf[0] = reg >> 8; in ov13858_write_reg()
1100 buf[1] = reg & 0xff; in ov13858_write_reg()
1113 return 0; in ov13858_write_reg()
1124 for (i = 0; i < len; i++) { in ov13858_write_regs()
1130 "Failed to write reg 0x%4.4x. error = %d\n", in ov13858_write_regs()
1137 return 0; in ov13858_write_regs()
1151 0); in ov13858_open()
1164 return 0; in ov13858_open()
1232 return 0; in ov13858_set_ctrl()
1234 ret = 0; in ov13858_set_ctrl()
1260 "ctrl(id:0x%x,val:0x%x) is not handled\n", in ov13858_set_ctrl()
1279 if (code->index > 0) in ov13858_enum_mbus_code()
1284 return 0; in ov13858_enum_mbus_code()
1302 return 0; in ov13858_enum_frame_size()
1327 return 0; in ov13858_do_get_pad_format()
1398 return 0; in ov13858_set_pad_format()
1405 return 0; in ov13858_get_skip_frames()
1462 int ret = 0; in ov13858_set_stream()
1468 if (ret < 0) in ov13858_set_stream()
1513 return 0; in ov13858_identify_module()
1578 0, in ov13858_init_controls()
1583 pixel_rate_max = link_freq_to_pixel_rate(link_freq_menu_items[0]); in ov13858_init_controls()
1626 0, 0, ov13858_test_pattern_menu); in ov13858_init_controls()
1645 return 0; in ov13858_init_controls()
1664 u32 val = 0; in ov13858_probe()
1685 ov13858->cur_mode = &supported_modes[0]; in ov13858_probe()
1707 if (ret < 0) in ov13858_probe()
1718 return 0; in ov13858_probe()