Searched refs:gam (Results 1 – 3 of 3) sorted by relevance
/drivers/media/usb/gspca/gl860/ |
D | gl860-mi1320.c | 356 s32 gam = sd->vcur.gamma; in mi1320_camera_settings() local 502 if (gam != sd->vold.gamma) { in mi1320_camera_settings() 503 sd->vold.gamma = gam; in mi1320_camera_settings() 504 if (gam < 0 || gam > sd->vmax.gamma) in mi1320_camera_settings() 505 gam = 0; in mi1320_camera_settings() 507 gam = 2 * gam; in mi1320_camera_settings() 511 ctrl_out(gspca_dev, 0x40, 1, 0xba02 + gam, 0x00f1, 0, NULL); in mi1320_camera_settings()
|
D | gl860-ov2640.c | 354 s32 gam = sd->vcur.gamma; in ov2640_camera_settings() local 440 if (gam != sd->vold.gamma) { in ov2640_camera_settings() 441 sd->vold.gamma = gam; in ov2640_camera_settings() 442 if (gam < 0 || gam > sd->vmax.gamma) in ov2640_camera_settings() 443 gam = 0; in ov2640_camera_settings() 447 ctrl_out(gspca_dev, 0x40, 1, 0x6000 + gam, 0x007d, 0, NULL); in ov2640_camera_settings()
|
D | gl860-mi2020.c | 642 s32 gam = sd->vcur.gamma; in mi2020_camera_settings() local 746 if (cntr != sd->vold.contrast || gam != sd->vold.gamma) { in mi2020_camera_settings() 750 sd->vold.gamma = gam; in mi2020_camera_settings() 751 if (gam < 0 || gam > sd->vmax.gamma) in mi2020_camera_settings() 752 gam = 0; in mi2020_camera_settings() 758 dat_multi4[2] = dat_multi2[2] = cntr * 0x10 + 2 - gam; in mi2020_camera_settings()
|