Home
last modified time | relevance | path

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

123

/openbmc/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_dio.h33 const struct link_resource *link_res);
40 const struct link_resource *link_res,
45 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 Dlink_hwss_hpo_fixed_vs_pe_retimer_dp.c120 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
147 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()
157 const struct link_resource *link_res, in set_hpo_fixed_vs_pe_retimer_dp_link_test_pattern() argument
161 link, link_res, tp_params, get_hpo_dp_link_hwss())) { in set_hpo_fixed_vs_pe_retimer_dp_link_test_pattern()
162 link_res->hpo_dp_link_enc->funcs->set_link_test_pattern( in set_hpo_fixed_vs_pe_retimer_dp_link_test_pattern()
163 link_res->hpo_dp_link_enc, tp_params); in set_hpo_fixed_vs_pe_retimer_dp_link_test_pattern()
174 const struct link_resource *link_res, in set_hpo_fixed_vs_pe_retimer_dp_lane_settings() argument
178 link_res->hpo_dp_link_enc->funcs->set_ffe( in set_hpo_fixed_vs_pe_retimer_dp_lane_settings()
179 link_res->hpo_dp_link_enc, in set_hpo_fixed_vs_pe_retimer_dp_lane_settings()
191 const struct link_resource *link_res, in enable_hpo_fixed_vs_pe_retimer_dp_link_output() argument
[all …]
H A Dlink_hwss_hpo_dp.h43 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 Dlink_hwss_dio_fixed_vs_pe_retimer.c75 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
116 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()
125 const struct link_resource *link_res, in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern() argument
131 link, link_res, tp_params, get_dio_link_hwss())) { in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern()
158 const struct link_resource *link_res, in enable_dio_fixed_vs_pe_retimer_dp_link_output() argument
166 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 Dlink_hwss_dio.c117 const struct link_resource *link_res, in enable_dio_dp_link_output() argument
139 const struct link_resource *link_res, in disable_dio_link_output() argument
150 const struct link_resource *link_res, in set_dio_dp_link_test_pattern() argument
160 const struct link_resource *link_res, in set_dio_dp_lane_settings() argument
170 const struct link_resource *link_res, in update_dio_stream_allocation_table() argument
248 const struct link_resource *link_res) in can_use_dio_link_hwss() argument
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_phy.c59 const struct link_resource *link_res, in dp_enable_link_phy() argument
65 link->dc->hwss.enable_dp_link_output(link, link_res, signal, in dp_enable_link_phy()
71 const struct link_resource *link_res, in dp_disable_link_phy() argument
80 dc->hwss.disable_link_output(link, link_res, signal); in dp_disable_link_phy()
97 const struct link_resource *link_res, in dp_set_hw_lane_settings() argument
101 const struct link_hwss *link_hwss = get_link_hwss(link, link_res); in dp_set_hw_lane_settings()
108 link_hwss->ext.set_dp_lane_settings(link, link_res, in dp_set_hw_lane_settings()
119 const struct link_resource *link_res, in dp_set_drive_settings() argument
123 dp_set_hw_lane_settings(link, link_res, lt_settings, DPRX); in dp_set_drive_settings()
133 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 Dlink_dp_training_auxless.c35 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, &lt_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, &lt_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 Dlink_dp_phy.h32 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 Dlink_dp_training_8b_10b.c156 const struct link_resource *link_res, in perform_8b_10b_clock_recovery_sequence() argument
176 dp_set_hw_training_pattern(link, link_res, lt_settings->pattern_for_cr, offset); in perform_8b_10b_clock_recovery_sequence()
190 link_res, in perform_8b_10b_clock_recovery_sequence()
272 const struct link_resource *link_res, in perform_8b_10b_channel_equalization_sequence() argument
290 dp_set_hw_training_pattern(link, link_res, tr_pattern, offset); in perform_8b_10b_channel_equalization_sequence()
295 dp_set_hw_lane_settings(link, link_res, lt_settings, offset); in perform_8b_10b_channel_equalization_sequence()
356 const struct link_resource *link_res, in dp_perform_8b_10b_link_training() argument
366 start_clock_recovery_pattern_early(link, link_res, lt_settings, DPRX); in dp_perform_8b_10b_link_training()
380 status = perform_8b_10b_clock_recovery_sequence(link, link_res, lt_settings, repeater_id); in dp_perform_8b_10b_link_training()
388 link_res, in dp_perform_8b_10b_link_training()
[all …]
H A Dlink_dp_training_128b_132b.c73 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 Dlink_dp_training_dpia.c102 const struct link_resource *link_res, in dpia_configure_link() argument
139 status = dp_set_fec_ready(link, link_res, fec_enable); in dpia_configure_link()
288 const struct link_resource *link_res, in dpia_training_cr_non_transparent() argument
460 const struct link_resource *link_res, in dpia_training_cr_transparent() argument
563 const struct link_resource *link_res, in dpia_training_cr_phase() argument
570 result = dpia_training_cr_non_transparent(link, link_res, lt_settings, hop); in dpia_training_cr_phase()
572 result = dpia_training_cr_transparent(link, link_res, lt_settings); in dpia_training_cr_phase()
613 const struct link_resource *link_res, in dpia_training_eq_non_transparent() argument
763 const struct link_resource *link_res, in dpia_training_eq_transparent() argument
848 const struct link_resource *link_res, in dpia_training_eq_phase() argument
[all …]
H A Dlink_dp_training_fixed_vs_pe_retimer.c102 const struct link_resource *link_res, in perform_fixed_vs_pe_nontransparent_training_sequence() argument
126 start_clock_recovery_pattern_early(link, link_res, lt_settings, DPRX); in perform_fixed_vs_pe_nontransparent_training_sequence()
151 status = perform_8b_10b_clock_recovery_sequence(link, link_res, lt_settings, repeater_id); in perform_fixed_vs_pe_nontransparent_training_sequence()
159 link_res, in perform_fixed_vs_pe_nontransparent_training_sequence()
177 status = perform_8b_10b_clock_recovery_sequence(link, link_res, lt_settings, DPRX); in perform_fixed_vs_pe_nontransparent_training_sequence()
180 link_res, in perform_fixed_vs_pe_nontransparent_training_sequence()
192 const struct link_resource *link_res, in dp_perform_fixed_vs_pe_training_sequence_legacy() argument
220 status = perform_fixed_vs_pe_nontransparent_training_sequence(link, link_res, lt_settings); in dp_perform_fixed_vs_pe_training_sequence_legacy()
337 link_res, in dp_perform_fixed_vs_pe_training_sequence_legacy()
455 dp_set_hw_training_pattern(link, link_res, tr_pattern, 0); in dp_perform_fixed_vs_pe_training_sequence_legacy()
[all …]
H A Dlink_dp_training_8b_10b.h39 const struct link_resource *link_res,
44 const struct link_resource *link_res,
50 const struct link_resource *link_res,
H A Dlink_dp_training.c1277 const struct link_resource *link_res, in start_clock_recovery_pattern_early() argument
1283 dp_set_hw_training_pattern(link, link_res, lt_settings->pattern_for_cr, offset); in start_clock_recovery_pattern_early()
1284 dp_set_hw_lane_settings(link, link_res, lt_settings, offset); in start_clock_recovery_pattern_early()
1290 const struct link_resource *link_res, in dp_set_hw_test_pattern() argument
1295 const struct link_hwss *link_hwss = get_link_hwss(link, link_res); in dp_set_hw_test_pattern()
1304 link_hwss->ext.set_dp_link_test_pattern(link, link_res, &pattern_param); in dp_set_hw_test_pattern()
1309 const struct link_resource *link_res, in dp_set_hw_training_pattern() argument
1338 dp_set_hw_test_pattern(link, link_res, test_pattern, NULL, 0); in dp_set_hw_training_pattern()
1345 const struct link_resource *link_res, in perform_post_lt_adj_req_sequence() argument
1407 link_res, in perform_post_lt_adj_req_sequence()
[all …]
H A Dlink_dp_training.h41 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 Dlink_dp_training_fixed_vs_pe_retimer.h33 const struct link_resource *link_res,
38 const struct link_resource *link_res,
/openbmc/linux/drivers/soundwire/
H A Dintel_ace2x.c25 void __iomem *shim_vs = sdw->link_res->shim_vs; in intel_shim_vs_init()
41 shim_vs = sdw->link_res->shim_vs; in intel_shim_check_wake()
49 void __iomem *shim_vs = sdw->link_res->shim_vs; in intel_shim_wake()
75 u32 *shim_mask = sdw->link_res->shim_mask; in intel_link_power_up()
80 mutex_lock(sdw->link_res->shim_lock); in intel_link_power_up()
91 ret = hdac_bus_eml_sdw_set_syncprd_unlocked(sdw->link_res->hbus, syncprd); in intel_link_power_up()
99 ret = hdac_bus_eml_sdw_power_up_unlocked(sdw->link_res->hbus, link_id); in intel_link_power_up()
108 ret = hdac_bus_eml_sdw_wait_syncpu_unlocked(sdw->link_res->hbus); in intel_link_power_up()
123 mutex_unlock(sdw->link_res->shim_lock); in intel_link_power_up()
130 u32 *shim_mask = sdw->link_res->shim_mask; in intel_link_power_down()
[all …]
H A Dintel.c74 void __iomem *s = sdw->link_res->shim; in intel_reg_show()
75 void __iomem *a = sdw->link_res->alh; in intel_reg_show()
210 void __iomem *shim = sdw->link_res->shim; in intel_shim_glue_to_master_ip()
241 void __iomem *shim = sdw->link_res->shim; in intel_shim_master_ip_to_glue()
261 void __iomem *shim = sdw->link_res->shim; in intel_shim_init()
297 shim = sdw->link_res->shim; in intel_shim_check_wake()
305 void __iomem *shim = sdw->link_res->shim; in intel_shim_wake()
309 mutex_lock(sdw->link_res->shim_lock); in intel_shim_wake()
326 mutex_unlock(sdw->link_res->shim_lock); in intel_shim_wake()
331 void __iomem *shim = sdw->link_res->shim; in intel_check_cmdsync_unlocked()
[all …]
H A Dintel_auxdevice.c82 return sdw->link_res->hw_ops->pre_bank_switch(sdw); in generic_pre_bank_switch()
90 return sdw->link_res->hw_ops->post_bank_switch(sdw); in generic_post_bank_switch()
118 if (sdw->link_res->hw_ops->program_sdi && wake_capable) in generic_new_peripheral_assigned()
119 sdw->link_res->hw_ops->program_sdi(sdw, dev_num); in generic_new_peripheral_assigned()
230 sdw->link_res = &ldev->link_res; in intel_link_probe()
232 cdns->registers = sdw->link_res->registers; in intel_link_probe()
233 cdns->ip_offset = sdw->link_res->ip_offset; in intel_link_probe()
343 clock_stop_quirks = sdw->link_res->clock_stop_quirks; in intel_link_startup()
481 clock_stop_quirks = sdw->link_res->clock_stop_quirks; in intel_pm_prepare()
544 clock_stop_quirks = sdw->link_res->clock_stop_quirks; in intel_suspend()
[all …]
H A Dintel.h54 struct sdw_intel_link_res *link_res; member
96 #define SDW_INTEL_CHECK_OPS(sdw, cb) ((sdw) && (sdw)->link_res && (sdw)->link_res->hw_ops && \
97 (sdw)->link_res->hw_ops->cb)
98 #define SDW_INTEL_OPS(sdw, cb) ((sdw)->link_res->hw_ops->cb)
H A Dintel_init.c63 link = &ldev->link_res; in intel_link_dev_register()
132 if (!ldev->link_res.clock_stop_quirks) in sdw_intel_cleanup()
133 pm_runtime_put_noidle(ldev->link_res.dev); in sdw_intel_cleanup()
235 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()
/openbmc/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,
/openbmc/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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_hw_sequencer.h92 const struct link_resource *link_res,
95 const struct link_resource *link_res,
99 const struct link_resource *link_res,
106 const struct link_resource *link_res,

123