Searched refs:wbal (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/media/usb/gspca/gl860/ |
D | gl860-mi2020.c | 447 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 …]
|
D | gl860-mi1320.c | 374 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()
|
D | gl860-ov2640.c | 346 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.6.21/drivers/media/platform/ti/omap3isp/ |
D | isppreview.c | 307 const struct omap3isp_prev_wbal *wbal = ¶ms->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 …]
|
D | isppreview.h | 87 struct omap3isp_prev_wbal wbal; member
|
/linux-6.6.21/include/uapi/linux/ |
D | omap3isp.h | 664 struct omap3isp_prev_wbal __user *wbal; member
|