Lines Matching +full:0 +full:x40

11 	{0xba00, 0x00f0}, {0xba00, 0x00f1}, {0xba51, 0x0066}, {0xba02, 0x00f1},
12 {0xba05, 0x0067}, {0xba05, 0x00f1}, {0xbaa0, 0x0065}, {0xba00, 0x00f1},
13 {0xffff, 0xffff},
14 {0xba00, 0x00f0}, {0xba02, 0x00f1}, {0xbafa, 0x0028}, {0xba02, 0x00f1},
15 {0xba00, 0x00f0}, {0xba01, 0x00f1}, {0xbaf0, 0x0006}, {0xba0e, 0x00f1},
16 {0xba70, 0x0006}, {0xba0e, 0x00f1},
17 {0xffff, 0xffff},
18 {0xba74, 0x0006}, {0xba0e, 0x00f1},
19 {0xffff, 0xffff},
20 {0x0061, 0x0000}, {0x0068, 0x000d},
24 {0x0000, 0x0000}, {0x0010, 0x0010},
25 {35, 0xffff},
26 {0x0008, 0x00c0}, {0x0001, 0x00c1}, {0x0001, 0x00c2}, {0x0020, 0x0006},
27 {0x006a, 0x000d},
31 {0x0010, 0x0010}, {0x0003, 0x00c1}, {0x0042, 0x00c2}, {0x0040, 0x0000},
32 {0x006a, 0x0007}, {0x006a, 0x000d}, {0x0063, 0x0006},
35 {0xba00, 0x00f0}, {0xba00, 0x00f1}, {0xba5a, 0x0066}, {0xba02, 0x00f1},
36 {0xba05, 0x0067}, {0xba05, 0x00f1}, {0xba20, 0x0065}, {0xba00, 0x00f1},
39 {0xba00, 0x00f0}, {0xba00, 0x00f1}, {0xba5a, 0x0066}, {0xba02, 0x00f1},
40 {0xba05, 0x0067}, {0xba05, 0x00f1}, {0xba20, 0x0065}, {0xba00, 0x00f1},
43 {0xba00, 0x00f0}, {0xba00, 0x00f1}, {0xbaa0, 0x0065}, {0xba00, 0x00f1},
44 {0xba51, 0x0066}, {0xba02, 0x00f1}, {0xba05, 0x0067}, {0xba05, 0x00f1},
45 {0xba20, 0x0065}, {0xba00, 0x00f1},
48 {0xba00, 0x00f0}, {0xba00, 0x00f1}, {0xbaa0, 0x0065}, {0xba00, 0x00f1},
49 {0x0061, 0x0000}, {0x0068, 0x000d},
54 0x0d, 0x80, 0xf1, 0x08, 0x03, 0x04, 0xf1, 0x00,
55 0x04, 0x05, 0xf1, 0x02, 0x05, 0x00, 0xf1, 0xf1,
56 0x06, 0x00, 0xf1, 0x0d, 0x20, 0x01, 0xf1, 0x00,
57 0x21, 0x84, 0xf1, 0x00, 0x0d, 0x00, 0xf1, 0x08,
58 0xf0, 0x00, 0xf1, 0x01, 0x34, 0x00, 0xf1, 0x00,
59 0x9b, 0x43, 0xf1, 0x00, 0xa6, 0x05, 0xf1, 0x00,
60 0xa9, 0x04, 0xf1, 0x00, 0xa1, 0x05, 0xf1, 0x00,
61 0xa4, 0x04, 0xf1, 0x00, 0xae, 0x0a, 0xf1, 0x08
63 0xf0, 0x00, 0xf1, 0x02, 0x3a, 0x05, 0xf1, 0xf1,
64 0x3c, 0x05, 0xf1, 0xf1, 0x59, 0x01, 0xf1, 0x47,
65 0x5a, 0x01, 0xf1, 0x88, 0x5c, 0x0a, 0xf1, 0x06,
66 0x5d, 0x0e, 0xf1, 0x0a, 0x64, 0x5e, 0xf1, 0x1c,
67 0xd2, 0x00, 0xf1, 0xcf, 0xcb, 0x00, 0xf1, 0x01
69 0xd3, 0x02, 0xd4, 0x28, 0xd5, 0x01, 0xd0, 0x02,
70 0xd1, 0x18, 0xd2, 0xc1
76 0x0d, 0x80, 0xf1, 0x08, 0x03, 0x03, 0xf1, 0xc0,
77 0x04, 0x05, 0xf1, 0x02, 0x05, 0x00, 0xf1, 0xf1,
78 0x06, 0x00, 0xf1, 0x0d, 0x20, 0x01, 0xf1, 0x00,
79 0x21, 0x84, 0xf1, 0x00, 0x0d, 0x00, 0xf1, 0x08,
80 0xf0, 0x00, 0xf1, 0x01, 0x34, 0x00, 0xf1, 0x00,
81 0x9b, 0x43, 0xf1, 0x00, 0xa6, 0x05, 0xf1, 0x00,
82 0xa9, 0x03, 0xf1, 0xc0, 0xa1, 0x03, 0xf1, 0x20,
83 0xa4, 0x02, 0xf1, 0x5a, 0xae, 0x0a, 0xf1, 0x08
85 0xf0, 0x00, 0xf1, 0x02, 0x3a, 0x05, 0xf1, 0xf1,
86 0x3c, 0x05, 0xf1, 0xf1, 0x59, 0x01, 0xf1, 0x47,
87 0x5a, 0x01, 0xf1, 0x88, 0x5c, 0x0a, 0xf1, 0x06,
88 0x5d, 0x0e, 0xf1, 0x0a, 0x64, 0x5e, 0xf1, 0x1c,
89 0xd2, 0x00, 0xf1, 0xcf, 0xcb, 0x00, 0xf1, 0x01
91 0xd3, 0x02, 0xd4, 0x18, 0xd5, 0x21, 0xd0, 0x02,
92 0xd1, 0x10, 0xd2, 0x59
98 0x0d, 0x80, 0xf1, 0x08, 0x03, 0x04, 0xf1, 0x04,
99 0x04, 0x05, 0xf1, 0x02, 0x07, 0x01, 0xf1, 0x7c,
100 0x08, 0x00, 0xf1, 0x0e, 0x21, 0x80, 0xf1, 0x00,
101 0x0d, 0x00, 0xf1, 0x08, 0xf0, 0x00, 0xf1, 0x01,
102 0x34, 0x10, 0xf1, 0x10, 0x3a, 0x43, 0xf1, 0x00,
103 0xa6, 0x05, 0xf1, 0x02, 0xa9, 0x04, 0xf1, 0x04,
104 0xa7, 0x02, 0xf1, 0x81, 0xaa, 0x01, 0xf1, 0xe2,
105 0xae, 0x0c, 0xf1, 0x09
107 0xf0, 0x00, 0xf1, 0x02, 0x39, 0x03, 0xf1, 0xfc,
108 0x3b, 0x04, 0xf1, 0x04, 0x57, 0x01, 0xf1, 0xb6,
109 0x58, 0x02, 0xf1, 0x0d, 0x5c, 0x1f, 0xf1, 0x19,
110 0x5d, 0x24, 0xf1, 0x1e, 0x64, 0x5e, 0xf1, 0x1c,
111 0xd2, 0x00, 0xf1, 0x00, 0xcb, 0x00, 0xf1, 0x01
113 0xd3, 0x02, 0xd4, 0x10, 0xd5, 0x81, 0xd0, 0x02,
114 0xd1, 0x08, 0xd2, 0xe1
118 static s32 tbl_sat[] = {0x25, 0x1d, 0x15, 0x0d, 0x05, 0x4d, 0x55, 0x5d, 0x2d};
119 static s32 tbl_bright[] = {0, 8, 0x10, 0x20, 0x30, 0x40, 0x50, 0x60, 0x70};
120 static s32 tbl_backlight[] = {0x0e, 0x06, 0x02};
123 0x90, 0x98, 0xa0, 0xa8, 0xb0, 0xb8, 0xc0, 0xc8, 0xd0, 0xe0, 0xf0};
125 0x70, 0x68, 0x60, 0x58, 0x50, 0x48, 0x40, 0x38, 0x30, 0x20, 0x10};
133 "\xf0\x00\xf1\x01\x05\x00\xf1\x0c" "\x3b\x04\xf1\x2a\x47\x40\xf1\x40"
142 static u8 dat_hvflip1[] = {0xf0, 0x00, 0xf1, 0x00};
163 "\x0e\x00\xf1\x40\x0f\x00\xf1\x5f" "\x10\x00\xf1\x4e\x11\x00\xf1\x5b";
204 sd->vcur.backlight = 0; in mi1320_init_settings()
205 sd->vcur.brightness = 0; in mi1320_init_settings()
209 sd->vcur.hue = 0; in mi1320_init_settings()
211 sd->vcur.whitebal = 0; in mi1320_init_settings()
212 sd->vcur.mirror = 0; in mi1320_init_settings()
213 sd->vcur.flip = 0; in mi1320_init_settings()
219 sd->vmax.contrast = 0; /* 10 but not working with this driver */ in mi1320_init_settings()
241 ctrl_out(gspca_dev, 0x40, 3, 0x0000, 0x0200, 22, dat_common00); in common()
242 ctrl_out(gspca_dev, 0x40, 1, 0x0041, 0x0000, 0, NULL); in common()
243 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 32, dat_common01); in common()
245 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 48, dat_common02); in common()
246 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 48, dat_common03); in common()
247 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 16, dat_common04); in common()
248 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 48, dat_common05); in common()
249 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 44, dat_common06); in common()
252 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 52, dat_common07); in common()
253 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 48, dat_common08); in common()
254 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 48, dat_common09); in common()
255 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 56, dat_common10); in common()
258 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 40, dat_common11); in common()
270 /* ctrl_out(gspca_dev, 0x40, 11, 0x0000, 0x0000, 0, NULL); */ in mi1320_init_at_startup()
272 return 0; in mi1320_init_at_startup()
279 sd->mirrorMask = 0; in mi1320_init_pre_alt()
299 return 0; in mi1320_init_pre_alt()
306 return 0; in mi1320_init_post_alt()
313 ctrl_out(gspca_dev, 0x40, 5, 0x0001, 0x0000, 0, NULL); in mi1320_sensor_settings()
322 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 64, tbl_1280[0]); in mi1320_sensor_settings()
323 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 40, tbl_1280[1]); in mi1320_sensor_settings()
324 ctrl_out(gspca_dev, 0x40, 3, 0x0000, 0x0200, 12, tbl_1280[2]); in mi1320_sensor_settings()
330 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 64, tbl_800[0]); in mi1320_sensor_settings()
331 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 40, tbl_800[1]); in mi1320_sensor_settings()
332 ctrl_out(gspca_dev, 0x40, 3, 0x0000, 0x0200, 12, tbl_800[2]); in mi1320_sensor_settings()
338 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 60, tbl_640[0]); in mi1320_sensor_settings()
339 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 40, tbl_640[1]); in mi1320_sensor_settings()
340 ctrl_out(gspca_dev, 0x40, 3, 0x0000, 0x0200, 12, tbl_640[2]); in mi1320_sensor_settings()
343 return 0; in mi1320_sensor_settings()
360 return 0; in mi1320_configure_alt()
375 s32 mirror = (((sd->vcur.mirror > 0) ^ sd->mirrorMask) > 0); in mi1320_camera_settings()
376 s32 flip = (((sd->vcur.flip > 0) ^ sd->mirrorMask) > 0); in mi1320_camera_settings()
377 s32 freq = (sd->vcur.AC50Hz > 0); in mi1320_camera_settings()
383 freq = 2 * (freq == 0); in mi1320_camera_settings()
384 ctrl_out(gspca_dev, 0x40, 1, 0xba00, 0x00f0, 0, NULL); in mi1320_camera_settings()
385 ctrl_out(gspca_dev, 0x40, 1, 0xba02, 0x00f1, 0, NULL); in mi1320_camera_settings()
386 ctrl_out(gspca_dev, 0x40, 1, 0xba00 , 0x005b, 0, NULL); in mi1320_camera_settings()
387 ctrl_out(gspca_dev, 0x40, 1, 0xba01 + freq, 0x00f1, 0, NULL); in mi1320_camera_settings()
392 if (wbal < 0 || wbal > sd->vmax.whitebal) in mi1320_camera_settings()
393 wbal = 0; in mi1320_camera_settings()
395 for (i = 0; i < 2; i++) { in mi1320_camera_settings()
396 if (wbal == 0) { /* Normal light */ in mi1320_camera_settings()
397 ctrl_out(gspca_dev, 0x40, 1, in mi1320_camera_settings()
398 0x0010, 0x0010, 0, NULL); in mi1320_camera_settings()
399 ctrl_out(gspca_dev, 0x40, 1, in mi1320_camera_settings()
400 0x0003, 0x00c1, 0, NULL); in mi1320_camera_settings()
401 ctrl_out(gspca_dev, 0x40, 1, in mi1320_camera_settings()
402 0x0042, 0x00c2, 0, NULL); in mi1320_camera_settings()
403 ctrl_out(gspca_dev, 0x40, 3, in mi1320_camera_settings()
404 0xba00, 0x0200, 48, dat_wbalNL); in mi1320_camera_settings()
408 ctrl_out(gspca_dev, 0x40, 1, in mi1320_camera_settings()
409 0x0010, 0x0010, 0, NULL); in mi1320_camera_settings()
410 ctrl_out(gspca_dev, 0x40, 1, in mi1320_camera_settings()
411 0x0004, 0x00c1, 0, NULL); in mi1320_camera_settings()
412 ctrl_out(gspca_dev, 0x40, 1, in mi1320_camera_settings()
413 0x0043, 0x00c2, 0, NULL); in mi1320_camera_settings()
414 ctrl_out(gspca_dev, 0x40, 3, in mi1320_camera_settings()
415 0xba00, 0x0200, 48, dat_wbalLL); in mi1320_camera_settings()
419 ctrl_out(gspca_dev, 0x40, 1, in mi1320_camera_settings()
420 0x0010, 0x0010, 0, NULL); in mi1320_camera_settings()
421 ctrl_out(gspca_dev, 0x40, 1, in mi1320_camera_settings()
422 0x0003, 0x00c1, 0, NULL); in mi1320_camera_settings()
423 ctrl_out(gspca_dev, 0x40, 1, in mi1320_camera_settings()
424 0x0042, 0x00c2, 0, NULL); in mi1320_camera_settings()
425 ctrl_out(gspca_dev, 0x40, 3, in mi1320_camera_settings()
426 0xba00, 0x0200, 44, dat_wbalBL); in mi1320_camera_settings()
433 if (bright < 0 || bright > sd->vmax.brightness) in mi1320_camera_settings()
434 bright = 0; in mi1320_camera_settings()
437 ctrl_out(gspca_dev, 0x40, 1, 0xba00, 0x00f0, 0, NULL); in mi1320_camera_settings()
438 ctrl_out(gspca_dev, 0x40, 1, 0xba01, 0x00f1, 0, NULL); in mi1320_camera_settings()
439 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + bright, 0x0034, 0, NULL); in mi1320_camera_settings()
440 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + bright, 0x00f1, 0, NULL); in mi1320_camera_settings()
445 if (sat < 0 || sat > sd->vmax.saturation) in mi1320_camera_settings()
446 sat = 0; in mi1320_camera_settings()
449 ctrl_out(gspca_dev, 0x40, 1, 0xba00, 0x00f0, 0, NULL); in mi1320_camera_settings()
450 ctrl_out(gspca_dev, 0x40, 1, 0xba01, 0x00f1, 0, NULL); in mi1320_camera_settings()
451 ctrl_out(gspca_dev, 0x40, 1, 0xba00 , 0x0025, 0, NULL); in mi1320_camera_settings()
452 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + sat, 0x00f1, 0, NULL); in mi1320_camera_settings()
457 if (sharp < 0 || sharp > sd->vmax.sharpness) in mi1320_camera_settings()
458 sharp = 0; in mi1320_camera_settings()
460 ctrl_out(gspca_dev, 0x40, 1, 0xba00, 0x00f0, 0, NULL); in mi1320_camera_settings()
461 ctrl_out(gspca_dev, 0x40, 1, 0xba01, 0x00f1, 0, NULL); in mi1320_camera_settings()
462 ctrl_out(gspca_dev, 0x40, 1, 0xba00 , 0x0005, 0, NULL); in mi1320_camera_settings()
463 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + sharp, 0x00f1, 0, NULL); in mi1320_camera_settings()
467 /* 0=normal 1=NB 2="sepia" 3=negative 4=other 5=other2 */ in mi1320_camera_settings()
468 if (hue < 0 || hue > sd->vmax.hue) in mi1320_camera_settings()
469 hue = 0; in mi1320_camera_settings()
473 sd->swapRB = 0; in mi1320_camera_settings()
475 ctrl_out(gspca_dev, 0x40, 1, 0xba00, 0x00f0, 0, NULL); in mi1320_camera_settings()
476 ctrl_out(gspca_dev, 0x40, 1, 0xba01, 0x00f1, 0, NULL); in mi1320_camera_settings()
477 ctrl_out(gspca_dev, 0x40, 1, 0xba70, 0x00e2, 0, NULL); in mi1320_camera_settings()
478 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + hue * (hue < 6), 0x00f1, in mi1320_camera_settings()
479 0, NULL); in mi1320_camera_settings()
484 if (backlight < 0 || backlight > sd->vmax.backlight) in mi1320_camera_settings()
485 backlight = 0; in mi1320_camera_settings()
488 for (i = 0; i < 2; i++) { in mi1320_camera_settings()
489 ctrl_out(gspca_dev, 0x40, 1, 0xba00, 0x00f0, 0, NULL); in mi1320_camera_settings()
490 ctrl_out(gspca_dev, 0x40, 1, 0xba01, 0x00f1, 0, NULL); in mi1320_camera_settings()
491 ctrl_out(gspca_dev, 0x40, 1, 0xba74, 0x0006, 0, NULL); in mi1320_camera_settings()
492 ctrl_out(gspca_dev, 0x40, 1, 0xba80 + backlight, 0x00f1, in mi1320_camera_settings()
493 0, NULL); in mi1320_camera_settings()
500 ctrl_out(gspca_dev, 0x40, 1, 0xba00, 0x00f0, 0, NULL); in mi1320_camera_settings()
501 ctrl_out(gspca_dev, 0x40, 1, 0xba01, 0x00f1, 0, NULL); in mi1320_camera_settings()
502 ctrl_out(gspca_dev, 0x40, 1, 0xba70, 0x00e2, 0, NULL); in mi1320_camera_settings()
503 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + hue * (hue < 6), 0x00f1, in mi1320_camera_settings()
504 0, NULL); in mi1320_camera_settings()
508 u8 dat_hvflip2[4] = {0x20, 0x01, 0xf1, 0x00}; in mi1320_camera_settings()
513 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 4, dat_hvflip1); in mi1320_camera_settings()
514 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 4, dat_hvflip2); in mi1320_camera_settings()
519 if (gam < 0 || gam > sd->vmax.gamma) in mi1320_camera_settings()
520 gam = 0; in mi1320_camera_settings()
523 ctrl_out(gspca_dev, 0x40, 1, 0xba00, 0x00f0, 0, NULL); in mi1320_camera_settings()
524 ctrl_out(gspca_dev, 0x40, 1, 0xba01, 0x00f1, 0, NULL); in mi1320_camera_settings()
525 ctrl_out(gspca_dev, 0x40, 1, 0xba04 , 0x003b, 0, NULL); in mi1320_camera_settings()
526 ctrl_out(gspca_dev, 0x40, 1, 0xba02 + gam, 0x00f1, 0, NULL); in mi1320_camera_settings()
531 if (cntr < 0 || cntr > sd->vmax.contrast) in mi1320_camera_settings()
532 cntr = 0; in mi1320_camera_settings()
534 ctrl_out(gspca_dev, 0x40, 1, 0xba00, 0x00f0, 0, NULL); in mi1320_camera_settings()
535 ctrl_out(gspca_dev, 0x40, 1, 0xba01, 0x00f1, 0, NULL); in mi1320_camera_settings()
536 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + tbl_cntr1[cntr], 0x0035, in mi1320_camera_settings()
537 0, NULL); in mi1320_camera_settings()
538 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + tbl_cntr2[cntr], 0x00f1, in mi1320_camera_settings()
539 0, NULL); in mi1320_camera_settings()
542 return 0; in mi1320_camera_settings()
547 ctrl_out(gspca_dev, 0x40, 5, 0x0000, 0x0000, 0, NULL); in mi1320_post_unset_alt()