/linux/drivers/gpu/drm/amd/display/dc/link/hwss/ |
H A D | link_hwss_hpo_dp.c | 39 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 D | link_hwss_dio.h | 34 const struct link_resource *link_res); 41 const struct link_resource *link_res, 46 const struct link_resource *link_res, 49 const struct link_resource *link_res, 52 const struct link_resource *link_res, 60 const struct link_resource *link_res,
|
H A D | link_hwss_hpo_fixed_vs_pe_retimer_dp.c | 123 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 D | link_hwss_hpo_dp.h | 43 const struct link_resource *link_res, 48 const struct link_resource *link_res, 51 const struct link_resource *link_res, 59 const struct link_resource *link_res);
|
H A D | link_hwss_dio_fixed_vs_pe_retimer.c | 75 const struct link_resource *link_res, struct encoder_set_dp_phy_pattern_param *tp_params, in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern_override() argument 118 link_hwss->ext.set_dp_link_test_pattern(link, link_res, &hw_tp_params); in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern_override() 127 const struct link_resource *link_res, in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern() argument 133 link, link_res, tp_params, get_dio_link_hwss())) { in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern() 160 const struct link_resource *link_res, in enable_dio_fixed_vs_pe_retimer_dp_link_output() argument 168 enable_dio_dp_link_output(link, link_res, signal, clock_source, link_settings); in enable_dio_fixed_vs_pe_retimer_dp_link_output()
|
H A D | link_hwss_dpia.c | 35 const struct link_resource *link_res, in update_dpia_stream_allocation_table() argument 58 const struct link_resource *link_res, in set_dio_dpia_link_test_pattern() argument 74 const struct link_resource *link_res, in set_dio_dpia_lane_settings() argument 98 const struct link_resource *link_res) in can_use_dpia_link_hwss() argument
|
H A D | link_hwss_dio.c | 140 const struct link_resource *link_res, in enable_dio_dp_link_output() argument 162 const struct link_resource *link_res, in disable_dio_link_output() argument 173 const struct link_resource *link_res, in set_dio_dp_link_test_pattern() argument 183 const struct link_resource *link_res, in set_dio_dp_lane_settings() argument 193 const struct link_resource *link_res, in update_dio_stream_allocation_table() argument 281 const struct link_resource *link_res) in can_use_dio_link_hwss() argument
|
/linux/drivers/soundwire/ |
H A D | intel_ace2x.c | 28 void __iomem *shim_vs = sdw->link_res->shim_vs; in intel_shim_vs_init() 70 void __iomem *shim_vs = sdw->link_res->shim_vs; in intel_shim_vs_set_clock_source() 99 mutex_lock(sdw->link_res->shim_lock); in intel_shim_wake() 101 ret = hdac_bus_eml_sdw_get_lsdiid_unlocked(sdw->link_res->hbus, sdw->instance, &lsdiid); in intel_shim_wake() 105 wake_en = snd_hdac_chip_readw(sdw->link_res->hbus, WAKEEN); in intel_shim_wake() 111 snd_hdac_chip_writew(sdw->link_res->hbus, WAKEEN, wake_en); in intel_shim_wake() 115 snd_hdac_chip_writew(sdw->link_res->hbus, WAKEEN, wake_en); in intel_shim_wake() 118 wake_sts = snd_hdac_chip_readw(sdw->link_res->hbus, STATESTS); in intel_shim_wake() 120 snd_hdac_chip_writew(sdw->link_res->hbus, STATESTS, wake_sts); in intel_shim_wake() 123 mutex_unlock(sdw->link_res->shim_lock); in intel_shim_wake() [all …]
|
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->shim; in intel_check_cmdsync_unlocked() [all …]
|
H A D | intel.h | 54 struct sdw_intel_link_res *link_res; member 108 #define SDW_INTEL_CHECK_OPS(sdw, cb) ((sdw) && (sdw)->link_res && (sdw)->link_res->hw_ops && \ 109 (sdw)->link_res->hw_ops->cb) 110 #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() 133 if (!ldev->link_res.clock_stop_quirks) in sdw_intel_cleanup() 134 pm_runtime_put_noidle(ldev->link_res.dev); in sdw_intel_cleanup() 236 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()
|
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_dp_phy.c | 60 const struct link_resource *link_res, in dp_enable_link_phy() argument 66 link->dc->hwss.enable_dp_link_output(link, link_res, signal, in dp_enable_link_phy() 72 const struct link_resource *link_res, in dp_disable_link_phy() argument 81 dc->hwss.disable_link_output(link, link_res, signal); in dp_disable_link_phy() 98 const struct link_resource *link_res, in dp_set_hw_lane_settings() argument 102 const struct link_hwss *link_hwss = get_link_hwss(link, link_res); in dp_set_hw_lane_settings() 112 link_hwss->ext.set_dp_lane_settings(link, link_res, in dp_set_hw_lane_settings() 123 const struct link_resource *link_res, in dp_set_drive_settings() argument 127 dp_set_hw_lane_settings(link, link_res, lt_settings, DPRX); in dp_set_drive_settings() 137 enum dc_status dp_set_fec_ready(struct dc_link *link, const struct link_resource *link_res, bool re… in dp_set_fec_ready() argument
|
H A D | link_dp_training_auxless.c | 35 const struct link_resource *link_res, in dp_perform_link_training_skip_aux() argument 52 dp_set_hw_training_pattern(link, link_res, lt_settings.pattern_for_cr, DPRX); in dp_perform_link_training_skip_aux() 55 dp_set_hw_lane_settings(link, link_res, <_settings, DPRX); in dp_perform_link_training_skip_aux() 63 dp_set_hw_training_pattern(link, link_res, lt_settings.pattern_for_eq, DPRX); in dp_perform_link_training_skip_aux() 66 dp_set_hw_lane_settings(link, link_res, <_settings, DPRX); in dp_perform_link_training_skip_aux() 74 dp_set_hw_test_pattern(link, link_res, DP_TEST_PATTERN_VIDEO_MODE, NULL, 0); in dp_perform_link_training_skip_aux()
|
H A D | link_dp_phy.h | 32 const struct link_resource *link_res, 38 const struct link_resource *link_res, 43 const struct link_resource *link_res, 49 const struct link_resource *link_res, 53 const struct link_resource *link_res, bool ready);
|
H A D | link_dp_training_8b_10b.c | 156 const struct link_resource *link_res, in perform_8b_10b_clock_recovery_sequence() argument 177 dp_set_hw_training_pattern(link, link_res, lt_settings->pattern_for_cr, offset); in perform_8b_10b_clock_recovery_sequence() 191 link_res, in perform_8b_10b_clock_recovery_sequence() 276 const struct link_resource *link_res, in perform_8b_10b_channel_equalization_sequence() argument 295 dp_set_hw_training_pattern(link, link_res, tr_pattern, offset); in perform_8b_10b_channel_equalization_sequence() 300 dp_set_hw_lane_settings(link, link_res, lt_settings, offset); in perform_8b_10b_channel_equalization_sequence() 359 const struct link_resource *link_res, in dp_perform_8b_10b_link_training() argument 369 start_clock_recovery_pattern_early(link, link_res, lt_settings, DPRX); in dp_perform_8b_10b_link_training() 383 status = perform_8b_10b_clock_recovery_sequence(link, link_res, lt_settings, repeater_id); in dp_perform_8b_10b_link_training() 391 link_res, in dp_perform_8b_10b_link_training() [all …]
|
H A D | link_dp_training_128b_132b.c | 73 const struct link_resource *link_res, in dp_perform_128b_132b_channel_eq_done_sequence() argument 86 dp_set_hw_training_pattern(link, link_res, lt_settings->pattern_for_cr, DPRX); in dp_perform_128b_132b_channel_eq_done_sequence() 97 dp_set_hw_lane_settings(link, link_res, lt_settings, DPRX); in dp_perform_128b_132b_channel_eq_done_sequence() 98 dp_set_hw_training_pattern(link, link_res, lt_settings->pattern_for_eq, DPRX); in dp_perform_128b_132b_channel_eq_done_sequence() 127 dp_set_hw_lane_settings(link, link_res, lt_settings, DPRX); in dp_perform_128b_132b_channel_eq_done_sequence() 158 const struct link_resource *link_res, in dp_perform_128b_132b_cds_done_sequence() argument 197 const struct link_resource *link_res, in dp_perform_128b_132b_link_training() argument 209 return dp_perform_8b_10b_link_training(link, link_res, &legacy_settings); in dp_perform_128b_132b_link_training() 215 result = dp_perform_128b_132b_channel_eq_done_sequence(link, link_res, lt_settings); in dp_perform_128b_132b_link_training() 221 result = dp_perform_128b_132b_cds_done_sequence(link, link_res, lt_settings); in dp_perform_128b_132b_link_training()
|
H A D | link_dp_training_dpia.c | 99 const struct link_resource *link_res, in dpia_configure_link() argument 136 status = dp_set_fec_ready(link, link_res, fec_enable); in dpia_configure_link() 285 const struct link_resource *link_res, in dpia_training_cr_non_transparent() argument 453 const struct link_resource *link_res, in dpia_training_cr_transparent() argument 552 const struct link_resource *link_res, in dpia_training_cr_phase() argument 559 result = dpia_training_cr_non_transparent(link, link_res, lt_settings, hop); in dpia_training_cr_phase() 561 result = dpia_training_cr_transparent(link, link_res, lt_settings); in dpia_training_cr_phase() 580 const struct link_resource *link_res, in dpia_training_eq_non_transparent() argument 726 const struct link_resource *link_res, in dpia_training_eq_transparent() argument 807 const struct link_resource *link_res, in dpia_training_eq_phase() argument [all …]
|
H A D | link_dp_training.c | 1343 const struct link_resource *link_res, in start_clock_recovery_pattern_early() argument 1349 dp_set_hw_training_pattern(link, link_res, lt_settings->pattern_for_cr, offset); in start_clock_recovery_pattern_early() 1350 dp_set_hw_lane_settings(link, link_res, lt_settings, offset); in start_clock_recovery_pattern_early() 1356 const struct link_resource *link_res, in dp_set_hw_test_pattern() argument 1361 const struct link_hwss *link_hwss = get_link_hwss(link, link_res); in dp_set_hw_test_pattern() 1370 link_hwss->ext.set_dp_link_test_pattern(link, link_res, &pattern_param); in dp_set_hw_test_pattern() 1375 const struct link_resource *link_res, in dp_set_hw_training_pattern() argument 1404 dp_set_hw_test_pattern(link, link_res, test_pattern, NULL, 0); in dp_set_hw_training_pattern() 1411 const struct link_resource *link_res, in perform_post_lt_adj_req_sequence() argument 1473 link_res, in perform_post_lt_adj_req_sequence() [all …]
|
H A D | link_dp_training_8b_10b.h | 39 const struct link_resource *link_res, 44 const struct link_resource *link_res, 50 const struct link_resource *link_res,
|
H A D | link_dp_training.h | 41 const struct link_resource *link_res, 47 const struct link_resource *link_res, 53 const struct link_resource *link_res, 101 const struct link_resource *link_res,
|
H A D | link_dp_training_auxless.h | 33 const struct link_resource *link_res,
|
/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_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()
|