Home
last modified time | relevance | path

Searched refs:intf_cfg (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_encoder_phys_wb.c195 struct dpu_hw_intf_cfg intf_cfg = {0}; in dpu_encoder_phys_wb_setup_cdp() local
201 intf_cfg.intf = DPU_NONE; in dpu_encoder_phys_wb_setup_cdp()
202 intf_cfg.wb = hw_wb->idx; in dpu_encoder_phys_wb_setup_cdp()
205 intf_cfg.merge_3d = hw_pp->merge_3d->idx; in dpu_encoder_phys_wb_setup_cdp()
216 phys_enc->hw_ctl->ops.setup_intf_cfg(phys_enc->hw_ctl, &intf_cfg); in dpu_encoder_phys_wb_setup_cdp()
218 struct dpu_hw_intf_cfg intf_cfg = {0}; in dpu_encoder_phys_wb_setup_cdp() local
220 intf_cfg.intf = DPU_NONE; in dpu_encoder_phys_wb_setup_cdp()
221 intf_cfg.wb = hw_wb->idx; in dpu_encoder_phys_wb_setup_cdp()
222 intf_cfg.mode_3d = in dpu_encoder_phys_wb_setup_cdp()
224 phys_enc->hw_ctl->ops.setup_intf_cfg(phys_enc->hw_ctl, &intf_cfg); in dpu_encoder_phys_wb_setup_cdp()
Ddpu_hw_ctl.c549 u32 intf_cfg = 0; in dpu_hw_ctl_intf_cfg() local
551 intf_cfg |= (cfg->intf & 0xF) << 4; in dpu_hw_ctl_intf_cfg()
554 intf_cfg |= BIT(19); in dpu_hw_ctl_intf_cfg()
555 intf_cfg |= (cfg->mode_3d - 0x1) << 20; in dpu_hw_ctl_intf_cfg()
559 intf_cfg |= (cfg->wb & 0x3) + 2; in dpu_hw_ctl_intf_cfg()
563 intf_cfg &= ~BIT(17); in dpu_hw_ctl_intf_cfg()
564 intf_cfg &= ~(0x3 << 15); in dpu_hw_ctl_intf_cfg()
567 intf_cfg |= BIT(17); in dpu_hw_ctl_intf_cfg()
568 intf_cfg |= ((cfg->stream_sel & 0x3) << 15); in dpu_hw_ctl_intf_cfg()
575 DPU_REG_WRITE(c, CTL_TOP, intf_cfg); in dpu_hw_ctl_intf_cfg()
Ddpu_encoder_phys_vid.c238 struct dpu_hw_intf_cfg intf_cfg = { 0 }; in dpu_encoder_phys_vid_setup_timing_engine() local
273 intf_cfg.intf = phys_enc->hw_intf->idx; in dpu_encoder_phys_vid_setup_timing_engine()
274 intf_cfg.intf_mode_sel = DPU_CTL_MODE_SEL_VID; in dpu_encoder_phys_vid_setup_timing_engine()
275 intf_cfg.stream_sel = 0; /* Don't care value for video mode */ in dpu_encoder_phys_vid_setup_timing_engine()
276 intf_cfg.mode_3d = dpu_encoder_helper_get_3d_blend_mode(phys_enc); in dpu_encoder_phys_vid_setup_timing_engine()
277 intf_cfg.dsc = dpu_encoder_helper_get_dsc(phys_enc); in dpu_encoder_phys_vid_setup_timing_engine()
279 intf_cfg.merge_3d = phys_enc->hw_pp->merge_3d->idx; in dpu_encoder_phys_vid_setup_timing_engine()
284 phys_enc->hw_ctl->ops.setup_intf_cfg(phys_enc->hw_ctl, &intf_cfg); in dpu_encoder_phys_vid_setup_timing_engine()
293 phys_enc->hw_pp->merge_3d->ops.setup_3d_mode(phys_enc->hw_pp->merge_3d, intf_cfg.mode_3d); in dpu_encoder_phys_vid_setup_timing_engine()
Ddpu_encoder_phys_cmd.c52 struct dpu_hw_intf_cfg intf_cfg = { 0 }; in _dpu_encoder_phys_cmd_update_intf_cfg() local
59 intf_cfg.intf = phys_enc->hw_intf->idx; in _dpu_encoder_phys_cmd_update_intf_cfg()
60 intf_cfg.intf_mode_sel = DPU_CTL_MODE_SEL_CMD; in _dpu_encoder_phys_cmd_update_intf_cfg()
61 intf_cfg.stream_sel = cmd_enc->stream_sel; in _dpu_encoder_phys_cmd_update_intf_cfg()
62 intf_cfg.mode_3d = dpu_encoder_helper_get_3d_blend_mode(phys_enc); in _dpu_encoder_phys_cmd_update_intf_cfg()
63 intf_cfg.dsc = dpu_encoder_helper_get_dsc(phys_enc); in _dpu_encoder_phys_cmd_update_intf_cfg()
64 ctl->ops.setup_intf_cfg(ctl, &intf_cfg); in _dpu_encoder_phys_cmd_update_intf_cfg()
72 if (intf_cfg.dsc != 0) in _dpu_encoder_phys_cmd_update_intf_cfg()
Ddpu_hw_intf.c111 u32 intf_cfg, intf_cfg2 = 0; in dpu_hw_intf_setup_timing_engine() local
117 intf_cfg = DPU_REG_READ(c, INTF_CONFIG); in dpu_hw_intf_setup_timing_engine()
153 intf_cfg |= INTF_CFG_ACTIVE_H_EN; in dpu_hw_intf_setup_timing_engine()
159 intf_cfg |= INTF_CFG_ACTIVE_V_EN; in dpu_hw_intf_setup_timing_engine()
192 intf_cfg |= INTF_CFG_ACTIVE_H_EN | INTF_CFG_ACTIVE_V_EN; in dpu_hw_intf_setup_timing_engine()
227 DPU_REG_WRITE(c, INTF_CONFIG, intf_cfg); in dpu_hw_intf_setup_timing_engine()
Ddpu_encoder.c2028 struct dpu_hw_intf_cfg intf_cfg = { 0 }; in dpu_encoder_helper_phys_cleanup() local
2079 intf_cfg.stream_sel = 0; /* Don't care value for video mode */ in dpu_encoder_helper_phys_cleanup()
2080 intf_cfg.mode_3d = dpu_encoder_helper_get_3d_blend_mode(phys_enc); in dpu_encoder_helper_phys_cleanup()
2081 intf_cfg.dsc = dpu_encoder_helper_get_dsc(phys_enc); in dpu_encoder_helper_phys_cleanup()
2084 intf_cfg.intf = phys_enc->hw_intf->idx; in dpu_encoder_helper_phys_cleanup()
2086 intf_cfg.wb = phys_enc->hw_wb->idx; in dpu_encoder_helper_phys_cleanup()
2089 intf_cfg.merge_3d = phys_enc->hw_pp->merge_3d->idx; in dpu_encoder_helper_phys_cleanup()
2092 ctl->ops.reset_intf_cfg(ctl, &intf_cfg); in dpu_encoder_helper_phys_cleanup()
/linux-6.6.21/sound/soc/qcom/qdsp6/
Daudioreach.c595 struct apm_display_port_module_intf_cfg *intf_cfg; in audioreach_display_port_set_media_format() local
639 intf_cfg = p; in audioreach_display_port_set_media_format()
640 param_data = &intf_cfg->param_data; in audioreach_display_port_set_media_format()
646 intf_cfg->cfg.channel_allocation = cfg->channel_allocation; in audioreach_display_port_set_media_format()
647 intf_cfg->cfg.mst_idx = 0; in audioreach_display_port_set_media_format()
648 intf_cfg->cfg.dptx_idx = cfg->dp_idx; in audioreach_display_port_set_media_format()
662 struct apm_codec_dma_module_intf_cfg *intf_cfg; in audioreach_codec_dma_set_media_format() local
708 intf_cfg = p; in audioreach_codec_dma_set_media_format()
709 param_data = &intf_cfg->param_data; in audioreach_codec_dma_set_media_format()
715 intf_cfg->cfg.lpaif_type = module->hw_interface_type; in audioreach_codec_dma_set_media_format()
[all …]