Lines Matching +full:0 +full:x3800
16 #define OV13B10_REG_MODE_SELECT 0x0100
17 #define OV13B10_MODE_STANDBY 0x00
18 #define OV13B10_MODE_STREAMING 0x01
20 #define OV13B10_REG_SOFTWARE_RST 0x0103
21 #define OV13B10_SOFTWARE_RST 0x01
24 #define OV13B10_REG_CHIP_ID 0x300a
25 #define OV13B10_CHIP_ID 0x560d42
28 #define OV13B10_REG_VTS 0x380e
29 #define OV13B10_VTS_30FPS 0x0c7c
30 #define OV13B10_VTS_60FPS 0x063e
31 #define OV13B10_VTS_MAX 0x7fff
37 #define OV13B10_REG_EXPOSURE 0x3500
40 #define OV13B10_EXPOSURE_DEFAULT 0x40
43 #define OV13B10_REG_ANALOG_GAIN 0x3508
44 #define OV13B10_ANA_GAIN_MIN 0x80
45 #define OV13B10_ANA_GAIN_MAX 0x07c0
47 #define OV13B10_ANA_GAIN_DEFAULT 0x80
50 #define OV13B10_REG_DGTL_GAIN_H 0x350a
51 #define OV13B10_REG_DGTL_GAIN_M 0x350b
52 #define OV13B10_REG_DGTL_GAIN_L 0x350c
60 #define OV13B10_DGTL_GAIN_L_MASK 0x3
62 #define OV13B10_DGTL_GAIN_M_MASK 0xff
64 #define OV13B10_DGTL_GAIN_H_MASK 0x3
67 #define OV13B10_REG_TEST_PATTERN 0x5080
69 #define OV13B10_TEST_PATTERN_MASK 0xf3
73 #define OV13B10_REG_FORMAT1 0x3820
74 #define OV13B10_REG_FORMAT2 0x3821
77 #define OV13B10_REG_H_WIN_OFFSET 0x3811
80 #define OV13B10_REG_V_WIN_OFFSET 0x3813
119 {0x0103, 0x01},
120 {0x0303, 0x04},
121 {0x0305, 0xaf},
122 {0x0321, 0x00},
123 {0x0323, 0x04},
124 {0x0324, 0x01},
125 {0x0325, 0xa4},
126 {0x0326, 0x81},
127 {0x0327, 0x04},
128 {0x3012, 0x07},
129 {0x3013, 0x32},
130 {0x3107, 0x23},
131 {0x3501, 0x0c},
132 {0x3502, 0x10},
133 {0x3504, 0x08},
134 {0x3508, 0x07},
135 {0x3509, 0xc0},
136 {0x3600, 0x16},
137 {0x3601, 0x54},
138 {0x3612, 0x4e},
139 {0x3620, 0x00},
140 {0x3621, 0x68},
141 {0x3622, 0x66},
142 {0x3623, 0x03},
143 {0x3662, 0x92},
144 {0x3666, 0xbb},
145 {0x3667, 0x44},
146 {0x366e, 0xff},
147 {0x366f, 0xf3},
148 {0x3675, 0x44},
149 {0x3676, 0x00},
150 {0x367f, 0xe9},
151 {0x3681, 0x32},
152 {0x3682, 0x1f},
153 {0x3683, 0x0b},
154 {0x3684, 0x0b},
155 {0x3704, 0x0f},
156 {0x3706, 0x40},
157 {0x3708, 0x3b},
158 {0x3709, 0x72},
159 {0x370b, 0xa2},
160 {0x3714, 0x24},
161 {0x371a, 0x3e},
162 {0x3725, 0x42},
163 {0x3739, 0x12},
164 {0x3767, 0x00},
165 {0x377a, 0x0d},
166 {0x3789, 0x18},
167 {0x3790, 0x40},
168 {0x3791, 0xa2},
169 {0x37c2, 0x04},
170 {0x37c3, 0xf1},
171 {0x37d9, 0x0c},
172 {0x37da, 0x02},
173 {0x37dc, 0x02},
174 {0x37e1, 0x04},
175 {0x37e2, 0x0a},
176 {0x3800, 0x00},
177 {0x3801, 0x00},
178 {0x3802, 0x00},
179 {0x3803, 0x08},
180 {0x3804, 0x10},
181 {0x3805, 0x8f},
182 {0x3806, 0x0c},
183 {0x3807, 0x47},
184 {0x3808, 0x10},
185 {0x3809, 0x70},
186 {0x380a, 0x0c},
187 {0x380b, 0x30},
188 {0x380c, 0x04},
189 {0x380d, 0x98},
190 {0x380e, 0x0c},
191 {0x380f, 0x7c},
192 {0x3811, 0x0f},
193 {0x3813, 0x09},
194 {0x3814, 0x01},
195 {0x3815, 0x01},
196 {0x3816, 0x01},
197 {0x3817, 0x01},
198 {0x381f, 0x08},
199 {0x3820, 0x88},
200 {0x3821, 0x00},
201 {0x3822, 0x14},
202 {0x382e, 0xe6},
203 {0x3c80, 0x00},
204 {0x3c87, 0x01},
205 {0x3c8c, 0x19},
206 {0x3c8d, 0x1c},
207 {0x3ca0, 0x00},
208 {0x3ca1, 0x00},
209 {0x3ca2, 0x00},
210 {0x3ca3, 0x00},
211 {0x3ca4, 0x50},
212 {0x3ca5, 0x11},
213 {0x3ca6, 0x01},
214 {0x3ca7, 0x00},
215 {0x3ca8, 0x00},
216 {0x4008, 0x02},
217 {0x4009, 0x0f},
218 {0x400a, 0x01},
219 {0x400b, 0x19},
220 {0x4011, 0x21},
221 {0x4017, 0x08},
222 {0x4019, 0x04},
223 {0x401a, 0x58},
224 {0x4032, 0x1e},
225 {0x4050, 0x02},
226 {0x4051, 0x09},
227 {0x405e, 0x00},
228 {0x4066, 0x02},
229 {0x4501, 0x00},
230 {0x4502, 0x10},
231 {0x4505, 0x00},
232 {0x4800, 0x64},
233 {0x481b, 0x3e},
234 {0x481f, 0x30},
235 {0x4825, 0x34},
236 {0x4837, 0x0e},
237 {0x484b, 0x01},
238 {0x4883, 0x02},
239 {0x5000, 0xff},
240 {0x5001, 0x0f},
241 {0x5045, 0x20},
242 {0x5046, 0x20},
243 {0x5047, 0xa4},
244 {0x5048, 0x20},
245 {0x5049, 0xa4},
246 {0x0100, 0x01},
250 {0x0305, 0xaf},
251 {0x3501, 0x0c},
252 {0x3662, 0x92},
253 {0x3714, 0x24},
254 {0x3739, 0x12},
255 {0x37c2, 0x04},
256 {0x37d9, 0x0c},
257 {0x37e2, 0x0a},
258 {0x3800, 0x00},
259 {0x3801, 0x00},
260 {0x3802, 0x00},
261 {0x3803, 0x08},
262 {0x3804, 0x10},
263 {0x3805, 0x8f},
264 {0x3806, 0x0c},
265 {0x3807, 0x47},
266 {0x3808, 0x10},
267 {0x3809, 0x70},
268 {0x380a, 0x0c},
269 {0x380b, 0x30},
270 {0x380c, 0x04},
271 {0x380d, 0x98},
272 {0x380e, 0x0c},
273 {0x380f, 0x7c},
274 {0x3810, 0x00},
275 {0x3811, 0x0f},
276 {0x3812, 0x00},
277 {0x3813, 0x09},
278 {0x3814, 0x01},
279 {0x3816, 0x01},
280 {0x3820, 0x88},
281 {0x3c8c, 0x19},
282 {0x4008, 0x02},
283 {0x4009, 0x0f},
284 {0x4050, 0x02},
285 {0x4051, 0x09},
286 {0x4501, 0x00},
287 {0x4505, 0x00},
288 {0x4837, 0x0e},
289 {0x5000, 0xff},
290 {0x5001, 0x0f},
294 {0x0305, 0xaf},
295 {0x3501, 0x0c},
296 {0x3662, 0x92},
297 {0x3714, 0x24},
298 {0x3739, 0x12},
299 {0x37c2, 0x04},
300 {0x37d9, 0x0c},
301 {0x37e2, 0x0a},
302 {0x3800, 0x00},
303 {0x3801, 0x00},
304 {0x3802, 0x00},
305 {0x3803, 0x08},
306 {0x3804, 0x10},
307 {0x3805, 0x8f},
308 {0x3806, 0x0c},
309 {0x3807, 0x47},
310 {0x3808, 0x10},
311 {0x3809, 0x40},
312 {0x380a, 0x0c},
313 {0x380b, 0x30},
314 {0x380c, 0x04},
315 {0x380d, 0x98},
316 {0x380e, 0x0c},
317 {0x380f, 0x7c},
318 {0x3810, 0x00},
319 {0x3811, 0x27},
320 {0x3812, 0x00},
321 {0x3813, 0x09},
322 {0x3814, 0x01},
323 {0x3816, 0x01},
324 {0x3820, 0x88},
325 {0x3c8c, 0x19},
326 {0x4008, 0x02},
327 {0x4009, 0x0f},
328 {0x4050, 0x02},
329 {0x4051, 0x09},
330 {0x4501, 0x00},
331 {0x4505, 0x00},
332 {0x4837, 0x0e},
333 {0x5000, 0xff},
334 {0x5001, 0x0f},
338 {0x0305, 0xaf},
339 {0x3501, 0x0c},
340 {0x3662, 0x92},
341 {0x3714, 0x24},
342 {0x3739, 0x12},
343 {0x37c2, 0x04},
344 {0x37d9, 0x0c},
345 {0x37e2, 0x0a},
346 {0x3800, 0x00},
347 {0x3801, 0x00},
348 {0x3802, 0x00},
349 {0x3803, 0x08},
350 {0x3804, 0x10},
351 {0x3805, 0x8f},
352 {0x3806, 0x0c},
353 {0x3807, 0x47},
354 {0x3808, 0x10},
355 {0x3809, 0x40},
356 {0x380a, 0x09},
357 {0x380b, 0x24},
358 {0x380c, 0x04},
359 {0x380d, 0x98},
360 {0x380e, 0x0c},
361 {0x380f, 0x7c},
362 {0x3810, 0x00},
363 {0x3811, 0x27},
364 {0x3812, 0x01},
365 {0x3813, 0x8f},
366 {0x3814, 0x01},
367 {0x3816, 0x01},
368 {0x3820, 0x88},
369 {0x3c8c, 0x19},
370 {0x4008, 0x02},
371 {0x4009, 0x0f},
372 {0x4050, 0x02},
373 {0x4051, 0x09},
374 {0x4501, 0x00},
375 {0x4505, 0x00},
376 {0x4837, 0x0e},
377 {0x5000, 0xff},
378 {0x5001, 0x0f},
382 {0x0305, 0xaf},
383 {0x3501, 0x06},
384 {0x3662, 0x88},
385 {0x3714, 0x28},
386 {0x3739, 0x10},
387 {0x37c2, 0x14},
388 {0x37d9, 0x06},
389 {0x37e2, 0x0c},
390 {0x3800, 0x00},
391 {0x3801, 0x00},
392 {0x3802, 0x00},
393 {0x3803, 0x08},
394 {0x3804, 0x10},
395 {0x3805, 0x8f},
396 {0x3806, 0x0c},
397 {0x3807, 0x47},
398 {0x3808, 0x08},
399 {0x3809, 0x38},
400 {0x380a, 0x06},
401 {0x380b, 0x18},
402 {0x380c, 0x04},
403 {0x380d, 0x98},
404 {0x380e, 0x06},
405 {0x380f, 0x3e},
406 {0x3810, 0x00},
407 {0x3811, 0x07},
408 {0x3812, 0x00},
409 {0x3813, 0x05},
410 {0x3814, 0x03},
411 {0x3816, 0x03},
412 {0x3820, 0x8b},
413 {0x3c8c, 0x18},
414 {0x4008, 0x00},
415 {0x4009, 0x05},
416 {0x4050, 0x00},
417 {0x4051, 0x05},
418 {0x4501, 0x08},
419 {0x4505, 0x00},
420 {0x4837, 0x0e},
421 {0x5000, 0xfd},
422 {0x5001, 0x0d},
426 {0x0305, 0xaf},
427 {0x3501, 0x06},
428 {0x3662, 0x88},
429 {0x3714, 0x28},
430 {0x3739, 0x10},
431 {0x37c2, 0x14},
432 {0x37d9, 0x06},
433 {0x37e2, 0x0c},
434 {0x3800, 0x00},
435 {0x3801, 0x00},
436 {0x3802, 0x00},
437 {0x3803, 0x08},
438 {0x3804, 0x10},
439 {0x3805, 0x8f},
440 {0x3806, 0x0c},
441 {0x3807, 0x47},
442 {0x3808, 0x08},
443 {0x3809, 0x20},
444 {0x380a, 0x04},
445 {0x380b, 0x92},
446 {0x380c, 0x04},
447 {0x380d, 0x98},
448 {0x380e, 0x06},
449 {0x380f, 0x3e},
450 {0x3810, 0x00},
451 {0x3811, 0x13},
452 {0x3812, 0x00},
453 {0x3813, 0xc9},
454 {0x3814, 0x03},
455 {0x3816, 0x03},
456 {0x3820, 0x8b},
457 {0x3c8c, 0x18},
458 {0x4008, 0x00},
459 {0x4009, 0x05},
460 {0x4050, 0x00},
461 {0x4051, 0x05},
462 {0x4501, 0x08},
463 {0x4505, 0x00},
464 {0x4837, 0x0e},
465 {0x5000, 0xfd},
466 {0x5001, 0x0d},
479 #define OV13B10_LINK_FREQ_INDEX_0 0
604 __be32 data_be = 0; in ov13b10_read_reg()
612 msgs[0].addr = client->addr; in ov13b10_read_reg()
613 msgs[0].flags = 0; in ov13b10_read_reg()
614 msgs[0].len = 2; in ov13b10_read_reg()
615 msgs[0].buf = (u8 *)®_addr_be; in ov13b10_read_reg()
629 return 0; in ov13b10_read_reg()
644 buf[0] = reg >> 8; in ov13b10_write_reg()
645 buf[1] = reg & 0xff; in ov13b10_write_reg()
658 return 0; in ov13b10_write_reg()
669 for (i = 0; i < len; i++) { in ov13b10_write_regs()
674 "Failed to write reg 0x%4.4x. error = %d\n", in ov13b10_write_regs()
681 return 0; in ov13b10_write_regs()
693 const struct ov13b10_mode *default_mode = &supported_modes[0]; in ov13b10_open()
697 0); in ov13b10_open()
710 return 0; in ov13b10_open()
719 * 0x350C[7:6], 0x350B[7:0], 0x350A[1:0] in ov13b10_update_digital_gain()
849 return 0; in ov13b10_set_ctrl()
851 ret = 0; in ov13b10_set_ctrl()
883 "ctrl(id:0x%x,val:0x%x) is not handled\n", in ov13b10_set_ctrl()
902 if (code->index > 0) in ov13b10_enum_mbus_code()
907 return 0; in ov13b10_enum_mbus_code()
925 return 0; in ov13b10_enum_frame_size()
951 return 0; in ov13b10_do_get_pad_format()
1023 return 0; in ov13b10_set_pad_format()
1078 int ret = 0; in ov13b10_set_stream()
1083 return 0; in ov13b10_set_stream()
1088 if (ret < 0) in ov13b10_set_stream()
1124 return 0; in ov13b10_suspend()
1139 return 0; in ov13b10_resume()
1165 return 0; in ov13b10_identify_module()
1220 0, in ov13b10_init_controls()
1225 pixel_rate_max = link_freq_to_pixel_rate(link_freq_menu_items[0]); in ov13b10_init_controls()
1226 pixel_rate_min = 0; in ov13b10_init_controls()
1269 0, 0, ov13b10_test_pattern_menu); in ov13b10_init_controls()
1272 V4L2_CID_HFLIP, 0, 1, 1, 0); in ov13b10_init_controls()
1274 V4L2_CID_VFLIP, 0, 1, 1, 0); in ov13b10_init_controls()
1294 return 0; in ov13b10_init_controls()
1358 for (i = 0; i < ARRAY_SIZE(link_freq_menu_items); i++) { in ov13b10_check_hwcfg()
1359 for (j = 0; j < bus_cfg.nr_of_link_frequencies; j++) { in ov13b10_check_hwcfg()
1406 ov13b->cur_mode = &supported_modes[0]; in ov13b10_probe()
1427 if (ret < 0) in ov13b10_probe()
1438 return 0; in ov13b10_probe()