Home
last modified time | relevance | path

Searched refs:wbal (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/drivers/media/usb/gspca/gl860/
A Dgl860-mi2020.c447 s32 wbal = sd->vcur.whitebal; in mi2020_init_post_alt() local
464 if (wbal == 0) { in mi2020_init_post_alt()
467 } else if (wbal == 1) { in mi2020_init_post_alt()
470 } else if (wbal == 2) { in mi2020_init_post_alt()
596 sd->vold.whitebal = wbal; in mi2020_init_post_alt()
665 sd->vold.whitebal = wbal; in mi2020_camera_settings()
666 if (wbal < 0 || wbal > sd->vmax.whitebal) in mi2020_camera_settings()
667 wbal = 0; in mi2020_camera_settings()
671 if (wbal == 0) { in mi2020_camera_settings()
674 } else if (wbal == 1) { in mi2020_camera_settings()
[all …]
A Dgl860-mi1320.c374 s32 wbal = sd->vcur.whitebal; in mi1320_camera_settings() local
390 if (wbal != sd->vold.whitebal) { in mi1320_camera_settings()
391 sd->vold.whitebal = wbal; in mi1320_camera_settings()
392 if (wbal < 0 || wbal > sd->vmax.whitebal) in mi1320_camera_settings()
393 wbal = 0; in mi1320_camera_settings()
396 if (wbal == 0) { /* Normal light */ in mi1320_camera_settings()
407 if (wbal == 1) { /* Low light */ in mi1320_camera_settings()
418 if (wbal == 2) { /* Back light */ in mi1320_camera_settings()
A Dgl860-ov2640.c346 s32 wbal = sd->vcur.whitebal; in ov2640_camera_settings() local
373 if (wbal != sd->vold.whitebal) { in ov2640_camera_settings()
374 sd->vold.whitebal = wbal; in ov2640_camera_settings()
375 if (wbal < 0 || wbal > sd->vmax.whitebal) in ov2640_camera_settings()
376 wbal = 0; in ov2640_camera_settings()
380 ctrl_out(gspca_dev, 0x40, 1, 0x6000 + wbal, 0x007d, 0, NULL); in ov2640_camera_settings()
/linux-6.3-rc2/drivers/media/platform/ti/omap3isp/
A Disppreview.c307 const struct omap3isp_prev_wbal *wbal = &params->wbal; in preview_config_whitebalance() local
312 val = wbal->coef0 << ISPPRV_WBGAIN_COEF0_SHIFT; in preview_config_whitebalance()
313 val |= wbal->coef1 << ISPPRV_WBGAIN_COEF1_SHIFT; in preview_config_whitebalance()
314 val |= wbal->coef2 << ISPPRV_WBGAIN_COEF2_SHIFT; in preview_config_whitebalance()
782 offsetof(struct prev_params, wbal),
783 sizeof_field(struct prev_params, wbal),
1333 params->wbal.dgain = FLR_WBAL_DGAIN; in preview_init_params()
1334 params->wbal.coef0 = FLR_WBAL_COEF; in preview_init_params()
1335 params->wbal.coef1 = FLR_WBAL_COEF; in preview_init_params()
1336 params->wbal.coef2 = FLR_WBAL_COEF; in preview_init_params()
[all …]
A Disppreview.h87 struct omap3isp_prev_wbal wbal; member
/linux-6.3-rc2/include/uapi/linux/
A Domap3isp.h664 struct omap3isp_prev_wbal __user *wbal; member

Completed in 22 milliseconds