/openbsd/sys/dev/pci/drm/amd/display/dc/link/protocols/ |
H A D | link_dp_training_fixed_vs_pe_retimer.c | 318 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() 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() 672 memset(&dpcd_lane_status, '\0', sizeof(dpcd_lane_status)); in dp_perform_fixed_vs_pe_training_sequence() 746 dpcd_lane_status, in dp_perform_fixed_vs_pe_training_sequence() 752 if (dp_is_cr_done(lane_count, dpcd_lane_status)) { in dp_perform_fixed_vs_pe_training_sequence() 865 dpcd_lane_status, in dp_perform_fixed_vs_pe_training_sequence() [all …]
|
H A D | link_dp_training_8b_10b.c | 164 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 …]
|
H A D | link_dp_training_dpia.c | 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() 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() 707 dpcd_lane_status, in dpia_training_eq_non_transparent() 717 if (!dp_is_cr_done(lane_count, dpcd_lane_status)) { in dpia_training_eq_non_transparent() 722 if (dp_is_ch_eq_done(lane_count, dpcd_lane_status) && in dpia_training_eq_non_transparent() 794 dpcd_lane_status, in dpia_training_eq_transparent() 804 if (!dp_is_cr_done(lane_count, dpcd_lane_status)) { in dpia_training_eq_transparent() [all …]
|
H A D | link_dp_training_128b_132b.c | 80 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()
|
H A D | link_dp_training.h | 139 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);
|
H A D | link_dp_training.c | 438 union lane_status *dpcd_lane_status) in dp_get_cr_failure() argument 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 504 if (!dpcd_lane_status[lane].bits.SYMBOL_LOCKED_0) in dp_is_symbol_locked() 1372 dpcd_lane_status, in perform_post_lt_adj_req_sequence() 1381 if (!dp_is_cr_done(lane_count, dpcd_lane_status)) in perform_post_lt_adj_req_sequence() 1384 if (!dp_is_ch_eq_done(lane_count, dpcd_lane_status) || in perform_post_lt_adj_req_sequence() [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/link/ |
H A D | link_dpms.c | 1134 union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX]; in poll_for_allocation_change_trigger() local 1141 get_lane_status(link, link->cur_link_settings.lane_count, dpcd_lane_status, &lane_status_updated); in poll_for_allocation_change_trigger() 1143 if (!dp_is_cr_done(link->cur_link_settings.lane_count, dpcd_lane_status) || in poll_for_allocation_change_trigger() 1144 !dp_is_ch_eq_done(link->cur_link_settings.lane_count, dpcd_lane_status) || in poll_for_allocation_change_trigger() 1145 !dp_is_symbol_locked(link->cur_link_settings.lane_count, dpcd_lane_status) || in poll_for_allocation_change_trigger()
|