Lines Matching +full:0 +full:x4060
18 #define OV08X40_REG_MODE_SELECT 0x0100
19 #define OV08X40_MODE_STANDBY 0x00
20 #define OV08X40_MODE_STREAMING 0x01
22 #define OV08X40_REG_AO_STANDBY 0x1000
23 #define OV08X40_AO_STREAMING 0x04
25 #define OV08X40_REG_MS_SELECT 0x1001
26 #define OV08X40_MS_STANDBY 0x00
27 #define OV08X40_MS_STREAMING 0x04
29 #define OV08X40_REG_SOFTWARE_RST 0x0103
30 #define OV08X40_SOFTWARE_RST 0x01
33 #define OV08X40_REG_CHIP_ID 0x300a
34 #define OV08X40_CHIP_ID 0x560858
37 #define OV08X40_REG_VTS 0x380e
38 #define OV08X40_VTS_30FPS 0x09c4 /* the VTS need to be half in normal mode */
39 #define OV08X40_VTS_BIN_30FPS 0x115c
40 #define OV08X40_VTS_MAX 0x7fff
43 #define OV08X40_REG_HTS 0x380c
44 #define OV08X40_HTS_30FPS 0x0280
47 #define OV08X40_REG_EXPOSURE 0x3500
52 #define OV08X40_EXPOSURE_DEFAULT 0x40
55 #define OV08X40_REG_SHORT_EXPOSURE 0x3540
58 #define OV08X40_REG_ANALOG_GAIN 0x3508
59 #define OV08X40_ANA_GAIN_MIN 0x80
60 #define OV08X40_ANA_GAIN_MAX 0x07c0
62 #define OV08X40_ANA_GAIN_DEFAULT 0x80
65 #define OV08X40_REG_DGTL_GAIN_H 0x350a
66 #define OV08X40_REG_DGTL_GAIN_M 0x350b
67 #define OV08X40_REG_DGTL_GAIN_L 0x350c
75 #define OV08X40_DGTL_GAIN_L_MASK 0x3
77 #define OV08X40_DGTL_GAIN_M_MASK 0xff
79 #define OV08X40_DGTL_GAIN_H_MASK 0x1F
82 #define OV08X40_REG_TEST_PATTERN 0x50C1
83 #define OV08X40_REG_ISP 0x5000
84 #define OV08X40_REG_SHORT_TEST_PATTERN 0x53C1
85 #define OV08X40_TEST_PATTERN_ENABLE BIT(0)
86 #define OV08X40_TEST_PATTERN_MASK 0xcf
90 #define OV08X40_REG_VFLIP 0x3820
91 #define OV08X40_REG_MIRROR 0x3821
94 #define OV08X40_REG_H_WIN_OFFSET 0x3811
97 #define OV08X40_REG_V_WIN_OFFSET 0x3813
100 #define OV08X40_REG_XTALK_FIRST_A 0x5a80
101 #define OV08X40_REG_XTALK_LAST_A 0x5b9f
102 #define OV08X40_REG_XTALK_FIRST_B 0x5bc0
103 #define OV08X40_REG_XTALK_LAST_B 0x5f1f
151 {0x0103, 0x01},
152 {0x1000, 0x00},
153 {0x1601, 0xd0},
154 {0x1001, 0x04},
155 {0x5004, 0x53},
156 {0x5110, 0x00},
157 {0x5111, 0x14},
158 {0x5112, 0x01},
159 {0x5113, 0x7b},
160 {0x5114, 0x00},
161 {0x5152, 0xa3},
162 {0x5a52, 0x1f},
163 {0x5a1a, 0x0e},
164 {0x5a1b, 0x10},
165 {0x5a1f, 0x0e},
166 {0x5a27, 0x0e},
167 {0x6002, 0x2e},
171 {0x5000, 0x5d},
172 {0x5001, 0x20},
173 {0x5008, 0xb0},
174 {0x50c1, 0x00},
175 {0x53c1, 0x00},
176 {0x5f40, 0x00},
177 {0x5f41, 0x40},
178 {0x0300, 0x3a},
179 {0x0301, 0xc8},
180 {0x0302, 0x31},
181 {0x0303, 0x03},
182 {0x0304, 0x01},
183 {0x0305, 0xa1},
184 {0x0306, 0x04},
185 {0x0307, 0x01},
186 {0x0308, 0x03},
187 {0x0309, 0x03},
188 {0x0310, 0x0a},
189 {0x0311, 0x02},
190 {0x0312, 0x01},
191 {0x0313, 0x08},
192 {0x0314, 0x66},
193 {0x0315, 0x00},
194 {0x0316, 0x34},
195 {0x0320, 0x02},
196 {0x0321, 0x03},
197 {0x0323, 0x05},
198 {0x0324, 0x01},
199 {0x0325, 0xb8},
200 {0x0326, 0x4a},
201 {0x0327, 0x04},
202 {0x0329, 0x00},
203 {0x032a, 0x05},
204 {0x032b, 0x00},
205 {0x032c, 0x00},
206 {0x032d, 0x00},
207 {0x032e, 0x02},
208 {0x032f, 0xa0},
209 {0x0350, 0x00},
210 {0x0360, 0x01},
211 {0x1216, 0x60},
212 {0x1217, 0x5b},
213 {0x1218, 0x00},
214 {0x1220, 0x24},
215 {0x198a, 0x00},
216 {0x198b, 0x01},
217 {0x198e, 0x00},
218 {0x198f, 0x01},
219 {0x3009, 0x04},
220 {0x3012, 0x41},
221 {0x3015, 0x00},
222 {0x3016, 0xb0},
223 {0x3017, 0xf0},
224 {0x3018, 0xf0},
225 {0x3019, 0xd2},
226 {0x301a, 0xb0},
227 {0x301c, 0x81},
228 {0x301d, 0x02},
229 {0x301e, 0x80},
230 {0x3022, 0xf0},
231 {0x3025, 0x89},
232 {0x3030, 0x03},
233 {0x3044, 0xc2},
234 {0x3050, 0x35},
235 {0x3051, 0x60},
236 {0x3052, 0x25},
237 {0x3053, 0x00},
238 {0x3054, 0x00},
239 {0x3055, 0x02},
240 {0x3056, 0x80},
241 {0x3057, 0x80},
242 {0x3058, 0x80},
243 {0x3059, 0x00},
244 {0x3107, 0x86},
245 {0x3400, 0x1c},
246 {0x3401, 0x80},
247 {0x3402, 0x8c},
248 {0x3419, 0x13},
249 {0x341a, 0x89},
250 {0x341b, 0x30},
251 {0x3420, 0x00},
252 {0x3421, 0x00},
253 {0x3422, 0x00},
254 {0x3423, 0x00},
255 {0x3424, 0x00},
256 {0x3425, 0x00},
257 {0x3426, 0x00},
258 {0x3427, 0x00},
259 {0x3428, 0x0f},
260 {0x3429, 0x00},
261 {0x342a, 0x00},
262 {0x342b, 0x00},
263 {0x342c, 0x00},
264 {0x342d, 0x00},
265 {0x342e, 0x00},
266 {0x342f, 0x11},
267 {0x3430, 0x11},
268 {0x3431, 0x10},
269 {0x3432, 0x00},
270 {0x3433, 0x00},
271 {0x3434, 0x00},
272 {0x3435, 0x00},
273 {0x3436, 0x00},
274 {0x3437, 0x00},
275 {0x3442, 0x02},
276 {0x3443, 0x02},
277 {0x3444, 0x07},
278 {0x3450, 0x00},
279 {0x3451, 0x00},
280 {0x3452, 0x18},
281 {0x3453, 0x18},
282 {0x3454, 0x00},
283 {0x3455, 0x80},
284 {0x3456, 0x08},
285 {0x3500, 0x00},
286 {0x3501, 0x02},
287 {0x3502, 0x00},
288 {0x3504, 0x4c},
289 {0x3506, 0x30},
290 {0x3507, 0x00},
291 {0x3508, 0x01},
292 {0x3509, 0x00},
293 {0x350a, 0x01},
294 {0x350b, 0x00},
295 {0x350c, 0x00},
296 {0x3540, 0x00},
297 {0x3541, 0x01},
298 {0x3542, 0x00},
299 {0x3544, 0x4c},
300 {0x3546, 0x30},
301 {0x3547, 0x00},
302 {0x3548, 0x01},
303 {0x3549, 0x00},
304 {0x354a, 0x01},
305 {0x354b, 0x00},
306 {0x354c, 0x00},
307 {0x3688, 0x02},
308 {0x368a, 0x2e},
309 {0x368e, 0x71},
310 {0x3696, 0xd1},
311 {0x3699, 0x00},
312 {0x369a, 0x00},
313 {0x36a4, 0x00},
314 {0x36a6, 0x00},
315 {0x3711, 0x00},
316 {0x3712, 0x51},
317 {0x3713, 0x00},
318 {0x3714, 0x24},
319 {0x3716, 0x00},
320 {0x3718, 0x07},
321 {0x371a, 0x1c},
322 {0x371b, 0x00},
323 {0x3720, 0x08},
324 {0x3725, 0x32},
325 {0x3727, 0x05},
326 {0x3760, 0x02},
327 {0x3761, 0x17},
328 {0x3762, 0x02},
329 {0x3763, 0x02},
330 {0x3764, 0x02},
331 {0x3765, 0x2c},
332 {0x3766, 0x04},
333 {0x3767, 0x2c},
334 {0x3768, 0x02},
335 {0x3769, 0x00},
336 {0x376b, 0x20},
337 {0x376e, 0x03},
338 {0x37b0, 0x00},
339 {0x37b1, 0xab},
340 {0x37b2, 0x01},
341 {0x37b3, 0x82},
342 {0x37b4, 0x00},
343 {0x37b5, 0xe4},
344 {0x37b6, 0x01},
345 {0x37b7, 0xee},
346 {0x3800, 0x00},
347 {0x3801, 0x00},
348 {0x3802, 0x00},
349 {0x3803, 0x00},
350 {0x3804, 0x0f},
351 {0x3805, 0x1f},
352 {0x3806, 0x09},
353 {0x3807, 0x7f},
354 {0x3808, 0x0f},
355 {0x3809, 0x10},
356 {0x380a, 0x09},
357 {0x380b, 0x70},
358 {0x380c, 0x02},
359 {0x380d, 0x80},
360 {0x380e, 0x13},
361 {0x380f, 0x88},
362 {0x3810, 0x00},
363 {0x3811, 0x08},
364 {0x3812, 0x00},
365 {0x3813, 0x07},
366 {0x3814, 0x11},
367 {0x3815, 0x11},
368 {0x3820, 0x00},
369 {0x3821, 0x04},
370 {0x3822, 0x00},
371 {0x3823, 0x04},
372 {0x3828, 0x0f},
373 {0x382a, 0x80},
374 {0x382e, 0x41},
375 {0x3837, 0x08},
376 {0x383a, 0x81},
377 {0x383b, 0x81},
378 {0x383c, 0x11},
379 {0x383d, 0x11},
380 {0x383e, 0x00},
381 {0x383f, 0x38},
382 {0x3840, 0x00},
383 {0x3847, 0x00},
384 {0x384a, 0x00},
385 {0x384c, 0x02},
386 {0x384d, 0x80},
387 {0x3856, 0x50},
388 {0x3857, 0x30},
389 {0x3858, 0x80},
390 {0x3859, 0x40},
391 {0x3860, 0x00},
392 {0x3888, 0x00},
393 {0x3889, 0x00},
394 {0x388a, 0x00},
395 {0x388b, 0x00},
396 {0x388c, 0x00},
397 {0x388d, 0x00},
398 {0x388e, 0x00},
399 {0x388f, 0x00},
400 {0x3894, 0x00},
401 {0x3895, 0x00},
402 {0x3c84, 0x00},
403 {0x3d85, 0x8b},
404 {0x3daa, 0x80},
405 {0x3dab, 0x14},
406 {0x3dac, 0x80},
407 {0x3dad, 0xc8},
408 {0x3dae, 0x81},
409 {0x3daf, 0x7b},
410 {0x3f00, 0x10},
411 {0x3f01, 0x11},
412 {0x3f06, 0x0d},
413 {0x3f07, 0x0b},
414 {0x3f08, 0x0d},
415 {0x3f09, 0x0b},
416 {0x3f0a, 0x01},
417 {0x3f0b, 0x11},
418 {0x3f0c, 0x33},
419 {0x4001, 0x07},
420 {0x4007, 0x20},
421 {0x4008, 0x00},
422 {0x4009, 0x05},
423 {0x400a, 0x00},
424 {0x400b, 0x08},
425 {0x400c, 0x00},
426 {0x400d, 0x08},
427 {0x400e, 0x14},
428 {0x4010, 0xf4},
429 {0x4011, 0x03},
430 {0x4012, 0x55},
431 {0x4015, 0x00},
432 {0x4016, 0x2d},
433 {0x4017, 0x00},
434 {0x4018, 0x0f},
435 {0x401b, 0x08},
436 {0x401c, 0x00},
437 {0x401d, 0x10},
438 {0x401e, 0x02},
439 {0x401f, 0x00},
440 {0x4050, 0x06},
441 {0x4051, 0xff},
442 {0x4052, 0xff},
443 {0x4053, 0xff},
444 {0x4054, 0xff},
445 {0x4055, 0xff},
446 {0x4056, 0xff},
447 {0x4057, 0x7f},
448 {0x4058, 0x00},
449 {0x4059, 0x00},
450 {0x405a, 0x00},
451 {0x405b, 0x00},
452 {0x405c, 0x07},
453 {0x405d, 0xff},
454 {0x405e, 0x07},
455 {0x405f, 0xff},
456 {0x4080, 0x78},
457 {0x4081, 0x78},
458 {0x4082, 0x78},
459 {0x4083, 0x78},
460 {0x4019, 0x00},
461 {0x401a, 0x40},
462 {0x4020, 0x04},
463 {0x4021, 0x00},
464 {0x4022, 0x04},
465 {0x4023, 0x00},
466 {0x4024, 0x04},
467 {0x4025, 0x00},
468 {0x4026, 0x04},
469 {0x4027, 0x00},
470 {0x4030, 0x00},
471 {0x4031, 0x00},
472 {0x4032, 0x00},
473 {0x4033, 0x00},
474 {0x4034, 0x00},
475 {0x4035, 0x00},
476 {0x4036, 0x00},
477 {0x4037, 0x00},
478 {0x4040, 0x00},
479 {0x4041, 0x80},
480 {0x4042, 0x00},
481 {0x4043, 0x80},
482 {0x4044, 0x00},
483 {0x4045, 0x80},
484 {0x4046, 0x00},
485 {0x4047, 0x80},
486 {0x4060, 0x00},
487 {0x4061, 0x00},
488 {0x4062, 0x00},
489 {0x4063, 0x00},
490 {0x4064, 0x00},
491 {0x4065, 0x00},
492 {0x4066, 0x00},
493 {0x4067, 0x00},
494 {0x4068, 0x00},
495 {0x4069, 0x00},
496 {0x406a, 0x00},
497 {0x406b, 0x00},
498 {0x406c, 0x00},
499 {0x406d, 0x00},
500 {0x406e, 0x00},
501 {0x406f, 0x00},
502 {0x4070, 0x00},
503 {0x4071, 0x00},
504 {0x4072, 0x00},
505 {0x4073, 0x00},
506 {0x4074, 0x00},
507 {0x4075, 0x00},
508 {0x4076, 0x00},
509 {0x4077, 0x00},
510 {0x4078, 0x00},
511 {0x4079, 0x00},
512 {0x407a, 0x00},
513 {0x407b, 0x00},
514 {0x407c, 0x00},
515 {0x407d, 0x00},
516 {0x407e, 0x00},
517 {0x407f, 0x00},
518 {0x40e0, 0x00},
519 {0x40e1, 0x00},
520 {0x40e2, 0x00},
521 {0x40e3, 0x00},
522 {0x40e4, 0x00},
523 {0x40e5, 0x00},
524 {0x40e6, 0x00},
525 {0x40e7, 0x00},
526 {0x40e8, 0x00},
527 {0x40e9, 0x80},
528 {0x40ea, 0x00},
529 {0x40eb, 0x80},
530 {0x40ec, 0x00},
531 {0x40ed, 0x80},
532 {0x40ee, 0x00},
533 {0x40ef, 0x80},
534 {0x40f0, 0x02},
535 {0x40f1, 0x04},
536 {0x4300, 0x00},
537 {0x4301, 0x00},
538 {0x4302, 0x00},
539 {0x4303, 0x00},
540 {0x4304, 0x00},
541 {0x4305, 0x00},
542 {0x4306, 0x00},
543 {0x4307, 0x00},
544 {0x4308, 0x00},
545 {0x4309, 0x00},
546 {0x430a, 0x00},
547 {0x430b, 0xff},
548 {0x430c, 0xff},
549 {0x430d, 0x00},
550 {0x430e, 0x00},
551 {0x4315, 0x00},
552 {0x4316, 0x00},
553 {0x4317, 0x00},
554 {0x4318, 0x00},
555 {0x4319, 0x00},
556 {0x431a, 0x00},
557 {0x431b, 0x00},
558 {0x431c, 0x00},
559 {0x4500, 0x07},
560 {0x4501, 0x00},
561 {0x4502, 0x00},
562 {0x4503, 0x0f},
563 {0x4504, 0x80},
564 {0x4506, 0x01},
565 {0x4509, 0x05},
566 {0x450c, 0x00},
567 {0x450d, 0x20},
568 {0x450e, 0x00},
569 {0x450f, 0x00},
570 {0x4510, 0x00},
571 {0x4523, 0x00},
572 {0x4526, 0x00},
573 {0x4542, 0x00},
574 {0x4543, 0x00},
575 {0x4544, 0x00},
576 {0x4545, 0x00},
577 {0x4546, 0x00},
578 {0x4547, 0x10},
579 {0x4602, 0x00},
580 {0x4603, 0x15},
581 {0x460b, 0x07},
582 {0x4680, 0x11},
583 {0x4686, 0x00},
584 {0x4687, 0x00},
585 {0x4700, 0x00},
586 {0x4800, 0x64},
587 {0x4806, 0x40},
588 {0x480b, 0x10},
589 {0x480c, 0x80},
590 {0x480f, 0x32},
591 {0x4813, 0xe4},
592 {0x4837, 0x14},
593 {0x4850, 0x42},
594 {0x4884, 0x04},
595 {0x4c00, 0xf8},
596 {0x4c01, 0x44},
597 {0x4c03, 0x00},
598 {0x4d00, 0x00},
599 {0x4d01, 0x16},
600 {0x4d04, 0x10},
601 {0x4d05, 0x00},
602 {0x4d06, 0x0c},
603 {0x4d07, 0x00},
604 {0x3d84, 0x04},
605 {0x3680, 0xa4},
606 {0x3682, 0x80},
607 {0x3601, 0x40},
608 {0x3602, 0x90},
609 {0x3608, 0x0a},
610 {0x3938, 0x09},
611 {0x3a74, 0x84},
612 {0x3a99, 0x84},
613 {0x3ab9, 0xa6},
614 {0x3aba, 0xba},
615 {0x3b12, 0x84},
616 {0x3b14, 0xbb},
617 {0x3b15, 0xbf},
618 {0x3a29, 0x26},
619 {0x3a1f, 0x8a},
620 {0x3a22, 0x91},
621 {0x3a25, 0x96},
622 {0x3a28, 0xb4},
623 {0x3a2b, 0xba},
624 {0x3a2e, 0xbf},
625 {0x3a31, 0xc1},
626 {0x3a20, 0x00},
627 {0x3939, 0x9d},
628 {0x3902, 0x0e},
629 {0x3903, 0x0e},
630 {0x3904, 0x0e},
631 {0x3905, 0x0e},
632 {0x3906, 0x07},
633 {0x3907, 0x0d},
634 {0x3908, 0x11},
635 {0x3909, 0x12},
636 {0x360f, 0x99},
637 {0x390c, 0x33},
638 {0x390d, 0x66},
639 {0x390e, 0xaa},
640 {0x3911, 0x90},
641 {0x3913, 0x90},
642 {0x3915, 0x90},
643 {0x3917, 0x90},
644 {0x3b3f, 0x9d},
645 {0x3b45, 0x9d},
646 {0x3b1b, 0xc9},
647 {0x3b21, 0xc9},
648 {0x3440, 0xa4},
649 {0x3a23, 0x15},
650 {0x3a26, 0x1d},
651 {0x3a2c, 0x4a},
652 {0x3a2f, 0x18},
653 {0x3a32, 0x55},
654 {0x3b0a, 0x01},
655 {0x3b0b, 0x00},
656 {0x3b0e, 0x01},
657 {0x3b0f, 0x00},
658 {0x392c, 0x02},
659 {0x392d, 0x02},
660 {0x392e, 0x04},
661 {0x392f, 0x03},
662 {0x3930, 0x08},
663 {0x3931, 0x07},
664 {0x3932, 0x10},
665 {0x3933, 0x0c},
666 {0x3609, 0x08},
667 {0x3921, 0x0f},
668 {0x3928, 0x15},
669 {0x3929, 0x2a},
670 {0x392a, 0x54},
671 {0x392b, 0xa8},
672 {0x3426, 0x10},
673 {0x3407, 0x01},
674 {0x3404, 0x01},
675 {0x3500, 0x00},
676 {0x3501, 0x10},
677 {0x3502, 0x10},
678 {0x3508, 0x0f},
679 {0x3509, 0x80},
683 {0x5000, 0x55},
684 {0x5001, 0x00},
685 {0x5008, 0xb0},
686 {0x50c1, 0x00},
687 {0x53c1, 0x00},
688 {0x5f40, 0x00},
689 {0x5f41, 0x40},
690 {0x0300, 0x3a},
691 {0x0301, 0xc8},
692 {0x0302, 0x31},
693 {0x0303, 0x03},
694 {0x0304, 0x01},
695 {0x0305, 0xa1},
696 {0x0306, 0x04},
697 {0x0307, 0x01},
698 {0x0308, 0x03},
699 {0x0309, 0x03},
700 {0x0310, 0x0a},
701 {0x0311, 0x02},
702 {0x0312, 0x01},
703 {0x0313, 0x08},
704 {0x0314, 0x66},
705 {0x0315, 0x00},
706 {0x0316, 0x34},
707 {0x0320, 0x02},
708 {0x0321, 0x03},
709 {0x0323, 0x05},
710 {0x0324, 0x01},
711 {0x0325, 0xb8},
712 {0x0326, 0x4a},
713 {0x0327, 0x04},
714 {0x0329, 0x00},
715 {0x032a, 0x05},
716 {0x032b, 0x00},
717 {0x032c, 0x00},
718 {0x032d, 0x00},
719 {0x032e, 0x02},
720 {0x032f, 0xa0},
721 {0x0350, 0x00},
722 {0x0360, 0x01},
723 {0x1216, 0x60},
724 {0x1217, 0x5b},
725 {0x1218, 0x00},
726 {0x1220, 0x24},
727 {0x198a, 0x00},
728 {0x198b, 0x01},
729 {0x198e, 0x00},
730 {0x198f, 0x01},
731 {0x3009, 0x04},
732 {0x3012, 0x41},
733 {0x3015, 0x00},
734 {0x3016, 0xb0},
735 {0x3017, 0xf0},
736 {0x3018, 0xf0},
737 {0x3019, 0xd2},
738 {0x301a, 0xb0},
739 {0x301c, 0x81},
740 {0x301d, 0x02},
741 {0x301e, 0x80},
742 {0x3022, 0xf0},
743 {0x3025, 0x89},
744 {0x3030, 0x03},
745 {0x3044, 0xc2},
746 {0x3050, 0x35},
747 {0x3051, 0x60},
748 {0x3052, 0x25},
749 {0x3053, 0x00},
750 {0x3054, 0x00},
751 {0x3055, 0x02},
752 {0x3056, 0x80},
753 {0x3057, 0x80},
754 {0x3058, 0x80},
755 {0x3059, 0x00},
756 {0x3107, 0x86},
757 {0x3400, 0x1c},
758 {0x3401, 0x80},
759 {0x3402, 0x8c},
760 {0x3419, 0x08},
761 {0x341a, 0xaf},
762 {0x341b, 0x30},
763 {0x3420, 0x00},
764 {0x3421, 0x00},
765 {0x3422, 0x00},
766 {0x3423, 0x00},
767 {0x3424, 0x00},
768 {0x3425, 0x00},
769 {0x3426, 0x00},
770 {0x3427, 0x00},
771 {0x3428, 0x0f},
772 {0x3429, 0x00},
773 {0x342a, 0x00},
774 {0x342b, 0x00},
775 {0x342c, 0x00},
776 {0x342d, 0x00},
777 {0x342e, 0x00},
778 {0x342f, 0x11},
779 {0x3430, 0x11},
780 {0x3431, 0x10},
781 {0x3432, 0x00},
782 {0x3433, 0x00},
783 {0x3434, 0x00},
784 {0x3435, 0x00},
785 {0x3436, 0x00},
786 {0x3437, 0x00},
787 {0x3442, 0x02},
788 {0x3443, 0x02},
789 {0x3444, 0x07},
790 {0x3450, 0x00},
791 {0x3451, 0x00},
792 {0x3452, 0x18},
793 {0x3453, 0x18},
794 {0x3454, 0x00},
795 {0x3455, 0x80},
796 {0x3456, 0x08},
797 {0x3500, 0x00},
798 {0x3501, 0x02},
799 {0x3502, 0x00},
800 {0x3504, 0x4c},
801 {0x3506, 0x30},
802 {0x3507, 0x00},
803 {0x3508, 0x01},
804 {0x3509, 0x00},
805 {0x350a, 0x01},
806 {0x350b, 0x00},
807 {0x350c, 0x00},
808 {0x3540, 0x00},
809 {0x3541, 0x01},
810 {0x3542, 0x00},
811 {0x3544, 0x4c},
812 {0x3546, 0x30},
813 {0x3547, 0x00},
814 {0x3548, 0x01},
815 {0x3549, 0x00},
816 {0x354a, 0x01},
817 {0x354b, 0x00},
818 {0x354c, 0x00},
819 {0x3688, 0x02},
820 {0x368a, 0x2e},
821 {0x368e, 0x71},
822 {0x3696, 0xd1},
823 {0x3699, 0x00},
824 {0x369a, 0x00},
825 {0x36a4, 0x00},
826 {0x36a6, 0x00},
827 {0x3711, 0x00},
828 {0x3712, 0x50},
829 {0x3713, 0x00},
830 {0x3714, 0x21},
831 {0x3716, 0x00},
832 {0x3718, 0x07},
833 {0x371a, 0x1c},
834 {0x371b, 0x00},
835 {0x3720, 0x08},
836 {0x3725, 0x32},
837 {0x3727, 0x05},
838 {0x3760, 0x02},
839 {0x3761, 0x28},
840 {0x3762, 0x02},
841 {0x3763, 0x02},
842 {0x3764, 0x02},
843 {0x3765, 0x2c},
844 {0x3766, 0x04},
845 {0x3767, 0x2c},
846 {0x3768, 0x02},
847 {0x3769, 0x00},
848 {0x376b, 0x20},
849 {0x376e, 0x07},
850 {0x37b0, 0x01},
851 {0x37b1, 0x0f},
852 {0x37b2, 0x01},
853 {0x37b3, 0xd6},
854 {0x37b4, 0x01},
855 {0x37b5, 0x48},
856 {0x37b6, 0x02},
857 {0x37b7, 0x40},
858 {0x3800, 0x00},
859 {0x3801, 0x00},
860 {0x3802, 0x00},
861 {0x3803, 0x00},
862 {0x3804, 0x0f},
863 {0x3805, 0x1f},
864 {0x3806, 0x09},
865 {0x3807, 0x7f},
866 {0x3808, 0x07},
867 {0x3809, 0x88},
868 {0x380a, 0x04},
869 {0x380b, 0xb8},
870 {0x380c, 0x02},
871 {0x380d, 0xd0},
872 {0x380e, 0x11},
873 {0x380f, 0x5c},
874 {0x3810, 0x00},
875 {0x3811, 0x04},
876 {0x3812, 0x00},
877 {0x3813, 0x03},
878 {0x3814, 0x11},
879 {0x3815, 0x11},
880 {0x3820, 0x02},
881 {0x3821, 0x14},
882 {0x3822, 0x00},
883 {0x3823, 0x04},
884 {0x3828, 0x0f},
885 {0x382a, 0x80},
886 {0x382e, 0x41},
887 {0x3837, 0x08},
888 {0x383a, 0x81},
889 {0x383b, 0x81},
890 {0x383c, 0x11},
891 {0x383d, 0x11},
892 {0x383e, 0x00},
893 {0x383f, 0x38},
894 {0x3840, 0x00},
895 {0x3847, 0x00},
896 {0x384a, 0x00},
897 {0x384c, 0x02},
898 {0x384d, 0xd0},
899 {0x3856, 0x50},
900 {0x3857, 0x30},
901 {0x3858, 0x80},
902 {0x3859, 0x40},
903 {0x3860, 0x00},
904 {0x3888, 0x00},
905 {0x3889, 0x00},
906 {0x388a, 0x00},
907 {0x388b, 0x00},
908 {0x388c, 0x00},
909 {0x388d, 0x00},
910 {0x388e, 0x00},
911 {0x388f, 0x00},
912 {0x3894, 0x00},
913 {0x3895, 0x00},
914 {0x3c84, 0x00},
915 {0x3d85, 0x8b},
916 {0x3daa, 0x80},
917 {0x3dab, 0x14},
918 {0x3dac, 0x80},
919 {0x3dad, 0xc8},
920 {0x3dae, 0x81},
921 {0x3daf, 0x7b},
922 {0x3f00, 0x10},
923 {0x3f01, 0x11},
924 {0x3f06, 0x0d},
925 {0x3f07, 0x0b},
926 {0x3f08, 0x0d},
927 {0x3f09, 0x0b},
928 {0x3f0a, 0x01},
929 {0x3f0b, 0x11},
930 {0x3f0c, 0x33},
931 {0x4001, 0x07},
932 {0x4007, 0x20},
933 {0x4008, 0x00},
934 {0x4009, 0x05},
935 {0x400a, 0x00},
936 {0x400b, 0x04},
937 {0x400c, 0x00},
938 {0x400d, 0x04},
939 {0x400e, 0x14},
940 {0x4010, 0xf4},
941 {0x4011, 0x03},
942 {0x4012, 0x55},
943 {0x4015, 0x00},
944 {0x4016, 0x27},
945 {0x4017, 0x00},
946 {0x4018, 0x0f},
947 {0x401b, 0x08},
948 {0x401c, 0x00},
949 {0x401d, 0x10},
950 {0x401e, 0x02},
951 {0x401f, 0x00},
952 {0x4050, 0x06},
953 {0x4051, 0xff},
954 {0x4052, 0xff},
955 {0x4053, 0xff},
956 {0x4054, 0xff},
957 {0x4055, 0xff},
958 {0x4056, 0xff},
959 {0x4057, 0x7f},
960 {0x4058, 0x00},
961 {0x4059, 0x00},
962 {0x405a, 0x00},
963 {0x405b, 0x00},
964 {0x405c, 0x07},
965 {0x405d, 0xff},
966 {0x405e, 0x07},
967 {0x405f, 0xff},
968 {0x4080, 0x78},
969 {0x4081, 0x78},
970 {0x4082, 0x78},
971 {0x4083, 0x78},
972 {0x4019, 0x00},
973 {0x401a, 0x40},
974 {0x4020, 0x04},
975 {0x4021, 0x00},
976 {0x4022, 0x04},
977 {0x4023, 0x00},
978 {0x4024, 0x04},
979 {0x4025, 0x00},
980 {0x4026, 0x04},
981 {0x4027, 0x00},
982 {0x4030, 0x00},
983 {0x4031, 0x00},
984 {0x4032, 0x00},
985 {0x4033, 0x00},
986 {0x4034, 0x00},
987 {0x4035, 0x00},
988 {0x4036, 0x00},
989 {0x4037, 0x00},
990 {0x4040, 0x00},
991 {0x4041, 0x80},
992 {0x4042, 0x00},
993 {0x4043, 0x80},
994 {0x4044, 0x00},
995 {0x4045, 0x80},
996 {0x4046, 0x00},
997 {0x4047, 0x80},
998 {0x4060, 0x00},
999 {0x4061, 0x00},
1000 {0x4062, 0x00},
1001 {0x4063, 0x00},
1002 {0x4064, 0x00},
1003 {0x4065, 0x00},
1004 {0x4066, 0x00},
1005 {0x4067, 0x00},
1006 {0x4068, 0x00},
1007 {0x4069, 0x00},
1008 {0x406a, 0x00},
1009 {0x406b, 0x00},
1010 {0x406c, 0x00},
1011 {0x406d, 0x00},
1012 {0x406e, 0x00},
1013 {0x406f, 0x00},
1014 {0x4070, 0x00},
1015 {0x4071, 0x00},
1016 {0x4072, 0x00},
1017 {0x4073, 0x00},
1018 {0x4074, 0x00},
1019 {0x4075, 0x00},
1020 {0x4076, 0x00},
1021 {0x4077, 0x00},
1022 {0x4078, 0x00},
1023 {0x4079, 0x00},
1024 {0x407a, 0x00},
1025 {0x407b, 0x00},
1026 {0x407c, 0x00},
1027 {0x407d, 0x00},
1028 {0x407e, 0x00},
1029 {0x407f, 0x00},
1030 {0x40e0, 0x00},
1031 {0x40e1, 0x00},
1032 {0x40e2, 0x00},
1033 {0x40e3, 0x00},
1034 {0x40e4, 0x00},
1035 {0x40e5, 0x00},
1036 {0x40e6, 0x00},
1037 {0x40e7, 0x00},
1038 {0x40e8, 0x00},
1039 {0x40e9, 0x80},
1040 {0x40ea, 0x00},
1041 {0x40eb, 0x80},
1042 {0x40ec, 0x00},
1043 {0x40ed, 0x80},
1044 {0x40ee, 0x00},
1045 {0x40ef, 0x80},
1046 {0x40f0, 0x02},
1047 {0x40f1, 0x04},
1048 {0x4300, 0x00},
1049 {0x4301, 0x00},
1050 {0x4302, 0x00},
1051 {0x4303, 0x00},
1052 {0x4304, 0x00},
1053 {0x4305, 0x00},
1054 {0x4306, 0x00},
1055 {0x4307, 0x00},
1056 {0x4308, 0x00},
1057 {0x4309, 0x00},
1058 {0x430a, 0x00},
1059 {0x430b, 0xff},
1060 {0x430c, 0xff},
1061 {0x430d, 0x00},
1062 {0x430e, 0x00},
1063 {0x4315, 0x00},
1064 {0x4316, 0x00},
1065 {0x4317, 0x00},
1066 {0x4318, 0x00},
1067 {0x4319, 0x00},
1068 {0x431a, 0x00},
1069 {0x431b, 0x00},
1070 {0x431c, 0x00},
1071 {0x4500, 0x07},
1072 {0x4501, 0x10},
1073 {0x4502, 0x00},
1074 {0x4503, 0x0f},
1075 {0x4504, 0x80},
1076 {0x4506, 0x01},
1077 {0x4509, 0x05},
1078 {0x450c, 0x00},
1079 {0x450d, 0x20},
1080 {0x450e, 0x00},
1081 {0x450f, 0x00},
1082 {0x4510, 0x00},
1083 {0x4523, 0x00},
1084 {0x4526, 0x00},
1085 {0x4542, 0x00},
1086 {0x4543, 0x00},
1087 {0x4544, 0x00},
1088 {0x4545, 0x00},
1089 {0x4546, 0x00},
1090 {0x4547, 0x10},
1091 {0x4602, 0x00},
1092 {0x4603, 0x15},
1093 {0x460b, 0x07},
1094 {0x4680, 0x11},
1095 {0x4686, 0x00},
1096 {0x4687, 0x00},
1097 {0x4700, 0x00},
1098 {0x4800, 0x64},
1099 {0x4806, 0x40},
1100 {0x480b, 0x10},
1101 {0x480c, 0x80},
1102 {0x480f, 0x32},
1103 {0x4813, 0xe4},
1104 {0x4837, 0x14},
1105 {0x4850, 0x42},
1106 {0x4884, 0x04},
1107 {0x4c00, 0xf8},
1108 {0x4c01, 0x44},
1109 {0x4c03, 0x00},
1110 {0x4d00, 0x00},
1111 {0x4d01, 0x16},
1112 {0x4d04, 0x10},
1113 {0x4d05, 0x00},
1114 {0x4d06, 0x0c},
1115 {0x4d07, 0x00},
1116 {0x3d84, 0x04},
1117 {0x3680, 0xa4},
1118 {0x3682, 0x80},
1119 {0x3601, 0x40},
1120 {0x3602, 0x90},
1121 {0x3608, 0x0a},
1122 {0x3938, 0x09},
1123 {0x3a74, 0x84},
1124 {0x3a99, 0x84},
1125 {0x3ab9, 0xa6},
1126 {0x3aba, 0xba},
1127 {0x3b12, 0x84},
1128 {0x3b14, 0xbb},
1129 {0x3b15, 0xbf},
1130 {0x3a29, 0x26},
1131 {0x3a1f, 0x8a},
1132 {0x3a22, 0x91},
1133 {0x3a25, 0x96},
1134 {0x3a28, 0xb4},
1135 {0x3a2b, 0xba},
1136 {0x3a2e, 0xbf},
1137 {0x3a31, 0xc1},
1138 {0x3a20, 0x05},
1139 {0x3939, 0x6b},
1140 {0x3902, 0x10},
1141 {0x3903, 0x10},
1142 {0x3904, 0x10},
1143 {0x3905, 0x10},
1144 {0x3906, 0x01},
1145 {0x3907, 0x0b},
1146 {0x3908, 0x10},
1147 {0x3909, 0x13},
1148 {0x360f, 0x99},
1149 {0x390b, 0x11},
1150 {0x390c, 0x21},
1151 {0x390d, 0x32},
1152 {0x390e, 0x76},
1153 {0x3911, 0x90},
1154 {0x3913, 0x90},
1155 {0x3b3f, 0x9d},
1156 {0x3b45, 0x9d},
1157 {0x3b1b, 0xc9},
1158 {0x3b21, 0xc9},
1159 {0x3a1a, 0x1c},
1160 {0x3a23, 0x15},
1161 {0x3a26, 0x17},
1162 {0x3a2c, 0x50},
1163 {0x3a2f, 0x18},
1164 {0x3a32, 0x4f},
1165 {0x3ace, 0x01},
1166 {0x3ad2, 0x01},
1167 {0x3ad6, 0x01},
1168 {0x3ada, 0x01},
1169 {0x3ade, 0x01},
1170 {0x3ae2, 0x01},
1171 {0x3aee, 0x01},
1172 {0x3af2, 0x01},
1173 {0x3af6, 0x01},
1174 {0x3afa, 0x01},
1175 {0x3afe, 0x01},
1176 {0x3b02, 0x01},
1177 {0x3b06, 0x01},
1178 {0x3b0a, 0x01},
1179 {0x3b0b, 0x00},
1180 {0x3b0e, 0x01},
1181 {0x3b0f, 0x00},
1182 {0x392c, 0x02},
1183 {0x392d, 0x01},
1184 {0x392e, 0x04},
1185 {0x392f, 0x03},
1186 {0x3930, 0x09},
1187 {0x3931, 0x07},
1188 {0x3932, 0x10},
1189 {0x3933, 0x0d},
1190 {0x3609, 0x08},
1191 {0x3921, 0x0f},
1192 {0x3928, 0x15},
1193 {0x3929, 0x2a},
1194 {0x392a, 0x52},
1195 {0x392b, 0xa3},
1196 {0x340b, 0x1b},
1197 {0x3426, 0x10},
1198 {0x3407, 0x01},
1199 {0x3404, 0x01},
1200 {0x3500, 0x00},
1201 {0x3501, 0x08},
1202 {0x3502, 0x10},
1203 {0x3508, 0x04},
1204 {0x3509, 0x00},
1255 .llp = 0x10aa, /* in normal mode, tline time = 2 * HTS / SCLK */
1270 .llp = 0x960,
1277 .exposure_shift = 0,
1314 __be32 data_be = 0; in ov08x40_read_reg()
1322 msgs[0].addr = client->addr; in ov08x40_read_reg()
1323 msgs[0].flags = 0; in ov08x40_read_reg()
1324 msgs[0].len = 2; in ov08x40_read_reg()
1325 msgs[0].buf = (u8 *)®_addr_be; in ov08x40_read_reg()
1339 return 0; in ov08x40_read_reg()
1352 msgs.flags = 0; in ov08x40_burst_fill_regs()
1361 for (i = 0; i < num_regs; ++i) in ov08x40_burst_fill_regs()
1373 return 0; in ov08x40_burst_fill_regs()
1388 buf[0] = reg >> 8; in ov08x40_write_reg()
1389 buf[1] = reg & 0xff; in ov08x40_write_reg()
1402 return 0; in ov08x40_write_reg()
1413 for (i = 0; i < len; i++) { in ov08x40_write_regs()
1419 "Failed to write reg 0x%4.4x. error = %d\n", in ov08x40_write_regs()
1426 return 0; in ov08x40_write_regs()
1437 const struct ov08x40_mode *default_mode = &supported_modes[0]; in ov08x40_open()
1440 v4l2_subdev_state_get_format(fh->state, 0); in ov08x40_open()
1453 return 0; in ov08x40_open()
1462 * 0x350C[1:0], 0x350B[7:0], 0x350A[4:0] in ov08x40_update_digital_gain()
1512 val | BIT(0)); in ov08x40_enable_test_pattern()
1570 int ret = 0; in ov08x40_set_ctrl()
1596 return 0; in ov08x40_set_ctrl()
1634 "ctrl(id:0x%x,val:0x%x) is not handled\n", in ov08x40_set_ctrl()
1653 if (code->index > 0) in ov08x40_enum_mbus_code()
1658 return 0; in ov08x40_enum_mbus_code()
1676 return 0; in ov08x40_enum_frame_size()
1701 return 0; in ov08x40_do_get_pad_format()
1781 return 0; in ov08x40_set_pad_format()
1819 OV08X40_REG_XTALK_LAST_A, 0x75); in ov08x40_start_streaming()
1820 if (ret == 0) in ov08x40_start_streaming()
1824 0x75); in ov08x40_start_streaming()
1853 int ret = 0; in ov08x40_set_stream()
1859 if (ret < 0) in ov08x40_set_stream()
1894 return 0; in ov08x40_identify_module()
1909 return 0; in ov08x40_identify_module()
1963 0, in ov08x40_init_controls()
1968 pixel_rate_max = link_freq_to_pixel_rate(link_freq_menu_items[0]); in ov08x40_init_controls()
1969 pixel_rate_min = 0; in ov08x40_init_controls()
2012 0, 0, ov08x40_test_pattern_menu); in ov08x40_init_controls()
2015 V4L2_CID_HFLIP, 0, 1, 1, 0); in ov08x40_init_controls()
2017 V4L2_CID_VFLIP, 0, 1, 1, 0); in ov08x40_init_controls()
2037 return 0; in ov08x40_init_controls()
2101 for (i = 0; i < ARRAY_SIZE(link_freq_menu_items); i++) { in ov08x40_check_hwcfg()
2102 for (j = 0; j < bus_cfg.nr_of_link_frequencies; j++) { in ov08x40_check_hwcfg()
2153 ov08x->cur_mode = &supported_modes[0]; in ov08x40_probe()
2174 if (ret < 0) in ov08x40_probe()
2182 return 0; in ov08x40_probe()