Lines Matching refs:hw_dsc
181 struct dpu_hw_dsc *hw_dsc[MAX_CHANNELS_PER_ENC]; member
1050 struct dpu_hw_blk *hw_dsc[MAX_CHANNELS_PER_ENC]; in dpu_encoder_virt_atomic_mode_set() local
1092 hw_dsc, ARRAY_SIZE(hw_dsc)); in dpu_encoder_virt_atomic_mode_set()
1094 dpu_enc->hw_dsc[i] = to_dpu_hw_dsc(hw_dsc[i]); in dpu_encoder_virt_atomic_mode_set()
1095 dsc_mask |= BIT(dpu_enc->hw_dsc[i]->idx - DSC_0); in dpu_encoder_virt_atomic_mode_set()
1798 struct dpu_hw_dsc *hw_dsc, in dpu_encoder_dsc_pipe_cfg() argument
1804 if (hw_dsc->ops.dsc_config) in dpu_encoder_dsc_pipe_cfg()
1805 hw_dsc->ops.dsc_config(hw_dsc, dsc, common_mode, initial_lines); in dpu_encoder_dsc_pipe_cfg()
1807 if (hw_dsc->ops.dsc_config_thresh) in dpu_encoder_dsc_pipe_cfg()
1808 hw_dsc->ops.dsc_config_thresh(hw_dsc, dsc); in dpu_encoder_dsc_pipe_cfg()
1813 if (hw_dsc->ops.dsc_bind_pingpong_blk) in dpu_encoder_dsc_pipe_cfg()
1814 hw_dsc->ops.dsc_bind_pingpong_blk(hw_dsc, hw_pp->idx); in dpu_encoder_dsc_pipe_cfg()
1820 ctl->ops.update_pending_flush_dsc(ctl, hw_dsc->idx); in dpu_encoder_dsc_pipe_cfg()
1829 struct dpu_hw_dsc *hw_dsc[MAX_CHANNELS_PER_ENC]; in dpu_encoder_prep_dsc() local
1840 hw_dsc[i] = dpu_enc->hw_dsc[i]; in dpu_encoder_prep_dsc()
1842 if (!hw_pp[i] || !hw_dsc[i]) { in dpu_encoder_prep_dsc()
1866 dpu_encoder_dsc_pipe_cfg(ctl, hw_dsc[i], hw_pp[i], in dpu_encoder_prep_dsc()
1991 struct dpu_hw_dsc *hw_dsc, in dpu_encoder_dsc_pipe_clr() argument
1994 if (hw_dsc->ops.dsc_disable) in dpu_encoder_dsc_pipe_clr()
1995 hw_dsc->ops.dsc_disable(hw_dsc); in dpu_encoder_dsc_pipe_clr()
2000 if (hw_dsc->ops.dsc_bind_pingpong_blk) in dpu_encoder_dsc_pipe_clr()
2001 hw_dsc->ops.dsc_bind_pingpong_blk(hw_dsc, PINGPONG_NONE); in dpu_encoder_dsc_pipe_clr()
2004 ctl->ops.update_pending_flush_dsc(ctl, hw_dsc->idx); in dpu_encoder_dsc_pipe_clr()
2012 struct dpu_hw_dsc *hw_dsc[MAX_CHANNELS_PER_ENC]; in dpu_encoder_unprep_dsc() local
2018 hw_dsc[i] = dpu_enc->hw_dsc[i]; in dpu_encoder_unprep_dsc()
2020 if (hw_pp[i] && hw_dsc[i]) in dpu_encoder_unprep_dsc()
2021 dpu_encoder_dsc_pipe_clr(ctl, hw_dsc[i], hw_pp[i]); in dpu_encoder_unprep_dsc()