Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_dp_training_8b_10b.c165 union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX]; in perform_8b_10b_clock_recovery_sequence() local
172 memset(&dpcd_lane_status, '\0', sizeof(dpcd_lane_status)); in perform_8b_10b_clock_recovery_sequence()
223 dpcd_lane_status, in perform_8b_10b_clock_recovery_sequence()
232 if (dp_is_cr_done(lane_count, dpcd_lane_status)) { in perform_8b_10b_clock_recovery_sequence()
271 return dp_get_cr_failure(lane_count, dpcd_lane_status); in perform_8b_10b_clock_recovery_sequence()
286 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()
337 if (!dp_is_cr_done(lane_count, dpcd_lane_status)) in perform_8b_10b_channel_equalization_sequence()
338 return dpcd_lane_status[0].bits.CR_DONE_0 ? in perform_8b_10b_channel_equalization_sequence()
343 if (dp_is_ch_eq_done(lane_count, dpcd_lane_status) && in perform_8b_10b_channel_equalization_sequence()
[all …]
Dlink_dp_training_dpia.c296 union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX] = {0}; in dpia_training_cr_non_transparent() local
390 dpcd_lane_status, in dpia_training_cr_non_transparent()
400 if (dp_is_cr_done(lane_count, dpcd_lane_status)) { in dpia_training_cr_non_transparent()
406 result = dp_get_cr_failure(lane_count, dpcd_lane_status); in dpia_training_cr_non_transparent()
462 union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX] = {0}; in dpia_training_cr_transparent() local
494 dpcd_lane_status, in dpia_training_cr_transparent()
504 if (dp_is_cr_done(lane_count, dpcd_lane_status)) { in dpia_training_cr_transparent()
510 result = dp_get_cr_failure(lane_count, dpcd_lane_status); in dpia_training_cr_transparent()
592 union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX] = {0}; in dpia_training_eq_non_transparent() local
674 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_fixed_vs_pe_retimer.c326 union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX]; in dp_perform_fixed_vs_pe_training_sequence() local
334 memset(&dpcd_lane_status, '\0', sizeof(dpcd_lane_status)); in dp_perform_fixed_vs_pe_training_sequence()
408 dpcd_lane_status, in dp_perform_fixed_vs_pe_training_sequence()
414 if (dp_is_cr_done(lane_count, dpcd_lane_status)) { in dp_perform_fixed_vs_pe_training_sequence()
447 status = dp_get_cr_failure(lane_count, dpcd_lane_status); in dp_perform_fixed_vs_pe_training_sequence()
457 union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX] = {0}; in dp_perform_fixed_vs_pe_training_sequence() local
527 dpcd_lane_status, in dp_perform_fixed_vs_pe_training_sequence()
533 if (!dp_is_cr_done(lane_count, dpcd_lane_status)) { in dp_perform_fixed_vs_pe_training_sequence()
539 if (dp_is_ch_eq_done(lane_count, dpcd_lane_status) && in dp_perform_fixed_vs_pe_training_sequence()
540 dp_is_symbol_locked(lane_count, dpcd_lane_status) && in dp_perform_fixed_vs_pe_training_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.c442 union lane_status *dpcd_lane_status) in dp_get_cr_failure() argument
446 if (ln_count >= LANE_COUNT_ONE && !dpcd_lane_status[0].bits.CR_DONE_0) in dp_get_cr_failure()
448 else if (ln_count >= LANE_COUNT_TWO && !dpcd_lane_status[1].bits.CR_DONE_0) in dp_get_cr_failure()
450 else if (ln_count >= LANE_COUNT_FOUR && !dpcd_lane_status[2].bits.CR_DONE_0) in dp_get_cr_failure()
452 else if (ln_count >= LANE_COUNT_FOUR && !dpcd_lane_status[3].bits.CR_DONE_0) in dp_get_cr_failure()
478 union lane_status *dpcd_lane_status) in dp_is_cr_done() argument
484 if (!dpcd_lane_status[lane].bits.CR_DONE_0) in dp_is_cr_done()
492 union lane_status *dpcd_lane_status) in dp_is_ch_eq_done() argument
497 if (!dpcd_lane_status[lane].bits.CHANNEL_EQ_DONE_0) in dp_is_ch_eq_done()
503 union lane_status *dpcd_lane_status) in dp_is_symbol_locked() argument
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/
Dlink_dpms.c1184 union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX]; in poll_for_allocation_change_trigger() local
1191 get_lane_status(link, link->cur_link_settings.lane_count, dpcd_lane_status, &lane_status_updated); in poll_for_allocation_change_trigger()
1193 if (!dp_is_cr_done(link->cur_link_settings.lane_count, dpcd_lane_status) || in poll_for_allocation_change_trigger()
1194 !dp_is_ch_eq_done(link->cur_link_settings.lane_count, dpcd_lane_status) || in poll_for_allocation_change_trigger()
1195 !dp_is_symbol_locked(link->cur_link_settings.lane_count, dpcd_lane_status) || in poll_for_allocation_change_trigger()