Home
last modified time | relevance | path

Searched refs:link_res (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/gpu/drm/amd/display/dc/link/hwss/
H A Dlink_hwss_hpo_dp.c39 pipe_ctx->link_res.hpo_dp_link_enc; in set_hpo_dp_throttled_vcp_size()
77 struct hpo_dp_link_encoder *link_enc = pipe_ctx->link_res.hpo_dp_link_enc; in setup_hpo_dp_stream_encoder()
108 const struct link_resource *link_res, in enable_hpo_dp_link_output() argument
113 if (!link_res->hpo_dp_link_enc) { in enable_hpo_dp_link_output()
121 link_res->hpo_dp_link_enc->inst, in enable_hpo_dp_link_output()
123 link_res->hpo_dp_link_enc->funcs->enable_link_phy( in enable_hpo_dp_link_output()
124 link_res->hpo_dp_link_enc, in enable_hpo_dp_link_output()
131 const struct link_resource *link_res, in disable_hpo_dp_link_output() argument
134 if (!link_res->hpo_dp_link_enc) { in disable_hpo_dp_link_output()
139 link_res->hpo_dp_link_enc->funcs->link_disable(link_res->hpo_dp_link_enc); in disable_hpo_dp_link_output()
[all …]
H A Dlink_hwss_hpo_fixed_vs_pe_retimer_dp.c123 const struct link_resource *link_res, struct encoder_set_dp_phy_pattern_param *tp_params, in dp_hpo_fixed_vs_pe_retimer_set_override_test_pattern() argument
152 link_hwss->ext.set_dp_link_test_pattern(link, link_res, &hw_tp_params); in dp_hpo_fixed_vs_pe_retimer_set_override_test_pattern()
160 const struct link_resource *link_res, in set_hpo_fixed_vs_pe_retimer_dp_link_test_pattern() argument
164 link, link_res, tp_params, get_hpo_dp_link_hwss())) { in set_hpo_fixed_vs_pe_retimer_dp_link_test_pattern()
165 link_res->hpo_dp_link_enc->funcs->set_link_test_pattern( in set_hpo_fixed_vs_pe_retimer_dp_link_test_pattern()
166 link_res->hpo_dp_link_enc, tp_params); in set_hpo_fixed_vs_pe_retimer_dp_link_test_pattern()
177 const struct link_resource *link_res, in set_hpo_fixed_vs_pe_retimer_dp_lane_settings() argument
188 link_res->hpo_dp_link_enc->funcs->set_ffe( in set_hpo_fixed_vs_pe_retimer_dp_lane_settings()
189 link_res->hpo_dp_link_enc, in set_hpo_fixed_vs_pe_retimer_dp_lane_settings()
196 const struct link_resource *link_res, in enable_hpo_fixed_vs_pe_retimer_dp_link_output() argument
[all …]
H A Dlink_hwss_dpia.h35 const struct link_resource *link_res);
H A Dlink_hwss_virtual.c41 const struct link_resource *link_res, in virtual_disable_link_output() argument
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_training_8b_10b.c115 const struct link_resource *link_res, in decide_8b_10b_training_settings() argument
137 lt_settings->pattern_for_eq = decide_eq_training_pattern(link, link_res, link_setting); in decide_8b_10b_training_settings()
185 const struct link_resource *link_res, in set_link_settings_and_perform_early_tps2_retimer_pre_lt_sequence() argument
207 dp_set_hw_training_pattern(link, link_res, DP_TRAINING_PATTERN_SEQUENCE_2, DPRX); in set_link_settings_and_perform_early_tps2_retimer_pre_lt_sequence()
209 dp_set_hw_lane_settings(link, link_res, lt_settings, DPRX); in set_link_settings_and_perform_early_tps2_retimer_pre_lt_sequence()
222 const struct link_resource *link_res, in perform_8b_10b_clock_recovery_sequence() argument
243 dp_set_hw_training_pattern(link, link_res, lt_settings->pattern_for_cr, offset); in perform_8b_10b_clock_recovery_sequence()
257 link_res, in perform_8b_10b_clock_recovery_sequence()
342 const struct link_resource *link_res, in perform_8b_10b_channel_equalization_sequence() argument
361 dp_set_hw_training_pattern(link, link_res, tr_pattern, offset); in perform_8b_10b_channel_equalization_sequence()
[all …]
H A Dlink_dp_training_auxless.h33 const struct link_resource *link_res,
H A Dlink_dp_training_fixed_vs_pe_retimer.h33 const struct link_resource *link_res,
H A Dlink_dp_training_dpia.h40 const struct link_resource *link_res,
/linux/drivers/soundwire/
H A Dintel.c75 void __iomem *s = sdw->link_res->shim; in intel_reg_show()
76 void __iomem *a = sdw->link_res->alh; in intel_reg_show()
209 void __iomem *shim = sdw->link_res->shim; in intel_shim_glue_to_master_ip()
240 void __iomem *shim = sdw->link_res->shim; in intel_shim_master_ip_to_glue()
260 void __iomem *shim = sdw->link_res->shim; in intel_shim_init()
296 shim = sdw->link_res->shim; in intel_shim_check_wake()
304 void __iomem *shim = sdw->link_res->shim; in intel_shim_wake()
308 mutex_lock(sdw->link_res->shim_lock); in intel_shim_wake()
325 mutex_unlock(sdw->link_res->shim_lock); in intel_shim_wake()
330 void __iomem *shim = sdw->link_res->shim; in intel_check_cmdsync_unlocked()
[all …]
H A Dintel_ace2x.c411 void __iomem *shim_vs = sdw->link_res->shim_vs; in intel_shim_vs_init()
453 void __iomem *shim_vs = sdw->link_res->shim_vs; in intel_shim_vs_set_clock_source()
482 mutex_lock(sdw->link_res->shim_lock); in intel_shim_wake()
484 ret = hdac_bus_eml_sdw_get_lsdiid_unlocked(sdw->link_res->hbus, sdw->instance, &lsdiid); in intel_shim_wake()
488 wake_en = snd_hdac_chip_readw(sdw->link_res->hbus, WAKEEN); in intel_shim_wake()
494 snd_hdac_chip_writew(sdw->link_res->hbus, WAKEEN, wake_en); in intel_shim_wake()
498 snd_hdac_chip_writew(sdw->link_res->hbus, WAKEEN, wake_en); in intel_shim_wake()
501 wake_sts = snd_hdac_chip_readw(sdw->link_res->hbus, STATESTS); in intel_shim_wake()
503 snd_hdac_chip_writew(sdw->link_res->hbus, STATESTS, wake_sts); in intel_shim_wake()
506 mutex_unlock(sdw->link_res->shim_lock); in intel_shim_wake()
[all …]
H A Dintel.h78 struct sdw_intel_link_res *link_res; member
133 #define SDW_INTEL_CHECK_OPS(sdw, cb) ((sdw) && (sdw)->link_res && (sdw)->link_res->hw_ops && \
134 (sdw)->link_res->hw_ops->cb)
135 #define SDW_INTEL_OPS(sdw, cb) ((sdw)->link_res->hw_ops->cb)
H A Dintel_init.c64 link = &ldev->link_res; in intel_link_dev_register()
134 if (!ldev->link_res.clock_stop_quirks) in sdw_intel_cleanup()
135 pm_runtime_put_noidle(ldev->link_res.dev); in sdw_intel_cleanup()
237 link = &ldev->link_res; in sdw_intel_probe_controller()
308 if (!ldev->link_res.clock_stop_quirks) { in sdw_intel_startup_controller()
315 pm_runtime_get_noresume(ldev->link_res.dev); in sdw_intel_startup_controller()
H A Dintel_ace2x_debugfs.c40 void __iomem *s = sdw->link_res->shim; in intel_reg_show()
41 void __iomem *vs_s = sdw->link_res->shim_vs; in intel_reg_show()
79 if (sdw->link_res->mic_privacy) { in intel_reg_show()
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dlink_hwss.h55 const struct link_resource *link_res,
60 const struct link_resource *link_res,
63 const struct link_resource *link_res,
67 const struct link_resource *link_res,
81 const struct link_resource *link_res,
H A Dcore_types.h458 struct link_resource link_res; member
/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_resource.c33 struct link_resource *link_res) in link_get_cur_link_res() argument
38 memset(link_res, 0, sizeof(*link_res)); in link_get_cur_link_res()
44 *link_res = pipe->link_res; in link_get_cur_link_res()
H A Dlink_dpms.c159 struct link_resource link_res = {0}; in link_set_all_streams_dpms_off_for_link() local
184 dp_disable_link_phy(link, &link_res, link->connector_signal); in link_set_all_streams_dpms_off_for_link()
666 struct link_encoder *link_enc = pipe_ctx->link_res.dio_link_enc; in update_psp_stream_config()
697 config.link_enc_idx = pipe_ctx->link_res.hpo_dp_link_enc->inst; in update_psp_stream_config()
1363 const struct link_hwss *link_hwss = get_link_hwss(link, &pipe_ctx->link_res); in deallocate_mst_payload()
1416 link_hwss->ext.update_stream_allocation_table(link, &pipe_ctx->link_res, in deallocate_mst_payload()
1443 const struct link_hwss *link_hwss = get_link_hwss(link, &pipe_ctx->link_res); in allocate_mst_payload()
1478 &pipe_ctx->link_res, in allocate_mst_payload()
1648 const struct link_hwss *link_hwss = get_link_hwss(link, &pipe_ctx->link_res); in update_sst_payload()
1692 link_hwss->ext.update_stream_allocation_table(link, &pipe_ctx->link_res, in update_sst_payload()
[all …]
H A Dlink_hwss_hpo_frl.c54 const struct link_resource *link_res) in can_use_hpo_frl_link_hwss() argument
56 return link_res->hpo_frl_link_enc != NULL; in can_use_hpo_frl_link_hwss()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c2725 pipe_ctx->link_res.hpo_dp_link_enc = pool->hpo_dp_link_enc[enc_index]; in add_hpo_dp_link_enc_to_ctx()
2727 return pipe_ctx->link_res.hpo_dp_link_enc != NULL; in add_hpo_dp_link_enc_to_ctx()
2740 pipe_ctx->link_res.hpo_dp_link_enc = NULL; in remove_hpo_dp_link_enc_from_ctx()
2859 if (pipe_ctx && pipe_ctx->link_res.dio_link_enc == pool->link_encoders[old_encoder]) in swap_dio_link_enc_to_muxable_ctx()
2860 pipe_ctx->link_res.dio_link_enc = pool->link_encoders[new_encoder]; in swap_dio_link_enc_to_muxable_ctx()
2903 pipe_ctx->link_res.dio_link_enc = pool->link_encoders[enc_index]; in add_dio_link_enc_to_ctx()
2905 return pipe_ctx->link_res.dio_link_enc != NULL; in add_dio_link_enc_to_ctx()
2919 pipe_ctx->link_res.dio_link_enc = NULL; in remove_dio_link_enc_from_ctx()
5012 if (pipe_ctx_old->link_res.hpo_dp_link_enc != pipe_ctx->link_res.hpo_dp_link_enc) in pipe_need_reprogram()
5017 if (pipe_ctx_old->link_res.dio_link_enc != pipe_ctx->link_res.dio_link_enc) in pipe_need_reprogram()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn314/
H A Ddcn314_hwseq.h48 void dcn314_disable_link_output(struct dc_link *link, const struct link_resource *link_res, enum si…
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/
H A Ddce110_hwseq.c670 const struct link_hwss *link_hwss = get_link_hwss(link, &pipe_ctx->link_res); in dce110_enable_stream()
1075 link_hwss = get_link_hwss(pipe_ctx->stream->link, &pipe_ctx->link_res); in dce110_enable_audio_stream()
1114 link_hwss = get_link_hwss(pipe_ctx->stream->link, &pipe_ctx->link_res); in dce110_disable_audio_stream()
1141 const struct link_hwss *link_hwss = get_link_hwss(link, &pipe_ctx->link_res); in dce110_disable_stream()
1146 struct link_encoder *link_enc = pipe_ctx->link_res.dio_link_enc; in dce110_disable_stream()
1580 link, &pipe_ctx->link_res); in dce110_apply_single_controller_ctx_to_hw()
3237 const struct link_resource *link_res, in dce110_enable_lvds_link_output() argument
3249 const struct link_resource *link_res, in dce110_enable_tmds_link_output() argument
3275 const struct link_resource *link_res, in dce110_enable_dp_link_output() argument
3286 const struct link_hwss *link_hwss = get_link_hwss(link, link_res); in dce110_enable_dp_link_output()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
H A Ddcn32_hwseq.h97 const struct link_resource *link_res,
/linux/drivers/gpu/drm/amd/display/dc/hwss/
H A Dhw_sequencer.h1173 const struct link_resource *link_res,
1178 const struct link_resource *link_res,
1184 const struct link_resource *link_res,
1190 const struct link_resource *link_res,
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn31/
H A Ddcn31_hwseq.c557 const struct link_hwss *link_hwss = get_link_hwss(link, &pipe_ctx->link_res); in dcn31_reset_back_end_for_pipe()
559 link_hwss->disable_link_output(link, &pipe_ctx->link_res, pipe_ctx->stream->signal); in dcn31_reset_back_end_for_pipe()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c955 const struct link_hwss *link_hwss = get_link_hwss(link, &pipe_ctx->link_res); in dcn401_enable_stream()
962 struct link_encoder *link_enc = pipe_ctx->link_res.dio_link_enc; in dcn401_enable_stream()
1044 const struct link_resource *link_res, in dcn401_disable_link_output() argument
1048 const struct link_hwss *link_hwss = get_link_hwss(link, link_res); in dcn401_disable_link_output()
1062 link_hwss->disable_link_output(link, link_res, signal); in dcn401_disable_link_output()
1964 const struct link_hwss *link_hwss = get_link_hwss(link, &pipe_ctx->link_res); in dcn401_reset_back_end_for_pipe()
2023 &pipe_ctx->link_res, pipe_ctx->stream->signal); in dcn401_reset_back_end_for_pipe()

12