Lines Matching refs:link

29 uint8_t dp_dio_fixed_vs_pe_retimer_lane_cfg_to_hw_cfg(struct dc_link *link)  in dp_dio_fixed_vs_pe_retimer_lane_cfg_to_hw_cfg()  argument
32 if (link->cur_link_settings.lane_count == LANE_COUNT_FOUR) in dp_dio_fixed_vs_pe_retimer_lane_cfg_to_hw_cfg()
38 void dp_dio_fixed_vs_pe_retimer_exit_manual_automation(struct dc_link *link) in dp_dio_fixed_vs_pe_retimer_exit_manual_automation() argument
40 const uint8_t dp_type = dp_dio_fixed_vs_pe_retimer_lane_cfg_to_hw_cfg(link); in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
52 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
54 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
56 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
58 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
60 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
62 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
64 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
66 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
68 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
70 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
74 static bool set_dio_fixed_vs_pe_retimer_dp_link_test_pattern_override(struct dc_link *link, in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern_override() argument
87 if (link->current_test_pattern >= DP_TEST_PATTERN_SQUARE_BEGIN && in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern_override()
88 link->current_test_pattern <= DP_TEST_PATTERN_SQUARE_END) { in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern_override()
90 dp_dio_fixed_vs_pe_retimer_exit_manual_automation(link); in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern_override()
102 if (link->current_test_pattern == DP_TEST_PATTERN_80BIT_CUSTOM || in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern_override()
103 link->current_test_pattern == DP_TEST_PATTERN_D102) in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern_override()
105 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern_override()
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()
118 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern_override()
124 static void set_dio_fixed_vs_pe_retimer_dp_link_test_pattern(struct dc_link *link, in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern() argument
128 struct link_encoder *link_enc = link_enc_cfg_get_link_enc(link); in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern()
131 link, link_res, tp_params, get_dio_link_hwss())) { in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern()
134 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_SET_SOURCE_PATTERN); in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern()
137 void enable_dio_fixed_vs_pe_retimer_program_4lane_output(struct dc_link *link) in enable_dio_fixed_vs_pe_retimer_program_4lane_output() argument
145 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in enable_dio_fixed_vs_pe_retimer_program_4lane_output()
147 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in enable_dio_fixed_vs_pe_retimer_program_4lane_output()
149 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in enable_dio_fixed_vs_pe_retimer_program_4lane_output()
151 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in enable_dio_fixed_vs_pe_retimer_program_4lane_output()
153 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in enable_dio_fixed_vs_pe_retimer_program_4lane_output()
157 static void enable_dio_fixed_vs_pe_retimer_dp_link_output(struct dc_link *link, in enable_dio_fixed_vs_pe_retimer_dp_link_output() argument
164 enable_dio_fixed_vs_pe_retimer_program_4lane_output(link); in enable_dio_fixed_vs_pe_retimer_dp_link_output()
166 enable_dio_dp_link_output(link, link_res, signal, clock_source, link_settings); in enable_dio_fixed_vs_pe_retimer_dp_link_output()
186 bool requires_fixed_vs_pe_retimer_dio_link_hwss(const struct dc_link *link) in requires_fixed_vs_pe_retimer_dio_link_hwss() argument
188 if (!(link->chip_caps & EXT_DISPLAY_PATH_CAPS__DP_FIXED_VS_EN)) in requires_fixed_vs_pe_retimer_dio_link_hwss()
191 if (!link->dpcd_caps.lttpr_caps.main_link_channel_coding.bits.DP_128b_132b_SUPPORTED) in requires_fixed_vs_pe_retimer_dio_link_hwss()