Home
last modified time | relevance | path

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

/linux-6.1.9/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.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()
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.1.9/drivers/media/platform/ti/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-6.1.9/include/uapi/linux/
Domap3isp.h664 struct omap3isp_prev_wbal __user *wbal; member