Home
last modified time | relevance | path

Searched refs:fg_alpha (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_lm.c95 u32 stage, u32 fg_alpha, u32 bg_alpha, u32 blend_op) in dpu_hw_lm_setup_blend_config_combined_alpha() argument
108 const_alpha = (bg_alpha & 0xFF) | ((fg_alpha & 0xFF) << 16); in dpu_hw_lm_setup_blend_config_combined_alpha()
114 u32 stage, u32 fg_alpha, u32 bg_alpha, u32 blend_op) in dpu_hw_lm_setup_blend_config() argument
126 DPU_REG_WRITE(c, LM_BLEND0_FG_ALPHA + stage_off, fg_alpha); in dpu_hw_lm_setup_blend_config()
Ddpu_crtc.c338 uint32_t fg_alpha, bg_alpha; in _dpu_crtc_setup_blend_cfg() local
340 fg_alpha = pstate->base.alpha >> 8; in _dpu_crtc_setup_blend_cfg()
341 bg_alpha = 0xff - fg_alpha; in _dpu_crtc_setup_blend_cfg()
351 if (fg_alpha != 0xff) { in _dpu_crtc_setup_blend_cfg()
352 bg_alpha = fg_alpha; in _dpu_crtc_setup_blend_cfg()
362 if (fg_alpha != 0xff) { in _dpu_crtc_setup_blend_cfg()
363 bg_alpha = fg_alpha; in _dpu_crtc_setup_blend_cfg()
374 fg_alpha, bg_alpha, blend_op); in _dpu_crtc_setup_blend_cfg()
Ddpu_hw_lm.h44 uint32_t fg_alpha, uint32_t bg_alpha, uint32_t blend_op);
/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_crtc.c227 uint32_t blend_op, fg_alpha, bg_alpha, ctl_blend_flags = 0; in blend_setup() local
295 fg_alpha = pstates[i]->base.alpha >> 8; in blend_setup()
296 bg_alpha = 0xFF - fg_alpha; in blend_setup()
303 DBG("Stage %d fg_alpha %x bg_alpha %x", i, fg_alpha, bg_alpha); in blend_setup()
309 if (fg_alpha != 0xff) { in blend_setup()
310 bg_alpha = fg_alpha; in blend_setup()
321 if (fg_alpha != 0xff) { in blend_setup()
322 bg_alpha = fg_alpha; in blend_setup()
336 blender(i)), fg_alpha); in blend_setup()
343 blender(i)), fg_alpha); in blend_setup()