Lines Matching +full:0 +full:x3300

20 #define IMX334_REG_MODE_SELECT	0x3000
21 #define IMX334_MODE_STANDBY 0x01
22 #define IMX334_MODE_STREAMING 0x00
25 #define IMX334_REG_LPFR 0x3030
28 #define IMX334_REG_ID 0x3044
29 #define IMX334_ID 0x1e
32 #define IMX334_REG_SHUTTER 0x3058
36 #define IMX334_EXPOSURE_DEFAULT 0x0648
39 #define IMX334_REG_AGAIN 0x30e8
40 #define IMX334_AGAIN_MIN 0
43 #define IMX334_AGAIN_DEFAULT 0
46 #define IMX334_REG_HOLD 0x3001
56 #define IMX334_REG_MIN 0x00
57 #define IMX334_REG_MAX 0xfffff
60 #define IMX334_REG_TP 0x329e
61 #define IMX334_TP_COLOR_HBARS 0xA
62 #define IMX334_TP_COLOR_VBARS 0xB
64 #define IMX334_TPG_EN_DOUT 0x329c
65 #define IMX334_TP_ENABLE 0x1
66 #define IMX334_TP_DISABLE 0x0
68 #define IMX334_TPG_COLORW 0x32a0
69 #define IMX334_TPG_COLORW_120P 0x13
71 #define IMX334_TP_CLK_EN 0x3148
72 #define IMX334_TP_CLK_EN_VAL 0x10
73 #define IMX334_TP_CLK_DIS_VAL 0x0
75 #define IMX334_DIG_CLP_MODE 0x3280
172 {0x3000, 0x01},
173 {0x3018, 0x04},
174 {0x3030, 0xca},
175 {0x3031, 0x08},
176 {0x3032, 0x00},
177 {0x3034, 0x4c},
178 {0x3035, 0x04},
179 {0x302c, 0xf0},
180 {0x302d, 0x03},
181 {0x302e, 0x80},
182 {0x302f, 0x07},
183 {0x3074, 0xcc},
184 {0x3075, 0x02},
185 {0x308e, 0xcd},
186 {0x308f, 0x02},
187 {0x3076, 0x38},
188 {0x3077, 0x04},
189 {0x3090, 0x38},
190 {0x3091, 0x04},
191 {0x3308, 0x38},
192 {0x3309, 0x04},
193 {0x30C6, 0x00},
194 {0x30c7, 0x00},
195 {0x30ce, 0x00},
196 {0x30cf, 0x00},
197 {0x30d8, 0x18},
198 {0x30d9, 0x0a},
199 {0x304c, 0x00},
200 {0x304e, 0x00},
201 {0x304f, 0x00},
202 {0x3050, 0x00},
203 {0x30b6, 0x00},
204 {0x30b7, 0x00},
205 {0x3116, 0x08},
206 {0x3117, 0x00},
207 {0x31a0, 0x20},
208 {0x31a1, 0x0f},
209 {0x300c, 0x3b},
210 {0x300d, 0x29},
211 {0x314c, 0x29},
212 {0x314d, 0x01},
213 {0x315a, 0x06},
214 {0x3168, 0xa0},
215 {0x316a, 0x7e},
216 {0x319e, 0x02},
217 {0x3199, 0x00},
218 {0x319d, 0x00},
219 {0x31dd, 0x03},
220 {0x3300, 0x00},
221 {0x341c, 0xff},
222 {0x341d, 0x01},
223 {0x3a01, 0x03},
224 {0x3a18, 0x7f},
225 {0x3a19, 0x00},
226 {0x3a1a, 0x37},
227 {0x3a1b, 0x00},
228 {0x3a1c, 0x37},
229 {0x3a1d, 0x00},
230 {0x3a1e, 0xf7},
231 {0x3a1f, 0x00},
232 {0x3a20, 0x3f},
233 {0x3a21, 0x00},
234 {0x3a20, 0x6f},
235 {0x3a21, 0x00},
236 {0x3a20, 0x3f},
237 {0x3a21, 0x00},
238 {0x3a20, 0x5f},
239 {0x3a21, 0x00},
240 {0x3a20, 0x2f},
241 {0x3a21, 0x00},
242 {0x3078, 0x02},
243 {0x3079, 0x00},
244 {0x307a, 0x00},
245 {0x307b, 0x00},
246 {0x3080, 0x02},
247 {0x3081, 0x00},
248 {0x3082, 0x00},
249 {0x3083, 0x00},
250 {0x3088, 0x02},
251 {0x3094, 0x00},
252 {0x3095, 0x00},
253 {0x3096, 0x00},
254 {0x309b, 0x02},
255 {0x309c, 0x00},
256 {0x309d, 0x00},
257 {0x309e, 0x00},
258 {0x30a4, 0x00},
259 {0x30a5, 0x00},
260 {0x3288, 0x21},
261 {0x328a, 0x02},
262 {0x3414, 0x05},
263 {0x3416, 0x18},
264 {0x35Ac, 0x0e},
265 {0x3648, 0x01},
266 {0x364a, 0x04},
267 {0x364c, 0x04},
268 {0x3678, 0x01},
269 {0x367c, 0x31},
270 {0x367e, 0x31},
271 {0x3708, 0x02},
272 {0x3714, 0x01},
273 {0x3715, 0x02},
274 {0x3716, 0x02},
275 {0x3717, 0x02},
276 {0x371c, 0x3d},
277 {0x371d, 0x3f},
278 {0x372c, 0x00},
279 {0x372d, 0x00},
280 {0x372e, 0x46},
281 {0x372f, 0x00},
282 {0x3730, 0x89},
283 {0x3731, 0x00},
284 {0x3732, 0x08},
285 {0x3733, 0x01},
286 {0x3734, 0xfe},
287 {0x3735, 0x05},
288 {0x375d, 0x00},
289 {0x375e, 0x00},
290 {0x375f, 0x61},
291 {0x3760, 0x06},
292 {0x3768, 0x1b},
293 {0x3769, 0x1b},
294 {0x376a, 0x1a},
295 {0x376b, 0x19},
296 {0x376c, 0x18},
297 {0x376d, 0x14},
298 {0x376e, 0x0f},
299 {0x3776, 0x00},
300 {0x3777, 0x00},
301 {0x3778, 0x46},
302 {0x3779, 0x00},
303 {0x377a, 0x08},
304 {0x377b, 0x01},
305 {0x377c, 0x45},
306 {0x377d, 0x01},
307 {0x377e, 0x23},
308 {0x377f, 0x02},
309 {0x3780, 0xd9},
310 {0x3781, 0x03},
311 {0x3782, 0xf5},
312 {0x3783, 0x06},
313 {0x3784, 0xa5},
314 {0x3788, 0x0f},
315 {0x378a, 0xd9},
316 {0x378b, 0x03},
317 {0x378c, 0xeb},
318 {0x378d, 0x05},
319 {0x378e, 0x87},
320 {0x378f, 0x06},
321 {0x3790, 0xf5},
322 {0x3792, 0x43},
323 {0x3794, 0x7a},
324 {0x3796, 0xa1},
325 {0x37b0, 0x37},
326 {0x3e04, 0x0e},
327 {0x30e8, 0x50},
328 {0x30e9, 0x00},
329 {0x3e04, 0x0e},
330 {0x3002, 0x00},
335 {0x3000, 0x01},
336 {0x3002, 0x00},
337 {0x3018, 0x04},
338 {0x37b0, 0x36},
339 {0x304c, 0x00},
340 {0x300c, 0x3b},
341 {0x300d, 0x2a},
342 {0x3034, 0x26},
343 {0x3035, 0x02},
344 {0x314c, 0x29},
345 {0x314d, 0x01},
346 {0x315a, 0x02},
347 {0x3168, 0xa0},
348 {0x316a, 0x7e},
349 {0x3288, 0x21},
350 {0x328a, 0x02},
351 {0x302c, 0x3c},
352 {0x302d, 0x00},
353 {0x302e, 0x00},
354 {0x302f, 0x0f},
355 {0x3076, 0x70},
356 {0x3077, 0x08},
357 {0x3090, 0x70},
358 {0x3091, 0x08},
359 {0x30d8, 0x20},
360 {0x30d9, 0x12},
361 {0x3308, 0x70},
362 {0x3309, 0x08},
363 {0x3414, 0x05},
364 {0x3416, 0x18},
365 {0x35ac, 0x0e},
366 {0x3648, 0x01},
367 {0x364a, 0x04},
368 {0x364c, 0x04},
369 {0x3678, 0x01},
370 {0x367c, 0x31},
371 {0x367e, 0x31},
372 {0x3708, 0x02},
373 {0x3714, 0x01},
374 {0x3715, 0x02},
375 {0x3716, 0x02},
376 {0x3717, 0x02},
377 {0x371c, 0x3d},
378 {0x371d, 0x3f},
379 {0x372c, 0x00},
380 {0x372d, 0x00},
381 {0x372e, 0x46},
382 {0x372f, 0x00},
383 {0x3730, 0x89},
384 {0x3731, 0x00},
385 {0x3732, 0x08},
386 {0x3733, 0x01},
387 {0x3734, 0xfe},
388 {0x3735, 0x05},
389 {0x375d, 0x00},
390 {0x375e, 0x00},
391 {0x375f, 0x61},
392 {0x3760, 0x06},
393 {0x3768, 0x1b},
394 {0x3769, 0x1b},
395 {0x376a, 0x1a},
396 {0x376b, 0x19},
397 {0x376c, 0x18},
398 {0x376d, 0x14},
399 {0x376e, 0x0f},
400 {0x3776, 0x00},
401 {0x3777, 0x00},
402 {0x3778, 0x46},
403 {0x3779, 0x00},
404 {0x377a, 0x08},
405 {0x377b, 0x01},
406 {0x377c, 0x45},
407 {0x377d, 0x01},
408 {0x377e, 0x23},
409 {0x377f, 0x02},
410 {0x3780, 0xd9},
411 {0x3781, 0x03},
412 {0x3782, 0xf5},
413 {0x3783, 0x06},
414 {0x3784, 0xa5},
415 {0x3788, 0x0f},
416 {0x378a, 0xd9},
417 {0x378b, 0x03},
418 {0x378c, 0xeb},
419 {0x378d, 0x05},
420 {0x378e, 0x87},
421 {0x378f, 0x06},
422 {0x3790, 0xf5},
423 {0x3792, 0x43},
424 {0x3794, 0x7a},
425 {0x3796, 0xa1},
426 {0x3e04, 0x0e},
427 {0x319e, 0x00},
428 {0x3a00, 0x01},
429 {0x3a18, 0xbf},
430 {0x3a19, 0x00},
431 {0x3a1a, 0x67},
432 {0x3a1b, 0x00},
433 {0x3a1c, 0x6f},
434 {0x3a1d, 0x00},
435 {0x3a1e, 0xd7},
436 {0x3a1f, 0x01},
437 {0x3a20, 0x6f},
438 {0x3a21, 0x00},
439 {0x3a22, 0xcf},
440 {0x3a23, 0x00},
441 {0x3a24, 0x6f},
442 {0x3a25, 0x00},
443 {0x3a26, 0xb7},
444 {0x3a27, 0x00},
445 {0x3a28, 0x5f},
446 {0x3a29, 0x00},
462 {0x3050, 0x00},
463 {0x319d, 0x00},
464 {0x341c, 0xff},
465 {0x341d, 0x01},
469 {0x3050, 0x01},
470 {0x319d, 0x01},
471 {0x341c, 0x47},
472 {0x341d, 0x00},
490 .link_freq_idx = 0,
531 * Return: 0 if successful, error code otherwise.
536 struct i2c_msg msgs[2] = {0}; in imx334_read_reg()
537 u8 addr_buf[2] = {0}; in imx334_read_reg()
538 u8 data_buf[4] = {0}; in imx334_read_reg()
547 msgs[0].addr = client->addr; in imx334_read_reg()
548 msgs[0].flags = 0; in imx334_read_reg()
549 msgs[0].len = ARRAY_SIZE(addr_buf); in imx334_read_reg()
550 msgs[0].buf = addr_buf; in imx334_read_reg()
564 return 0; in imx334_read_reg()
576 * Return: 0 if successful, error code otherwise.
581 u8 buf[6] = {0}; in imx334_write_reg()
591 return 0; in imx334_write_reg()
600 * Return: 0 if successful, error code otherwise.
608 for (i = 0; i < len; i++) { in imx334_write_regs()
614 return 0; in imx334_write_regs()
622 * Return: 0 if successful, error code otherwise.
657 * Return: 0 if successful, error code otherwise.
685 imx334_write_reg(imx334, IMX334_REG_HOLD, 1, 0); in imx334_update_exp_gain()
700 * Return: 0 if successful, error code otherwise.
729 return 0; in imx334_set_ctrl()
745 ret = 0; in imx334_set_ctrl()
751 imx334_write_reg(imx334, IMX334_DIG_CLP_MODE, 1, 0x0); in imx334_set_ctrl()
759 imx334_write_reg(imx334, IMX334_DIG_CLP_MODE, 1, 0x1); in imx334_set_ctrl()
765 ret = 0; in imx334_set_ctrl()
784 for (i = 0; i < ARRAY_SIZE(imx334_mbus_codes); i++) { in imx334_get_format_code()
789 return imx334_mbus_codes[0]; in imx334_get_format_code()
798 * Return: 0 if successful, error code otherwise.
809 return 0; in imx334_enum_mbus_code()
818 * Return: 0 if successful, error code otherwise.
840 return 0; in imx334_enum_frame_size()
869 * Return: 0 if successful, error code otherwise.
891 return 0; in imx334_get_pad_format()
900 * Return: 0 if successful, error code otherwise.
908 int ret = 0; in imx334_set_pad_format()
942 * Return: 0 if successful, error code otherwise.
948 struct v4l2_subdev_format fmt = { 0 }; in imx334_init_state()
956 __v4l2_ctrl_modify_range(imx334->link_freq_ctrl, 0, in imx334_init_state()
985 * Return: 0 if successful, error code otherwise.
1023 return 0; in imx334_start_streaming()
1030 * Return: 0 if successful, error code otherwise.
1043 * Return: 0 if successful, error code otherwise.
1054 if (ret < 0) in imx334_set_stream()
1067 return 0; in imx334_set_stream()
1081 * Return: 0 if successful, -EIO if sensor id does not match
1098 return 0; in imx334_detect()
1105 * Return: 0 if successful, error code otherwise.
1195 * Return: 0 if successful, error code otherwise.
1213 return 0; in imx334_power_on()
1216 gpiod_set_value_cansleep(imx334->reset_gpio, 0); in imx334_power_on()
1225 * Return: 0 if successful, error code otherwise.
1232 gpiod_set_value_cansleep(imx334->reset_gpio, 0); in imx334_power_off()
1236 return 0; in imx334_power_off()
1243 * Return: 0 if successful, error code otherwise.
1315 0, 0, imx334_test_pattern_menu); in imx334_init_controls()
1326 return 0; in imx334_init_controls()
1333 * Return: 0 if successful, error code otherwise.
1373 imx334->cur_code = imx334_mbus_codes[0]; in imx334_probe()
1395 if (ret < 0) { in imx334_probe()
1405 return 0; in imx334_probe()
1423 * Return: 0 if successful, error code otherwise.