Lines Matching refs:hw_dsc
178 struct dpu_hw_dsc *hw_dsc[MAX_CHANNELS_PER_ENC]; member
1030 struct dpu_hw_blk *hw_dsc[MAX_CHANNELS_PER_ENC]; in dpu_encoder_virt_atomic_mode_set() local
1073 hw_dsc, ARRAY_SIZE(hw_dsc)); in dpu_encoder_virt_atomic_mode_set()
1075 dpu_enc->hw_dsc[i] = to_dpu_hw_dsc(hw_dsc[i]); in dpu_encoder_virt_atomic_mode_set()
1076 dsc_mask |= BIT(dpu_enc->hw_dsc[i]->idx - DSC_0); in dpu_encoder_virt_atomic_mode_set()
1818 static void dpu_encoder_dsc_pipe_cfg(struct dpu_hw_dsc *hw_dsc, in dpu_encoder_dsc_pipe_cfg() argument
1824 if (hw_dsc->ops.dsc_config) in dpu_encoder_dsc_pipe_cfg()
1825 hw_dsc->ops.dsc_config(hw_dsc, dsc, common_mode, initial_lines); in dpu_encoder_dsc_pipe_cfg()
1827 if (hw_dsc->ops.dsc_config_thresh) in dpu_encoder_dsc_pipe_cfg()
1828 hw_dsc->ops.dsc_config_thresh(hw_dsc, dsc); in dpu_encoder_dsc_pipe_cfg()
1842 struct dpu_hw_dsc *hw_dsc[MAX_CHANNELS_PER_ENC]; in dpu_encoder_prep_dsc() local
1853 hw_dsc[i] = dpu_enc->hw_dsc[i]; in dpu_encoder_prep_dsc()
1855 if (!hw_pp[i] || !hw_dsc[i]) { in dpu_encoder_prep_dsc()
1879 dpu_encoder_dsc_pipe_cfg(hw_dsc[i], hw_pp[i], dsc, dsc_common_mode, initial_lines); in dpu_encoder_prep_dsc()