Home
last modified time | relevance | path

Searched refs:dpcd_lane_status (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_dp_training_fixed_vs_pe_retimer.c318 union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX]; in dp_perform_fixed_vs_pe_training_sequence_legacy() local
326 memset(&dpcd_lane_status, '\0', sizeof(dpcd_lane_status)); in dp_perform_fixed_vs_pe_training_sequence_legacy()
400 dpcd_lane_status, in dp_perform_fixed_vs_pe_training_sequence_legacy()
406 if (dp_is_cr_done(lane_count, dpcd_lane_status)) { in dp_perform_fixed_vs_pe_training_sequence_legacy()
439 status = dp_get_cr_failure(lane_count, dpcd_lane_status); in dp_perform_fixed_vs_pe_training_sequence_legacy()
449 union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX] = {0}; in dp_perform_fixed_vs_pe_training_sequence_legacy() local
506 dpcd_lane_status, in dp_perform_fixed_vs_pe_training_sequence_legacy()
512 if (!dp_is_cr_done(lane_count, dpcd_lane_status)) { in dp_perform_fixed_vs_pe_training_sequence_legacy()
518 if (dp_is_ch_eq_done(lane_count, dpcd_lane_status) && in dp_perform_fixed_vs_pe_training_sequence_legacy()
519 dp_is_symbol_locked(lane_count, dpcd_lane_status) && in dp_perform_fixed_vs_pe_training_sequence_legacy()
[all …]
Dlink_dp_training_8b_10b.c164 union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX]; in perform_8b_10b_clock_recovery_sequence() local
171 memset(&dpcd_lane_status, '\0', sizeof(dpcd_lane_status)); in perform_8b_10b_clock_recovery_sequence()
222 dpcd_lane_status, in perform_8b_10b_clock_recovery_sequence()
228 if (dp_is_cr_done(lane_count, dpcd_lane_status)) { in perform_8b_10b_clock_recovery_sequence()
267 return dp_get_cr_failure(lane_count, dpcd_lane_status); in perform_8b_10b_clock_recovery_sequence()
281 union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX] = {0}; in perform_8b_10b_channel_equalization_sequence() local
328 dpcd_lane_status, in perform_8b_10b_channel_equalization_sequence()
334 if (!dp_is_cr_done(lane_count, dpcd_lane_status)) in perform_8b_10b_channel_equalization_sequence()
335 return dpcd_lane_status[0].bits.CR_DONE_0 ? in perform_8b_10b_channel_equalization_sequence()
340 if (dp_is_ch_eq_done(lane_count, dpcd_lane_status) && in perform_8b_10b_channel_equalization_sequence()
[all …]
Dlink_dp_training_dpia.c299 union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX] = {0}; in dpia_training_cr_non_transparent() local
393 dpcd_lane_status, in dpia_training_cr_non_transparent()
403 if (dp_is_cr_done(lane_count, dpcd_lane_status)) { in dpia_training_cr_non_transparent()
409 result = dp_get_cr_failure(lane_count, dpcd_lane_status); in dpia_training_cr_non_transparent()
469 union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX] = {0}; in dpia_training_cr_transparent() local
501 dpcd_lane_status, in dpia_training_cr_transparent()
511 if (dp_is_cr_done(lane_count, dpcd_lane_status)) { in dpia_training_cr_transparent()
517 result = dp_get_cr_failure(lane_count, dpcd_lane_status); in dpia_training_cr_transparent()
625 union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX] = {0}; in dpia_training_eq_non_transparent() local
707 dpcd_lane_status, in dpia_training_eq_non_transparent()
[all …]
Dlink_dp_training_128b_132b.c80 union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX] = {0}; in dp_perform_128b_132b_channel_eq_done_sequence() local
93 dp_get_lane_status_and_lane_adjust(link, lt_settings, dpcd_lane_status, in dp_perform_128b_132b_channel_eq_done_sequence()
111 status = dp_get_lane_status_and_lane_adjust(link, lt_settings, dpcd_lane_status, in dp_perform_128b_132b_channel_eq_done_sequence()
119 dpcd_lane_status)) { in dp_perform_128b_132b_channel_eq_done_sequence()
148 status = dp_get_lane_status_and_lane_adjust(link, lt_settings, dpcd_lane_status, in dp_perform_128b_132b_channel_eq_done_sequence()
165 union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX] = {0}; in dp_perform_128b_132b_cds_done_sequence() local
177 status = dp_get_lane_status_and_lane_adjust(link, lt_settings, dpcd_lane_status, in dp_perform_128b_132b_cds_done_sequence()
181 } else if (dp_is_symbol_locked(lt_settings->link_settings.lane_count, dpcd_lane_status) && in dp_perform_128b_132b_cds_done_sequence()
Dlink_dp_training.h139 union lane_status *dpcd_lane_status);
142 union lane_status *dpcd_lane_status);
144 union lane_status *dpcd_lane_status);
155 union lane_status *dpcd_lane_status);
Dlink_dp_training.c438 union lane_status *dpcd_lane_status) in dp_get_cr_failure() argument
442 if (ln_count >= LANE_COUNT_ONE && !dpcd_lane_status[0].bits.CR_DONE_0) in dp_get_cr_failure()
444 else if (ln_count >= LANE_COUNT_TWO && !dpcd_lane_status[1].bits.CR_DONE_0) in dp_get_cr_failure()
446 else if (ln_count >= LANE_COUNT_FOUR && !dpcd_lane_status[2].bits.CR_DONE_0) in dp_get_cr_failure()
448 else if (ln_count >= LANE_COUNT_FOUR && !dpcd_lane_status[3].bits.CR_DONE_0) in dp_get_cr_failure()
474 union lane_status *dpcd_lane_status) in dp_is_cr_done() argument
480 if (!dpcd_lane_status[lane].bits.CR_DONE_0) in dp_is_cr_done()
488 union lane_status *dpcd_lane_status) in dp_is_ch_eq_done() argument
493 if (!dpcd_lane_status[lane].bits.CHANNEL_EQ_DONE_0) in dp_is_ch_eq_done()
499 union lane_status *dpcd_lane_status) in dp_is_symbol_locked() argument
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/link/
Dlink_dpms.c1127 union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX]; in poll_for_allocation_change_trigger() local
1134 get_lane_status(link, link->cur_link_settings.lane_count, dpcd_lane_status, &lane_status_updated); in poll_for_allocation_change_trigger()
1136 if (!dp_is_cr_done(link->cur_link_settings.lane_count, dpcd_lane_status) || in poll_for_allocation_change_trigger()
1137 !dp_is_ch_eq_done(link->cur_link_settings.lane_count, dpcd_lane_status) || in poll_for_allocation_change_trigger()
1138 !dp_is_symbol_locked(link->cur_link_settings.lane_count, dpcd_lane_status) || in poll_for_allocation_change_trigger()