/linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
A D | stream_encoder.h | 123 struct stream_encoder *enc, 130 struct stream_encoder *enc, 136 struct stream_encoder *enc, 141 struct stream_encoder *enc, 145 struct stream_encoder *enc, 149 struct stream_encoder *enc, 156 struct stream_encoder *enc, 173 struct stream_encoder *enc, 180 struct stream_encoder *enc, 191 struct stream_encoder *enc, [all …]
|
A D | link_encoder.h | 169 struct link_encoder *enc, 197 struct link_encoder *enc); 199 struct link_encoder *enc, 277 struct hpo_dp_link_encoder *enc, 281 struct hpo_dp_link_encoder *enc); 284 struct hpo_dp_link_encoder *enc, 288 struct hpo_dp_link_encoder *enc, 292 struct hpo_dp_link_encoder *enc, 297 struct hpo_dp_link_encoder *enc); 300 struct hpo_dp_link_encoder *enc, [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/virtual/ |
A D | virtual_stream_encoder.c | 32 struct stream_encoder *enc, in virtual_stream_encoder_dp_set_stream_attribute() argument 39 struct stream_encoder *enc, in virtual_stream_encoder_hdmi_set_stream_attribute() argument 45 struct stream_encoder *enc, in virtual_stream_encoder_dvi_set_stream_attribute() argument 50 struct stream_encoder *enc, in virtual_stream_encoder_set_throttled_vcp_size() argument 148 if (!enc) in virtual_stream_encoder_construct() 154 enc->ctx = ctx; in virtual_stream_encoder_construct() 156 enc->bp = bp; in virtual_stream_encoder_construct() 164 struct stream_encoder *enc = kzalloc(sizeof(*enc), GFP_KERNEL); in virtual_stream_encoder_create() local 166 if (!enc) in virtual_stream_encoder_create() 170 return enc; in virtual_stream_encoder_create() [all …]
|
A D | virtual_link_encoder.c | 34 struct link_encoder *enc, in virtual_link_encoder_validate_output_with_stream() argument 40 struct link_encoder *enc, in virtual_link_encoder_setup() argument 44 struct link_encoder *enc, in virtual_link_encoder_enable_tmds_output() argument 51 struct link_encoder *enc, in virtual_link_encoder_enable_dp_output() argument 56 struct link_encoder *enc, in virtual_link_encoder_enable_dp_mst_output() argument 65 struct link_encoder *enc, in virtual_link_encoder_dp_set_lane_settings() argument 69 struct link_encoder *enc, in virtual_link_encoder_dp_set_phy_pattern() argument 73 struct link_encoder *enc, in virtual_link_encoder_update_mst_stream_allocation_table() argument 77 struct link_encoder *enc, in virtual_link_encoder_connect_dig_be_to_fe() argument 83 kfree(*enc); in virtual_link_encoder_destroy() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
A D | dcn30_dio_stream_encoder.c | 433 enc->vpg, in enc3_stream_encoder_update_dp_info_packets() 440 enc->vpg, in enc3_stream_encoder_update_dp_info_packets() 447 enc->vpg, in enc3_stream_encoder_update_dp_info_packets() 660 ASSERT (enc->afmt); in enc3_stream_encoder_hdmi_set_stream_attribute() 661 enc->afmt->funcs->audio_info_immediate_update(enc->afmt); in enc3_stream_encoder_hdmi_set_stream_attribute() 675 ASSERT (enc->afmt); in enc3_audio_mute_control() 676 enc->afmt->funcs->audio_mute_control(enc->afmt, mute); in enc3_audio_mute_control() 685 enc->afmt->funcs->se_audio_setup(enc->afmt, az_inst, info); in enc3_se_dp_audio_setup() 707 enc->afmt->funcs->setup_dp_audio(enc->afmt); in enc3_se_setup_dp_audio() 728 enc->afmt->funcs->setup_hdmi_audio(enc->afmt); in enc3_se_setup_hdmi_audio() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dcn31/ |
A D | dcn31_hpo_dp_stream_encoder.c | 61 struct hpo_dp_stream_encoder *enc) in dcn31_hpo_dp_stream_enc_enable_stream() argument 443 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets() 451 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets() 459 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets() 611 ASSERT(enc->apg); in dcn31_hpo_dp_stream_enc_mute_control() 612 enc->apg->funcs->audio_mute_control(enc->apg, mute); in dcn31_hpo_dp_stream_enc_mute_control() 626 ASSERT(enc->apg); in dcn31_hpo_dp_stream_enc_audio_setup() 627 enc->apg->funcs->se_audio_setup(enc->apg, az_inst, info); in dcn31_hpo_dp_stream_enc_audio_setup() 648 enc->apg->funcs->enable_apg(enc->apg); in dcn31_hpo_dp_stream_enc_audio_enable() 669 enc->apg->funcs->disable_apg(enc->apg); in dcn31_hpo_dp_stream_enc_audio_disable() [all …]
|
A D | dcn31_dio_link_encoder.c | 71 struct link_encoder *enc, in dcn31_link_encoder_set_dio_phy_mux() argument 77 switch (enc->transmitter) { in dcn31_link_encoder_set_dio_phy_mux() 401 struct link_encoder *enc, in dcn31_link_encoder_enable_dp_output() argument 408 if (!link_enc_cfg_is_transmitter_mappable(enc->ctx->dc, enc)) { in dcn31_link_encoder_enable_dp_output() 417 link = link_enc_cfg_get_link_using_link_enc(enc->ctx->dc, enc->preferred_engine); in dcn31_link_encoder_enable_dp_output() 446 struct link_encoder *enc, in dcn31_link_encoder_enable_dp_mst_output() argument 453 if (!link_enc_cfg_is_transmitter_mappable(enc->ctx->dc, enc)) { in dcn31_link_encoder_enable_dp_mst_output() 462 link = link_enc_cfg_get_link_using_link_enc(enc->ctx->dc, enc->preferred_engine); in dcn31_link_encoder_enable_dp_mst_output() 491 struct link_encoder *enc, in dcn31_link_encoder_disable_output() argument 497 if (!link_enc_cfg_is_transmitter_mappable(enc->ctx->dc, enc)) { in dcn31_link_encoder_disable_output() [all …]
|
A D | dcn31_hpo_dp_link_encoder.c | 51 struct hpo_dp_link_encoder *enc, in dcn31_hpo_dp_link_enc_enable() argument 78 struct hpo_dp_link_encoder *enc) in dcn31_hpo_dp_link_enc_disable() argument 91 struct hpo_dp_link_encoder *enc, in dcn31_hpo_dp_link_enc_set_link_test_pattern() argument 281 struct hpo_dp_link_encoder *enc, in dcn31_hpo_dp_link_enc_update_stream_allocation_table() argument 382 struct hpo_dp_link_encoder *enc, in dcn31_hpo_dp_link_enc_set_throttled_vcp_size() argument 432 struct hpo_dp_link_encoder *enc) in dcn31_hpo_dp_link_enc_is_in_alt_mode() argument 437 ASSERT((enc->transmitter >= TRANSMITTER_UNIPHY_A) && (enc->transmitter <= TRANSMITTER_UNIPHY_E)); in dcn31_hpo_dp_link_enc_is_in_alt_mode() 445 struct hpo_dp_link_encoder *enc, in dcn31_hpo_dp_link_enc_read_state() argument 500 struct hpo_dp_link_encoder *enc, in dcn31_hpo_dp_link_enc_enable_dp_output() argument 533 struct hpo_dp_link_encoder *enc, in dcn31_hpo_dp_link_enc_disable_output() argument [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
A D | dcn10_stream_encoder.c | 250 struct stream_encoder *enc, in enc1_stream_encoder_dp_set_stream_attribute() argument 494 struct stream_encoder *enc, in enc1_stream_encoder_hdmi_set_stream_attribute() argument 612 struct stream_encoder *enc, in enc1_stream_encoder_dvi_set_stream_attribute() argument 637 struct stream_encoder *enc, in enc1_stream_encoder_set_throttled_vcp_size() argument 669 struct stream_encoder *enc, in enc1_stream_encoder_update_hdmi_info_packets() argument 685 struct stream_encoder *enc) in enc1_stream_encoder_stop_hdmi_info_packets() argument 726 struct stream_encoder *enc, in enc1_stream_encoder_update_dp_info_packets() argument 784 struct stream_encoder *enc, in enc1_stream_encoder_send_immediate_sdp_message() argument 1475 if (enc->afmt && enc->afmt->funcs->afmt_powerdown) in enc1_se_hdmi_audio_disable() 1476 enc->afmt->funcs->afmt_powerdown(enc->afmt); in enc1_se_hdmi_audio_disable() [all …]
|
A D | dcn10_link_encoder.c | 211 struct link_encoder *enc, in dcn10_link_encoder_set_dp_phy_pattern_training_pattern() argument 785 struct link_encoder *enc, in dcn10_link_encoder_validate_output_with_stream() argument 832 struct link_encoder *enc) in dcn10_link_encoder_hw_init() argument 880 *enc = NULL; in dcn10_link_encoder_destroy() 884 struct link_encoder *enc, in dcn10_link_encoder_setup() argument 922 struct link_encoder *enc, in dcn10_link_encoder_enable_tmds_output() argument 959 struct link_encoder *enc, in dcn10_link_encoder_enable_tmds_output_with_clk_pattern_wa() argument 975 struct link_encoder *enc, in dcn10_link_encoder_enable_dp_output() argument 1014 struct link_encoder *enc, in dcn10_link_encoder_enable_dp_mst_output() argument 1055 struct link_encoder *enc, in dcn10_link_encoder_disable_output() argument [all …]
|
A D | dcn10_link_encoder.h | 528 struct link_encoder *enc, 541 struct link_encoder *enc, 551 struct link_encoder *enc, 558 struct link_encoder *enc, 566 struct link_encoder *enc, 572 struct link_encoder *enc, 578 struct link_encoder *enc, 583 struct link_encoder *enc, 587 struct link_encoder *enc, 592 struct link_encoder *enc, [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dce/ |
A D | dce_stream_encoder.c | 274 struct stream_encoder *enc, in dce110_stream_encoder_dp_set_stream_attribute() argument 552 struct stream_encoder *enc, in dce110_stream_encoder_hdmi_set_stream_attribute() argument 667 struct stream_encoder *enc, in dce110_stream_encoder_dvi_set_stream_attribute() argument 693 struct stream_encoder *enc, in dce110_stream_encoder_lvds_set_stream_attribute() argument 714 struct stream_encoder *enc, in dce110_stream_encoder_set_throttled_vcp_size() argument 742 struct stream_encoder *enc, in dce110_stream_encoder_update_hdmi_info_packets() argument 806 struct stream_encoder *enc) in dce110_stream_encoder_stop_hdmi_info_packets() argument 851 struct stream_encoder *enc, in dce110_stream_encoder_update_dp_info_packets() argument 895 struct stream_encoder *enc) in dce110_stream_encoder_stop_dp_info_packets() argument 923 struct stream_encoder *enc) in dce110_stream_encoder_dp_blank() argument [all …]
|
A D | dce_link_encoder.c | 278 struct link_encoder *enc, in dce110_link_encoder_set_dp_phy_pattern_training_pattern() argument 919 struct link_encoder *enc, in dce110_link_encoder_validate_output_with_stream() argument 963 struct link_encoder *enc) in dce110_link_encoder_hw_init() argument 1010 *enc = NULL; in dce110_link_encoder_destroy() 1014 struct link_encoder *enc, in dce110_link_encoder_setup() argument 1052 struct link_encoder *enc, in dce110_link_encoder_enable_tmds_output() argument 1090 struct link_encoder *enc, in dce110_link_encoder_enable_lvds_output() argument 1122 struct link_encoder *enc, in dce110_link_encoder_enable_dp_output() argument 1161 struct link_encoder *enc, in dce110_link_encoder_enable_dp_mst_output() argument 1201 struct link_encoder *enc, in dce60_link_encoder_enable_dp_output() argument [all …]
|
A D | dce_link_encoder.h | 231 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, 285 struct link_encoder *enc, 290 struct link_encoder *enc, [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_link_encoder.c | 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() 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 247 struct link_encoder *enc, in dcn20_link_encoder_enable_dp_output() argument 255 if (!enc->ctx->dc->debug.avoid_vbios_exec_table) { in dcn20_link_encoder_enable_dp_output() 265 dcn10_link_encoder_setup(enc, SIGNAL_TYPE_DISPLAY_PORT); in dcn20_link_encoder_enable_dp_output() 275 dcn10_link_encoder_get_max_link_cap(enc, link_settings); in dcn20_link_encoder_get_max_link_cap() 278 if (enc->funcs->is_in_alt_mode && enc->funcs->is_in_alt_mode(enc)) { in dcn20_link_encoder_get_max_link_cap() 292 if (enc->features.flags.bits.DP_IS_USB_C) { in dcn20_link_encoder_is_in_alt_mode() [all …]
|
A D | dcn20_stream_encoder.c | 147 struct stream_encoder *enc, in enc2_stream_encoder_update_hdmi_info_packets() argument 165 struct stream_encoder *enc) in enc2_stream_encoder_stop_hdmi_info_packets() argument 280 static void enc2_dp_set_dsc_config(struct stream_encoder *enc, in enc2_dp_set_dsc_config() argument 377 void enc2_set_dynamic_metadata(struct stream_encoder *enc, in enc2_set_dynamic_metadata() argument 427 struct stream_encoder *enc, in enc2_stream_encoder_update_dp_info_packets() argument 433 enc1_stream_encoder_update_dp_info_packets(enc, info_frame); in enc2_stream_encoder_update_dp_info_packets() 454 struct stream_encoder *enc, in enc2_stream_encoder_dp_unblank() argument 537 struct stream_encoder *enc, in enc2_dp_set_odm_combine() argument 546 struct stream_encoder *enc, in enc2_stream_encoder_dp_set_stream_attribute() argument 554 enc1_stream_encoder_dp_set_stream_attribute(enc, in enc2_stream_encoder_dp_set_stream_attribute() [all …]
|
/linux/crypto/ |
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 188 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_esn_encrypt() local 336 enc = crypto_spawn_skcipher(&ictx->enc); in crypto_authenc_esn_init_tfm() 337 err = PTR_ERR(enc); in crypto_authenc_esn_init_tfm() 338 if (IS_ERR(enc)) in crypto_authenc_esn_init_tfm() 347 ctx->enc = enc; in crypto_authenc_esn_init_tfm() 366 crypto_free_skcipher(enc); in crypto_authenc_esn_init_tfm() 398 struct skcipher_alg *enc; in crypto_authenc_esn_create() local [all …]
|
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 199 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_encrypt() local 321 enc = crypto_spawn_skcipher(&ictx->enc); in crypto_authenc_init_tfm() 322 err = PTR_ERR(enc); in crypto_authenc_init_tfm() 323 if (IS_ERR(enc)) in crypto_authenc_init_tfm() 332 ctx->enc = enc; in crypto_authenc_init_tfm() 348 crypto_free_skcipher(enc); in crypto_authenc_init_tfm() 380 struct skcipher_alg *enc; in crypto_authenc_create() local [all …]
|
/linux/drivers/gpu/drm/tidss/ |
A 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/drivers/gpu/drm/amd/display/dc/dcn21/ |
A D | dcn21_link_encoder.c | 211 if (enc->features.flags.bits.DP_IS_USB_C) { in dcn21_link_encoder_acquire_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 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() 276 dcn10_link_encoder_setup(enc, SIGNAL_TYPE_DISPLAY_PORT); in dcn21_link_encoder_enable_dp_output() 281 struct link_encoder *enc, in dcn21_link_encoder_enable_dp_mst_output() argument 285 if (!dcn21_link_encoder_acquire_phy(enc)) in dcn21_link_encoder_enable_dp_mst_output() 292 struct link_encoder *enc, in dcn21_link_encoder_disable_output() argument 295 dcn10_link_encoder_disable_output(enc, signal); in dcn21_link_encoder_disable_output() [all …]
|
/linux/arch/x86/mm/ |
A D | mem_encrypt.c | 62 unsigned long size, bool enc) in __sme_early_enc_dec() argument 83 src = enc ? early_memremap_decrypted_wp(paddr, len) : in __sme_early_enc_dec() 86 dst = enc ? early_memremap_encrypted(paddr, len) : in __sme_early_enc_dec() 285 notify_page_enc_status_changed(pfn, psize >> PAGE_SHIFT, enc); in notify_range_enc_status_changed() 292 static void __init __set_clr_pte_enc(pte_t *kpte, int level, bool enc) in __set_clr_pte_enc() argument 303 if (enc) in __set_clr_pte_enc() 323 if (enc) in __set_clr_pte_enc() 334 unsigned long size, bool enc) in early_set_memory_enc_dec() argument 354 __set_clr_pte_enc(kpte, level, enc); in early_set_memory_enc_dec() 370 __set_clr_pte_enc(kpte, level, enc); in early_set_memory_enc_dec() [all …]
|
/linux/arch/powerpc/mm/nohash/ |
A D | tlb.c | 57 .enc = BOOK3E_PAGESZ_4K, 61 .enc = BOOK3E_PAGESZ_2M, 65 .enc = BOOK3E_PAGESZ_4M, 69 .enc = BOOK3E_PAGESZ_16M, 73 .enc = BOOK3E_PAGESZ_64M, 81 .enc = BOOK3E_PAGESZ_1GB, 104 .enc = BOOK3E_PAGESZ_4K, 108 .enc = BOOK3E_PAGESZ_16K, 113 .enc = BOOK3E_PAGESZ_64K, 117 .enc = BOOK3E_PAGESZ_1M, [all …]
|
/linux/drivers/crypto/marvell/octeontx/ |
A D | otx_cptvf_algs.c | 252 if (enc) { in create_ctx_hdr() 283 fctx->enc.enc_ctrl.flags = cpu_to_be64(fctx->enc.enc_ctrl.cflags); in create_ctx_hdr() 369 req_info->is_enc = enc; in cpt_enc_dec() 1017 if (enc) { in create_aead_ctx_hdr() 1031 fctx->enc.enc_ctrl.flags = cpu_to_be64(fctx->enc.enc_ctrl.cflags); in create_aead_ctx_hdr() 1051 u32 enc) in create_hmac_ctx_hdr() argument 1100 if (enc) in create_aead_output_list() 1118 if (enc) in create_aead_null_input_list() 1140 if (enc) in create_aead_null_output_list() 1174 if (enc) { in create_aead_null_output_list() [all …]
|
/linux/drivers/crypto/marvell/octeontx2/ |
A D | otx2_cptvf_algs.c | 237 if (enc) { in create_ctx_hdr() 369 rctx->fctx.enc.enc_ctrl.u = 0; in cpt_enc_dec() 383 req_info->is_enc = enc; in cpt_enc_dec() 1075 if (enc) { in create_aead_ctx_hdr() 1109 u32 enc) in create_hmac_ctx_hdr() argument 1156 if (enc) in create_aead_output_list() 1172 if (enc) in create_aead_null_input_list() 1192 if (enc) in create_aead_null_output_list() 1224 if (enc) { in create_aead_null_output_list() 1298 rctx->fctx.enc.enc_ctrl.u = 0; in cpt_aead_enc_dec() [all …]
|
/linux/drivers/crypto/ |
A D | sa2ul.c | 110 bool enc; member 194 u8 enc; member 232 bool enc; member 510 if (enc) in sa_set_sc_enc() 729 if (enc) in sa_init_sc() 838 __func__, tfm, ctx->enc.sc_id, &ctx->enc.sc_phys, in sa_cipher_cra_exit() 879 __func__, tfm, ctx->enc.sc_id, &ctx->enc.sc_phys, in sa_cipher_cra_init() 1253 rxd->enc = req->enc; in sa_run() 1321 if (enc) in sa_cipher_run() 1333 sa_req.enc = enc; in sa_cipher_run() [all …]
|