Lines Matching defs:link_service

99 struct link_service {  struct
101 struct dc_link *(*create_link)(
103 void (*destroy_link)(struct dc_link **link);
107 bool (*detect_link)(struct dc_link *link, enum dc_detect_reason reason);
108 bool (*detect_connection_type)(struct dc_link *link,
110 struct dc_sink *(*add_remote_sink)(
115 void (*remove_remote_sink)(struct dc_link *link, struct dc_sink *sink);
116 bool (*get_hpd_state)(struct dc_link *link);
117 struct gpio *(*get_hpd_gpio)(struct dc_bios *dcb,
120 void (*enable_hpd)(const struct dc_link *link);
121 void (*disable_hpd)(const struct dc_link *link);
122 void (*enable_hpd_filter)(struct dc_link *link, bool enable);
123 bool (*reset_cur_dp_mst_topology)(struct dc_link *link);
124 const struct dc_link_status *(*get_status)(const struct dc_link *link);
125 bool (*is_hdcp1x_supported)(struct dc_link *link,
127 bool (*is_hdcp2x_supported)(struct dc_link *link,
129 void (*clear_dprx_states)(struct dc_link *link);
133 void (*get_cur_res_map)(const struct dc *dc, uint32_t *map);
134 void (*restore_res_map)(const struct dc *dc, uint32_t *map);
135 void (*get_cur_link_res)(const struct dc_link *link,
140 enum dc_status (*validate_mode_timing)(
144 uint32_t (*dp_link_bandwidth_kbps)(
147 bool (*validate_dpia_bandwidth)(
151 uint32_t (*dp_required_hblank_size_bytes)(
157 void (*set_dpms_on)(struct dc_state *state, struct pipe_ctx *pipe_ctx);
158 void (*set_dpms_off)(struct pipe_ctx *pipe_ctx);
159 void (*resume)(struct dc_link *link);
160 void (*blank_all_dp_displays)(struct dc *dc);
161 void (*blank_all_edp_displays)(struct dc *dc);
162 void (*blank_dp_stream)(struct dc_link *link, bool hw_init);
163 enum dc_status (*increase_mst_payload)(
165 enum dc_status (*reduce_mst_payload)(
167 void (*set_dsc_on_stream)(struct pipe_ctx *pipe_ctx, bool enable);
168 bool (*set_dsc_enable)(struct pipe_ctx *pipe_ctx, bool enable);
169 bool (*update_dsc_config)(struct pipe_ctx *pipe_ctx);
173 struct ddc_service *(*create_ddc_service)(
175 void (*destroy_ddc_service)(struct ddc_service **ddc);
176 bool (*query_ddc_data)(
183 int (*aux_transfer_raw)(struct ddc_service *ddc,
186 bool (*configure_fixed_vs_pe_retimer)(
190 bool (*aux_transfer_with_retries_no_mutex)(struct ddc_service *ddc,
192 bool (*is_in_aux_transaction_mode)(struct ddc_service *ddc);
193 uint32_t (*get_aux_defer_delay)(struct ddc_service *ddc);
197 bool (*dp_is_sink_present)(struct dc_link *link);
198 bool (*dp_is_fec_supported)(const struct dc_link *link);
199 bool (*dp_is_128b_132b_signal)(struct pipe_ctx *pipe_ctx);
200 bool (*dp_get_max_link_enc_cap)(const struct dc_link *link,
202 const struct dc_link_settings *(*dp_get_verified_link_cap)(
204 enum dp_link_encoding (*dp_get_encoding_format)(
206 bool (*dp_should_enable_fec)(const struct dc_link *link);
207 bool (*dp_decide_link_settings)(
210 enum dp_link_encoding (*mst_decide_link_encoding_format)(
212 bool (*edp_decide_link_settings)(struct dc_link *link,
214 uint32_t (*bw_kbps_from_raw_frl_link_rate_data)(uint8_t bw);
215 bool (*dp_overwrite_extended_receiver_cap)(struct dc_link *link);
216 enum lttpr_mode (*dp_decide_lttpr_mode)(struct dc_link *link,
221 void (*dpia_handle_usb4_bandwidth_allocation_for_link)(
223 void (*dp_set_drive_settings)(
227 void (*dpcd_write_rx_power_ctrl)(struct dc_link *link, bool on);
231 bool (*dp_parse_link_loss_status)(
234 bool (*dp_should_allow_hpd_rx_irq)(const struct dc_link *link);
235 void (*dp_handle_link_loss)(struct dc_link *link);
236 enum dc_status (*dp_read_hpd_rx_irq_data)(
239 bool (*dp_handle_hpd_rx_irq)(struct dc_link *link,
246 void (*edp_panel_backlight_power_on)(
248 int (*edp_get_backlight_level)(const struct dc_link *link);
249 bool (*edp_get_backlight_level_nits)(struct dc_link *link,
252 bool (*edp_set_backlight_level)(const struct dc_link *link,
254 bool (*edp_set_backlight_level_nits)(struct dc_link *link,
258 int (*edp_get_target_backlight_pwm)(const struct dc_link *link);
259 bool (*edp_get_psr_state)(
261 bool (*edp_set_psr_allow_active)(
267 bool (*edp_setup_psr)(struct dc_link *link,
271 bool (*edp_set_sink_vtotal_in_psr_active)(
275 void (*edp_get_psr_residency)(
278 bool (*edp_get_replay_state)(
280 bool (*edp_set_replay_allow_active)(struct dc_link *dc_link,
283 bool (*edp_setup_replay)(struct dc_link *link,
285 bool (*edp_send_replay_cmd)(struct dc_link *link,
288 bool (*edp_set_coasting_vtotal)(
290 bool (*edp_replay_residency)(const struct dc_link *link,
293 bool (*edp_set_replay_power_opt_and_coasting_vtotal)(struct dc_link *link,
296 bool (*edp_wait_for_t12)(struct dc_link *link);
297 bool (*edp_is_ilr_optimization_required)(struct dc_link *link,
299 bool (*edp_backlight_enable_aux)(struct dc_link *link, bool enable);
300 void (*edp_add_delay_for_T9)(struct dc_link *link);
301 bool (*edp_receiver_ready_T9)(struct dc_link *link);
302 bool (*edp_receiver_ready_T7)(struct dc_link *link);
303 bool (*edp_power_alpm_dpcd_enable)(struct dc_link *link, bool enable);
304 void (*edp_set_panel_power)(struct dc_link *link, bool powerOn);
308 void (*dp_handle_automated_test)(struct dc_link *link);
309 bool (*dp_set_test_pattern)(
316 void (*dp_set_preferred_link_settings)(struct dc *dc,
319 void (*dp_set_preferred_training_settings)(struct dc *dc,
327 bool (*dp_trace_is_initialized)(struct dc_link *link);
328 void (*dp_trace_set_is_logged_flag)(struct dc_link *link,
331 bool (*dp_trace_is_logged)(struct dc_link *link, bool in_detection);
332 unsigned long long (*dp_trace_get_lt_end_timestamp)(
334 const struct dp_trace_lt_counts *(*dp_trace_get_lt_counts)(
336 unsigned int (*dp_trace_get_link_loss_count)(struct dc_link *link);
337 void (*dp_trace_set_edp_power_timestamp)(struct dc_link *link,
339 uint64_t (*dp_trace_get_edp_poweron_timestamp)(struct dc_link *link);
340 uint64_t (*dp_trace_get_edp_poweroff_timestamp)(struct dc_link *link);
341 void (*dp_trace_source_sequence)(