| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/inc/hw/ |
| 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 …]
|
| D | link_encoder.h | 161 struct link_encoder *enc, struct link_enc_state *s); 163 struct link_encoder *enc, const struct dc_stream_state *stream); 164 void (*hw_init)(struct link_encoder *enc); 165 void (*setup)(struct link_encoder *enc, 167 void (*enable_tmds_output)(struct link_encoder *enc, 172 void (*enable_dp_output)(struct link_encoder *enc, 175 void (*enable_dp_mst_output)(struct link_encoder *enc, 178 void (*enable_lvds_output)(struct link_encoder *enc, 183 void (*dp_set_lane_settings)(struct link_encoder *enc, 186 void (*dp_set_phy_pattern)(struct link_encoder *enc, [all …]
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/virtual/ |
| 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 …]
|
| 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-v6.1/drivers/gpu/drm/amd/display/dc/dcn30/ |
| D | dcn30_dio_stream_encoder.c | 198 struct stream_encoder *enc, in enc3_stream_encoder_update_hdmi_info_packets() argument 201 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_stream_encoder_update_hdmi_info_packets() 218 struct stream_encoder *enc) in enc3_stream_encoder_stop_hdmi_info_packets() argument 220 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_stream_encoder_stop_hdmi_info_packets() 305 static void enc3_dp_set_dsc_config(struct stream_encoder *enc, in enc3_dp_set_dsc_config() argument 310 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_dp_set_dsc_config() 321 void enc3_dp_set_dsc_pps_info_packet(struct stream_encoder *enc, in enc3_dp_set_dsc_pps_info_packet() argument 326 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_dp_set_dsc_pps_info_packet() 389 static void enc3_read_state(struct stream_encoder *enc, struct enc_state *s) in enc3_read_state() argument 391 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_read_state() [all …]
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn31/ |
| 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() 120 struct dc_dmub_srv *dc_dmub_srv = enc->ctx->dmub_srv; in query_dp_alt_from_dmub() 136 struct link_encoder *enc, in dcn31_link_encoder_set_dio_phy_mux() argument 140 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn31_link_encoder_set_dio_phy_mux() 142 switch (enc->transmitter) { in dcn31_link_encoder_set_dio_phy_mux() 209 static void enc31_hw_init(struct link_encoder *enc) in enc31_hw_init() argument [all …]
|
| 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 …]
|
| D | dcn31_hpo_dp_link_encoder.c | 51 struct hpo_dp_link_encoder *enc, in dcn31_hpo_dp_link_enc_enable() argument 54 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() 78 struct hpo_dp_link_encoder *enc) in dcn31_hpo_dp_link_enc_disable() argument 80 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() 91 struct hpo_dp_link_encoder *enc, in dcn31_hpo_dp_link_enc_set_link_test_pattern() argument 94 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() 281 struct hpo_dp_link_encoder *enc, in dcn31_hpo_dp_link_enc_update_stream_allocation_table() argument 284 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() 382 struct hpo_dp_link_encoder *enc, in dcn31_hpo_dp_link_enc_set_throttled_vcp_size() argument 386 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-v6.1/drivers/gpu/drm/amd/display/dc/dcn314/ |
| 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() argument 90 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc314_dp_set_odm_combine() [all …]
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn10/ |
| D | dcn10_stream_encoder.c | 246 struct stream_encoder *enc, in enc1_stream_encoder_dp_set_stream_attribute() argument 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() argument 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() argument 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() argument 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() argument 662 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_update_hdmi_info_packets() [all …]
|
| D | dcn10_link_encoder.c | 208 struct link_encoder *enc, in dcn10_link_encoder_set_dp_phy_pattern_training_pattern() argument 211 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_link_encoder_set_dp_phy_pattern_training_pattern() 448 unsigned int dcn10_get_dig_frontend(struct link_encoder *enc) in dcn10_get_dig_frontend() argument 450 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_get_dig_frontend() 499 void dcn10_psr_program_dp_dphy_fast_training(struct link_encoder *enc, in dcn10_psr_program_dp_dphy_fast_training() argument 502 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_psr_program_dp_dphy_fast_training() 523 void dcn10_psr_program_secondary_packet(struct link_encoder *enc, in dcn10_psr_program_secondary_packet() argument 526 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_psr_program_secondary_packet() 533 bool dcn10_is_dig_enabled(struct link_encoder *enc) in dcn10_is_dig_enabled() argument 535 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_is_dig_enabled() [all …]
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn20/ |
| D | dcn20_link_encoder.c | 174 void enc2_fec_set_enable(struct link_encoder *enc, bool enable) in enc2_fec_set_enable() argument 176 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in enc2_fec_set_enable() 178 enable ? "Enabling" : "Disabling", enc->id.enum_id); in enc2_fec_set_enable() 182 void enc2_fec_set_ready(struct link_encoder *enc, bool ready) in enc2_fec_set_ready() argument 184 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in enc2_fec_set_ready() 189 bool enc2_fec_is_active(struct link_encoder *enc) in enc2_fec_is_active() argument 192 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in enc2_fec_is_active() 202 void link_enc2_read_state(struct link_encoder *enc, struct link_enc_state *s) in link_enc2_read_state() argument 204 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in link_enc2_read_state() 247 struct link_encoder *enc, in dcn20_link_encoder_enable_dp_output() argument [all …]
|
| 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-v6.1/drivers/gpu/drm/amd/display/dc/dce/ |
| D | dce_stream_encoder.c | 268 struct stream_encoder *enc, in dce110_stream_encoder_dp_set_stream_attribute() argument 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() argument 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() argument 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() argument 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() argument 701 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_set_throttled_vcp_size() [all …]
|
| 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 …]
|
| D | dce_link_encoder.c | 236 unsigned int dce110_get_dig_frontend(struct link_encoder *enc) in dce110_get_dig_frontend() argument 238 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_get_dig_frontend() 275 struct link_encoder *enc, in dce110_link_encoder_set_dp_phy_pattern_training_pattern() argument 278 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_link_encoder_set_dp_phy_pattern_training_pattern() 647 void dce110_psr_program_dp_dphy_fast_training(struct link_encoder *enc, in dce110_psr_program_dp_dphy_fast_training() argument 650 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_psr_program_dp_dphy_fast_training() 671 void dce110_psr_program_secondary_packet(struct link_encoder *enc, in dce110_psr_program_secondary_packet() argument 674 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_psr_program_secondary_packet() 681 bool dce110_is_dig_enabled(struct link_encoder *enc) in dce110_is_dig_enabled() argument 683 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_is_dig_enabled() [all …]
|
| /Linux-v6.1/arch/x86/mm/ |
| D | mem_encrypt_amd.c | 93 unsigned long size, bool enc) in __sme_early_enc_dec() argument 114 src = enc ? early_memremap_decrypted_wp(paddr, len) : in __sme_early_enc_dec() 117 dst = enc ? early_memremap_encrypted(paddr, len) : in __sme_early_enc_dec() 132 snp_memcpy(sme_early_buffer, src, len, paddr, enc); in __sme_early_enc_dec() 133 snp_memcpy(dst, sme_early_buffer, len, paddr, !enc); in __sme_early_enc_dec() 281 static bool amd_enc_tlb_flush_required(bool enc) in amd_enc_tlb_flush_required() argument 291 static void enc_dec_hypercall(unsigned long vaddr, int npages, bool enc) in enc_dec_hypercall() argument 315 notify_page_enc_status_changed(pfn, psize >> PAGE_SHIFT, enc); in enc_dec_hypercall() 322 static void 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() [all …]
|
| /Linux-v6.1/crypto/ |
| 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() 255 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_decrypt_tail() 313 struct crypto_skcipher *enc; in crypto_authenc_init_tfm() local [all …]
|
| 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() 253 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_esn_decrypt_tail() 328 struct crypto_skcipher *enc; in crypto_authenc_esn_init_tfm() local [all …]
|
| /Linux-v6.1/drivers/gpu/drm/tidss/ |
| D | tidss_encoder.c | 75 struct drm_encoder *enc; in tidss_encoder_create() local 78 enc = kzalloc(sizeof(*enc), GFP_KERNEL); in tidss_encoder_create() 79 if (!enc) in tidss_encoder_create() 82 enc->possible_crtcs = possible_crtcs; in tidss_encoder_create() 84 ret = drm_encoder_init(&tidss->ddev, enc, &encoder_funcs, in tidss_encoder_create() 87 kfree(enc); in tidss_encoder_create() 91 drm_encoder_helper_add(enc, &encoder_helper_funcs); in tidss_encoder_create() 95 return enc; in tidss_encoder_create()
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn32/ |
| 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() 224 ASSERT(enc->afmt); in enc32_stream_encoder_hdmi_set_stream_attribute() 225 enc->afmt->funcs->audio_info_immediate_update(enc->afmt); in enc32_stream_encoder_hdmi_set_stream_attribute() [all …]
|
| D | dcn32_dio_link_encoder.c | 66 void enc32_hw_init(struct link_encoder *enc) in enc32_hw_init() argument 68 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in enc32_hw_init() 111 struct link_encoder *enc, in dcn32_link_encoder_enable_dp_output() argument 115 if (!enc->ctx->dc->debug.avoid_vbios_exec_table) { in dcn32_link_encoder_enable_dp_output() 116 dcn10_link_encoder_enable_dp_output(enc, link_settings, clock_source); in dcn32_link_encoder_enable_dp_output() 121 static bool dcn32_link_encoder_is_in_alt_mode(struct link_encoder *enc) in dcn32_link_encoder_is_in_alt_mode() argument 123 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn32_link_encoder_is_in_alt_mode() 127 if (enc->features.flags.bits.DP_IS_USB_C) { in dcn32_link_encoder_is_in_alt_mode() 136 static void dcn32_link_encoder_get_max_link_cap(struct link_encoder *enc, in dcn32_link_encoder_get_max_link_cap() argument 139 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn32_link_encoder_get_max_link_cap() [all …]
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn21/ |
| D | dcn21_link_encoder.c | 206 static bool dcn21_link_encoder_acquire_phy(struct link_encoder *enc) in dcn21_link_encoder_acquire_phy() argument 208 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn21_link_encoder_acquire_phy() 211 if (enc->features.flags.bits.DP_IS_USB_C) { in dcn21_link_encoder_acquire_phy() 241 static void dcn21_link_encoder_release_phy(struct link_encoder *enc) in dcn21_link_encoder_release_phy() argument 243 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn21_link_encoder_release_phy() 245 if (enc->features.flags.bits.DP_IS_USB_C) { in dcn21_link_encoder_release_phy() 255 struct link_encoder *enc, in dcn21_link_encoder_enable_dp_output() argument 259 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn21_link_encoder_enable_dp_output() 263 if (!dcn21_link_encoder_acquire_phy(enc)) in dcn21_link_encoder_enable_dp_output() 266 if (!enc->ctx->dc->debug.avoid_vbios_exec_table) { in dcn21_link_encoder_enable_dp_output() [all …]
|
| /Linux-v6.1/crypto/asymmetric_keys/ |
| D | signature.c | 81 const void *data, void *enc) in encrypt_blob() argument 84 return asymmetric_key_eds_op(params, data, enc); in encrypt_blob() 102 const void *enc, void *data) in decrypt_blob() argument 105 return asymmetric_key_eds_op(params, enc, data); in decrypt_blob() 123 const void *data, void *enc) in create_signature() argument 126 return asymmetric_key_eds_op(params, data, enc); in create_signature()
|
| /Linux-v6.1/drivers/gpu/drm/nouveau/ |
| D | nouveau_encoder.h | 119 static inline struct nouveau_encoder *nouveau_encoder(struct drm_encoder *enc) in nouveau_encoder() argument 121 struct drm_encoder_slave *slave = to_encoder_slave(enc); in nouveau_encoder() 126 static inline struct drm_encoder *to_drm_encoder(struct nouveau_encoder *enc) in to_drm_encoder() argument 128 return &enc->base.base; in to_drm_encoder() 132 get_slave_funcs(struct drm_encoder *enc) in get_slave_funcs() argument 134 return to_encoder_slave(enc)->slave_funcs; in get_slave_funcs()
|