Lines Matching +full:0 +full:x40

12 static u8 c61[] = {0x61}; /* expected */
13 static u8 c51[] = {0x51}; /* expected */
14 static u8 c50[] = {0x50}; /* expected */
15 static u8 c28[] = {0x28}; /* expected */
16 static u8 ca8[] = {0xa8}; /* expected */
27 {0x0000, 0x0000}, {0x0010, 0x0010}, {0x0008, 0x00c0}, {0x0001, 0x00c1},
28 {0x0001, 0x00c2}, {0x0020, 0x0006}, {0x006a, 0x000d},
29 {0x0050, 0x0000}, {0x0041, 0x0000}, {0x006a, 0x0007}, {0x0061, 0x0006},
30 {0x006a, 0x000d}, {0x0000, 0x00c0}, {0x0010, 0x0010}, {0x0001, 0x00c1},
31 {0x0041, 0x00c2}, {0x0004, 0x00d8}, {0x0012, 0x0004}, {0x0000, 0x0058},
32 {0x0041, 0x0000}, {0x0061, 0x0000},
36 {0x6000, 0x00ff}, {0x60ff, 0x002c}, {0x60df, 0x002e}, {0x6001, 0x00ff},
37 {0x6080, 0x0012}, {0x6000, 0x0000}, {0x6000, 0x0045}, {0x6000, 0x0010},
38 {0x6035, 0x003c}, {0x6000, 0x0011}, {0x6028, 0x0004}, {0x60e5, 0x0013},
39 {0x6088, 0x0014}, {0x600c, 0x002c}, {0x6078, 0x0033}, {0x60f7, 0x003b},
40 {0x6000, 0x003e}, {0x6011, 0x0043}, {0x6010, 0x0016}, {0x6082, 0x0039},
41 {0x6088, 0x0035}, {0x600a, 0x0022}, {0x6040, 0x0037}, {0x6000, 0x0023},
42 {0x60a0, 0x0034}, {0x601a, 0x0036}, {0x6002, 0x0006}, {0x60c0, 0x0007},
43 {0x60b7, 0x000d}, {0x6001, 0x000e}, {0x6000, 0x004c}, {0x6081, 0x004a},
44 {0x6099, 0x0021}, {0x6002, 0x0009}, {0x603e, 0x0024}, {0x6034, 0x0025},
45 {0x6081, 0x0026}, {0x6000, 0x0000}, {0x6000, 0x0045}, {0x6000, 0x0010},
46 {0x6000, 0x005c}, {0x6000, 0x0063}, {0x6000, 0x007c}, {0x6070, 0x0061},
47 {0x6080, 0x0062}, {0x6080, 0x0020}, {0x6030, 0x0028}, {0x6000, 0x006c},
48 {0x6000, 0x006e}, {0x6002, 0x0070}, {0x6094, 0x0071}, {0x60c1, 0x0073},
49 {0x6034, 0x003d}, {0x6057, 0x005a}, {0x60bb, 0x004f}, {0x609c, 0x0050},
50 {0x6080, 0x006d}, {0x6002, 0x0039}, {0x6033, 0x003a}, {0x60f1, 0x003b},
51 {0x6031, 0x003c}, {0x6000, 0x00ff}, {0x6014, 0x00e0}, {0x60ff, 0x0076},
52 {0x60a0, 0x0033}, {0x6020, 0x0042}, {0x6018, 0x0043}, {0x6000, 0x004c},
53 {0x60d0, 0x0087}, {0x600f, 0x0088}, {0x6003, 0x00d7}, {0x6010, 0x00d9},
54 {0x6005, 0x00da}, {0x6082, 0x00d3}, {0x60c0, 0x00f9}, {0x6006, 0x0044},
55 {0x6007, 0x00d1}, {0x6002, 0x00d2}, {0x6000, 0x00d2}, {0x6011, 0x00d8},
56 {0x6008, 0x00c8}, {0x6080, 0x00c9}, {0x6008, 0x007c}, {0x6020, 0x007d},
57 {0x6020, 0x007d}, {0x6000, 0x0090}, {0x600e, 0x0091}, {0x601a, 0x0091},
58 {0x6031, 0x0091}, {0x605a, 0x0091}, {0x6069, 0x0091}, {0x6075, 0x0091},
59 {0x607e, 0x0091}, {0x6088, 0x0091}, {0x608f, 0x0091}, {0x6096, 0x0091},
60 {0x60a3, 0x0091}, {0x60af, 0x0091}, {0x60c4, 0x0091}, {0x60d7, 0x0091},
61 {0x60e8, 0x0091}, {0x6020, 0x0091}, {0x6000, 0x0092}, {0x6006, 0x0093},
62 {0x60e3, 0x0093}, {0x6005, 0x0093}, {0x6005, 0x0093}, {0x6000, 0x0093},
63 {0x6004, 0x0093}, {0x6000, 0x0093}, {0x6000, 0x0093}, {0x6000, 0x0093},
64 {0x6000, 0x0093}, {0x6000, 0x0093}, {0x6000, 0x0093}, {0x6000, 0x0093},
65 {0x6000, 0x0096}, {0x6008, 0x0097}, {0x6019, 0x0097}, {0x6002, 0x0097},
66 {0x600c, 0x0097}, {0x6024, 0x0097}, {0x6030, 0x0097}, {0x6028, 0x0097},
67 {0x6026, 0x0097}, {0x6002, 0x0097}, {0x6098, 0x0097}, {0x6080, 0x0097},
68 {0x6000, 0x0097}, {0x6000, 0x0097}, {0x60ed, 0x00c3}, {0x609a, 0x00c4},
69 {0x6000, 0x00a4}, {0x6011, 0x00c5}, {0x6051, 0x00c6}, {0x6010, 0x00c7},
70 {0x6066, 0x00b6}, {0x60a5, 0x00b8}, {0x6064, 0x00b7}, {0x607c, 0x00b9},
71 {0x60af, 0x00b3}, {0x6097, 0x00b4}, {0x60ff, 0x00b5}, {0x60c5, 0x00b0},
72 {0x6094, 0x00b1}, {0x600f, 0x00b2}, {0x605c, 0x00c4}, {0x6000, 0x00a8},
73 {0x60c8, 0x00c0}, {0x6096, 0x00c1}, {0x601d, 0x0086}, {0x6000, 0x0050},
74 {0x6090, 0x0051}, {0x6018, 0x0052}, {0x6000, 0x0053}, {0x6000, 0x0054},
75 {0x6088, 0x0055}, {0x6000, 0x0057}, {0x6090, 0x005a}, {0x6018, 0x005b},
76 {0x6005, 0x005c}, {0x60ed, 0x00c3}, {0x6000, 0x007f}, {0x6005, 0x00da},
77 {0x601f, 0x00e5}, {0x6067, 0x00e1}, {0x6000, 0x00e0}, {0x60ff, 0x00dd},
78 {0x6000, 0x0005}, {0x6001, 0x00ff}, {0x6000, 0x0000}, {0x6000, 0x0045},
79 {0x6000, 0x0010},
83 {0x0041, 0x0000}, {0x006a, 0x0007}, {0x00ef, 0x0006}, {0x006a, 0x000d},
84 {0x0000, 0x00c0}, {0x0010, 0x0010}, {0x0001, 0x00c1}, {0x0041, 0x00c2},
85 {0x0004, 0x00d8}, {0x0012, 0x0004}, {0x0000, 0x0058}, {0x0041, 0x0000},
86 {50, 0xffff},
87 {0x0061, 0x0000},
88 {0xffff, 0xffff},
89 {0x6000, 0x00ff}, {0x6000, 0x007c}, {0x6007, 0x007d},
90 {30, 0xffff},
91 {0x0040, 0x0000},
95 {0x6001, 0x00ff}, {0x6038, 0x000c},
96 {10, 0xffff},
97 {0x6000, 0x0011},
101 {0x6000, 0x00ff}, {0x60f1, 0x00dd}, {0x6004, 0x00e0}, {0x6067, 0x00e1},
102 {0x6004, 0x00da}, {0x6000, 0x00ff}, {0x60f1, 0x00dd}, {0x6004, 0x00e0},
103 {0x6001, 0x00ff}, {0x6000, 0x0012}, {0x6000, 0x0011}, {0x6011, 0x0017},
104 {0x6075, 0x0018}, {0x6001, 0x0019}, {0x6097, 0x001a}, {0x6036, 0x0032},
105 {0x60bb, 0x004f}, {0x6057, 0x005a}, {0x609c, 0x0050}, {0x6080, 0x006d},
106 {0x6092, 0x0026}, {0x60ff, 0x0020}, {0x6000, 0x0027}, {0x6000, 0x00ff},
107 {0x60c8, 0x00c0}, {0x6096, 0x00c1}, {0x6000, 0x008c}, {0x603d, 0x0086},
108 {0x6089, 0x0050}, {0x6090, 0x0051}, {0x602c, 0x0052}, {0x6000, 0x0053},
109 {0x6000, 0x0054}, {0x6088, 0x0055}, {0x6000, 0x0057}, {0x60a0, 0x005a},
110 {0x6078, 0x005b}, {0x6000, 0x005c}, {0x6004, 0x00d3}, {0x6000, 0x00e0},
111 {0x60ff, 0x00dd}, {0x60a1, 0x005a},
115 {0x6000, 0x00ff}, {0x60f1, 0x00dd}, {0x6004, 0x00e0}, {0x6067, 0x00e1},
116 {0x6004, 0x00da}, {0x6000, 0x00ff}, {0x60f1, 0x00dd}, {0x6004, 0x00e0},
117 {0x6001, 0x00ff}, {0x6040, 0x0012}, {0x6000, 0x0011}, {0x6011, 0x0017},
118 {0x6043, 0x0018}, {0x6000, 0x0019}, {0x604b, 0x001a}, {0x6009, 0x0032},
119 {0x60ca, 0x004f}, {0x60a8, 0x0050}, {0x6000, 0x006d}, {0x6038, 0x003d},
120 {0x60c8, 0x0035}, {0x6000, 0x0022}, {0x6092, 0x0026}, {0x60ff, 0x0020},
121 {0x6000, 0x0027}, {0x6000, 0x00ff}, {0x6064, 0x00c0}, {0x604b, 0x00c1},
122 {0x6000, 0x008c}, {0x601d, 0x0086}, {0x6082, 0x00d3}, {0x6000, 0x00e0},
123 {0x60ff, 0x00dd}, {0x6020, 0x008c}, {0x6001, 0x00ff}, {0x6044, 0x0018},
127 {0x0002, 0x00c1}, {0x6000, 0x00ff}, {0x60f1, 0x00dd}, {0x6004, 0x00e0},
128 {0x6001, 0x00ff}, {0x6000, 0x0012}, {0x6000, 0x0000}, {0x6000, 0x0045},
129 {0x6000, 0x0010}, {0x6000, 0x0011}, {0x6011, 0x0017}, {0x6075, 0x0018},
130 {0x6001, 0x0019}, {0x6097, 0x001a}, {0x6036, 0x0032}, {0x60bb, 0x004f},
131 {0x609c, 0x0050}, {0x6057, 0x005a}, {0x6080, 0x006d}, {0x6043, 0x000f},
132 {0x608f, 0x0003}, {0x6005, 0x007c}, {0x6081, 0x0026}, {0x6000, 0x00ff},
133 {0x60c8, 0x00c0}, {0x6096, 0x00c1}, {0x6000, 0x008c},
137 {0x603d, 0x0086}, {0x6000, 0x0050}, {0x6090, 0x0051}, {0x602c, 0x0052},
138 {0x6000, 0x0053}, {0x6000, 0x0054}, {0x6088, 0x0055}, {0x6000, 0x0057},
139 {0x6040, 0x005a}, {0x60f0, 0x005b}, {0x6001, 0x005c}, {0x6082, 0x00d3},
140 {0x6000, 0x008e},
144 {0x6004, 0x00da}, {0x6000, 0x00e0}, {0x6067, 0x00e1}, {0x60ff, 0x00dd},
145 {0x6001, 0x00ff}, {0x6000, 0x00ff}, {0x60f1, 0x00dd}, {0x6004, 0x00e0},
146 {0x6001, 0x00ff}, {0x6000, 0x0011}, {0x6000, 0x00ff}, {0x6010, 0x00c7},
147 {0x6000, 0x0092}, {0x6006, 0x0093}, {0x60e3, 0x0093}, {0x6005, 0x0093},
148 {0x6005, 0x0093}, {0x60ed, 0x00c3}, {0x6000, 0x00a4}, {0x60d0, 0x0087},
149 {0x6003, 0x0096}, {0x600c, 0x0097}, {0x6024, 0x0097}, {0x6030, 0x0097},
150 {0x6028, 0x0097}, {0x6026, 0x0097}, {0x6002, 0x0097}, {0x6001, 0x00ff},
151 {0x6043, 0x000f}, {0x608f, 0x0003}, {0x6000, 0x002d}, {0x6000, 0x002e},
152 {0x600a, 0x0022}, {0x6002, 0x0070}, {0x6008, 0x0014}, {0x6048, 0x0014},
153 {0x6000, 0x00ff}, {0x6000, 0x00e0}, {0x60ff, 0x00dd},
157 {0x006a, 0x000d}, {0x6001, 0x00ff}, {0x6081, 0x0026}, {0x6000, 0x0000},
158 {0x6000, 0x0045}, {0x6000, 0x0010}, {0x6068, 0x000d},
159 {50, 0xffff},
160 {0x0021, 0x0000},
176 sd->vcur.brightness = 0; in ov2640_init_settings()
178 sd->vcur.contrast = 0; in ov2640_init_settings()
180 sd->vcur.hue = 0; in ov2640_init_settings()
183 sd->vcur.mirror = 0; in ov2640_init_settings()
184 sd->vcur.flip = 0; in ov2640_init_settings()
196 sd->vmax.AC50Hz = 0; in ov2640_init_settings()
217 ctrl_out(gspca_dev, 0x40, 3, 0x0000, 0x0200, 12, dat_init1); in ov2640_init_at_startup()
221 ctrl_in(gspca_dev, 0xc0, 2, 0x0000, 0x0006, 1, c61); in ov2640_init_at_startup()
223 ctrl_out(gspca_dev, 0x40, 1, 0x00ef, 0x0006, 0, NULL); in ov2640_init_at_startup()
225 ctrl_in(gspca_dev, 0xc0, 2, 0x0000, 0x0000, 1, c51); in ov2640_init_at_startup()
227 ctrl_out(gspca_dev, 0x40, 1, 0x0051, 0x0000, 0, NULL); in ov2640_init_at_startup()
228 /* ctrl_out(gspca_dev, 0x40, 11, 0x0000, 0x0000, 0, NULL); */ in ov2640_init_at_startup()
230 return 0; in ov2640_init_at_startup()
237 sd->mirrorMask = 0; in ov2640_init_pre_alt()
252 return 0; in ov2640_init_pre_alt()
260 ctrl_out(gspca_dev, 0x40, 5, 0x0001, 0x0000, 0, NULL); in ov2640_init_post_alt()
264 ctrl_out(gspca_dev, 0x40, 3, 0x0000, 0x0200, 12, dat_post); in ov2640_init_post_alt()
272 ctrl_out(gspca_dev, 0x40, 3, 0x0000, 0x0200, 12, dat_640); in ov2640_init_post_alt()
277 ctrl_out(gspca_dev, 0x40, 3, 0x0000, 0x0200, 12, dat_800); in ov2640_init_post_alt()
288 ctrl_out(gspca_dev, 0x40, 1, 0x601d, 0x0086, 0, NULL); in ov2640_init_post_alt()
289 ctrl_out(gspca_dev, 0x40, 1, 0x6001, 0x00d7, 0, NULL); in ov2640_init_post_alt()
290 ctrl_out(gspca_dev, 0x40, 1, 0x6082, 0x00d3, 0, NULL); in ov2640_init_post_alt()
296 ctrl_out(gspca_dev, 0x40, 1, 0x6001, 0x00ff, 0, NULL); in ov2640_init_post_alt()
297 ctrl_out(gspca_dev, 0x40, 3, 0x0000, 0x0200, in ov2640_init_post_alt()
300 ctrl_out(gspca_dev, 0x40, 1, 0x6020, 0x008c, 0, NULL); in ov2640_init_post_alt()
301 ctrl_out(gspca_dev, 0x40, 1, 0x6001, 0x00ff, 0, NULL); in ov2640_init_post_alt()
302 ctrl_out(gspca_dev, 0x40, 1, 0x6076, 0x0018, 0, NULL); in ov2640_init_post_alt()
303 ctrl_out(gspca_dev, 0x40, 3, 0x0000, 0x0200, in ov2640_init_post_alt()
314 return 0; in ov2640_init_post_alt()
332 return 0; in ov2640_configure_alt()
347 s32 mirror = (((sd->vcur.mirror > 0) ^ sd->mirrorMask) == 0); in ov2640_camera_settings()
348 s32 flip = (((sd->vcur.flip > 0) ^ sd->mirrorMask) == 0); in ov2640_camera_settings()
352 if (backlight < 0 || backlight > sd->vmax.backlight) in ov2640_camera_settings()
353 backlight = 0; in ov2640_camera_settings()
355 ctrl_out(gspca_dev, 0x40, 1, 0x6001 , 0x00ff, in ov2640_camera_settings()
356 0, NULL); in ov2640_camera_settings()
357 ctrl_out(gspca_dev, 0x40, 1, 0x601e + backlight , 0x0024, in ov2640_camera_settings()
358 0, NULL); in ov2640_camera_settings()
359 ctrl_out(gspca_dev, 0x40, 1, 0x601e + backlight - 10, 0x0025, in ov2640_camera_settings()
360 0, NULL); in ov2640_camera_settings()
365 if (bright < 0 || bright > sd->vmax.brightness) in ov2640_camera_settings()
366 bright = 0; in ov2640_camera_settings()
368 ctrl_out(gspca_dev, 0x40, 1, 0x6000 , 0x00ff, 0, NULL); in ov2640_camera_settings()
369 ctrl_out(gspca_dev, 0x40, 1, 0x6009 , 0x007c, 0, NULL); in ov2640_camera_settings()
370 ctrl_out(gspca_dev, 0x40, 1, 0x6000 + bright, 0x007d, 0, NULL); in ov2640_camera_settings()
375 if (wbal < 0 || wbal > sd->vmax.whitebal) in ov2640_camera_settings()
376 wbal = 0; in ov2640_camera_settings()
378 ctrl_out(gspca_dev, 0x40, 1, 0x6000 , 0x00ff, 0, NULL); in ov2640_camera_settings()
379 ctrl_out(gspca_dev, 0x40, 1, 0x6003 , 0x007c, 0, NULL); in ov2640_camera_settings()
380 ctrl_out(gspca_dev, 0x40, 1, 0x6000 + wbal, 0x007d, 0, NULL); in ov2640_camera_settings()
385 if (cntr < 0 || cntr > sd->vmax.contrast) in ov2640_camera_settings()
386 cntr = 0; in ov2640_camera_settings()
388 ctrl_out(gspca_dev, 0x40, 1, 0x6000 , 0x00ff, 0, NULL); in ov2640_camera_settings()
389 ctrl_out(gspca_dev, 0x40, 1, 0x6007 , 0x007c, 0, NULL); in ov2640_camera_settings()
390 ctrl_out(gspca_dev, 0x40, 1, 0x6000 + cntr, 0x007d, 0, NULL); in ov2640_camera_settings()
395 if (sat < 0 || sat > sd->vmax.saturation) in ov2640_camera_settings()
396 sat = 0; in ov2640_camera_settings()
398 ctrl_out(gspca_dev, 0x40, 1, 0x6000 , 0x00ff, 0, NULL); in ov2640_camera_settings()
399 ctrl_out(gspca_dev, 0x40, 1, 0x6001 , 0x007c, 0, NULL); in ov2640_camera_settings()
400 ctrl_out(gspca_dev, 0x40, 1, 0x6000 + sat, 0x007d, 0, NULL); in ov2640_camera_settings()
405 if (sharp < 0 || sharp > sd->vmax.sharpness) in ov2640_camera_settings()
406 sharp = 0; in ov2640_camera_settings()
408 ctrl_out(gspca_dev, 0x40, 1, 0x6000 , 0x00ff, 0, NULL); in ov2640_camera_settings()
409 ctrl_out(gspca_dev, 0x40, 1, 0x6001 , 0x0092, 0, NULL); in ov2640_camera_settings()
410 ctrl_out(gspca_dev, 0x40, 1, 0x60c0 + sharp, 0x0093, 0, NULL); in ov2640_camera_settings()
415 if (hue < 0 || hue > sd->vmax.hue) in ov2640_camera_settings()
416 hue = 0; in ov2640_camera_settings()
418 ctrl_out(gspca_dev, 0x40, 1, 0x6000 , 0x00ff, 0, NULL); in ov2640_camera_settings()
419 ctrl_out(gspca_dev, 0x40, 1, 0x6002 , 0x007c, 0, NULL); in ov2640_camera_settings()
420 ctrl_out(gspca_dev, 0x40, 1, 0x6000 + hue * (hue < 255), 0x007d, in ov2640_camera_settings()
421 0, NULL); in ov2640_camera_settings()
425 sd->swapRB = 0; in ov2640_camera_settings()
430 if (gam < 0 || gam > sd->vmax.gamma) in ov2640_camera_settings()
431 gam = 0; in ov2640_camera_settings()
433 ctrl_out(gspca_dev, 0x40, 1, 0x6000 , 0x00ff, 0, NULL); in ov2640_camera_settings()
434 ctrl_out(gspca_dev, 0x40, 1, 0x6008 , 0x007c, 0, NULL); in ov2640_camera_settings()
435 ctrl_out(gspca_dev, 0x40, 1, 0x6000 + gam, 0x007d, 0, NULL); in ov2640_camera_settings()
442 mirror = 0x80 * mirror; in ov2640_camera_settings()
443 ctrl_out(gspca_dev, 0x40, 1, 0x6001, 0x00ff, 0, NULL); in ov2640_camera_settings()
444 ctrl_out(gspca_dev, 0x40, 1, 0x6000, 0x8004, 0, NULL); in ov2640_camera_settings()
445 ctrl_in(gspca_dev, 0xc0, 2, 0x6000, 0x8004, 1, c28); in ov2640_camera_settings()
446 ctrl_out(gspca_dev, 0x40, 1, 0x6028 + mirror, 0x0004, 0, NULL); in ov2640_camera_settings()
448 flip = 0x50 * flip + mirror; in ov2640_camera_settings()
449 ctrl_out(gspca_dev, 0x40, 1, 0x6001, 0x00ff, 0, NULL); in ov2640_camera_settings()
450 ctrl_out(gspca_dev, 0x40, 1, 0x6000, 0x8004, 0, NULL); in ov2640_camera_settings()
451 ctrl_in(gspca_dev, 0xc0, 2, 0x6000, 0x8004, 1, ca8); in ov2640_camera_settings()
452 ctrl_out(gspca_dev, 0x40, 1, 0x6028 + flip, 0x0004, 0, NULL); in ov2640_camera_settings()
454 ctrl_in(gspca_dev, 0xc0, 2, 0x0000, 0x0000, 1, c50); in ov2640_camera_settings()
460 ctrl_out(gspca_dev, 0x40, 1, 0x6001 , 0x00ff, in ov2640_camera_settings()
461 0, NULL); in ov2640_camera_settings()
462 ctrl_out(gspca_dev, 0x40, 1, 0x601e + backlight , 0x0024, in ov2640_camera_settings()
463 0, NULL); in ov2640_camera_settings()
464 ctrl_out(gspca_dev, 0x40, 1, 0x601e + backlight - 10, 0x0025, in ov2640_camera_settings()
465 0, NULL); in ov2640_camera_settings()
468 return 0; in ov2640_camera_settings()
473 ctrl_out(gspca_dev, 0x40, 5, 0x0000, 0x0000, 0, NULL); in ov2640_post_unset_alt()