Home
last modified time | relevance | path

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

123

/linux-6.15/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()
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()
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()
145 link_res->hpo_dp_link_enc->inst, in disable_hpo_dp_link_output()
164 link_res->hpo_dp_link_enc, in set_hpo_dp_lane_settings()
[all …]
H A Dlink_hwss_dpia.c35 const struct link_resource *link_res, in update_dpia_stream_allocation_table() argument
38 struct link_encoder *link_enc = link_res->dio_link_enc; in update_dpia_stream_allocation_table()
61 const struct link_resource *link_res, in set_dio_dpia_link_test_pattern() argument
67 struct link_encoder *link_enc = link_res->dio_link_enc; in set_dio_dpia_link_test_pattern()
80 const struct link_resource *link_res, in set_dio_dpia_lane_settings() argument
87 const struct link_resource *link_res, in enable_dpia_link_output() argument
92 struct link_encoder *link_enc = link_res->dio_link_enc; in enable_dpia_link_output()
122 const struct link_resource *link_res, in disable_dpia_link_output() argument
125 struct link_encoder *link_enc = link_res->dio_link_enc; in disable_dpia_link_output()
165 const struct link_resource *link_res) in can_use_dpia_link_hwss() argument
[all …]
H A Dlink_hwss_dio.h34 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 Dlink_hwss_dio.c154 const struct link_resource *link_res, in enable_dio_dp_link_output() argument
159 struct link_encoder *link_enc = link_res->dio_link_enc; in enable_dio_dp_link_output()
183 const struct link_resource *link_res, in disable_dio_link_output() argument
186 struct link_encoder *link_enc = link_res->dio_link_enc; in disable_dio_link_output()
201 const struct link_resource *link_res, in set_dio_dp_link_test_pattern() argument
204 struct link_encoder *link_enc = link_res->dio_link_enc; in set_dio_dp_link_test_pattern()
218 const struct link_resource *link_res, in set_dio_dp_lane_settings() argument
222 struct link_encoder *link_enc = link_res->dio_link_enc; in set_dio_dp_lane_settings()
235 const struct link_resource *link_res, in update_dio_stream_allocation_table() argument
329 const struct link_resource *link_res) in can_use_dio_link_hwss() argument
[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_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
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
130 struct link_encoder *link_enc = link_res->dio_link_enc; in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern()
136 link, link_res, tp_params, get_dio_link_hwss())) { in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern()
163 const struct link_resource *link_res, in enable_dio_fixed_vs_pe_retimer_dp_link_output() argument
171 enable_dio_dp_link_output(link, link_res, signal, clock_source, link_settings); in enable_dio_fixed_vs_pe_retimer_dp_link_output()
/linux-6.15/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_phy.c60 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
82 dc->hwss.disable_link_output(link, link_res, signal); in dp_disable_link_phy()
99 const struct link_resource *link_res, in dp_set_hw_lane_settings() argument
103 const struct link_hwss *link_hwss = get_link_hwss(link, link_res); in dp_set_hw_lane_settings()
113 link_hwss->ext.set_dp_lane_settings(link, link_res, in dp_set_hw_lane_settings()
124 const struct link_resource *link_res, in dp_set_drive_settings() argument
128 dp_set_hw_lane_settings(link, link_res, lt_settings, DPRX); in dp_set_drive_settings()
145 struct link_encoder *link_enc = link_res->dio_link_enc; in dp_set_fec_ready()
[all …]
H A Dlink_dp_training_auxless.c35 const struct link_resource *link_res, in dp_perform_link_training_skip_aux() argument
42 link_res, in dp_perform_link_training_skip_aux()
53 dp_set_hw_training_pattern(link, link_res, lt_settings.pattern_for_cr, DPRX); in dp_perform_link_training_skip_aux()
56 dp_set_hw_lane_settings(link, link_res, &lt_settings, DPRX); in dp_perform_link_training_skip_aux()
64 dp_set_hw_training_pattern(link, link_res, lt_settings.pattern_for_eq, DPRX); in dp_perform_link_training_skip_aux()
67 dp_set_hw_lane_settings(link, link_res, &lt_settings, DPRX); in dp_perform_link_training_skip_aux()
75 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);
56 const struct link_resource *link_res, bool enable);
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
207 link_res, in dp_perform_128b_132b_link_training()
210 return dp_perform_8b_10b_link_training(link, link_res, &legacy_settings); in dp_perform_128b_132b_link_training()
222 result = dp_perform_128b_132b_cds_done_sequence(link, link_res, lt_settings); in dp_perform_128b_132b_link_training()
[all …]
H A Dlink_dp_training_8b_10b.c115 const struct link_resource *link_res, in decide_8b_10b_training_settings() argument
178 const struct link_resource *link_res, in perform_8b_10b_clock_recovery_sequence() argument
199 dp_set_hw_training_pattern(link, link_res, lt_settings->pattern_for_cr, offset); in perform_8b_10b_clock_recovery_sequence()
213 link_res, in perform_8b_10b_clock_recovery_sequence()
298 const struct link_resource *link_res, in perform_8b_10b_channel_equalization_sequence() argument
317 dp_set_hw_training_pattern(link, link_res, tr_pattern, offset); in perform_8b_10b_channel_equalization_sequence()
322 dp_set_hw_lane_settings(link, link_res, lt_settings, offset); in perform_8b_10b_channel_equalization_sequence()
381 const struct link_resource *link_res, in dp_perform_8b_10b_link_training() argument
391 start_clock_recovery_pattern_early(link, link_res, lt_settings, DPRX); in dp_perform_8b_10b_link_training()
413 link_res, in dp_perform_8b_10b_link_training()
[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,
58 const struct link_resource *link_res,
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()
191 const struct link_resource *link_res, in dp_perform_fixed_vs_pe_training_sequence() argument
223 status = perform_fixed_vs_pe_nontransparent_training_sequence(link, link_res, lt_settings); in dp_perform_fixed_vs_pe_training_sequence()
346 link_res, in dp_perform_fixed_vs_pe_training_sequence()
471 dp_set_hw_training_pattern(link, link_res, tr_pattern, 0); in dp_perform_fixed_vs_pe_training_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,
107 const struct link_resource *link_res,
121 const struct link_resource *link_res,
H A Dlink_dp_training_dpia.c99 const struct link_resource *link_res, in dpia_configure_link() argument
113 link_res, in dpia_configure_link()
138 status = dp_set_fec_ready(link, link_res, fec_enable); in dpia_configure_link()
289 const struct link_resource *link_res, in dpia_training_cr_non_transparent() argument
457 const struct link_resource *link_res, in dpia_training_cr_transparent() argument
556 const struct link_resource *link_res, in dpia_training_cr_phase() argument
565 result = dpia_training_cr_transparent(link, link_res, lt_settings); in dpia_training_cr_phase()
584 const struct link_resource *link_res, in dpia_training_eq_non_transparent() argument
730 const struct link_resource *link_res, in dpia_training_eq_transparent() argument
811 const struct link_resource *link_res, in dpia_training_eq_phase() argument
[all …]
H A Dlink_dp_training.c804 const struct link_resource *link_res, in decide_eq_training_pattern() argument
1363 const struct link_resource *link_res, in dp_set_hw_test_pattern() argument
1382 const struct link_resource *link_res, in dp_set_hw_training_pattern() argument
1480 link_res, in perform_post_lt_adj_req_sequence()
1506 const struct link_resource *link_res, in dp_transition_to_video_idle() argument
1552 const struct link_resource *link_res, in dp_perform_link_training() argument
1564 link_res, in dp_perform_link_training()
1603 link_res, in dp_perform_link_training()
1657 &pipe_ctx->link_res, in perform_link_training_with_retries()
1679 &pipe_ctx->link_res, in perform_link_training_with_retries()
[all …]
H A Dlink_dp_training_128b_132b.h33 const struct link_resource *link_res,
37 const struct link_resource *link_res,
/linux-6.15/drivers/soundwire/
H A Dintel_ace2x.c407 mutex_lock(sdw->link_res->shim_lock); in intel_shim_wake()
431 mutex_unlock(sdw->link_res->shim_lock); in intel_shim_wake()
438 u32 *shim_mask = sdw->link_res->shim_mask; in intel_link_power_up()
457 mutex_lock(sdw->link_res->shim_lock); in intel_link_power_up()
498 mutex_unlock(sdw->link_res->shim_lock); in intel_link_power_up()
509 mutex_lock(sdw->link_res->shim_lock); in intel_link_power_down()
530 mutex_unlock(sdw->link_res->shim_lock); in intel_link_power_down()
539 mutex_lock(sdw->link_res->shim_lock); in intel_sync_arm()
543 mutex_unlock(sdw->link_res->shim_lock); in intel_sync_arm()
561 mutex_lock(sdw->link_res->shim_lock); in intel_sync_go()
[all …]
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()
296 shim = sdw->link_res->shim; in intel_shim_check_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()
352 mutex_lock(sdw->link_res->shim_lock); in intel_link_power_up()
446 mutex_unlock(sdw->link_res->shim_lock); in intel_link_power_up()
459 mutex_lock(sdw->link_res->shim_lock); in intel_link_power_down()
495 mutex_unlock(sdw->link_res->shim_lock); in intel_link_power_down()
505 mutex_lock(sdw->link_res->shim_lock); in intel_shim_sync_arm()
[all …]
H A Dintel_auxdevice.c88 if (sdw->link_res->hw_ops->bpt_send_async) in generic_bpt_send_async()
98 if (sdw->link_res->hw_ops->bpt_wait) in generic_bpt_wait()
108 return sdw->link_res->hw_ops->pre_bank_switch(sdw); in generic_pre_bank_switch()
116 return sdw->link_res->hw_ops->post_bank_switch(sdw); in generic_post_bank_switch()
144 if (sdw->link_res->hw_ops->program_sdi && wake_capable) in generic_new_peripheral_assigned()
145 sdw->link_res->hw_ops->program_sdi(sdw, dev_num); in generic_new_peripheral_assigned()
318 sdw->link_res = &ldev->link_res; in intel_link_probe()
320 cdns->registers = sdw->link_res->registers; in intel_link_probe()
321 cdns->ip_offset = sdw->link_res->ip_offset; in intel_link_probe()
442 clock_stop_quirks = sdw->link_res->clock_stop_quirks; in intel_link_startup()
[all …]
H A Dintel.h76 struct sdw_intel_link_res *link_res; member
131 #define SDW_INTEL_CHECK_OPS(sdw, cb) ((sdw) && (sdw)->link_res && (sdw)->link_res->hw_ops && \
132 (sdw)->link_res->hw_ops->cb)
133 #define SDW_INTEL_OPS(sdw, cb) ((sdw)->link_res->hw_ops->cb)
/linux-6.15/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,
/linux-6.15/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()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dce110/
H A Ddce110_hwseq.h95 const struct link_resource *link_res,
98 const struct link_resource *link_res,
102 const struct link_resource *link_res,
109 const struct link_resource *link_res,

123