Lines Matching +full:0 +full:x4d

6  * V0.0X01.0X01 add enum_frame_interval function.
7 * V0.0X01.0X02 add quick stream on/off
39 #define DRIVER_VERSION KERNEL_VERSION(0, 0x01, 0x2)
47 #define REG_SC_CHIP_ID_H 0xf0
48 #define REG_SC_CHIP_ID_L 0xf1
49 #define GC2035_ID_H 0x20
50 #define GC2035_ID_L 0x35
51 #define REG_NULL 0xFFFF /* Array end token */
112 {0xfe, 0x80},
113 {0xfe, 0x80},
114 {0xfe, 0x80},
115 {0xfc, 0x06},
116 {0xf2, 0x00},
117 {0xf3, 0x00},
118 {0xf4, 0x00},
119 {0xf5, 0x00},
120 {0xf9, 0xfe},
121 {0xfa, 0x00},
122 {0xf6, 0x00},
123 {0xf7, 0x15},
125 {0xf8, 0x85},
126 {0xfe, 0x00},
127 {0x82, 0x00},
128 {0xb3, 0x60},
129 {0xb4, 0x40},
130 {0xb5, 0x60},
132 {0x03, 0x02},
133 {0x04, 0x80},
135 {0xfe, 0x00},
136 {0xec, 0x06},
137 {0xed, 0x06},
138 {0xee, 0x62},
139 {0xef, 0x92},
141 {0x0a, 0x00},
142 {0x0c, 0x00},
143 {0x0d, 0x04},
144 {0x0e, 0xc0},
145 {0x0f, 0x06},
146 {0x10, 0x58},
147 {0x17, 0x14},
149 {0x18, 0x0e},
150 {0x19, 0x0c},
152 {0x18, 0x0a},
153 {0x19, 0x0a},
155 {0x1a, 0x01},
156 {0x1b, 0x8b},
157 {0x1e, 0x88},
158 {0x1f, 0x08},
159 {0x20, 0x05},
160 {0x21, 0x0f},
161 {0x22, 0xf0},
162 {0x23, 0xc3},
163 {0x24, 0x17},
165 {0xfe, 0x01},
166 {0x11, 0x20},
167 {0x1f, 0xc0},
168 {0x20, 0x60},
169 {0x47, 0x30},
170 {0x0b, 0x10},
171 {0x13, 0x75},
172 {0xfe, 0x00},
174 {0x05, 0x01},
175 {0x06, 0x11},
176 {0x07, 0x00},
177 {0x08, 0x50},
178 {0xfe, 0x01},
179 {0x27, 0x00},
180 {0x28, 0xa0},
181 {0x29, 0x05},
182 {0x2a, 0x00},
183 {0x2b, 0x05},
184 {0x2c, 0x00},
185 {0x2d, 0x06},
186 {0x2e, 0xe0},
187 {0x2f, 0x0a},
188 {0x30, 0x00},
189 {0x3e, 0x40},
190 {0xfe, 0x00},
191 {0xfe, 0x00},
192 {0xb6, 0x03},
193 {0xfe, 0x00},
195 {0x3f, 0x00},
196 {0x40, 0x77},
197 {0x42, 0x7f},
198 {0x43, 0x30},
199 {0x5c, 0x08},
200 {0x5e, 0x20},
201 {0x5f, 0x20},
202 {0x60, 0x20},
203 {0x61, 0x20},
204 {0x62, 0x20},
205 {0x63, 0x20},
206 {0x64, 0x20},
207 {0x65, 0x20},
209 {0x80, 0xff},
210 {0x81, 0x26},
211 {0x87, 0x90},
212 {0x84, 0x00},
213 {0x86, 0x07},
214 {0x8b, 0xbc},
215 {0xb0, 0x80},
216 {0xc0, 0x40},
218 {0xfe, 0x01},
219 {0xc2, 0x38},
220 {0xc3, 0x25},
221 {0xc4, 0x21},
222 {0xc8, 0x19},
223 {0xc9, 0x12},
224 {0xca, 0x0e},
225 {0xbc, 0x43},
226 {0xbd, 0x18},
227 {0xbe, 0x1b},
228 {0xb6, 0x40},
229 {0xb7, 0x2e},
230 {0xb8, 0x26},
231 {0xc5, 0x05},
232 {0xc6, 0x03},
233 {0xc7, 0x04},
234 {0xcb, 0x00},
235 {0xcc, 0x00},
236 {0xcd, 0x00},
237 {0xbf, 0x14},
238 {0xc0, 0x22},
239 {0xc1, 0x1b},
240 {0xb9, 0x00},
241 {0xba, 0x05},
242 {0xbb, 0x05},
243 {0xaa, 0x35},
244 {0xab, 0x33},
245 {0xac, 0x33},
246 {0xad, 0x25},
247 {0xae, 0x22},
248 {0xaf, 0x27},
249 {0xb0, 0x1d},
250 {0xb1, 0x20},
251 {0xb2, 0x22},
252 {0xb3, 0x14},
253 {0xb4, 0x15},
254 {0xb5, 0x16},
255 {0xd0, 0x00},
256 {0xd2, 0x07},
257 {0xd3, 0x08},
258 {0xd8, 0x00},
259 {0xda, 0x13},
260 {0xdb, 0x17},
261 {0xdc, 0x00},
262 {0xde, 0x0a},
263 {0xdf, 0x08},
264 {0xd4, 0x00},
265 {0xd6, 0x00},
266 {0xd7, 0x0c},
267 {0xa4, 0x00},
268 {0xa5, 0x00},
269 {0xa6, 0x00},
270 {0xa7, 0x00},
271 {0xa8, 0x00},
272 {0xa9, 0x00},
273 {0xa1, 0x80},
274 {0xa2, 0x80},
276 {0xfe, 0x02},
277 {0xc0, 0x01},
278 {0xc1, 0x40},
279 {0xc2, 0xfc},
280 {0xc3, 0x05},
281 {0xc4, 0xec},
282 {0xc5, 0x42},
283 {0xc6, 0xf8},
284 {0xc7, 0x40},
285 {0xc8, 0xf8},
286 {0xc9, 0x06},
287 {0xca, 0xfd},
288 {0xcb, 0x3e},
289 {0xcc, 0xf3},
290 {0xcd, 0x36},
291 {0xce, 0xf6},
292 {0xcf, 0x04},
293 {0xe3, 0x0c},
294 {0xe4, 0x44},
295 {0xe5, 0xe5},
296 {0xfe, 0x00},
298 {0xfe, 0x01},
299 {0x4f, 0x00},
300 {0x4d, 0x00},
301 {0x4e, 0x00},
302 {0x4e, 0x00},
303 {0x4e, 0x00},
304 {0x4e, 0x00},
305 {0x4e, 0x00},
306 {0x4e, 0x00},
307 {0x4e, 0x00},
308 {0x4e, 0x00},
309 {0x4e, 0x00},
310 {0x4e, 0x00},
311 {0x4e, 0x00},
312 {0x4e, 0x00},
313 {0x4e, 0x00},
314 {0x4e, 0x00},
315 {0x4e, 0x00},
316 {0x4e, 0x00},
317 {0x4d, 0x10},
318 {0x4e, 0x00},
319 {0x4e, 0x00},
320 {0x4e, 0x00},
321 {0x4e, 0x00},
322 {0x4e, 0x00},
323 {0x4e, 0x00},
324 {0x4e, 0x00},
325 {0x4e, 0x00},
326 {0x4e, 0x00},
327 {0x4e, 0x00},
328 {0x4e, 0x00},
329 {0x4e, 0x00},
330 {0x4e, 0x00},
331 {0x4e, 0x00},
332 {0x4e, 0x00},
333 {0x4e, 0x00},
334 {0x4d, 0x20},
335 {0x4e, 0x00},
336 {0x4e, 0x00},
337 {0x4e, 0x00},
338 {0x4e, 0x00},
339 {0x4e, 0x00},
340 {0x4e, 0x00},
341 {0x4e, 0x00},
342 {0x4e, 0x00},
343 {0x4e, 0x00},
344 {0x4e, 0x00},
345 {0x4e, 0x00},
346 {0x4e, 0x00},
347 {0x4e, 0x00},
348 {0x4e, 0x00},
349 {0x4e, 0x00},
350 {0x4e, 0x00},
351 {0x4d, 0x30},
352 {0x4e, 0x00},
353 {0x4e, 0x00},
354 {0x4e, 0x00},
355 {0x4e, 0x00},
356 {0x4e, 0x00},
357 {0x4e, 0x00},
358 {0x4e, 0x00},
359 {0x4e, 0x00},
360 {0x4e, 0x00},
361 {0x4e, 0x00},
362 {0x4e, 0x00},
363 {0x4e, 0x00},
364 {0x4e, 0x00},
365 {0x4e, 0x00},
366 {0x4e, 0x00},
367 {0x4e, 0x00},
368 {0x4d, 0x40},
369 {0x4e, 0x00},
370 {0x4e, 0x00},
371 {0x4e, 0x00},
372 {0x4e, 0x00},
373 {0x4e, 0x00},
374 {0x4e, 0x00},
375 {0x4e, 0x00},
376 {0x4e, 0x00},
377 {0x4e, 0x00},
378 {0x4e, 0x00},
379 {0x4e, 0x00},
380 {0x4e, 0x00},
381 {0x4e, 0x00},
382 {0x4e, 0x00},
383 {0x4e, 0x00},
384 {0x4e, 0x00},
385 {0x4d, 0x50},
386 {0x4e, 0x00},
387 {0x4e, 0x00},
388 {0x4e, 0x00},
389 {0x4e, 0x00},
390 {0x4e, 0x00},
391 {0x4e, 0x00},
392 {0x4e, 0x00},
393 {0x4e, 0x00},
394 {0x4e, 0x00},
395 {0x4e, 0x00},
396 {0x4e, 0x00},
397 {0x4e, 0x00},
398 {0x4e, 0x00},
399 {0x4e, 0x00},
400 {0x4e, 0x00},
401 {0x4e, 0x00},
402 {0x4d, 0x60},
403 {0x4e, 0x00},
404 {0x4e, 0x00},
405 {0x4e, 0x00},
406 {0x4e, 0x00},
407 {0x4e, 0x00},
408 {0x4e, 0x00},
409 {0x4e, 0x00},
410 {0x4e, 0x00},
411 {0x4e, 0x00},
412 {0x4e, 0x00},
413 {0x4e, 0x00},
414 {0x4e, 0x00},
415 {0x4e, 0x00},
416 {0x4e, 0x00},
417 {0x4e, 0x00},
418 {0x4e, 0x00},
419 {0x4d, 0x70},
420 {0x4e, 0x00},
421 {0x4e, 0x00},
422 {0x4e, 0x00},
423 {0x4e, 0x00},
424 {0x4e, 0x00},
425 {0x4e, 0x00},
426 {0x4e, 0x00},
427 {0x4e, 0x00},
428 {0x4e, 0x00},
429 {0x4e, 0x00},
430 {0x4e, 0x00},
431 {0x4e, 0x00},
432 {0x4e, 0x00},
433 {0x4e, 0x00},
434 {0x4e, 0x00},
435 {0x4e, 0x00},
436 {0x4d, 0x80},
437 {0x4e, 0x00},
438 {0x4e, 0x00},
439 {0x4e, 0x00},
440 {0x4e, 0x00},
441 {0x4e, 0x00},
442 {0x4e, 0x00},
443 {0x4e, 0x00},
444 {0x4e, 0x00},
445 {0x4e, 0x00},
446 {0x4e, 0x00},
447 {0x4e, 0x00},
448 {0x4e, 0x00},
449 {0x4e, 0x00},
450 {0x4e, 0x00},
451 {0x4e, 0x00},
452 {0x4e, 0x00},
453 {0x4d, 0x90},
454 {0x4e, 0x00},
455 {0x4e, 0x00},
456 {0x4e, 0x00},
457 {0x4e, 0x00},
458 {0x4e, 0x00},
459 {0x4e, 0x00},
460 {0x4e, 0x00},
461 {0x4e, 0x00},
462 {0x4e, 0x00},
463 {0x4e, 0x00},
464 {0x4e, 0x00},
465 {0x4e, 0x00},
466 {0x4e, 0x00},
467 {0x4e, 0x00},
468 {0x4e, 0x00},
469 {0x4e, 0x00},
470 {0x4d, 0xa0},
471 {0x4e, 0x00},
472 {0x4e, 0x00},
473 {0x4e, 0x00},
474 {0x4e, 0x00},
475 {0x4e, 0x00},
476 {0x4e, 0x00},
477 {0x4e, 0x00},
478 {0x4e, 0x00},
479 {0x4e, 0x00},
480 {0x4e, 0x00},
481 {0x4e, 0x00},
482 {0x4e, 0x00},
483 {0x4e, 0x00},
484 {0x4e, 0x00},
485 {0x4e, 0x00},
486 {0x4e, 0x00},
487 {0x4d, 0xb0},
488 {0x4e, 0x00},
489 {0x4e, 0x00},
490 {0x4e, 0x00},
491 {0x4e, 0x00},
492 {0x4e, 0x00},
493 {0x4e, 0x00},
494 {0x4e, 0x00},
495 {0x4e, 0x00},
496 {0x4e, 0x00},
497 {0x4e, 0x00},
498 {0x4e, 0x00},
499 {0x4e, 0x00},
500 {0x4e, 0x00},
501 {0x4e, 0x00},
502 {0x4e, 0x00},
503 {0x4e, 0x00},
504 {0x4d, 0xc0},
505 {0x4e, 0x00},
506 {0x4e, 0x00},
507 {0x4e, 0x00},
508 {0x4e, 0x00},
509 {0x4e, 0x00},
510 {0x4e, 0x00},
511 {0x4e, 0x00},
512 {0x4e, 0x00},
513 {0x4e, 0x00},
514 {0x4e, 0x00},
515 {0x4e, 0x00},
516 {0x4e, 0x00},
517 {0x4e, 0x00},
518 {0x4e, 0x00},
519 {0x4e, 0x00},
520 {0x4e, 0x00},
521 {0x4d, 0xd0},
522 {0x4e, 0x00},
523 {0x4e, 0x00},
524 {0x4e, 0x00},
525 {0x4e, 0x00},
526 {0x4e, 0x00},
527 {0x4e, 0x00},
528 {0x4e, 0x00},
529 {0x4e, 0x00},
530 {0x4e, 0x00},
531 {0x4e, 0x00},
532 {0x4e, 0x00},
533 {0x4e, 0x00},
534 {0x4e, 0x00},
535 {0x4e, 0x00},
536 {0x4e, 0x00},
537 {0x4e, 0x00},
538 {0x4f, 0x01},
539 {0xfe, 0x01},
540 {0x4f, 0x00},
541 {0x4d, 0x30},
542 {0x4e, 0x00},
543 {0x4e, 0x80},
544 {0x4e, 0x80},
545 {0x4e, 0x02},
546 {0x4e, 0x02},
547 {0x4d, 0x40},
548 {0x4e, 0x00},
549 {0x4e, 0x80},
550 {0x4e, 0x80},
551 {0x4e, 0x02},
552 {0x4e, 0x02},
553 {0x4e, 0x02},
554 {0x4d, 0x53},
555 {0x4e, 0x08},
556 {0x4e, 0x04},
557 {0x4d, 0x62},
558 {0x4e, 0x10},
559 {0x4d, 0x72},
560 {0x4e, 0x20},
561 {0x4f, 0x01},
563 {0xfe, 0x01},
564 {0x50, 0x88},
565 {0x52, 0x40},
566 {0x54, 0x60},
567 {0x56, 0x06},
568 {0x57, 0x20},
569 {0x58, 0x01},
570 {0x5b, 0x02},
571 {0x61, 0xaa},
572 {0x62, 0xaa},
573 {0x71, 0x00},
574 {0x74, 0x10},
575 {0x77, 0x08},
576 {0x78, 0xfd},
577 {0x86, 0x30},
578 {0x87, 0x00},
579 {0x88, 0x04},
580 {0x8a, 0xc0},
581 {0x89, 0x75},
582 {0x84, 0x08},
583 {0x8b, 0x00},
584 {0x8d, 0x70},
585 {0x8e, 0x70},
586 {0x8f, 0xf4},
587 {0xfe, 0x00},
588 {0x82, 0x02},
590 {0xfe, 0x01},
591 {0x21, 0xbf},
592 {0xfe, 0x02},
593 {0xa4, 0x00},
594 {0xa5, 0x40},
595 {0xa2, 0xa0},
596 {0xa6, 0x80},
597 {0xa7, 0x80},
598 {0xab, 0x31},
599 {0xa9, 0x6f},
600 {0xb0, 0x99},
601 {0xb1, 0x34},
602 {0xb3, 0x80},
603 {0xde, 0xb6},
604 {0x38, 0x0f},
605 {0x39, 0x60},
606 {0xfe, 0x00},
607 {0x81, 0x26},
608 {0xfe, 0x02},
609 {0x83, 0x00},
610 {0x84, 0x45},
612 {0xd1, 0x38},
613 {0xd2, 0x38},
614 {0xd3, 0x40},
615 {0xd4, 0x80},
616 {0xd5, 0x00},
617 {0xdc, 0x30},
618 {0xdd, 0xb8},
619 {0xfe, 0x00},
621 {0xfe, 0x02},
622 {0x88, 0x15},
623 {0x8c, 0xf6},
624 {0x89, 0x03},
626 {0xfe, 0x02},
627 {0x90, 0x6c},
628 {0x97, 0x45},
630 {0xfe, 0x02},
631 {0x15, 0x0a},
632 {0x16, 0x12},
633 {0x17, 0x19},
634 {0x18, 0x1f},
635 {0x19, 0x2c},
636 {0x1a, 0x38},
637 {0x1b, 0x42},
638 {0x1c, 0x4e},
639 {0x1d, 0x63},
640 {0x1e, 0x76},
641 {0x1f, 0x87},
642 {0x20, 0x96},
643 {0x21, 0xa2},
644 {0x22, 0xb8},
645 {0x23, 0xca},
646 {0x24, 0xd8},
647 {0x25, 0xe3},
648 {0x26, 0xf0},
649 {0x27, 0xf8},
650 {0x28, 0xfd},
651 {0x29, 0xff},
653 {0xfe, 0x02},
654 {0x2b, 0x00},
655 {0x2c, 0x04},
656 {0x2d, 0x09},
657 {0x2e, 0x18},
658 {0x2f, 0x27},
659 {0x30, 0x37},
660 {0x31, 0x49},
661 {0x32, 0x5c},
662 {0x33, 0x7e},
663 {0x34, 0xa0},
664 {0x35, 0xc0},
665 {0x36, 0xe0},
666 {0x37, 0xff},
667 {0xfe, 0x00},
668 {0x90, 0x01},
669 {0x95, 0x04},
670 {0x96, 0xb0},
671 {0x97, 0x06},
672 {0x98, 0x40},
673 {0xfe, 0x03},
674 {0x42, 0x40},
675 {0x43, 0x06},
676 {0x41, 0x02},
677 {0x40, 0x40},
678 {0x17, 0x00},
679 {0xfe, 0x00},
681 {0xfe, 0x00},
682 {0xb6, 0x03},
683 {0xf7, 0x15},
684 {0xc8, 0x00},
685 {0x99, 0x22},
686 {0x9a, 0x06},
687 {0x9b, 0x00},
688 {0x9c, 0x00},
689 {0x9d, 0x00},
690 {0x9e, 0x00},
691 {0x9f, 0x00},
692 {0xa0, 0x00},
693 {0xa1, 0x00},
694 {0xa2, 0x00},
695 {0x90, 0x01},
696 {0x94, 0x02},
697 {0x95, 0x02},
698 {0x96, 0x58},
699 {0x97, 0x03},
700 {0x98, 0x20},
701 {0xfe, 0x00},
702 {0x82, 0xfe},
703 {REG_NULL, 0x00},
707 {0xfe, 0x00},
708 {0xb6, 0x03},
709 {0xf7, 0x15},
710 {0xc8, 0x00},
711 {0x99, 0x22},
712 {0x9a, 0x06},
713 {0x9b, 0x00},
714 {0x9c, 0x00},
715 {0x9d, 0x00},
716 {0x9e, 0x00},
717 {0x9f, 0x00},
718 {0xa0, 0x00},
719 {0xa1, 0x00},
720 {0xa2, 0x00},
721 {0x90, 0x01},
722 {0x94, 0x02},
723 {0x95, 0x02},
724 {0x96, 0x58},
725 {0x97, 0x03},
726 {0x98, 0x20},
727 {REG_NULL, 0x00},
731 {0xfe, 0x00},
732 {0xc8, 0x00},
733 {0xf7, 0x17},
734 {0x99, 0x11},
735 {0x9a, 0x06},
736 {0x9b, 0x00},
737 {0x9c, 0x00},
738 {0x9d, 0x00},
739 {0x9e, 0x00},
740 {0x9f, 0x00},
741 {0xa0, 0x00},
742 {0xa1, 0x00},
743 {0xa2, 0x00},
744 {0x90, 0x01},
745 {0x95, 0x04},
746 {0x96, 0xb0},
747 {0x97, 0x06},
748 {0x98, 0x40},
749 {REG_NULL, 0x00},
791 buf[0] = reg & 0xFF; in gc2035_write()
800 if (ret >= 0) in gc2035_write()
801 return 0; in gc2035_write()
804 "gc2035 write reg(0x%x val:0x%x) failed !\n", reg, val); in gc2035_write()
816 buf[0] = reg & 0xFF; in gc2035_read()
818 msg[0].addr = client->addr; in gc2035_read()
819 msg[0].flags = client->flags; in gc2035_read()
820 msg[0].buf = buf; in gc2035_read()
821 msg[0].len = sizeof(buf); in gc2035_read()
829 if (ret >= 0) { in gc2035_read()
830 *val = buf[0]; in gc2035_read()
831 return 0; in gc2035_read()
835 "gc2035 read reg:0x%x failed!\n", reg); in gc2035_read()
843 int i, ret = 0; in gc2035_write_array()
845 i = 0; in gc2035_write_array()
861 format->width = gc2035_framesizes[0].width; in gc2035_get_default_format()
862 format->height = gc2035_framesizes[0].height; in gc2035_get_default_format()
864 format->code = gc2035_formats[0].code; in gc2035_get_default_format()
875 ret = gc2035_write(client, 0xfe, 0x00); in gc2035_set_streaming()
877 ret |= gc2035_write(client, 0xf2, 0x00); in gc2035_set_streaming()
878 ret |= gc2035_write(client, 0xf3, 0x00); in gc2035_set_streaming()
879 ret |= gc2035_write(client, 0xf5, 0x00); in gc2035_set_streaming()
881 ret |= gc2035_write(client, 0xf2, 0x70); in gc2035_set_streaming()
882 ret |= gc2035_write(client, 0xf3, 0xff); in gc2035_set_streaming()
883 ret |= gc2035_write(client, 0xf4, 0x00); in gc2035_set_streaming()
884 ret |= gc2035_write(client, 0xf5, 0x30); in gc2035_set_streaming()
907 return 0; in gc2035_enum_mbus_code()
933 return 0; in gc2035_enum_frame_sizes()
949 mf = v4l2_subdev_get_try_format(sd, cfg, 0); in gc2035_get_fmt()
953 return 0; in gc2035_get_fmt()
967 return 0; in gc2035_get_fmt()
974 const struct gc2035_framesize *fsize = &gc2035_framesizes[0]; in __gc2035_try_frame_size_fps()
982 if (err < min_err && fsize->regs[0].addr) { in __gc2035_try_frame_size_fps()
990 match = &gc2035_framesizes[0]; in __gc2035_try_frame_size_fps()
992 fsize = &gc2035_framesizes[0]; in __gc2035_try_frame_size_fps()
993 for (i = 0; i < ARRAY_SIZE(gc2035_framesizes); i++) { in __gc2035_try_frame_size_fps()
1020 int ret = 0; in gc2035_set_fmt()
1026 while (--index >= 0) in gc2035_set_fmt()
1030 if (index < 0) in gc2035_set_fmt()
1064 int ret = 0; in gc2035_s_stream()
1087 gpiod_set_value_cansleep(gc2035->pwdn_gpio, 0); in gc2035_s_stream()
1109 return 0; in gc2035_set_test_pattern()
1122 return 0; in gc2035_s_ctrl()
1143 v4l2_subdev_get_try_format(sd, fh->pad, 0); in gc2035_open()
1149 return 0; in gc2035_open()
1161 return 0; in gc2035_g_mbus_config()
1171 return 0; in gc2035_g_frame_interval()
1182 int ret = 0; in gc2035_s_frame_interval()
1208 memset(inf, 0, sizeof(*inf)); in gc2035_get_module_inf()
1218 long ret = 0; in gc2035_ioctl()
1219 u32 stream = 0; in gc2035_ioctl()
1247 u32 stream = 0; in gc2035_compat_ioctl32()
1299 return 0; in gc2035_enum_frame_interval()
1342 u8 pidh = 0, pidl = 0; in gc2035_detect()
1376 if (ret < 0) in __gc2035_power_on()
1388 if (ret < 0) in __gc2035_power_on()
1395 gpiod_set_value_cansleep(gc2035->pwdn_gpio, 0); in __gc2035_power_on()
1401 if (ret < 0) in __gc2035_power_on()
1407 return 0; in __gc2035_power_on()
1424 for (i = 0; i < GC2035_NUM_SUPPLIES; i++) in gc2035_configure_regulators()
1460 (DRIVER_VERSION & 0xff00) >> 8, in gc2035_probe()
1461 DRIVER_VERSION & 0x00ff); in gc2035_probe()
1497 V4L2_CID_PIXEL_RATE, 0, in gc2035_probe()
1504 0, 0, gc2035_test_pattern_menu); in gc2035_probe()
1527 if (ret < 0) { in gc2035_probe()
1536 gc2035->frame_size = &gc2035_framesizes[0]; in gc2035_probe()
1537 gc2035->format.width = gc2035_framesizes[0].width; in gc2035_probe()
1538 gc2035->format.height = gc2035_framesizes[0].height; in gc2035_probe()
1539 gc2035->fps = DIV_ROUND_CLOSEST(gc2035_framesizes[0].max_fps.denominator, in gc2035_probe()
1540 gc2035_framesizes[0].max_fps.numerator); in gc2035_probe()
1543 if (ret < 0) in gc2035_probe()
1546 memset(facing, 0, sizeof(facing)); in gc2035_probe()
1547 if (strcmp(gc2035->module_facing, "back") == 0) in gc2035_probe()
1548 facing[0] = 'b'; in gc2035_probe()
1550 facing[0] = 'f'; in gc2035_probe()
1561 return 0; in gc2035_probe()
1587 return 0; in gc2035_remove()
1591 { "gc2035", 0 },