| /linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
| H A D | link_dp_training_8b_10b.c | 115 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_patter in perform_8b_10b_channel_equalization_sequence() 425 dp_perform_8b_10b_link_training(struct dc_link * link,const struct link_resource * link_res,struct link_training_settings * lt_settings) dp_perform_8b_10b_link_training() argument [all...] |
| H A D | link_dp_training_auxless.h | 33 const struct link_resource *link_res,
|
| H A D | link_dp_training_fixed_vs_pe_retimer.h | 33 const struct link_resource *link_res,
|
| H A D | link_dp_training_dpia.h | 40 const struct link_resource *link_res,
|
| H A D | link_dp_capability.c | 381 ASSERT(pipe_ctx->stream_res.hpo_dp_stream_enc ? pipe_ctx->link_res.hpo_dp_link_enc != NULL : true); in dp_is_128b_132b_signal() 383 pipe_ctx->link_res.hpo_dp_link_enc && in dp_is_128b_132b_signal() 1339 struct link_resource link_res = {0}; in apply_usbc_combo_phy_reset_wa() local 1342 dp_enable_link_phy(link, &link_res, link->connector_signal, in apply_usbc_combo_phy_reset_wa() 1344 dp_disable_link_phy(link, &link_res, link->connector_signal); in apply_usbc_combo_phy_reset_wa() 2439 struct link_resource link_res; in dp_verify_link_cap() local 2452 if (!get_temp_dp_link_res(link, &link_res, &cur_link_settings)) in dp_verify_link_cap() 2458 &link_res, in dp_verify_link_cap() 2465 &link_res, in dp_verify_link_cap() 2485 dp_disable_link_phy(link, &link_res, lin in dp_verify_link_cap() [all...] |
| /linux/drivers/soundwire/ |
| H A D | intel.c | 75 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 in intel_check_cmdsync_unlocked() [all...] |
| H A D | intel.h | 78 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 D | intel_init.c | 64 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 D | intel_ace2x_debugfs.c | 40 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 D | link_hwss.h | 55 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,
|
| /linux/drivers/gpu/drm/amd/display/dc/link/ |
| H A D | link_resource.c | 33 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 D | link_dpms.c | 164 struct link_resource link_res = {0}; in link_set_all_streams_dpms_off_for_link() 190 dp_disable_link_phy(link, &link_res, link->connector_signal); in link_resume() 534 struct link_encoder *link_enc = pipe_ctx->link_res.dio_link_enc; in update_psp_stream_config() 572 config.link_enc_idx = (uint8_t)pipe_ctx->link_res.hpo_dp_link_enc->inst; in update_psp_stream_config() 1305 const struct link_hwss *link_hwss = get_link_hwss(link, &pipe_ctx->link_res); in allocate_mst_payload() 1358 link_hwss->ext.update_stream_allocation_table(link, &pipe_ctx->link_res, in allocate_mst_payload() 1385 const struct link_hwss *link_hwss = get_link_hwss(link, &pipe_ctx->link_res); in link_calculate_sst_avg_time_slots_per_mtp() 1420 &pipe_ctx->link_res, in write_128b_132b_sst_payload_allocation_table() 1590 const struct link_hwss *link_hwss = get_link_hwss(link, &pipe_ctx->link_res); in link_reduce_mst_payload() 1634 link_hwss->ext.update_stream_allocation_table(link, &pipe_ctx->link_res, in link_reduce_mst_payload() 159 struct link_resource link_res = {0}; link_set_all_streams_dpms_off_for_link() local 1721 disable_link_dp(struct dc_link * link,const struct link_resource * link_res,enum signal_type signal) disable_link_dp() argument 1750 disable_link(struct dc_link * link,const struct link_resource * link_res,enum signal_type signal) disable_link() argument [all...] |
| H A D | link_hwss_hpo_frl.c | 54 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/link/hwss/ |
| H A D | link_hwss_dpia.h | 35 const struct link_resource *link_res);
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn314/ |
| H A D | dcn314_hwseq.h | 48 void dcn314_disable_link_output(struct dc_link *link, const struct link_resource *link_res, enum si…
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_resource.c | 2780 pipe_ctx->link_res.hpo_frl_link_enc = pool->hpo_frl_link_enc[enc_index]; in find_free_dio_link_enc() 2782 return pipe_ctx->link_res.hpo_frl_link_enc != NULL; in find_free_dio_link_enc() 2795 pipe_ctx->link_res.hpo_frl_link_enc = NULL; in find_free_dio_link_enc() 2819 struct link_resource *link_res) in retain_dio_link_enc() 2824 memset(link_res, 0, sizeof(*link_res)); in retain_dio_link_enc() 2825 link_res->hpo_frl_link_enc = get_temp_hpo_frl_link_enc(res_ctx, dc->res_pool, link); 2826 if (!link_res->hpo_frl_link_enc) in release_dio_link_enc() 2829 link_res->dio_link_enc = get_temp_dio_link_enc(res_ctx, in release_dio_link_enc() 2831 if (!link_res in release_dio_link_enc() 5346 get_temp_dp_link_res(struct dc_link * link,struct link_resource * link_res,struct dc_link_settings * link_settings) get_temp_dp_link_res() argument 5481 get_link_hwss(const struct dc_link * link,const struct link_resource * link_res) get_link_hwss() argument [all...] |
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
| H A D | dce110_hwseq.c | 728 const struct link_hwss *link_hwss = get_link_hwss(link, &pipe_ctx->link_res); in dce110_enable_stream() 1140 link_hwss = get_link_hwss(pipe_ctx->stream->link, &pipe_ctx->link_res); in dce110_enable_audio_stream() 1179 link_hwss = get_link_hwss(pipe_ctx->stream->link, &pipe_ctx->link_res); in dce110_disable_audio_stream() 1206 const struct link_hwss *link_hwss = get_link_hwss(link, &pipe_ctx->link_res); in dce110_disable_stream() 1211 struct link_encoder *link_enc = pipe_ctx->link_res.dio_link_enc; in dce110_disable_stream() 1688 link, &pipe_ctx->link_res); in dce110_apply_single_controller_ctx_to_hw() 3442 const struct link_resource *link_res, in dce110_enable_dp_link_output() 3446 (void)link_res; in dce110_enable_dp_link_output() 3455 const struct link_resource *link_res, in dce110_enable_dp_link_output() 3461 (void)link_res; in dce110_enable_dp_link_output() 3358 dce110_enable_lvds_link_output(struct dc_link * link,const struct link_resource * link_res,enum clock_source_id clock_source,uint32_t pixel_clock) dce110_enable_lvds_link_output() argument 3371 dce110_enable_tmds_link_output(struct dc_link * link,const struct link_resource * link_res,enum signal_type signal,enum clock_source_id clock_source,enum dc_color_depth color_depth,uint32_t pixel_clock) dce110_enable_tmds_link_output() argument 3398 dce110_enable_dp_link_output(struct dc_link * link,const struct link_resource * link_res,enum signal_type signal,enum clock_source_id clock_source,const struct dc_link_settings * link_settings) dce110_enable_dp_link_output() argument 3469 dce110_disable_link_output(struct dc_link * link,const struct link_resource * link_res,enum signal_type signal) dce110_disable_link_output() argument [all...] |
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
| H A D | dcn32_hwseq.h | 97 const struct link_resource *link_res,
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/ |
| H A D | dml21_utils.c | 190 ASSERT(pipe_ctx->stream_res.hpo_dp_stream_enc ? pipe_ctx->link_res.hpo_dp_link_enc != NULL : true); in check_dp2p0_output_encoder() 192 pipe_ctx->link_res.hpo_dp_link_enc && in check_dp2p0_output_encoder()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | dml2_utils.c | 162 ASSERT(pipe_ctx->stream_res.hpo_dp_stream_enc ? pipe_ctx->link_res.hpo_dp_link_enc != NULL : true); in is_dp2p0_output_encoder() 165 pipe_ctx->link_res.hpo_dp_link_enc && in is_dp2p0_output_encoder()
|
| H A D | dml2_translation_helper.c | 1295 current_pipe_context->link_res.hpo_dp_link_enc && in dml2_map_hpo_stream_encoder_to_hpo_link_encoder_index() 1298 current_pipe_context->link_res.hpo_dp_link_enc->inst;
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/ |
| H A D | dcn401_hwseq.c | 1002 const struct link_hwss *link_hwss = get_link_hwss(link, &pipe_ctx->link_res); in dcn401_set_cursor_position() 1009 struct link_encoder *link_enc = pipe_ctx->link_res.dio_link_enc; in dcn401_set_cursor_position() 1093 const struct link_resource *link_res, in dcn401_set_cursor_position() 1097 const struct link_hwss *link_hwss = get_link_hwss(link, link_res); in dcn401_set_cursor_position() 1111 link_hwss->disable_link_output(link, link_res, signal); in dcn401_set_cursor_position() 2053 const struct link_hwss *link_hwss = get_link_hwss(link, &pipe_ctx->link_res); in dcn401_program_tg() 2111 &pipe_ctx->link_res, pipe_ctx->stream->signal); in dcn401_program_pipe() 937 dcn401_disable_link_output(struct dc_link * link,const struct link_resource * link_res,enum signal_type signal) dcn401_disable_link_output() argument
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
| H A D | dcn32_fpu.c | 1980 memset(&pipe->link_res, 0, sizeof(pipe->link_res)); in dcn32_apply_merge_split_flags_helper() 1996 memset(&pipe->link_res, 0, sizeof(pipe->link_res)); in dcn32_apply_merge_split_flags_helper()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn20/ |
| H A D | dcn20_resource.c | 1259 struct link_encoder *link_enc = pipe_ctx->link_res.dio_link_enc; in get_pixel_clock_parameters()
|