/linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | stream_encoder.h | 134 struct stream_encoder *enc, 141 struct stream_encoder *enc, 147 struct stream_encoder *enc, 152 struct stream_encoder *enc, 156 struct stream_encoder *enc, 160 struct stream_encoder *enc, 164 struct stream_encoder *enc); 167 struct stream_encoder *enc, 171 struct stream_encoder *enc, 175 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 …]
|
/linux/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() argument 37 struct stream_encoder *enc, in virtual_stream_encoder_hdmi_set_stream_attribute() argument 43 struct stream_encoder *enc, in virtual_stream_encoder_dvi_set_stream_attribute() argument 48 struct stream_encoder *enc, in virtual_stream_encoder_set_throttled_vcp_size() argument 53 struct stream_encoder *enc, in virtual_stream_encoder_update_hdmi_info_packets() argument 57 struct stream_encoder *enc) {} in virtual_stream_encoder_stop_hdmi_info_packets() argument 60 struct stream_encoder *enc, in virtual_stream_encoder_set_avmute() argument 63 struct stream_encoder *enc, in virtual_stream_encoder_update_dp_info_packets() argument 67 struct stream_encoder *enc) {} in virtual_stream_encoder_stop_dp_info_packets() argument 71 struct stream_encoder *enc) {} in virtual_stream_encoder_dp_blank() argument [all …]
|
H A D | virtual_link_encoder.c | 32 struct link_encoder *enc, in virtual_link_encoder_validate_output_with_stream() argument 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() argument 42 struct link_encoder *enc, in virtual_link_encoder_enable_tmds_output() argument 49 struct link_encoder *enc, in virtual_link_encoder_enable_dp_output() argument 54 struct link_encoder *enc, in virtual_link_encoder_enable_dp_mst_output() argument 63 struct link_encoder *enc, in virtual_link_encoder_dp_set_lane_settings() argument 68 struct link_encoder *enc, in virtual_link_encoder_dp_set_phy_pattern() argument 72 struct link_encoder *enc, in virtual_link_encoder_update_mst_stream_allocation_table() argument 76 struct link_encoder *enc, in virtual_link_encoder_connect_dig_be_to_fe() argument [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn30/ |
H A D | dcn30_dio_stream_encoder.c | 196 struct stream_encoder *enc, in enc3_stream_encoder_update_hdmi_info_packets() argument 199 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_stream_encoder_update_hdmi_info_packets() 216 struct stream_encoder *enc) in enc3_stream_encoder_stop_hdmi_info_packets() argument 218 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_stream_encoder_stop_hdmi_info_packets() 303 static void enc3_dp_set_dsc_config(struct stream_encoder *enc, in enc3_dp_set_dsc_config() argument 308 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_dp_set_dsc_config() 319 void enc3_dp_set_dsc_pps_info_packet(struct stream_encoder *enc, in enc3_dp_set_dsc_pps_info_packet() argument 324 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_dp_set_dsc_pps_info_packet() 387 static void enc3_read_state(struct stream_encoder *enc, struct enc_state *s) in enc3_read_state() argument 389 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_read_state() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn31/ |
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 (!dc_wake_and_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() argument 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 void enc31_hw_init(struct link_encoder *enc) in enc31_hw_init() argument [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn314/ |
H A D | dcn314_dio_stream_encoder.c | 52 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 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 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() 86 static bool enc314_is_fifo_enabled(struct stream_encoder *enc) in enc314_is_fifo_enabled() argument 88 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc314_is_fifo_enabled() [all …]
|
H A D | dcn314_dio_stream_encoder.h | 277 struct stream_encoder *enc, 281 struct stream_encoder *enc); 284 struct stream_encoder *enc, 288 struct stream_encoder *enc, 292 struct stream_encoder *enc, 296 struct stream_encoder *enc, 301 struct stream_encoder *enc); 304 struct stream_encoder *enc, 310 struct stream_encoder *enc, 316 struct stream_encoder *enc, [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/hpo/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() argument 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() argument 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() argument 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() argument 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() argument 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() [all …]
|
H A D | dcn31_hpo_dp_link_encoder.c | 50 struct hpo_dp_link_encoder *enc, in dcn31_hpo_dp_link_enc_enable() argument 53 struct dcn31_hpo_dp_link_encoder *enc3 = DCN3_1_HPO_DP_LINK_ENC_FROM_HPO_LINK_ENC(enc); in dcn31_hpo_dp_link_enc_enable() 77 struct hpo_dp_link_encoder *enc) in dcn31_hpo_dp_link_enc_disable() argument 79 struct dcn31_hpo_dp_link_encoder *enc3 = DCN3_1_HPO_DP_LINK_ENC_FROM_HPO_LINK_ENC(enc); in dcn31_hpo_dp_link_enc_disable() 90 struct hpo_dp_link_encoder *enc, in dcn31_hpo_dp_link_enc_set_link_test_pattern() argument 93 struct dcn31_hpo_dp_link_encoder *enc3 = DCN3_1_HPO_DP_LINK_ENC_FROM_HPO_LINK_ENC(enc); in dcn31_hpo_dp_link_enc_set_link_test_pattern() 283 struct hpo_dp_link_encoder *enc, in dcn31_hpo_dp_link_enc_update_stream_allocation_table() argument 286 struct dcn31_hpo_dp_link_encoder *enc3 = DCN3_1_HPO_DP_LINK_ENC_FROM_HPO_LINK_ENC(enc); in dcn31_hpo_dp_link_enc_update_stream_allocation_table() 384 struct hpo_dp_link_encoder *enc, in dcn31_hpo_dp_link_enc_set_throttled_vcp_size() argument 388 struct dcn31_hpo_dp_link_encoder *enc3 = DCN3_1_HPO_DP_LINK_ENC_FROM_HPO_LINK_ENC(enc); in dcn31_hpo_dp_link_enc_set_throttled_vcp_size() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn35/ |
H A D | dcn35_dio_stream_encoder.c | 52 struct stream_encoder *enc, in enc35_stream_encoder_dvi_set_stream_attribute() argument 56 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc35_stream_encoder_dvi_set_stream_attribute() 58 if (!enc->ctx->dc->debug.avoid_vbios_exec_table) { in enc35_stream_encoder_dvi_set_stream_attribute() 91 struct stream_encoder *enc, in enc35_stream_encoder_hdmi_set_stream_attribute() argument 96 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc35_stream_encoder_hdmi_set_stream_attribute() 98 if (!enc->ctx->dc->debug.avoid_vbios_exec_table) { in enc35_stream_encoder_hdmi_set_stream_attribute() 122 enc314_enable_fifo(enc); in enc35_stream_encoder_hdmi_set_stream_attribute() 210 ASSERT(enc->afmt); in enc35_stream_encoder_hdmi_set_stream_attribute() 211 enc->afmt->funcs->audio_info_immediate_update(enc->afmt); in enc35_stream_encoder_hdmi_set_stream_attribute() 233 struct stream_encoder *enc, in enc35_stream_encoder_enable() argument [all …]
|
H A D | dcn35_dio_link_encoder.c | 56 bool dcn35_is_dig_enabled(struct link_encoder *enc) in dcn35_is_dig_enabled() argument 59 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn35_is_dig_enabled() 66 struct link_encoder *enc) in dcn35_get_dig_mode() argument 69 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn35_get_dig_mode() 87 struct link_encoder *enc, in dcn35_link_encoder_setup() argument 90 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn35_link_encoder_setup() 120 void dcn35_link_encoder_init(struct link_encoder *enc) in dcn35_link_encoder_init() argument 122 enc31_hw_init(enc); in dcn35_link_encoder_init() 123 dcn35_link_encoder_set_fgcg(enc, enc->ctx->dc->debug.enable_fine_grain_clock_gating.bits.dio); in dcn35_link_encoder_init() 126 void dcn35_link_encoder_set_fgcg(struct link_encoder *enc, bool enable) in dcn35_link_encoder_set_fgcg() argument [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn20/ |
H A D | dcn20_link_encoder.c | 173 void enc2_fec_set_enable(struct link_encoder *enc, bool enable) in enc2_fec_set_enable() argument 175 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in enc2_fec_set_enable() 177 enable ? "Enabling" : "Disabling", enc->id.enum_id); in enc2_fec_set_enable() 181 void enc2_fec_set_ready(struct link_encoder *enc, bool ready) in enc2_fec_set_ready() argument 183 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in enc2_fec_set_ready() 188 bool enc2_fec_is_active(struct link_encoder *enc) in enc2_fec_is_active() argument 191 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in enc2_fec_is_active() 201 void link_enc2_read_state(struct link_encoder *enc, struct link_enc_state *s) in link_enc2_read_state() argument 203 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in link_enc2_read_state() 246 struct link_encoder *enc, in dcn20_link_encoder_enable_dp_output() argument [all …]
|
H A D | dcn20_stream_encoder.c | 146 struct stream_encoder *enc, in enc2_stream_encoder_update_hdmi_info_packets() argument 149 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc2_stream_encoder_update_hdmi_info_packets() 165 struct stream_encoder *enc) in enc2_stream_encoder_stop_hdmi_info_packets() argument 167 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc2_stream_encoder_stop_hdmi_info_packets() 280 static void enc2_dp_set_dsc_config(struct stream_encoder *enc, in enc2_dp_set_dsc_config() argument 285 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc2_dp_set_dsc_config() 296 static void enc2_dp_set_dsc_pps_info_packet(struct stream_encoder *enc, in enc2_dp_set_dsc_pps_info_packet() argument 301 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc2_dp_set_dsc_pps_info_packet() 351 static void enc2_read_state(struct stream_encoder *enc, struct enc_state *s) in enc2_read_state() argument 353 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc2_read_state() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn10/ |
H A D | dcn10_link_encoder.c | 207 struct link_encoder *enc, in dcn10_link_encoder_set_dp_phy_pattern_training_pattern() argument 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() [all …]
|
H A D | dcn10_link_encoder.h | 561 struct link_encoder *enc, 567 void dcn10_link_encoder_hw_init(struct link_encoder *enc); 569 void dcn10_link_encoder_destroy(struct link_encoder **enc); 574 struct link_encoder *enc, 584 struct link_encoder *enc, 591 struct link_encoder *enc, 599 struct link_encoder *enc, 605 struct link_encoder *enc, 611 struct link_encoder *enc, 616 struct link_encoder *enc, [all …]
|
/linux/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() 195 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_encrypt() local 213 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_encrypt() 251 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_decrypt_tail() 305 struct crypto_skcipher *enc; in crypto_authenc_init_tfm() 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() 182 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_esn_encrypt() local 201 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_esn_encrypt() 246 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_esn_decrypt_tail() 319 struct crypto_skcipher *enc; in crypto_authenc_esn_init_tfm() local [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn32/ |
H A D | dcn32_dio_stream_encoder.c | 54 struct stream_encoder *enc, in enc32_dp_set_odm_combine() argument 57 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc32_dp_set_odm_combine() 64 struct stream_encoder *enc, in enc32_stream_encoder_dvi_set_stream_attribute() argument 68 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc32_stream_encoder_dvi_set_stream_attribute() 70 if (!enc->ctx->dc->debug.avoid_vbios_exec_table) { in enc32_stream_encoder_dvi_set_stream_attribute() 104 struct stream_encoder *enc, in enc32_stream_encoder_hdmi_set_stream_attribute() argument 109 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc32_stream_encoder_hdmi_set_stream_attribute() 111 if (!enc->ctx->dc->debug.avoid_vbios_exec_table) { in enc32_stream_encoder_hdmi_set_stream_attribute() 222 ASSERT(enc->afmt); in enc32_stream_encoder_hdmi_set_stream_attribute() 223 enc->afmt->funcs->audio_info_immediate_update(enc->afmt); in enc32_stream_encoder_hdmi_set_stream_attribute() [all …]
|
H A D | dcn32_dio_link_encoder.c | 98 void enc32_hw_init(struct link_encoder *enc) in enc32_hw_init() argument 100 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in enc32_hw_init() 143 struct link_encoder *enc, in dcn32_link_encoder_enable_dp_output() argument 147 if (!enc->ctx->dc->debug.avoid_vbios_exec_table) { in dcn32_link_encoder_enable_dp_output() 148 dcn10_link_encoder_enable_dp_output(enc, link_settings, clock_source); in dcn32_link_encoder_enable_dp_output() 153 static bool query_dp_alt_from_dmub(struct link_encoder *enc, in query_dp_alt_from_dmub() argument 156 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in query_dp_alt_from_dmub() 165 if (!dc_wake_and_execute_dmub_cmd(enc->ctx, cmd, DM_DMUB_WAIT_TYPE_WAIT_WITH_REPLY)) in query_dp_alt_from_dmub() 171 bool dcn32_link_encoder_is_in_alt_mode(struct link_encoder *enc) in dcn32_link_encoder_is_in_alt_mode() argument 175 if (!query_dp_alt_from_dmub(enc, &cmd)) in dcn32_link_encoder_is_in_alt_mode() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_link_encoder.c | 235 unsigned int dce110_get_dig_frontend(struct link_encoder *enc) in dce110_get_dig_frontend() argument 237 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_get_dig_frontend() 274 struct link_encoder *enc, in dce110_link_encoder_set_dp_phy_pattern_training_pattern() argument 277 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_link_encoder_set_dp_phy_pattern_training_pattern() 646 void dce110_psr_program_dp_dphy_fast_training(struct link_encoder *enc, in dce110_psr_program_dp_dphy_fast_training() argument 649 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_psr_program_dp_dphy_fast_training() 670 void dce110_psr_program_secondary_packet(struct link_encoder *enc, in dce110_psr_program_secondary_packet() argument 673 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_psr_program_secondary_packet() 680 bool dce110_is_dig_enabled(struct link_encoder *enc) in dce110_is_dig_enabled() argument 682 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_is_dig_enabled() [all …]
|
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 …]
|
/linux/drivers/gpu/drm/amd/display/dc/dcn21/ |
H A D | dcn21_link_encoder.c | 205 static bool dcn21_link_encoder_acquire_phy(struct link_encoder *enc) in dcn21_link_encoder_acquire_phy() argument 207 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn21_link_encoder_acquire_phy() 210 if (enc->features.flags.bits.DP_IS_USB_C) { in dcn21_link_encoder_acquire_phy() 240 static void dcn21_link_encoder_release_phy(struct link_encoder *enc) in dcn21_link_encoder_release_phy() argument 242 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn21_link_encoder_release_phy() 244 if (enc->features.flags.bits.DP_IS_USB_C) { in dcn21_link_encoder_release_phy() 254 struct link_encoder *enc, in dcn21_link_encoder_enable_dp_output() argument 258 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn21_link_encoder_enable_dp_output() 262 if (!dcn21_link_encoder_acquire_phy(enc)) in dcn21_link_encoder_enable_dp_output() 265 if (!enc->ctx->dc->debug.avoid_vbios_exec_table) { in dcn21_link_encoder_enable_dp_output() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn401/ |
H A D | dcn401_dio_link_encoder.c | 68 void enc401_hw_init(struct link_encoder *enc) in enc401_hw_init() argument 70 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in enc401_hw_init() 113 struct link_encoder *enc, in dcn401_link_encoder_enable_dp_output() argument 117 if (!enc->ctx->dc->debug.avoid_vbios_exec_table) { in dcn401_link_encoder_enable_dp_output() 118 dcn10_link_encoder_enable_dp_output(enc, link_settings, clock_source); in dcn401_link_encoder_enable_dp_output() 124 struct link_encoder *enc, in dcn401_link_encoder_setup() argument 127 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn401_link_encoder_setup() 157 bool dcn401_is_dig_enabled(struct link_encoder *enc) in dcn401_is_dig_enabled() argument 161 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn401_is_dig_enabled() 169 struct link_encoder *enc) in dcn401_get_dig_mode() argument [all …]
|
/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_algs.c | 233 static inline u32 create_ctx_hdr(struct skcipher_request *req, u32 enc, in create_ctx_hdr() argument 253 if (enc) { in create_ctx_hdr() 273 fctx->enc.enc_ctrl.e.enc_cipher = ctx->cipher_type; in create_ctx_hdr() 274 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_ctx_hdr() 275 fctx->enc.enc_ctrl.e.iv_source = OTX_CPT_FROM_CPTR; in create_ctx_hdr() 278 memcpy(fctx->enc.encr_key, ctx->enc_key, ctx->key_len * 2); in create_ctx_hdr() 280 memcpy(fctx->enc.encr_key, ctx->enc_key, ctx->key_len); in create_ctx_hdr() 282 memcpy(fctx->enc.encr_iv, req->iv, crypto_skcipher_ivsize(stfm)); in create_ctx_hdr() 284 fctx->enc.enc_ctrl.flags = cpu_to_be64(fctx->enc.enc_ctrl.cflags); in create_ctx_hdr() 304 static inline u32 create_input_list(struct skcipher_request *req, u32 enc, in create_input_list() argument [all …]
|