Lines Matching +full:0 +full:x0200
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},
91 static s32 tbl_sat[] = {0x25, 0x1d, 0x15, 0x0d, 0x05, 0x4d, 0x55, 0x5d, 0x2d};
92 static s32 tbl_bright[] = {0, 8, 0x10, 0x20, 0x30, 0x40, 0x50, 0x60, 0x70};
93 static s32 tbl_backlight[] = {0x0e, 0x06, 0x02};
96 0x90, 0x98, 0xa0, 0xa8, 0xb0, 0xb8, 0xc0, 0xc8, 0xd0, 0xe0, 0xf0};
98 0x70, 0x68, 0x60, 0x58, 0x50, 0x48, 0x40, 0x38, 0x30, 0x20, 0x10};
115 static u8 dat_hvflip1[] = {0xf0, 0x00, 0xf1, 0x00};
177 sd->vcur.backlight = 0; in mi1320_init_settings()
178 sd->vcur.brightness = 0; in mi1320_init_settings()
182 sd->vcur.hue = 0; in mi1320_init_settings()
184 sd->vcur.whitebal = 0; in mi1320_init_settings()
185 sd->vcur.mirror = 0; in mi1320_init_settings()
186 sd->vcur.flip = 0; in mi1320_init_settings()
192 sd->vmax.contrast = 0; /* 10 but not working with this driver */ in mi1320_init_settings()
214 ctrl_out(gspca_dev, 0x40, 3, 0x0000, 0x0200, 22, dat_common00); in common()
215 ctrl_out(gspca_dev, 0x40, 1, 0x0041, 0x0000, 0, NULL); in common()
216 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 32, dat_common01); in common()
218 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 48, dat_common02); in common()
219 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 48, dat_common03); in common()
220 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 16, dat_common04); in common()
221 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 48, dat_common05); in common()
222 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 44, dat_common06); in common()
225 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 52, dat_common07); in common()
226 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 48, dat_common08); in common()
227 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 48, dat_common09); in common()
228 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 56, dat_common10); in common()
231 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 40, dat_common11); in common()
243 /* ctrl_out(gspca_dev, 0x40, 11, 0x0000, 0x0000, 0, NULL); */ in mi1320_init_at_startup()
245 return 0; in mi1320_init_at_startup()
252 sd->mirrorMask = 0; in mi1320_init_pre_alt()
272 return 0; in mi1320_init_pre_alt()
279 return 0; in mi1320_init_post_alt()
286 ctrl_out(gspca_dev, 0x40, 5, 0x0001, 0x0000, 0, NULL); in mi1320_sensor_settings()
295 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 64, tbl_1280[0]); in mi1320_sensor_settings()
296 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 40, tbl_1280[1]); in mi1320_sensor_settings()
297 ctrl_out(gspca_dev, 0x40, 3, 0x0000, 0x0200, 12, tbl_1280[2]); in mi1320_sensor_settings()
303 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 64, tbl_800[0]); in mi1320_sensor_settings()
304 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 40, tbl_800[1]); in mi1320_sensor_settings()
305 ctrl_out(gspca_dev, 0x40, 3, 0x0000, 0x0200, 12, tbl_800[2]); in mi1320_sensor_settings()
311 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 60, tbl_640[0]); in mi1320_sensor_settings()
312 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 40, tbl_640[1]); in mi1320_sensor_settings()
313 ctrl_out(gspca_dev, 0x40, 3, 0x0000, 0x0200, 12, tbl_640[2]); in mi1320_sensor_settings()
316 return 0; in mi1320_sensor_settings()
333 return 0; in mi1320_configure_alt()
348 s32 mirror = (((sd->vcur.mirror > 0) ^ sd->mirrorMask) > 0); in mi1320_camera_settings()
349 s32 flip = (((sd->vcur.flip > 0) ^ sd->mirrorMask) > 0); in mi1320_camera_settings()
350 s32 freq = (sd->vcur.AC50Hz > 0); in mi1320_camera_settings()
356 freq = 2 * (freq == 0); in mi1320_camera_settings()
357 ctrl_out(gspca_dev, 0x40, 1, 0xba00, 0x00f0, 0, NULL); in mi1320_camera_settings()
358 ctrl_out(gspca_dev, 0x40, 1, 0xba02, 0x00f1, 0, NULL); in mi1320_camera_settings()
359 ctrl_out(gspca_dev, 0x40, 1, 0xba00 , 0x005b, 0, NULL); in mi1320_camera_settings()
360 ctrl_out(gspca_dev, 0x40, 1, 0xba01 + freq, 0x00f1, 0, NULL); in mi1320_camera_settings()
365 if (wbal < 0 || wbal > sd->vmax.whitebal) in mi1320_camera_settings()
366 wbal = 0; in mi1320_camera_settings()
368 for (i = 0; i < 2; i++) { in mi1320_camera_settings()
369 if (wbal == 0) { /* Normal light */ in mi1320_camera_settings()
370 ctrl_out(gspca_dev, 0x40, 1, in mi1320_camera_settings()
371 0x0010, 0x0010, 0, NULL); in mi1320_camera_settings()
372 ctrl_out(gspca_dev, 0x40, 1, in mi1320_camera_settings()
373 0x0003, 0x00c1, 0, NULL); in mi1320_camera_settings()
374 ctrl_out(gspca_dev, 0x40, 1, in mi1320_camera_settings()
375 0x0042, 0x00c2, 0, NULL); in mi1320_camera_settings()
376 ctrl_out(gspca_dev, 0x40, 3, in mi1320_camera_settings()
377 0xba00, 0x0200, 48, dat_wbalNL); in mi1320_camera_settings()
381 ctrl_out(gspca_dev, 0x40, 1, in mi1320_camera_settings()
382 0x0010, 0x0010, 0, NULL); in mi1320_camera_settings()
383 ctrl_out(gspca_dev, 0x40, 1, in mi1320_camera_settings()
384 0x0004, 0x00c1, 0, NULL); in mi1320_camera_settings()
385 ctrl_out(gspca_dev, 0x40, 1, in mi1320_camera_settings()
386 0x0043, 0x00c2, 0, NULL); in mi1320_camera_settings()
387 ctrl_out(gspca_dev, 0x40, 3, in mi1320_camera_settings()
388 0xba00, 0x0200, 48, dat_wbalLL); in mi1320_camera_settings()
392 ctrl_out(gspca_dev, 0x40, 1, in mi1320_camera_settings()
393 0x0010, 0x0010, 0, NULL); in mi1320_camera_settings()
394 ctrl_out(gspca_dev, 0x40, 1, in mi1320_camera_settings()
395 0x0003, 0x00c1, 0, NULL); in mi1320_camera_settings()
396 ctrl_out(gspca_dev, 0x40, 1, in mi1320_camera_settings()
397 0x0042, 0x00c2, 0, NULL); in mi1320_camera_settings()
398 ctrl_out(gspca_dev, 0x40, 3, in mi1320_camera_settings()
399 0xba00, 0x0200, 44, dat_wbalBL); in mi1320_camera_settings()
406 if (bright < 0 || bright > sd->vmax.brightness) in mi1320_camera_settings()
407 bright = 0; in mi1320_camera_settings()
410 ctrl_out(gspca_dev, 0x40, 1, 0xba00, 0x00f0, 0, NULL); in mi1320_camera_settings()
411 ctrl_out(gspca_dev, 0x40, 1, 0xba01, 0x00f1, 0, NULL); in mi1320_camera_settings()
412 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + bright, 0x0034, 0, NULL); in mi1320_camera_settings()
413 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + bright, 0x00f1, 0, NULL); in mi1320_camera_settings()
418 if (sat < 0 || sat > sd->vmax.saturation) in mi1320_camera_settings()
419 sat = 0; in mi1320_camera_settings()
422 ctrl_out(gspca_dev, 0x40, 1, 0xba00, 0x00f0, 0, NULL); in mi1320_camera_settings()
423 ctrl_out(gspca_dev, 0x40, 1, 0xba01, 0x00f1, 0, NULL); in mi1320_camera_settings()
424 ctrl_out(gspca_dev, 0x40, 1, 0xba00 , 0x0025, 0, NULL); in mi1320_camera_settings()
425 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + sat, 0x00f1, 0, NULL); in mi1320_camera_settings()
430 if (sharp < 0 || sharp > sd->vmax.sharpness) in mi1320_camera_settings()
431 sharp = 0; in mi1320_camera_settings()
433 ctrl_out(gspca_dev, 0x40, 1, 0xba00, 0x00f0, 0, NULL); in mi1320_camera_settings()
434 ctrl_out(gspca_dev, 0x40, 1, 0xba01, 0x00f1, 0, NULL); in mi1320_camera_settings()
435 ctrl_out(gspca_dev, 0x40, 1, 0xba00 , 0x0005, 0, NULL); in mi1320_camera_settings()
436 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + sharp, 0x00f1, 0, NULL); in mi1320_camera_settings()
440 /* 0=normal 1=NB 2="sepia" 3=negative 4=other 5=other2 */ in mi1320_camera_settings()
441 if (hue < 0 || hue > sd->vmax.hue) in mi1320_camera_settings()
442 hue = 0; in mi1320_camera_settings()
446 sd->swapRB = 0; in mi1320_camera_settings()
448 ctrl_out(gspca_dev, 0x40, 1, 0xba00, 0x00f0, 0, NULL); in mi1320_camera_settings()
449 ctrl_out(gspca_dev, 0x40, 1, 0xba01, 0x00f1, 0, NULL); in mi1320_camera_settings()
450 ctrl_out(gspca_dev, 0x40, 1, 0xba70, 0x00e2, 0, NULL); in mi1320_camera_settings()
451 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + hue * (hue < 6), 0x00f1, in mi1320_camera_settings()
452 0, NULL); in mi1320_camera_settings()
457 if (backlight < 0 || backlight > sd->vmax.backlight) in mi1320_camera_settings()
458 backlight = 0; in mi1320_camera_settings()
461 for (i = 0; i < 2; i++) { in mi1320_camera_settings()
462 ctrl_out(gspca_dev, 0x40, 1, 0xba00, 0x00f0, 0, NULL); in mi1320_camera_settings()
463 ctrl_out(gspca_dev, 0x40, 1, 0xba01, 0x00f1, 0, NULL); in mi1320_camera_settings()
464 ctrl_out(gspca_dev, 0x40, 1, 0xba74, 0x0006, 0, NULL); in mi1320_camera_settings()
465 ctrl_out(gspca_dev, 0x40, 1, 0xba80 + backlight, 0x00f1, in mi1320_camera_settings()
466 0, NULL); in mi1320_camera_settings()
473 ctrl_out(gspca_dev, 0x40, 1, 0xba00, 0x00f0, 0, NULL); in mi1320_camera_settings()
474 ctrl_out(gspca_dev, 0x40, 1, 0xba01, 0x00f1, 0, NULL); in mi1320_camera_settings()
475 ctrl_out(gspca_dev, 0x40, 1, 0xba70, 0x00e2, 0, NULL); in mi1320_camera_settings()
476 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + hue * (hue < 6), 0x00f1, in mi1320_camera_settings()
477 0, NULL); in mi1320_camera_settings()
481 u8 dat_hvflip2[4] = {0x20, 0x01, 0xf1, 0x00}; in mi1320_camera_settings()
486 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 4, dat_hvflip1); in mi1320_camera_settings()
487 ctrl_out(gspca_dev, 0x40, 3, 0xba00, 0x0200, 4, dat_hvflip2); in mi1320_camera_settings()
492 if (gam < 0 || gam > sd->vmax.gamma) in mi1320_camera_settings()
493 gam = 0; in mi1320_camera_settings()
496 ctrl_out(gspca_dev, 0x40, 1, 0xba00, 0x00f0, 0, NULL); in mi1320_camera_settings()
497 ctrl_out(gspca_dev, 0x40, 1, 0xba01, 0x00f1, 0, NULL); in mi1320_camera_settings()
498 ctrl_out(gspca_dev, 0x40, 1, 0xba04 , 0x003b, 0, NULL); in mi1320_camera_settings()
499 ctrl_out(gspca_dev, 0x40, 1, 0xba02 + gam, 0x00f1, 0, NULL); in mi1320_camera_settings()
504 if (cntr < 0 || cntr > sd->vmax.contrast) in mi1320_camera_settings()
505 cntr = 0; in mi1320_camera_settings()
507 ctrl_out(gspca_dev, 0x40, 1, 0xba00, 0x00f0, 0, NULL); in mi1320_camera_settings()
508 ctrl_out(gspca_dev, 0x40, 1, 0xba01, 0x00f1, 0, NULL); in mi1320_camera_settings()
509 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + tbl_cntr1[cntr], 0x0035, in mi1320_camera_settings()
510 0, NULL); in mi1320_camera_settings()
511 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + tbl_cntr2[cntr], 0x00f1, in mi1320_camera_settings()
512 0, NULL); in mi1320_camera_settings()
515 return 0; in mi1320_camera_settings()
520 ctrl_out(gspca_dev, 0x40, 5, 0x0000, 0x0000, 0, NULL); in mi1320_post_unset_alt()