/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/hw/ |
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 …]
|
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-6.6.21/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-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_dio_stream_encoder.c | 199 struct stream_encoder *enc, in enc3_stream_encoder_update_hdmi_info_packets() argument 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() argument 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() [all …]
|
/linux-6.6.21/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() 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() 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 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 | 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-6.6.21/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-6.6.21/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 | 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 …]
|
/linux-6.6.21/drivers/gpu/drm/msm/disp/dpu1/ |
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.base + DSC_RC_SCALE_INC_DEC, data); in dpu_hw_dsc_config_1_2() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/ |
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 …]
|
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-6.6.21/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 | 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 …]
|
/linux-6.6.21/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() 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 …]
|
D | dcn32_dio_link_encoder.c | 65 void enc32_hw_init(struct link_encoder *enc) in enc32_hw_init() argument 67 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in enc32_hw_init() 110 struct link_encoder *enc, in dcn32_link_encoder_enable_dp_output() argument 114 if (!enc->ctx->dc->debug.avoid_vbios_exec_table) { in dcn32_link_encoder_enable_dp_output() 115 dcn10_link_encoder_enable_dp_output(enc, link_settings, clock_source); in dcn32_link_encoder_enable_dp_output() 120 static bool dcn32_link_encoder_is_in_alt_mode(struct link_encoder *enc) in dcn32_link_encoder_is_in_alt_mode() argument 122 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn32_link_encoder_is_in_alt_mode() 126 if (enc->features.flags.bits.DP_IS_USB_C) { in dcn32_link_encoder_is_in_alt_mode() 135 static void dcn32_link_encoder_get_max_link_cap(struct link_encoder *enc, in dcn32_link_encoder_get_max_link_cap() argument 138 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn32_link_encoder_get_max_link_cap() [all …]
|
/linux-6.6.21/arch/x86/mm/ |
D | mem_encrypt_amd.c | 94 unsigned long size, bool enc) in __sme_early_enc_dec() argument 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() [all …]
|
/linux-6.6.21/Documentation/devicetree/bindings/media/ |
D | mediatek,vcodec-encoder.yaml | 20 - mediatek,mt8173-vcodec-enc-vp8 21 - mediatek,mt8173-vcodec-enc 22 - mediatek,mt8183-vcodec-enc 23 - mediatek,mt8188-vcodec-enc 24 - mediatek,mt8192-vcodec-enc 25 - mediatek,mt8195-vcodec-enc 87 - mediatek,mt8183-vcodec-enc 88 - mediatek,mt8188-vcodec-enc 89 - mediatek,mt8192-vcodec-enc 90 - mediatek,mt8195-vcodec-enc [all …]
|
/linux-6.6.21/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() 198 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_encrypt() local 216 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_encrypt() 254 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_decrypt_tail() 311 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() 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() 251 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_esn_decrypt_tail() 325 struct crypto_skcipher *enc; in crypto_authenc_esn_init_tfm() local [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn21/ |
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-6.6.21/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()
|