Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/media/usb/gspca/gl860/
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()
635 s32 wbal = sd->vcur.whitebal; in mi2020_camera_settings() local
664 if (wbal != sd->vold.whitebal) { in mi2020_camera_settings()
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()
[all …]
Dgl860-mi1320.c347 s32 wbal = sd->vcur.whitebal; in mi1320_camera_settings() local
363 if (wbal != sd->vold.whitebal) { in mi1320_camera_settings()
364 sd->vold.whitebal = wbal; in mi1320_camera_settings()
365 if (wbal < 0 || wbal > sd->vmax.whitebal) in mi1320_camera_settings()
366 wbal = 0; in mi1320_camera_settings()
369 if (wbal == 0) { /* Normal light */ in mi1320_camera_settings()
380 if (wbal == 1) { /* Low light */ in mi1320_camera_settings()
391 if (wbal == 2) { /* Back light */ in mi1320_camera_settings()
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-v5.10/drivers/media/platform/omap3isp/
Disppreview.c307 const struct omap3isp_prev_wbal *wbal = &params->wbal; in preview_config_whitebalance() local
310 isp_reg_writel(isp, wbal->dgain, OMAP3_ISP_IOMEM_PREV, ISPPRV_WB_DGAIN); in preview_config_whitebalance()
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()
315 val |= wbal->coef3 << ISPPRV_WBGAIN_COEF3_SHIFT; in preview_config_whitebalance()
782 offsetof(struct prev_params, wbal),
783 sizeof_field(struct prev_params, wbal),
784 offsetof(struct omap3isp_prev_update_config, wbal),
1333 params->wbal.dgain = FLR_WBAL_DGAIN; in preview_init_params()
[all …]
Disppreview.h87 struct omap3isp_prev_wbal wbal; member
/Linux-v5.10/include/uapi/linux/
Domap3isp.h659 struct omap3isp_prev_wbal __user *wbal; member