/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | stream_encoder.h | 133 struct stream_encoder *enc, 140 struct stream_encoder *enc, 146 struct stream_encoder *enc, 151 struct stream_encoder *enc, 155 struct stream_encoder *enc, 159 struct stream_encoder *enc, 163 struct stream_encoder *enc); 166 struct stream_encoder *enc, 170 struct stream_encoder *enc, 174 struct stream_encoder *enc, [all...] |
H A D | link_encoder.h | 109 struct link_encoder *enc, struct link_enc_state *s); 111 struct link_encoder *enc, const struct dc_stream_state *stream); 112 void (*hw_init)(struct link_encoder *enc); 113 void (*setup)(struct link_encoder *enc, 115 void (*enable_tmds_output)(struct link_encoder *enc, 120 void (*enable_dp_output)(struct link_encoder *enc, 123 void (*enable_dp_mst_output)(struct link_encoder *enc, 126 void (*enable_lvds_output)(struct link_encoder *enc, 131 void (*dp_set_lane_settings)(struct link_encoder *enc, 134 void (*dp_set_phy_pattern)(struct link_encoder *enc, [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/virtual/ |
H A D | virtual_stream_encoder.c | 32 struct stream_encoder *enc, in virtual_stream_encoder_dp_set_stream_attribute() 39 struct stream_encoder *enc, in virtual_stream_encoder_hdmi_set_stream_attribute() 45 struct stream_encoder *enc, in virtual_stream_encoder_dvi_set_stream_attribute() 50 struct stream_encoder *enc, in virtual_stream_encoder_set_throttled_vcp_size() 55 struct stream_encoder *enc, in virtual_stream_encoder_update_hdmi_info_packets() 59 struct stream_encoder *enc) {} in virtual_stream_encoder_stop_hdmi_info_packets() 62 struct stream_encoder *enc, in virtual_stream_encoder_set_avmute() 65 struct stream_encoder *enc, in virtual_stream_encoder_update_dp_info_packets() 69 struct stream_encoder *enc) {} in virtual_stream_encoder_stop_dp_info_packets() 72 struct stream_encoder *enc) {} in virtual_stream_encoder_dp_blank() 31 virtual_stream_encoder_dp_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, enum dc_color_space output_color_space, bool use_vsc_sdp_for_colorimetry, uint32_t enable_sdp_splitting) virtual_stream_encoder_dp_set_stream_attribute() argument 38 virtual_stream_encoder_hdmi_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, int actual_pix_clk_khz, bool enable_audio) virtual_stream_encoder_hdmi_set_stream_attribute() argument 44 virtual_stream_encoder_dvi_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, bool is_dual_link) virtual_stream_encoder_dvi_set_stream_attribute() argument 49 virtual_stream_encoder_set_throttled_vcp_size( struct stream_encoder *enc, struct fixed31_32 avg_time_slots_per_mtp) virtual_stream_encoder_set_throttled_vcp_size() argument 54 virtual_stream_encoder_update_hdmi_info_packets( struct stream_encoder *enc, const struct encoder_info_frame *info_frame) virtual_stream_encoder_update_hdmi_info_packets() argument 58 virtual_stream_encoder_stop_hdmi_info_packets( struct stream_encoder *enc) virtual_stream_encoder_stop_hdmi_info_packets() argument 61 virtual_stream_encoder_set_avmute( struct stream_encoder *enc, bool enable) virtual_stream_encoder_set_avmute() argument 64 virtual_stream_encoder_update_dp_info_packets( struct stream_encoder *enc, const struct encoder_info_frame *info_frame) virtual_stream_encoder_update_dp_info_packets() argument 68 virtual_stream_encoder_stop_dp_info_packets( struct stream_encoder *enc) virtual_stream_encoder_stop_dp_info_packets() argument 71 virtual_stream_encoder_dp_blank( struct stream_encoder *enc) virtual_stream_encoder_dp_blank() argument 74 virtual_stream_encoder_dp_unblank( struct stream_encoder *enc, const struct encoder_unblank_param *param) virtual_stream_encoder_dp_unblank() argument 78 virtual_audio_mute_control( struct stream_encoder *enc, bool mute) virtual_audio_mute_control() argument 82 virtual_stream_encoder_reset_hdmi_stream_attribute( struct stream_encoder *enc) virtual_stream_encoder_reset_hdmi_stream_attribute() argument 86 virtual_enc_dp_set_odm_combine( struct stream_encoder *enc, bool odm_combine) virtual_enc_dp_set_odm_combine() argument 91 virtual_dig_connect_to_otg( struct stream_encoder *enc, int tg_inst) virtual_dig_connect_to_otg() argument 96 virtual_setup_stereo_sync( struct stream_encoder *enc, int tg_inst, bool enable) virtual_setup_stereo_sync() argument 102 virtual_stream_encoder_set_dsc_pps_info_packet( struct stream_encoder *enc, bool enable, uint8_t *dsc_packed_pps) virtual_stream_encoder_set_dsc_pps_info_packet() argument 140 virtual_stream_encoder_construct( struct stream_encoder *enc, struct dc_context *ctx, struct dc_bios *bp) virtual_stream_encoder_construct() argument 161 struct stream_encoder *enc = kzalloc(sizeof(*enc), GFP_KERNEL); virtual_stream_encoder_create() local [all...] |
H A D | virtual_link_encoder.c | 34 struct link_encoder *enc, in virtual_link_encoder_validate_output_with_stream() 37 static void virtual_link_encoder_hw_init(struct link_encoder *enc) {} in virtual_link_encoder_hw_init() argument 40 struct link_encoder *enc, in virtual_link_encoder_setup() 44 struct link_encoder *enc, in virtual_link_encoder_enable_tmds_output() 51 struct link_encoder *enc, in virtual_link_encoder_enable_dp_output() 56 struct link_encoder *enc, in virtual_link_encoder_enable_dp_mst_output() 65 struct link_encoder *enc, in virtual_link_encoder_dp_set_lane_settings() 69 struct link_encoder *enc, in virtual_link_encoder_dp_set_phy_pattern() 73 struct link_encoder *enc, in virtual_link_encoder_update_mst_stream_allocation_table() 77 struct link_encoder *enc, in virtual_link_encoder_connect_dig_be_to_fe() 33 virtual_link_encoder_validate_output_with_stream( struct link_encoder *enc, const struct dc_stream_state *stream) virtual_link_encoder_validate_output_with_stream() argument 39 virtual_link_encoder_setup( struct link_encoder *enc, enum signal_type signal) virtual_link_encoder_setup() argument 43 virtual_link_encoder_enable_tmds_output( struct link_encoder *enc, enum clock_source_id clock_source, enum dc_color_depth color_depth, enum signal_type signal, uint32_t pixel_clock) virtual_link_encoder_enable_tmds_output() argument 50 virtual_link_encoder_enable_dp_output( struct link_encoder *enc, const struct dc_link_settings *link_settings, enum clock_source_id clock_source) virtual_link_encoder_enable_dp_output() argument 55 virtual_link_encoder_enable_dp_mst_output( struct link_encoder *enc, const struct dc_link_settings *link_settings, enum clock_source_id clock_source) virtual_link_encoder_enable_dp_mst_output() argument 64 virtual_link_encoder_dp_set_lane_settings( struct link_encoder *enc, const struct link_training_settings *link_settings) virtual_link_encoder_dp_set_lane_settings() argument 68 virtual_link_encoder_dp_set_phy_pattern( struct link_encoder *enc, const struct encoder_set_dp_phy_pattern_param *param) virtual_link_encoder_dp_set_phy_pattern() argument 72 virtual_link_encoder_update_mst_stream_allocation_table( struct link_encoder *enc, const struct link_mst_stream_allocation_table *table) virtual_link_encoder_update_mst_stream_allocation_table() argument 76 virtual_link_encoder_connect_dig_be_to_fe( struct link_encoder *enc, enum engine_id engine, bool connect) virtual_link_encoder_connect_dig_be_to_fe() argument 81 virtual_link_encoder_destroy(struct link_encoder **enc) virtual_link_encoder_destroy() argument 87 virtual_link_encoder_get_max_link_cap(struct link_encoder *enc, struct dc_link_settings *link_settings) virtual_link_encoder_get_max_link_cap() argument 114 virtual_link_encoder_construct( struct link_encoder *enc, const struct encoder_init_data *init_data) virtual_link_encoder_construct() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/virtual/ |
H A D | virtual_stream_encoder.c | 30 struct stream_encoder *enc, in virtual_stream_encoder_dp_set_stream_attribute() 37 struct stream_encoder *enc, in virtual_stream_encoder_hdmi_set_stream_attribute() 43 struct stream_encoder *enc, in virtual_stream_encoder_dvi_set_stream_attribute() 48 struct stream_encoder *enc, in virtual_stream_encoder_set_throttled_vcp_size() 53 struct stream_encoder *enc, in virtual_stream_encoder_update_hdmi_info_packets() 57 struct stream_encoder *enc) {} in virtual_stream_encoder_stop_hdmi_info_packets() 60 struct stream_encoder *enc, in virtual_stream_encoder_set_avmute() 63 struct stream_encoder *enc, in virtual_stream_encoder_update_dp_info_packets() 67 struct stream_encoder *enc) {} in virtual_stream_encoder_stop_dp_info_packets() 71 struct stream_encoder *enc) {} in virtual_stream_encoder_dp_blank() 29 virtual_stream_encoder_dp_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, enum dc_color_space output_color_space, bool use_vsc_sdp_for_colorimetry, uint32_t enable_sdp_splitting) virtual_stream_encoder_dp_set_stream_attribute() argument 36 virtual_stream_encoder_hdmi_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, int actual_pix_clk_khz, bool enable_audio) virtual_stream_encoder_hdmi_set_stream_attribute() argument 42 virtual_stream_encoder_dvi_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, bool is_dual_link) virtual_stream_encoder_dvi_set_stream_attribute() argument 47 virtual_stream_encoder_set_throttled_vcp_size( struct stream_encoder *enc, struct fixed31_32 avg_time_slots_per_mtp) virtual_stream_encoder_set_throttled_vcp_size() argument 52 virtual_stream_encoder_update_hdmi_info_packets( struct stream_encoder *enc, const struct encoder_info_frame *info_frame) virtual_stream_encoder_update_hdmi_info_packets() argument 56 virtual_stream_encoder_stop_hdmi_info_packets( struct stream_encoder *enc) virtual_stream_encoder_stop_hdmi_info_packets() argument 59 virtual_stream_encoder_set_avmute( struct stream_encoder *enc, bool enable) virtual_stream_encoder_set_avmute() argument 62 virtual_stream_encoder_update_dp_info_packets( struct stream_encoder *enc, const struct encoder_info_frame *info_frame) virtual_stream_encoder_update_dp_info_packets() argument 66 virtual_stream_encoder_stop_dp_info_packets( struct stream_encoder *enc) virtual_stream_encoder_stop_dp_info_packets() argument 69 virtual_stream_encoder_dp_blank( struct dc_link *link, struct stream_encoder *enc) virtual_stream_encoder_dp_blank() argument 73 virtual_stream_encoder_dp_unblank( struct dc_link *link, struct stream_encoder *enc, const struct encoder_unblank_param *param) virtual_stream_encoder_dp_unblank() argument 78 virtual_audio_mute_control( struct stream_encoder *enc, bool mute) virtual_audio_mute_control() argument 82 virtual_stream_encoder_reset_hdmi_stream_attribute( struct stream_encoder *enc) virtual_stream_encoder_reset_hdmi_stream_attribute() argument 86 virtual_enc_dp_set_odm_combine( struct stream_encoder *enc, bool odm_combine) virtual_enc_dp_set_odm_combine() argument 91 virtual_dig_connect_to_otg( struct stream_encoder *enc, int tg_inst) virtual_dig_connect_to_otg() argument 96 virtual_setup_stereo_sync( struct stream_encoder *enc, int tg_inst, bool enable) virtual_setup_stereo_sync() argument 102 virtual_stream_encoder_set_dsc_pps_info_packet( struct stream_encoder *enc, bool enable, uint8_t *dsc_packed_pps, bool immediate_update) virtual_stream_encoder_set_dsc_pps_info_packet() argument 141 virtual_stream_encoder_construct( struct stream_encoder *enc, struct dc_context *ctx, struct dc_bios *bp) virtual_stream_encoder_construct() argument 162 struct stream_encoder *enc = kzalloc(sizeof(*enc), GFP_KERNEL); virtual_stream_encoder_create() local [all...] |
H A D | virtual_link_encoder.c | 32 struct link_encoder *enc, in virtual_link_encoder_validate_output_with_stream() 35 static void virtual_link_encoder_hw_init(struct link_encoder *enc) {} in virtual_link_encoder_hw_init() argument 38 struct link_encoder *enc, in virtual_link_encoder_setup() 42 struct link_encoder *enc, in virtual_link_encoder_enable_tmds_output() 49 struct link_encoder *enc, in virtual_link_encoder_enable_dp_output() 54 struct link_encoder *enc, in virtual_link_encoder_enable_dp_mst_output() 63 struct link_encoder *enc, in virtual_link_encoder_dp_set_lane_settings() 68 struct link_encoder *enc, in virtual_link_encoder_dp_set_phy_pattern() 72 struct link_encoder *enc, in virtual_link_encoder_update_mst_stream_allocation_table() 76 struct link_encoder *enc, in virtual_link_encoder_connect_dig_be_to_fe() 31 virtual_link_encoder_validate_output_with_stream( struct link_encoder *enc, const struct dc_stream_state *stream) virtual_link_encoder_validate_output_with_stream() argument 37 virtual_link_encoder_setup( struct link_encoder *enc, enum signal_type signal) virtual_link_encoder_setup() argument 41 virtual_link_encoder_enable_tmds_output( struct link_encoder *enc, enum clock_source_id clock_source, enum dc_color_depth color_depth, enum signal_type signal, uint32_t pixel_clock) virtual_link_encoder_enable_tmds_output() argument 48 virtual_link_encoder_enable_dp_output( struct link_encoder *enc, const struct dc_link_settings *link_settings, enum clock_source_id clock_source) virtual_link_encoder_enable_dp_output() argument 53 virtual_link_encoder_enable_dp_mst_output( struct link_encoder *enc, const struct dc_link_settings *link_settings, enum clock_source_id clock_source) virtual_link_encoder_enable_dp_mst_output() argument 62 virtual_link_encoder_dp_set_lane_settings( struct link_encoder *enc, const struct dc_link_settings *link_settings, const struct dc_lane_settings lane_settings[LANE_COUNT_DP_MAX]) virtual_link_encoder_dp_set_lane_settings() argument 67 virtual_link_encoder_dp_set_phy_pattern( struct link_encoder *enc, const struct encoder_set_dp_phy_pattern_param *param) virtual_link_encoder_dp_set_phy_pattern() argument 71 virtual_link_encoder_update_mst_stream_allocation_table( struct link_encoder *enc, const struct link_mst_stream_allocation_table *table) virtual_link_encoder_update_mst_stream_allocation_table() argument 75 virtual_link_encoder_connect_dig_be_to_fe( struct link_encoder *enc, enum engine_id engine, bool connect) virtual_link_encoder_connect_dig_be_to_fe() argument 80 virtual_link_encoder_destroy(struct link_encoder **enc) virtual_link_encoder_destroy() argument 86 virtual_link_encoder_get_max_link_cap(struct link_encoder *enc, struct dc_link_settings *link_settings) virtual_link_encoder_get_max_link_cap() argument 113 virtual_link_encoder_construct( struct link_encoder *enc, const struct encoder_init_data *init_data) virtual_link_encoder_construct() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | stream_encoder.h | 125 struct stream_encoder *enc, 132 struct stream_encoder *enc, 138 struct stream_encoder *enc, 143 struct stream_encoder *enc, 147 struct stream_encoder *enc, 151 struct stream_encoder *enc, 155 struct stream_encoder *enc); 158 struct stream_encoder *enc, 162 struct stream_encoder *enc, 167 struct stream_encoder *enc); [all...] |
H A D | link_encoder.h | 131 struct link_encoder *enc, struct link_enc_state *s); 133 struct link_encoder *enc, const struct dc_stream_state *stream); 134 void (*hw_init)(struct link_encoder *enc); 135 void (*setup)(struct link_encoder *enc, 137 void (*enable_tmds_output)(struct link_encoder *enc, 142 void (*enable_dp_output)(struct link_encoder *enc, 145 void (*enable_dp_mst_output)(struct link_encoder *enc, 148 void (*enable_lvds_output)(struct link_encoder *enc, 153 void (*dp_set_lane_settings)(struct link_encoder *enc, 155 void (*dp_set_phy_pattern)(struct link_encoder *enc, [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_dio_stream_encoder.c | 199 struct stream_encoder *enc, in enc3_stream_encoder_update_hdmi_info_packets() 202 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_stream_encoder_update_hdmi_info_packets() 219 struct stream_encoder *enc) in enc3_stream_encoder_stop_hdmi_info_packets() 221 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_stream_encoder_stop_hdmi_info_packets() 306 static void enc3_dp_set_dsc_config(struct stream_encoder *enc, in enc3_dp_set_dsc_config() argument 311 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_dp_set_dsc_config() 322 void enc3_dp_set_dsc_pps_info_packet(struct stream_encoder *enc, in enc3_dp_set_dsc_pps_info_packet() argument 327 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_dp_set_dsc_pps_info_packet() 390 static void enc3_read_state(struct stream_encoder *enc, struct enc_state *s) in enc3_read_state() argument 392 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_read_state() 198 enc3_stream_encoder_update_hdmi_info_packets( struct stream_encoder *enc, const struct encoder_info_frame *info_frame) enc3_stream_encoder_update_hdmi_info_packets() argument 218 enc3_stream_encoder_stop_hdmi_info_packets( struct stream_encoder *enc) enc3_stream_encoder_stop_hdmi_info_packets() argument 408 enc3_stream_encoder_update_dp_info_packets_sdp_line_num( struct stream_encoder *enc, struct encoder_info_frame *info_frame) enc3_stream_encoder_update_dp_info_packets_sdp_line_num() argument 424 enc3_stream_encoder_update_dp_info_packets( struct stream_encoder *enc, const struct encoder_info_frame *info_frame) enc3_stream_encoder_update_dp_info_packets() argument 521 enc3_dp_set_odm_combine( struct stream_encoder *enc, bool odm_combine) enc3_dp_set_odm_combine() argument 531 enc3_stream_encoder_dvi_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, bool is_dual_link) enc3_stream_encoder_dvi_set_stream_attribute() argument 577 enc3_stream_encoder_hdmi_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, int actual_pix_clk_khz, bool enable_audio) enc3_stream_encoder_hdmi_set_stream_attribute() argument 713 enc3_audio_mute_control( struct stream_encoder *enc, bool mute) enc3_audio_mute_control() argument 721 enc3_se_dp_audio_setup( struct stream_encoder *enc, unsigned int az_inst, struct audio_info *info) enc3_se_dp_audio_setup() argument 733 enc3_se_setup_dp_audio( struct stream_encoder *enc) enc3_se_setup_dp_audio() argument 752 enc3_se_dp_audio_enable( struct stream_encoder *enc) enc3_se_dp_audio_enable() argument 760 enc3_se_setup_hdmi_audio( struct stream_encoder *enc, const struct audio_crtc_info *crtc_info) enc3_se_setup_hdmi_audio() argument 818 enc3_se_hdmi_audio_setup( struct stream_encoder *enc, unsigned int az_inst, struct audio_info *info, struct audio_crtc_info *audio_crtc_info) enc3_se_hdmi_audio_setup() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn31/ |
H A D | dcn31_hpo_dp_stream_encoder.c | 61 struct hpo_dp_stream_encoder *enc) in dcn31_hpo_dp_stream_enc_enable_stream() 63 struct dcn31_hpo_dp_stream_encoder *enc3 = DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(enc); in dcn31_hpo_dp_stream_enc_enable_stream() 91 struct hpo_dp_stream_encoder *enc, in dcn31_hpo_dp_stream_enc_dp_unblank() 94 struct dcn31_hpo_dp_stream_encoder *enc3 = DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(enc); in dcn31_hpo_dp_stream_enc_dp_unblank() 140 struct hpo_dp_stream_encoder *enc) in dcn31_hpo_dp_stream_enc_dp_blank() 142 struct dcn31_hpo_dp_stream_encoder *enc3 = DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(enc); in dcn31_hpo_dp_stream_enc_dp_blank() 171 struct hpo_dp_stream_encoder *enc) in dcn31_hpo_dp_stream_enc_disable() 173 struct dcn31_hpo_dp_stream_encoder *enc3 = DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(enc); in dcn31_hpo_dp_stream_enc_disable() 185 struct hpo_dp_stream_encoder *enc, in dcn31_hpo_dp_stream_enc_set_stream_attribute() 206 struct dcn31_hpo_dp_stream_encoder *enc3 = DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(enc); in dcn31_hpo_dp_stream_enc_set_stream_attribute() 60 dcn31_hpo_dp_stream_enc_enable_stream( struct hpo_dp_stream_encoder *enc) dcn31_hpo_dp_stream_enc_enable_stream() argument 90 dcn31_hpo_dp_stream_enc_dp_unblank( struct hpo_dp_stream_encoder *enc, uint32_t stream_source) dcn31_hpo_dp_stream_enc_dp_unblank() argument 139 dcn31_hpo_dp_stream_enc_dp_blank( struct hpo_dp_stream_encoder *enc) dcn31_hpo_dp_stream_enc_dp_blank() argument 170 dcn31_hpo_dp_stream_enc_disable( struct hpo_dp_stream_encoder *enc) dcn31_hpo_dp_stream_enc_disable() argument 184 dcn31_hpo_dp_stream_enc_set_stream_attribute( struct hpo_dp_stream_encoder *enc, struct dc_crtc_timing *crtc_timing, enum dc_color_space output_color_space, bool use_vsc_sdp_for_colorimetry, bool compressed_format, bool double_buffer_en) dcn31_hpo_dp_stream_enc_set_stream_attribute() argument 433 dcn31_hpo_dp_stream_enc_update_dp_info_packets_sdp_line_num( struct hpo_dp_stream_encoder *enc, struct encoder_info_frame *info_frame) dcn31_hpo_dp_stream_enc_update_dp_info_packets_sdp_line_num() argument 449 dcn31_hpo_dp_stream_enc_update_dp_info_packets( struct hpo_dp_stream_encoder *enc, const struct encoder_info_frame *info_frame) dcn31_hpo_dp_stream_enc_update_dp_info_packets() argument 501 dcn31_hpo_dp_stream_enc_stop_dp_info_packets( struct hpo_dp_stream_encoder *enc) dcn31_hpo_dp_stream_enc_stop_dp_info_packets() argument 526 hpo_dp_is_gsp_enabled( struct hpo_dp_stream_encoder *enc) hpo_dp_is_gsp_enabled() argument 543 dcn31_hpo_dp_stream_enc_set_dsc_pps_info_packet( struct hpo_dp_stream_encoder *enc, bool enable, uint8_t *dsc_packed_pps, bool immediate_update) dcn31_hpo_dp_stream_enc_set_dsc_pps_info_packet() argument 598 dcn31_hpo_dp_stream_enc_map_stream_to_link( struct hpo_dp_stream_encoder *enc, uint32_t stream_enc_inst, uint32_t link_enc_inst) dcn31_hpo_dp_stream_enc_map_stream_to_link() argument 627 dcn31_hpo_dp_stream_enc_audio_setup( struct hpo_dp_stream_encoder *enc, unsigned int az_inst, struct audio_info *info) dcn31_hpo_dp_stream_enc_audio_setup() argument 642 dcn31_hpo_dp_stream_enc_audio_enable( struct hpo_dp_stream_encoder *enc) dcn31_hpo_dp_stream_enc_audio_enable() argument 663 dcn31_hpo_dp_stream_enc_audio_disable( struct hpo_dp_stream_encoder *enc) dcn31_hpo_dp_stream_enc_audio_disable() argument 684 dcn31_hpo_dp_stream_enc_read_state( struct hpo_dp_stream_encoder *enc, struct hpo_dp_stream_encoder_state *s) dcn31_hpo_dp_stream_enc_read_state() argument 725 dcn31_set_hblank_min_symbol_width( struct hpo_dp_stream_encoder *enc, uint16_t width) dcn31_set_hblank_min_symbol_width() argument [all...] |
H A D | dcn31_dio_link_encoder.c | 103 static bool has_query_dp_alt(struct link_encoder *enc) in has_query_dp_alt() argument 105 struct dc_dmub_srv *dc_dmub_srv = enc->ctx->dmub_srv; in has_query_dp_alt() 107 if (enc->ctx->dce_version >= DCN_VERSION_3_15) in has_query_dp_alt() 116 static bool query_dp_alt_from_dmub(struct link_encoder *enc, in query_dp_alt_from_dmub() argument 119 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in query_dp_alt_from_dmub() 128 if (!dm_execute_dmub_cmd(enc->ctx, cmd, DM_DMUB_WAIT_TYPE_WAIT_WITH_REPLY)) in query_dp_alt_from_dmub() 135 struct link_encoder *enc, in dcn31_link_encoder_set_dio_phy_mux() 139 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn31_link_encoder_set_dio_phy_mux() 141 switch (enc->transmitter) { in dcn31_link_encoder_set_dio_phy_mux() 208 static void enc31_hw_init(struct link_encoder *enc) in enc31_hw_init() argument 134 dcn31_link_encoder_set_dio_phy_mux( struct link_encoder *enc, enum encoder_type_select sel, uint32_t hpo_inst) dcn31_link_encoder_set_dio_phy_mux() argument 450 dcn31_link_encoder_enable_dp_output( struct link_encoder *enc, const struct dc_link_settings *link_settings, enum clock_source_id clock_source) dcn31_link_encoder_enable_dp_output() argument 497 dcn31_link_encoder_enable_dp_mst_output( struct link_encoder *enc, const struct dc_link_settings *link_settings, enum clock_source_id clock_source) dcn31_link_encoder_enable_dp_mst_output() argument 544 dcn31_link_encoder_disable_output( struct link_encoder *enc, enum signal_type signal) dcn31_link_encoder_disable_output() argument 592 dcn31_link_encoder_is_in_alt_mode(struct link_encoder *enc) dcn31_link_encoder_is_in_alt_mode() argument 636 dcn31_link_encoder_get_max_link_cap(struct link_encoder *enc, struct dc_link_settings *link_settings) dcn31_link_encoder_get_max_link_cap() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn314/ |
H A D | dcn314_dio_stream_encoder.c | 52 static void enc314_reset_fifo(struct stream_encoder *enc, bool reset) in enc314_reset_fifo() argument 54 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc314_reset_fifo() 67 static void enc314_enable_fifo(struct stream_encoder *enc) in enc314_enable_fifo() argument 69 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc314_enable_fifo() 73 enc314_reset_fifo(enc, true); in enc314_enable_fifo() 74 enc314_reset_fifo(enc, false); in enc314_enable_fifo() 79 static void enc314_disable_fifo(struct stream_encoder *enc) in enc314_disable_fifo() argument 81 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc314_disable_fifo() 87 struct stream_encoder *enc, in enc314_dp_set_odm_combine() 90 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc314_dp_set_odm_combine() 86 enc314_dp_set_odm_combine( struct stream_encoder *enc, bool odm_combine) enc314_dp_set_odm_combine() argument 96 enc314_stream_encoder_dvi_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, bool is_dual_link) enc314_stream_encoder_dvi_set_stream_attribute() argument 136 enc314_stream_encoder_hdmi_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, int actual_pix_clk_khz, bool enable_audio) enc314_stream_encoder_hdmi_set_stream_attribute() argument 277 enc314_stream_encoder_dp_blank( struct dc_link *link, struct stream_encoder *enc) enc314_stream_encoder_dp_blank() argument 288 enc314_stream_encoder_dp_unblank( struct dc_link *link, struct stream_encoder *enc, const struct encoder_unblank_param *param) enc314_stream_encoder_dp_unblank() argument 383 enc314_dp_set_dsc_config(struct stream_encoder *enc, enum optc_dsc_mode dsc_mode, uint32_t dsc_bytes_per_pixel, uint32_t dsc_slice_width) enc314_dp_set_dsc_config() argument 396 enc314_read_state(struct stream_encoder *enc, struct enc_state *s) enc314_read_state() argument 413 enc314_set_dig_input_mode(struct stream_encoder *enc, unsigned int pix_per_container) enc314_set_dig_input_mode() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_dio_stream_encoder.c | 214 struct stream_encoder *enc, in enc3_stream_encoder_update_hdmi_info_packets() 217 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_stream_encoder_update_hdmi_info_packets() 233 struct stream_encoder *enc) in enc3_stream_encoder_stop_hdmi_info_packets() 235 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_stream_encoder_stop_hdmi_info_packets() 320 static void enc3_dp_set_dsc_config(struct stream_encoder *enc, in enc3_dp_set_dsc_config() argument 325 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_dp_set_dsc_config() 336 static void enc3_dp_set_dsc_pps_info_packet(struct stream_encoder *enc, in enc3_dp_set_dsc_pps_info_packet() argument 340 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_dp_set_dsc_pps_info_packet() 402 static void enc3_read_state(struct stream_encoder *enc, struct enc_state *s) in enc3_read_state() argument 404 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_read_state() 213 enc3_stream_encoder_update_hdmi_info_packets( struct stream_encoder *enc, const struct encoder_info_frame *info_frame) enc3_stream_encoder_update_hdmi_info_packets() argument 232 enc3_stream_encoder_stop_hdmi_info_packets( struct stream_encoder *enc) enc3_stream_encoder_stop_hdmi_info_packets() argument 420 enc3_stream_encoder_update_dp_info_packets( struct stream_encoder *enc, const struct encoder_info_frame *info_frame) enc3_stream_encoder_update_dp_info_packets() argument 477 enc3_dp_set_odm_combine( struct stream_encoder *enc, bool odm_combine) enc3_dp_set_odm_combine() argument 487 enc3_stream_encoder_dvi_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, bool is_dual_link) enc3_stream_encoder_dvi_set_stream_attribute() argument 533 enc3_stream_encoder_hdmi_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, int actual_pix_clk_khz, bool enable_audio) enc3_stream_encoder_hdmi_set_stream_attribute() argument 666 enc3_audio_mute_control( struct stream_encoder *enc, bool mute) enc3_audio_mute_control() argument 674 enc3_se_dp_audio_setup( struct stream_encoder *enc, unsigned int az_inst, struct audio_info *info) enc3_se_dp_audio_setup() argument 686 enc3_se_setup_dp_audio( struct stream_encoder *enc) enc3_se_setup_dp_audio() argument 705 enc3_se_dp_audio_enable( struct stream_encoder *enc) enc3_se_dp_audio_enable() argument 713 enc3_se_setup_hdmi_audio( struct stream_encoder *enc, const struct audio_crtc_info *crtc_info) enc3_se_setup_hdmi_audio() argument 771 enc3_se_hdmi_audio_setup( struct stream_encoder *enc, unsigned int az_inst, struct audio_info *info, struct audio_crtc_info *audio_crtc_info) enc3_se_hdmi_audio_setup() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_stream_encoder.c | 246 struct stream_encoder *enc, in enc1_stream_encoder_dp_set_stream_attribute() 263 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_dp_set_stream_attribute() 482 struct stream_encoder *enc, in enc1_stream_encoder_hdmi_set_stream_attribute() 487 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_hdmi_set_stream_attribute() 602 struct stream_encoder *enc, in enc1_stream_encoder_dvi_set_stream_attribute() 606 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_dvi_set_stream_attribute() 627 struct stream_encoder *enc, in enc1_stream_encoder_set_throttled_vcp_size() 630 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_set_throttled_vcp_size() 659 struct stream_encoder *enc, in enc1_stream_encoder_update_hdmi_info_packets() 662 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_update_hdmi_info_packets() 245 enc1_stream_encoder_dp_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, enum dc_color_space output_color_space, bool use_vsc_sdp_for_colorimetry, uint32_t enable_sdp_splitting) enc1_stream_encoder_dp_set_stream_attribute() argument 481 enc1_stream_encoder_hdmi_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, int actual_pix_clk_khz, bool enable_audio) enc1_stream_encoder_hdmi_set_stream_attribute() argument 601 enc1_stream_encoder_dvi_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, bool is_dual_link) enc1_stream_encoder_dvi_set_stream_attribute() argument 626 enc1_stream_encoder_set_throttled_vcp_size( struct stream_encoder *enc, struct fixed31_32 avg_time_slots_per_mtp) enc1_stream_encoder_set_throttled_vcp_size() argument 658 enc1_stream_encoder_update_hdmi_info_packets( struct stream_encoder *enc, const struct encoder_info_frame *info_frame) enc1_stream_encoder_update_hdmi_info_packets() argument 676 enc1_stream_encoder_stop_hdmi_info_packets( struct stream_encoder *enc) enc1_stream_encoder_stop_hdmi_info_packets() argument 717 enc1_stream_encoder_update_dp_info_packets( struct stream_encoder *enc, const struct encoder_info_frame *info_frame) enc1_stream_encoder_update_dp_info_packets() argument 782 enc1_stream_encoder_send_immediate_sdp_message( struct stream_encoder *enc, const uint8_t *custom_sdp_message, unsigned int sdp_message_size) enc1_stream_encoder_send_immediate_sdp_message() argument 876 enc1_stream_encoder_stop_dp_info_packets( struct stream_encoder *enc) enc1_stream_encoder_stop_dp_info_packets() argument 904 enc1_stream_encoder_dp_blank( struct dc_link *link, struct stream_encoder *enc) enc1_stream_encoder_dp_blank() argument 959 enc1_stream_encoder_dp_unblank( struct dc_link *link, struct stream_encoder *enc, const struct encoder_unblank_param *param) enc1_stream_encoder_dp_unblank() argument 1032 enc1_stream_encoder_set_avmute( struct stream_encoder *enc, bool enable) enc1_stream_encoder_set_avmute() argument 1042 enc1_reset_hdmi_stream_attribute( struct stream_encoder *enc) enc1_reset_hdmi_stream_attribute() argument 1225 enc1_se_audio_setup( struct stream_encoder *enc, unsigned int az_inst, struct audio_info *audio_info) enc1_se_audio_setup() argument 1248 enc1_se_setup_hdmi_audio( struct stream_encoder *enc, const struct audio_crtc_info *crtc_info) enc1_se_setup_hdmi_audio() argument 1331 enc1_se_setup_dp_audio( struct stream_encoder *enc) enc1_se_setup_dp_audio() argument 1366 enc1_se_enable_audio_clock( struct stream_encoder *enc, bool enable) enc1_se_enable_audio_clock() argument 1388 enc1_se_enable_dp_audio( struct stream_encoder *enc) enc1_se_enable_dp_audio() argument 1405 enc1_se_disable_dp_audio( struct stream_encoder *enc) enc1_se_disable_dp_audio() argument 1428 enc1_se_audio_mute_control( struct stream_encoder *enc, bool mute) enc1_se_audio_mute_control() argument 1437 enc1_se_dp_audio_setup( struct stream_encoder *enc, unsigned int az_inst, struct audio_info *info) enc1_se_dp_audio_setup() argument 1445 enc1_se_dp_audio_enable( struct stream_encoder *enc) enc1_se_dp_audio_enable() argument 1453 enc1_se_dp_audio_disable( struct stream_encoder *enc) enc1_se_dp_audio_disable() argument 1460 enc1_se_hdmi_audio_setup( struct stream_encoder *enc, unsigned int az_inst, struct audio_info *info, struct audio_crtc_info *audio_crtc_info) enc1_se_hdmi_audio_setup() argument 1471 enc1_se_hdmi_audio_disable( struct stream_encoder *enc) enc1_se_hdmi_audio_disable() argument 1481 enc1_setup_stereo_sync( struct stream_encoder *enc, int tg_inst, bool enable) enc1_setup_stereo_sync() argument 1490 enc1_dig_connect_to_otg( struct stream_encoder *enc, int tg_inst) enc1_dig_connect_to_otg() argument 1499 enc1_dig_source_otg( struct stream_encoder *enc) enc1_dig_source_otg() argument 1510 enc1_stream_encoder_dp_get_pixel_format( struct stream_encoder *enc, enum dc_pixel_encoding *encoding, enum dc_color_depth *depth) enc1_stream_encoder_dp_get_pixel_format() argument [all...] |
H A D | dcn10_link_encoder.c | 207 struct link_encoder *enc, in dcn10_link_encoder_set_dp_phy_pattern_training_pattern() 210 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_link_encoder_set_dp_phy_pattern_training_pattern() 447 unsigned int dcn10_get_dig_frontend(struct link_encoder *enc) in dcn10_get_dig_frontend() argument 449 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_get_dig_frontend() 498 void dcn10_psr_program_dp_dphy_fast_training(struct link_encoder *enc, in dcn10_psr_program_dp_dphy_fast_training() argument 501 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_psr_program_dp_dphy_fast_training() 522 void dcn10_psr_program_secondary_packet(struct link_encoder *enc, in dcn10_psr_program_secondary_packet() argument 525 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_psr_program_secondary_packet() 532 bool dcn10_is_dig_enabled(struct link_encoder *enc) in dcn10_is_dig_enabled() argument 534 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_is_dig_enabled() 206 dcn10_link_encoder_set_dp_phy_pattern_training_pattern( struct link_encoder *enc, uint32_t index) dcn10_link_encoder_set_dp_phy_pattern_training_pattern() argument 781 dcn10_link_encoder_validate_output_with_stream( struct link_encoder *enc, const struct dc_stream_state *stream) dcn10_link_encoder_validate_output_with_stream() argument 828 dcn10_link_encoder_hw_init( struct link_encoder *enc) dcn10_link_encoder_hw_init() argument 874 dcn10_link_encoder_destroy(struct link_encoder **enc) dcn10_link_encoder_destroy() argument 880 dcn10_link_encoder_setup( struct link_encoder *enc, enum signal_type signal) dcn10_link_encoder_setup() argument 918 dcn10_link_encoder_enable_tmds_output( struct link_encoder *enc, enum clock_source_id clock_source, enum dc_color_depth color_depth, enum signal_type signal, uint32_t pixel_clock) dcn10_link_encoder_enable_tmds_output() argument 955 dcn10_link_encoder_enable_tmds_output_with_clk_pattern_wa( struct link_encoder *enc, enum clock_source_id clock_source, enum dc_color_depth color_depth, enum signal_type signal, uint32_t pixel_clock) dcn10_link_encoder_enable_tmds_output_with_clk_pattern_wa() argument 971 dcn10_link_encoder_enable_dp_output( struct link_encoder *enc, const struct dc_link_settings *link_settings, enum clock_source_id clock_source) dcn10_link_encoder_enable_dp_output() argument 1010 dcn10_link_encoder_enable_dp_mst_output( struct link_encoder *enc, const struct dc_link_settings *link_settings, enum clock_source_id clock_source) dcn10_link_encoder_enable_dp_mst_output() argument 1051 dcn10_link_encoder_disable_output( struct link_encoder *enc, enum signal_type signal) dcn10_link_encoder_disable_output() argument 1098 dcn10_link_encoder_dp_set_lane_settings( struct link_encoder *enc, const struct dc_link_settings *link_settings, const struct dc_lane_settings lane_settings[LANE_COUNT_DP_MAX]) dcn10_link_encoder_dp_set_lane_settings() argument 1146 dcn10_link_encoder_dp_set_phy_pattern( struct link_encoder *enc, const struct encoder_set_dp_phy_pattern_param *param) dcn10_link_encoder_dp_set_phy_pattern() argument 1217 dcn10_link_encoder_update_mst_stream_allocation_table( struct link_encoder *enc, const struct link_mst_stream_allocation_table *table) dcn10_link_encoder_update_mst_stream_allocation_table() argument 1338 dcn10_link_encoder_connect_dig_be_to_fe( struct link_encoder *enc, enum engine_id engine, bool connect) dcn10_link_encoder_connect_dig_be_to_fe() argument 1375 dcn10_link_encoder_enable_hpd(struct link_encoder *enc) dcn10_link_encoder_enable_hpd() argument 1383 dcn10_link_encoder_disable_hpd(struct link_encoder *enc) dcn10_link_encoder_disable_hpd() argument 1424 dcn10_get_dig_mode( struct link_encoder *enc) dcn10_get_dig_mode() argument 1445 dcn10_link_encoder_get_max_link_cap(struct link_encoder *enc, struct dc_link_settings *link_settings) dcn10_link_encoder_get_max_link_cap() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_stream_encoder.c | 247 struct stream_encoder *enc, in enc1_stream_encoder_dp_set_stream_attribute() 266 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_dp_set_stream_attribute() 491 struct stream_encoder *enc, in enc1_stream_encoder_hdmi_set_stream_attribute() 496 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_hdmi_set_stream_attribute() 598 struct stream_encoder *enc, in enc1_stream_encoder_dvi_set_stream_attribute() 602 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_dvi_set_stream_attribute() 623 struct stream_encoder *enc, in enc1_stream_encoder_set_throttled_vcp_size() 626 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_set_throttled_vcp_size() 649 struct stream_encoder *enc, in enc1_stream_encoder_update_hdmi_info_packets() 652 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_update_hdmi_info_packets() 246 enc1_stream_encoder_dp_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, enum dc_color_space output_color_space, bool use_vsc_sdp_for_colorimetry, uint32_t enable_sdp_splitting) enc1_stream_encoder_dp_set_stream_attribute() argument 490 enc1_stream_encoder_hdmi_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, int actual_pix_clk_khz, bool enable_audio) enc1_stream_encoder_hdmi_set_stream_attribute() argument 597 enc1_stream_encoder_dvi_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, bool is_dual_link) enc1_stream_encoder_dvi_set_stream_attribute() argument 622 enc1_stream_encoder_set_throttled_vcp_size( struct stream_encoder *enc, struct fixed31_32 avg_time_slots_per_mtp) enc1_stream_encoder_set_throttled_vcp_size() argument 648 enc1_stream_encoder_update_hdmi_info_packets( struct stream_encoder *enc, const struct encoder_info_frame *info_frame) enc1_stream_encoder_update_hdmi_info_packets() argument 664 enc1_stream_encoder_stop_hdmi_info_packets( struct stream_encoder *enc) enc1_stream_encoder_stop_hdmi_info_packets() argument 705 enc1_stream_encoder_update_dp_info_packets( struct stream_encoder *enc, const struct encoder_info_frame *info_frame) enc1_stream_encoder_update_dp_info_packets() argument 754 enc1_stream_encoder_send_immediate_sdp_message( struct stream_encoder *enc, const uint8_t *custom_sdp_message, unsigned int sdp_message_size) enc1_stream_encoder_send_immediate_sdp_message() argument 848 enc1_stream_encoder_stop_dp_info_packets( struct stream_encoder *enc) enc1_stream_encoder_stop_dp_info_packets() argument 876 enc1_stream_encoder_dp_blank( struct stream_encoder *enc) enc1_stream_encoder_dp_blank() argument 926 enc1_stream_encoder_dp_unblank( struct stream_encoder *enc, const struct encoder_unblank_param *param) enc1_stream_encoder_dp_unblank() argument 995 enc1_stream_encoder_set_avmute( struct stream_encoder *enc, bool enable) enc1_stream_encoder_set_avmute() argument 1005 enc1_reset_hdmi_stream_attribute( struct stream_encoder *enc) enc1_reset_hdmi_stream_attribute() argument 1270 enc1_se_audio_setup( struct stream_encoder *enc, unsigned int az_inst, struct audio_info *audio_info) enc1_se_audio_setup() argument 1293 enc1_se_setup_hdmi_audio( struct stream_encoder *enc, const struct audio_crtc_info *crtc_info) enc1_se_setup_hdmi_audio() argument 1376 enc1_se_setup_dp_audio( struct stream_encoder *enc) enc1_se_setup_dp_audio() argument 1411 enc1_se_enable_audio_clock( struct stream_encoder *enc, bool enable) enc1_se_enable_audio_clock() argument 1433 enc1_se_enable_dp_audio( struct stream_encoder *enc) enc1_se_enable_dp_audio() argument 1450 enc1_se_disable_dp_audio( struct stream_encoder *enc) enc1_se_disable_dp_audio() argument 1473 enc1_se_audio_mute_control( struct stream_encoder *enc, bool mute) enc1_se_audio_mute_control() argument 1482 enc1_se_dp_audio_setup( struct stream_encoder *enc, unsigned int az_inst, struct audio_info *info) enc1_se_dp_audio_setup() argument 1490 enc1_se_dp_audio_enable( struct stream_encoder *enc) enc1_se_dp_audio_enable() argument 1498 enc1_se_dp_audio_disable( struct stream_encoder *enc) enc1_se_dp_audio_disable() argument 1505 enc1_se_hdmi_audio_setup( struct stream_encoder *enc, unsigned int az_inst, struct audio_info *info, struct audio_crtc_info *audio_crtc_info) enc1_se_hdmi_audio_setup() argument 1516 enc1_se_hdmi_audio_disable( struct stream_encoder *enc) enc1_se_hdmi_audio_disable() argument 1523 enc1_setup_stereo_sync( struct stream_encoder *enc, int tg_inst, bool enable) enc1_setup_stereo_sync() argument 1532 enc1_dig_connect_to_otg( struct stream_encoder *enc, int tg_inst) enc1_dig_connect_to_otg() argument 1541 enc1_dig_source_otg( struct stream_encoder *enc) enc1_dig_source_otg() argument 1552 enc1_stream_encoder_dp_get_pixel_format( struct stream_encoder *enc, enum dc_pixel_encoding *encoding, enum dc_color_depth *depth) enc1_stream_encoder_dp_get_pixel_format() argument [all...] |
H A D | dcn10_link_encoder.c | 211 struct link_encoder *enc, in dcn10_link_encoder_set_dp_phy_pattern_training_pattern() 214 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_link_encoder_set_dp_phy_pattern_training_pattern() 451 unsigned int dcn10_get_dig_frontend(struct link_encoder *enc) in dcn10_get_dig_frontend() argument 453 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_get_dig_frontend() 502 void dcn10_psr_program_dp_dphy_fast_training(struct link_encoder *enc, in dcn10_psr_program_dp_dphy_fast_training() argument 505 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_psr_program_dp_dphy_fast_training() 526 void dcn10_psr_program_secondary_packet(struct link_encoder *enc, in dcn10_psr_program_secondary_packet() argument 529 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_psr_program_secondary_packet() 536 bool dcn10_is_dig_enabled(struct link_encoder *enc) in dcn10_is_dig_enabled() argument 538 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_is_dig_enabled() 210 dcn10_link_encoder_set_dp_phy_pattern_training_pattern( struct link_encoder *enc, uint32_t index) dcn10_link_encoder_set_dp_phy_pattern_training_pattern() argument 784 dcn10_link_encoder_validate_output_with_stream( struct link_encoder *enc, const struct dc_stream_state *stream) dcn10_link_encoder_validate_output_with_stream() argument 831 dcn10_link_encoder_hw_init( struct link_encoder *enc) dcn10_link_encoder_hw_init() argument 877 dcn10_link_encoder_destroy(struct link_encoder **enc) dcn10_link_encoder_destroy() argument 883 dcn10_link_encoder_setup( struct link_encoder *enc, enum signal_type signal) dcn10_link_encoder_setup() argument 921 dcn10_link_encoder_enable_tmds_output( struct link_encoder *enc, enum clock_source_id clock_source, enum dc_color_depth color_depth, enum signal_type signal, uint32_t pixel_clock) dcn10_link_encoder_enable_tmds_output() argument 959 dcn10_link_encoder_enable_dp_output( struct link_encoder *enc, const struct dc_link_settings *link_settings, enum clock_source_id clock_source) dcn10_link_encoder_enable_dp_output() argument 998 dcn10_link_encoder_enable_dp_mst_output( struct link_encoder *enc, const struct dc_link_settings *link_settings, enum clock_source_id clock_source) dcn10_link_encoder_enable_dp_mst_output() argument 1039 dcn10_link_encoder_disable_output( struct link_encoder *enc, enum signal_type signal) dcn10_link_encoder_disable_output() argument 1086 dcn10_link_encoder_dp_set_lane_settings( struct link_encoder *enc, const struct link_training_settings *link_settings) dcn10_link_encoder_dp_set_lane_settings() argument 1134 dcn10_link_encoder_dp_set_phy_pattern( struct link_encoder *enc, const struct encoder_set_dp_phy_pattern_param *param) dcn10_link_encoder_dp_set_phy_pattern() argument 1205 dcn10_link_encoder_update_mst_stream_allocation_table( struct link_encoder *enc, const struct link_mst_stream_allocation_table *table) dcn10_link_encoder_update_mst_stream_allocation_table() argument 1327 dcn10_link_encoder_connect_dig_be_to_fe( struct link_encoder *enc, enum engine_id engine, bool connect) dcn10_link_encoder_connect_dig_be_to_fe() argument 1364 dcn10_link_encoder_enable_hpd(struct link_encoder *enc) dcn10_link_encoder_enable_hpd() argument 1372 dcn10_link_encoder_disable_hpd(struct link_encoder *enc) dcn10_link_encoder_disable_hpd() argument 1413 dcn10_get_dig_mode( struct link_encoder *enc) dcn10_get_dig_mode() argument 1434 dcn10_link_encoder_get_max_link_cap(struct link_encoder *enc, struct dc_link_settings *link_settings) dcn10_link_encoder_get_max_link_cap() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_stream_encoder.c | 268 struct stream_encoder *enc, in dce110_stream_encoder_dp_set_stream_attribute() 285 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_dp_set_stream_attribute() 534 struct stream_encoder *enc, in dce110_stream_encoder_hdmi_set_stream_attribute() 539 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_hdmi_set_stream_attribute() 651 struct stream_encoder *enc, in dce110_stream_encoder_dvi_set_stream_attribute() 655 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_dvi_set_stream_attribute() 677 struct stream_encoder *enc, in dce110_stream_encoder_lvds_set_stream_attribute() 680 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_lvds_set_stream_attribute() 698 struct stream_encoder *enc, in dce110_stream_encoder_set_throttled_vcp_size() 701 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_set_throttled_vcp_size() 267 dce110_stream_encoder_dp_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, enum dc_color_space output_color_space, bool use_vsc_sdp_for_colorimetry, uint32_t enable_sdp_splitting) dce110_stream_encoder_dp_set_stream_attribute() argument 533 dce110_stream_encoder_hdmi_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, int actual_pix_clk_khz, bool enable_audio) dce110_stream_encoder_hdmi_set_stream_attribute() argument 650 dce110_stream_encoder_dvi_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, bool is_dual_link) dce110_stream_encoder_dvi_set_stream_attribute() argument 676 dce110_stream_encoder_lvds_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing) dce110_stream_encoder_lvds_set_stream_attribute() argument 697 dce110_stream_encoder_set_throttled_vcp_size( struct stream_encoder *enc, struct fixed31_32 avg_time_slots_per_mtp) dce110_stream_encoder_set_throttled_vcp_size() argument 725 dce110_stream_encoder_update_hdmi_info_packets( struct stream_encoder *enc, const struct encoder_info_frame *info_frame) dce110_stream_encoder_update_hdmi_info_packets() argument 787 dce110_stream_encoder_stop_hdmi_info_packets( struct stream_encoder *enc) dce110_stream_encoder_stop_hdmi_info_packets() argument 830 dce110_stream_encoder_update_dp_info_packets( struct stream_encoder *enc, const struct encoder_info_frame *info_frame) dce110_stream_encoder_update_dp_info_packets() argument 874 dce110_stream_encoder_stop_dp_info_packets( struct stream_encoder *enc) dce110_stream_encoder_stop_dp_info_packets() argument 901 dce110_stream_encoder_dp_blank( struct dc_link *link, struct stream_encoder *enc) dce110_stream_encoder_dp_blank() argument 950 dce110_stream_encoder_dp_unblank( struct dc_link *link, struct stream_encoder *enc, const struct encoder_unblank_param *param) dce110_stream_encoder_dp_unblank() argument 1013 dce110_stream_encoder_set_avmute( struct stream_encoder *enc, bool enable) dce110_stream_encoder_set_avmute() argument 1024 dce110_reset_hdmi_stream_attribute( struct stream_encoder *enc) dce110_reset_hdmi_stream_attribute() argument 1232 dce110_se_audio_setup( struct stream_encoder *enc, unsigned int az_inst, struct audio_info *audio_info) dce110_se_audio_setup() argument 1255 dce110_se_setup_hdmi_audio( struct stream_encoder *enc, const struct audio_crtc_info *crtc_info) dce110_se_setup_hdmi_audio() argument 1341 dce110_se_setup_dp_audio( struct stream_encoder *enc) dce110_se_setup_dp_audio() argument 1375 dce110_se_enable_audio_clock( struct stream_encoder *enc, bool enable) dce110_se_enable_audio_clock() argument 1397 dce110_se_enable_dp_audio( struct stream_encoder *enc) dce110_se_enable_dp_audio() argument 1414 dce110_se_disable_dp_audio( struct stream_encoder *enc) dce110_se_disable_dp_audio() argument 1436 dce110_se_audio_mute_control( struct stream_encoder *enc, bool mute) dce110_se_audio_mute_control() argument 1445 dce110_se_dp_audio_setup( struct stream_encoder *enc, unsigned int az_inst, struct audio_info *info) dce110_se_dp_audio_setup() argument 1453 dce110_se_dp_audio_enable( struct stream_encoder *enc) dce110_se_dp_audio_enable() argument 1461 dce110_se_dp_audio_disable( struct stream_encoder *enc) dce110_se_dp_audio_disable() argument 1468 dce110_se_hdmi_audio_setup( struct stream_encoder *enc, unsigned int az_inst, struct audio_info *info, struct audio_crtc_info *audio_crtc_info) dce110_se_hdmi_audio_setup() argument 1479 dce110_se_hdmi_audio_disable( struct stream_encoder *enc) dce110_se_hdmi_audio_disable() argument 1486 setup_stereo_sync( struct stream_encoder *enc, int tg_inst, bool enable) setup_stereo_sync() argument 1495 dig_connect_to_otg( struct stream_encoder *enc, int tg_inst) dig_connect_to_otg() argument 1504 dig_source_otg( struct stream_encoder *enc) dig_source_otg() argument [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | authencesn.c | 27 struct crypto_skcipher_spawn enc; member 33 struct crypto_skcipher *enc; member 63 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_esn_setkey() local 77 crypto_skcipher_clear_flags(enc, CRYPTO_TFM_REQ_MASK); in crypto_authenc_esn_setkey() 78 crypto_skcipher_set_flags(enc, crypto_aead_get_flags(authenc_esn) & in crypto_authenc_esn_setkey() 80 err = crypto_skcipher_setkey(enc, keys.enckey, keys.enckeylen); in crypto_authenc_esn_setkey() 188 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_esn_encrypt() local 207 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_esn_encrypt() 328 struct crypto_skcipher *enc; crypto_authenc_esn_init_tfm() local 398 struct skcipher_alg *enc; crypto_authenc_esn_create() local [all...] |
H A D | authenc.c | 24 struct crypto_skcipher_spawn enc; member 30 struct crypto_skcipher *enc; member 89 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_setkey() local 103 crypto_skcipher_clear_flags(enc, CRYPTO_TFM_REQ_MASK); in crypto_authenc_setkey() 104 crypto_skcipher_set_flags(enc, crypto_aead_get_flags(authenc) & in crypto_authenc_setkey() 106 err = crypto_skcipher_setkey(enc, keys.enckey, keys.enckeylen); in crypto_authenc_setkey() 199 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_encrypt() local 217 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_encrypt() 313 struct crypto_skcipher *enc; crypto_authenc_init_tfm() local 380 struct skcipher_alg *enc; crypto_authenc_create() local [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | authenc.c | 24 struct crypto_skcipher_spawn enc; member 30 struct crypto_skcipher *enc; member 89 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_setkey() local 103 crypto_skcipher_clear_flags(enc, CRYPTO_TFM_REQ_MASK); in crypto_authenc_setkey() 104 crypto_skcipher_set_flags(enc, crypto_aead_get_flags(authenc) & in crypto_authenc_setkey() 106 err = crypto_skcipher_setkey(enc, keys.enckey, keys.enckeylen); in crypto_authenc_setkey() 198 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_encrypt() local 216 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_encrypt() 311 struct crypto_skcipher *enc; crypto_authenc_init_tfm() local 378 struct skcipher_alg *enc; crypto_authenc_create() local [all...] |
H A D | authencesn.c | 27 struct crypto_skcipher_spawn enc; member 33 struct crypto_skcipher *enc; member 63 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_esn_setkey() local 77 crypto_skcipher_clear_flags(enc, CRYPTO_TFM_REQ_MASK); in crypto_authenc_esn_setkey() 78 crypto_skcipher_set_flags(enc, crypto_aead_get_flags(authenc_esn) & in crypto_authenc_esn_setkey() 80 err = crypto_skcipher_setkey(enc, keys.enckey, keys.enckeylen); in crypto_authenc_esn_setkey() 186 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_esn_encrypt() local 205 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_esn_encrypt() 325 struct crypto_skcipher *enc; crypto_authenc_esn_init_tfm() local 395 struct skcipher_alg *enc; crypto_authenc_esn_create() local [all...] |
/kernel/linux/linux-6.6/arch/x86/mm/ |
H A D | mem_encrypt_amd.c | 94 unsigned long size, bool enc) in __sme_early_enc_dec() 115 src = enc ? early_memremap_decrypted_wp(paddr, len) : in __sme_early_enc_dec() 118 dst = enc ? early_memremap_encrypted(paddr, len) : in __sme_early_enc_dec() 133 snp_memcpy(sme_early_buffer, src, len, paddr, enc); in __sme_early_enc_dec() 134 snp_memcpy(dst, sme_early_buffer, len, paddr, !enc); in __sme_early_enc_dec() 282 static bool amd_enc_tlb_flush_required(bool enc) in amd_enc_tlb_flush_required() argument 292 static void enc_dec_hypercall(unsigned long vaddr, unsigned long size, bool enc) in enc_dec_hypercall() argument 315 notify_page_enc_status_changed(pfn, psize >> PAGE_SHIFT, enc); in enc_dec_hypercall() 322 static bool amd_enc_status_change_prepare(unsigned long vaddr, int npages, bool enc) in amd_enc_status_change_prepare() argument 328 if (cc_platform_has(CC_ATTR_GUEST_SEV_SNP) && !enc) in amd_enc_status_change_prepare() 93 __sme_early_enc_dec(resource_size_t paddr, unsigned long size, bool enc) __sme_early_enc_dec() argument 335 amd_enc_status_change_finish(unsigned long vaddr, int npages, bool enc) amd_enc_status_change_finish() argument 350 __set_clr_pte_enc(pte_t *kpte, int level, bool enc) __set_clr_pte_enc() argument 405 early_set_memory_enc_dec(unsigned long vaddr, unsigned long size, bool enc) early_set_memory_enc_dec() argument 485 early_set_mem_enc_dec_hypercall(unsigned long vaddr, unsigned long size, bool enc) early_set_mem_enc_dec_hypercall() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_dsc_1_2.c | 81 DPU_REG_WRITE(hw, sblk->enc.base + ENC_DF_CTRL, 0); in dpu_hw_dsc_disable_1_2() 82 DPU_REG_WRITE(hw, sblk->enc.base + DSC_MAIN_CONF, 0); in dpu_hw_dsc_disable_1_2() 125 DPU_REG_WRITE(hw, sblk->enc.base + ENC_DF_CTRL, data); in dpu_hw_dsc_config_1_2() 153 DPU_REG_WRITE(hw, sblk->enc.base + DSC_MAIN_CONF, data); in dpu_hw_dsc_config_1_2() 158 DPU_REG_WRITE(hw, sblk->enc.base + DSC_PICTURE_SIZE, data); in dpu_hw_dsc_config_1_2() 163 DPU_REG_WRITE(hw, sblk->enc.base + DSC_SLICE_SIZE, data); in dpu_hw_dsc_config_1_2() 165 DPU_REG_WRITE(hw, sblk->enc.base + DSC_MISC_SIZE, in dpu_hw_dsc_config_1_2() 171 DPU_REG_WRITE(hw, sblk->enc.base + DSC_HRD_DELAYS, data); in dpu_hw_dsc_config_1_2() 173 DPU_REG_WRITE(hw, sblk->enc.base + DSC_RC_SCALE, in dpu_hw_dsc_config_1_2() 179 DPU_REG_WRITE(hw, sblk->enc in dpu_hw_dsc_config_1_2() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_link_encoder.h | 231 struct link_encoder *enc, 237 void dce110_link_encoder_hw_init(struct link_encoder *enc); 239 void dce110_link_encoder_destroy(struct link_encoder **enc); 244 struct link_encoder *enc, 250 struct link_encoder *enc, 258 struct link_encoder *enc, 264 struct link_encoder *enc, 270 struct link_encoder *enc, 276 struct link_encoder *enc, 281 struct link_encoder *enc, [all...] |