Lines Matching +full:0 +full:x4040
24 #define OV5675_REG_CHIP_ID 0x300a
25 #define OV5675_CHIP_ID 0x5675
27 #define OV5675_REG_MODE_SELECT 0x0100
28 #define OV5675_MODE_STANDBY 0x00
29 #define OV5675_MODE_STREAMING 0x01
32 #define OV5675_REG_VTS 0x380e
33 #define OV5675_VTS_30FPS 0x07e4
34 #define OV5675_VTS_30FPS_MIN 0x07e4
35 #define OV5675_VTS_MAX 0x7fff
38 #define OV5675_REG_HTS 0x380c
41 #define OV5675_REG_EXPOSURE 0x3500
47 #define OV5675_REG_ANALOG_GAIN 0x3508
53 #define OV5675_REG_MWB_R_GAIN 0x5019
54 #define OV5675_REG_MWB_G_GAIN 0x501b
55 #define OV5675_REG_MWB_B_GAIN 0x501d
56 #define OV5675_DGTL_GAIN_MIN 0
62 #define OV5675_REG_TEST_PATTERN 0x4503
67 #define OV5675_REG_FORMAT1 0x3820
68 #define OV5675_REG_FORMAT2 0x373d
114 {0x0103, 0x01},
115 {0x0100, 0x00},
116 {0x0300, 0x04},
117 {0x0302, 0x8d},
118 {0x0303, 0x00},
119 {0x030d, 0x26},
123 {0x3002, 0x21},
124 {0x3107, 0x23},
125 {0x3501, 0x20},
126 {0x3503, 0x0c},
127 {0x3508, 0x03},
128 {0x3509, 0x00},
129 {0x3600, 0x66},
130 {0x3602, 0x30},
131 {0x3610, 0xa5},
132 {0x3612, 0x93},
133 {0x3620, 0x80},
134 {0x3642, 0x0e},
135 {0x3661, 0x00},
136 {0x3662, 0x10},
137 {0x3664, 0xf3},
138 {0x3665, 0x9e},
139 {0x3667, 0xa5},
140 {0x366e, 0x55},
141 {0x366f, 0x55},
142 {0x3670, 0x11},
143 {0x3671, 0x11},
144 {0x3672, 0x11},
145 {0x3673, 0x11},
146 {0x3714, 0x24},
147 {0x371a, 0x3e},
148 {0x3733, 0x10},
149 {0x3734, 0x00},
150 {0x373d, 0x24},
151 {0x3764, 0x20},
152 {0x3765, 0x20},
153 {0x3766, 0x12},
154 {0x37a1, 0x14},
155 {0x37a8, 0x1c},
156 {0x37ab, 0x0f},
157 {0x37c2, 0x04},
158 {0x37cb, 0x00},
159 {0x37cc, 0x00},
160 {0x37cd, 0x00},
161 {0x37ce, 0x00},
162 {0x37d8, 0x02},
163 {0x37d9, 0x08},
164 {0x37dc, 0x04},
165 {0x3800, 0x00},
166 {0x3801, 0x00},
167 {0x3802, 0x00},
168 {0x3803, 0x04},
169 {0x3804, 0x0a},
170 {0x3805, 0x3f},
171 {0x3806, 0x07},
172 {0x3807, 0xb3},
173 {0x3808, 0x0a},
174 {0x3809, 0x20},
175 {0x380a, 0x07},
176 {0x380b, 0x98},
177 {0x380c, 0x02},
178 {0x380d, 0xee},
179 {0x380e, 0x07},
180 {0x380f, 0xe4},
181 {0x3811, 0x10},
182 {0x3813, 0x0d},
183 {0x3814, 0x01},
184 {0x3815, 0x01},
185 {0x3816, 0x01},
186 {0x3817, 0x01},
187 {0x381e, 0x02},
188 {0x3820, 0x88},
189 {0x3821, 0x01},
190 {0x3832, 0x04},
191 {0x3c80, 0x01},
192 {0x3c82, 0x00},
193 {0x3c83, 0xc8},
194 {0x3c8c, 0x0f},
195 {0x3c8d, 0xa0},
196 {0x3c90, 0x07},
197 {0x3c91, 0x00},
198 {0x3c92, 0x00},
199 {0x3c93, 0x00},
200 {0x3c94, 0xd0},
201 {0x3c95, 0x50},
202 {0x3c96, 0x35},
203 {0x3c97, 0x00},
204 {0x4001, 0xe0},
205 {0x4008, 0x02},
206 {0x4009, 0x0d},
207 {0x400f, 0x80},
208 {0x4013, 0x02},
209 {0x4040, 0x00},
210 {0x4041, 0x07},
211 {0x404c, 0x50},
212 {0x404e, 0x20},
213 {0x4500, 0x06},
214 {0x4503, 0x00},
215 {0x450a, 0x04},
216 {0x4809, 0x04},
217 {0x480c, 0x12},
218 {0x4819, 0x70},
219 {0x4825, 0x32},
220 {0x4826, 0x32},
221 {0x482a, 0x06},
222 {0x4833, 0x08},
223 {0x4837, 0x0d},
224 {0x5000, 0x77},
225 {0x5b00, 0x01},
226 {0x5b01, 0x10},
227 {0x5b02, 0x01},
228 {0x5b03, 0xdb},
229 {0x5b05, 0x6c},
230 {0x5e10, 0xfc},
231 {0x3500, 0x00},
232 {0x3501, 0x3E},
233 {0x3502, 0x60},
234 {0x3503, 0x08},
235 {0x3508, 0x04},
236 {0x3509, 0x00},
237 {0x3832, 0x48},
238 {0x5780, 0x3e},
239 {0x5781, 0x0f},
240 {0x5782, 0x44},
241 {0x5783, 0x02},
242 {0x5784, 0x01},
243 {0x5785, 0x01},
244 {0x5786, 0x00},
245 {0x5787, 0x04},
246 {0x5788, 0x02},
247 {0x5789, 0x0f},
248 {0x578a, 0xfd},
249 {0x578b, 0xf5},
250 {0x578c, 0xf5},
251 {0x578d, 0x03},
252 {0x578e, 0x08},
253 {0x578f, 0x0c},
254 {0x5790, 0x08},
255 {0x5791, 0x06},
256 {0x5792, 0x00},
257 {0x5793, 0x52},
258 {0x5794, 0xa3},
259 {0x4003, 0x40},
260 {0x3107, 0x01},
261 {0x3c80, 0x08},
262 {0x3c83, 0xb1},
263 {0x3c8c, 0x10},
264 {0x3c8d, 0x00},
265 {0x3c90, 0x00},
266 {0x3c94, 0x00},
267 {0x3c95, 0x00},
268 {0x3c96, 0x00},
269 {0x37cb, 0x09},
270 {0x37cc, 0x15},
271 {0x37cd, 0x1f},
272 {0x37ce, 0x1f},
276 {0x3002, 0x21},
277 {0x3107, 0x23},
278 {0x3501, 0x20},
279 {0x3503, 0x0c},
280 {0x3508, 0x03},
281 {0x3509, 0x00},
282 {0x3600, 0x66},
283 {0x3602, 0x30},
284 {0x3610, 0xa5},
285 {0x3612, 0x93},
286 {0x3620, 0x80},
287 {0x3642, 0x0e},
288 {0x3661, 0x00},
289 {0x3662, 0x08},
290 {0x3664, 0xf3},
291 {0x3665, 0x9e},
292 {0x3667, 0xa5},
293 {0x366e, 0x55},
294 {0x366f, 0x55},
295 {0x3670, 0x11},
296 {0x3671, 0x11},
297 {0x3672, 0x11},
298 {0x3673, 0x11},
299 {0x3714, 0x28},
300 {0x371a, 0x3e},
301 {0x3733, 0x10},
302 {0x3734, 0x00},
303 {0x373d, 0x24},
304 {0x3764, 0x20},
305 {0x3765, 0x20},
306 {0x3766, 0x12},
307 {0x37a1, 0x14},
308 {0x37a8, 0x1c},
309 {0x37ab, 0x0f},
310 {0x37c2, 0x14},
311 {0x37cb, 0x00},
312 {0x37cc, 0x00},
313 {0x37cd, 0x00},
314 {0x37ce, 0x00},
315 {0x37d8, 0x02},
316 {0x37d9, 0x04},
317 {0x37dc, 0x04},
318 {0x3800, 0x00},
319 {0x3801, 0x00},
320 {0x3802, 0x00},
321 {0x3803, 0x00},
322 {0x3804, 0x0a},
323 {0x3805, 0x3f},
324 {0x3806, 0x07},
325 {0x3807, 0xb7},
326 {0x3808, 0x05},
327 {0x3809, 0x10},
328 {0x380a, 0x03},
329 {0x380b, 0xcc},
330 {0x380c, 0x02},
331 {0x380d, 0xee},
332 {0x380e, 0x07},
333 {0x380f, 0xd0},
334 {0x3811, 0x08},
335 {0x3813, 0x0d},
336 {0x3814, 0x03},
337 {0x3815, 0x01},
338 {0x3816, 0x03},
339 {0x3817, 0x01},
340 {0x381e, 0x02},
341 {0x3820, 0x8b},
342 {0x3821, 0x01},
343 {0x3832, 0x04},
344 {0x3c80, 0x01},
345 {0x3c82, 0x00},
346 {0x3c83, 0xc8},
347 {0x3c8c, 0x0f},
348 {0x3c8d, 0xa0},
349 {0x3c90, 0x07},
350 {0x3c91, 0x00},
351 {0x3c92, 0x00},
352 {0x3c93, 0x00},
353 {0x3c94, 0xd0},
354 {0x3c95, 0x50},
355 {0x3c96, 0x35},
356 {0x3c97, 0x00},
357 {0x4001, 0xe0},
358 {0x4008, 0x00},
359 {0x4009, 0x07},
360 {0x400f, 0x80},
361 {0x4013, 0x02},
362 {0x4040, 0x00},
363 {0x4041, 0x03},
364 {0x404c, 0x50},
365 {0x404e, 0x20},
366 {0x4500, 0x06},
367 {0x4503, 0x00},
368 {0x450a, 0x04},
369 {0x4809, 0x04},
370 {0x480c, 0x12},
371 {0x4819, 0x70},
372 {0x4825, 0x32},
373 {0x4826, 0x32},
374 {0x482a, 0x06},
375 {0x4833, 0x08},
376 {0x4837, 0x0d},
377 {0x5000, 0x77},
378 {0x5b00, 0x01},
379 {0x5b01, 0x10},
380 {0x5b02, 0x01},
381 {0x5b03, 0xdb},
382 {0x5b05, 0x6c},
383 {0x5e10, 0xfc},
384 {0x3500, 0x00},
385 {0x3501, 0x1F},
386 {0x3502, 0x20},
387 {0x3503, 0x08},
388 {0x3508, 0x04},
389 {0x3509, 0x00},
390 {0x3832, 0x48},
391 {0x5780, 0x3e},
392 {0x5781, 0x0f},
393 {0x5782, 0x44},
394 {0x5783, 0x02},
395 {0x5784, 0x01},
396 {0x5785, 0x01},
397 {0x5786, 0x00},
398 {0x5787, 0x04},
399 {0x5788, 0x02},
400 {0x5789, 0x0f},
401 {0x578a, 0xfd},
402 {0x578b, 0xf5},
403 {0x578c, 0xf5},
404 {0x578d, 0x03},
405 {0x578e, 0x08},
406 {0x578f, 0x0c},
407 {0x5790, 0x08},
408 {0x5791, 0x06},
409 {0x5792, 0x00},
410 {0x5793, 0x52},
411 {0x5794, 0xa3},
412 {0x4003, 0x40},
413 {0x3107, 0x01},
414 {0x3c80, 0x08},
415 {0x3c83, 0xb1},
416 {0x3c8c, 0x10},
417 {0x3c8d, 0x00},
418 {0x3c90, 0x00},
419 {0x3c94, 0x00},
420 {0x3c95, 0x00},
421 {0x3c96, 0x00},
422 {0x37cb, 0x09},
423 {0x37cc, 0x15},
424 {0x37cd, 0x1f},
425 {0x37ce, 0x1f},
521 u8 data_buf[4] = {0}; in ov5675_read_reg()
528 msgs[0].addr = client->addr; in ov5675_read_reg()
529 msgs[0].flags = 0; in ov5675_read_reg()
530 msgs[0].len = sizeof(addr_buf); in ov5675_read_reg()
531 msgs[0].buf = addr_buf; in ov5675_read_reg()
543 return 0; in ov5675_read_reg()
559 return 0; in ov5675_write_reg()
569 for (i = 0; i < r_list->num_of_regs; i++) { in ov5675_write_reg_list()
574 "failed to write reg 0x%4.4x. error = %d", in ov5675_write_reg_list()
580 return 0; in ov5675_write_reg_list()
664 int ret = 0; in ov5675_set_ctrl()
679 return 0; in ov5675_set_ctrl()
751 0, link_freq_menu_items); in ov5675_init_controls()
756 V4L2_CID_PIXEL_RATE, 0, in ov5675_init_controls()
788 0, 0, ov5675_test_pattern_menu); in ov5675_init_controls()
790 V4L2_CID_HFLIP, 0, 1, 1, 0); in ov5675_init_controls()
792 V4L2_CID_VFLIP, 0, 1, 1, 0); in ov5675_init_controls()
799 return 0; in ov5675_init_controls()
843 return 0; in ov5675_start_streaming()
859 int ret = 0; in ov5675_set_stream()
862 return 0; in ov5675_set_stream()
867 if (ret < 0) { in ov5675_set_stream()
875 enable = 0; in ov5675_set_stream()
902 return 0; in ov5675_suspend()
925 return 0; in ov5675_resume()
966 return 0; in ov5675_set_format()
984 return 0; in ov5675_get_format()
991 if (code->index > 0) in ov5675_enum_mbus_code()
996 return 0; in ov5675_enum_mbus_code()
1014 return 0; in ov5675_enum_frame_size()
1022 ov5675_update_pad_format(&supported_modes[0], in ov5675_open()
1023 v4l2_subdev_get_try_format(sd, fh->pad, 0)); in ov5675_open()
1026 return 0; in ov5675_open()
1070 return 0; in ov5675_identify_module()
1121 for (i = 0; i < ARRAY_SIZE(link_freq_menu_items); i++) { in ov5675_check_hwcfg()
1122 for (j = 0; j < bus_cfg.nr_of_link_frequencies; j++) { in ov5675_check_hwcfg()
1153 return 0; in ov5675_remove()
1180 ov5675->cur_mode = &supported_modes[0]; in ov5675_probe()
1199 if (ret < 0) { in ov5675_probe()
1213 return 0; in ov5675_probe()