Home
last modified time | relevance | path

Searched refs:global_gain (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/media/usb/gspca/
H A Dtouptek.c275 static void setggain(struct gspca_dev *gspca_dev, u16 global_gain) in setggain() argument
279 normalized = gainify(global_gain); in setggain()
282 normalized, global_gain); in setggain()
289 u16 gain, u16 global_gain) in setbgain() argument
293 normalized = global_gain + in setbgain()
294 ((u32)global_gain) * gain / GAIN_MAX; in setbgain()
308 u16 gain, u16 global_gain) in setrgain() argument
312 normalized = global_gain + in setrgain()
313 ((u32)global_gain) * gain / GAIN_MAX; in setrgain()
/openbmc/linux/drivers/media/i2c/
H A Dmt9v011.c61 u16 global_gain, exposure; member
184 green_gain = calc_mt9v011_gain(core->global_gain); in set_balance()
186 bal = core->global_gain; in set_balance()
187 bal += (core->blue_bal * core->global_gain / (1 << 7)); in set_balance()
190 bal = core->global_gain; in set_balance()
191 bal += (core->red_bal * core->global_gain / (1 << 7)); in set_balance()
421 core->global_gain = ctrl->val; in mt9v011_s_ctrl()
543 core->global_gain = 0x0024; in mt9v011_probe()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn201/
H A Ddcn201_mpc.c69 mpcc->blnd_cfg.global_gain = 0xff; in mpc201_init_mpcc()
H A Ddcn201_hwseq.c453 blnd_cfg.global_gain = 0xff; in dcn201_update_mpcc()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dmpc.h99 int global_gain; member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_mpc.c89 MPCC_GLOBAL_GAIN, blnd_cfg->global_gain); in mpc1_update_blending()
359 mpcc->blnd_cfg.global_gain = 0xff; in mpc1_init_mpcc()
H A Ddcn10_hw_sequencer.c2612 blnd_cfg.global_gain = 0xff; in dcn10_update_mpcc()
2623 blnd_cfg.global_gain = pipe_ctx->plane_state->global_alpha_value; in dcn10_update_mpcc()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_mpc.c62 MPCC_GLOBAL_GAIN, blnd_cfg->global_gain, in mpc2_update_blending()
518 mpcc->blnd_cfg.global_gain = 0xff; in mpc2_init_mpcc()
H A Ddcn20_hwseq.c2600 blnd_cfg.global_gain = 0xff; in dcn20_update_mpcc()
2606 blnd_cfg.global_gain = pipe_ctx->plane_state->global_alpha_value; in dcn20_update_mpcc()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_mpc.c1045 mpcc->blnd_cfg.global_gain = 0xff; in mpc3_init_mpcc()