Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/watchdog/
Dkempld_wdt.c109 u8 stage_cfg; in kempld_wdt_set_stage_action() local
115 stage_cfg = kempld_read8(pld, KEMPLD_WDT_STAGE_CFG(stage->id)); in kempld_wdt_set_stage_action()
116 stage_cfg &= ~STAGE_CFG_ACTION_MASK; in kempld_wdt_set_stage_action()
117 stage_cfg |= (action & STAGE_CFG_ACTION_MASK); in kempld_wdt_set_stage_action()
120 stage_cfg |= STAGE_CFG_ASSERT; in kempld_wdt_set_stage_action()
122 stage_cfg &= ~STAGE_CFG_ASSERT; in kempld_wdt_set_stage_action()
124 kempld_write8(pld, KEMPLD_WDT_STAGE_CFG(stage->id), stage_cfg); in kempld_wdt_set_stage_action()
139 u8 stage_cfg; in kempld_wdt_set_stage_timeout() local
157 stage_cfg = kempld_read8(pld, KEMPLD_WDT_STAGE_CFG(stage->id)); in kempld_wdt_set_stage_timeout()
158 stage_cfg &= ~STAGE_CFG_PRESCALER_MASK; in kempld_wdt_set_stage_timeout()
[all …]
/Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_ctl.c292 enum dpu_lm lm, struct dpu_hw_stage_cfg *stage_cfg) in dpu_hw_ctl_setup_blendstage() argument
313 if (!stage_cfg) in dpu_hw_ctl_setup_blendstage()
323 stage_cfg->multirect_index[i][j]; in dpu_hw_ctl_setup_blendstage()
325 switch (stage_cfg->stage[i][j]) { in dpu_hw_ctl_setup_blendstage()
Ddpu_crtc.h148 struct dpu_hw_stage_cfg stage_cfg; member
Ddpu_crtc.c125 struct dpu_hw_stage_cfg *stage_cfg = &dpu_crtc->stage_cfg; in _dpu_crtc_blend_setup_mixer() local
155 stage_cfg->stage[pstate->stage][stage_idx] = in _dpu_crtc_blend_setup_mixer()
157 stage_cfg->multirect_index[pstate->stage][stage_idx] = in _dpu_crtc_blend_setup_mixer()
212 memset(&dpu_crtc->stage_cfg, 0, sizeof(struct dpu_hw_stage_cfg)); in _dpu_crtc_blend_setup()
235 &dpu_crtc->stage_cfg); in _dpu_crtc_blend_setup()