/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/hw/ |
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, 167 struct stream_encoder *enc, 171 struct stream_encoder *enc, 183 struct stream_encoder *enc 192 struct stream_encoder *enc, [all …]
|
A D | link_encoder.h | 189 struct link_encoder *enc, 217 struct link_encoder *enc); 219 struct link_encoder *enc, 299 struct hpo_dp_link_encoder *enc, 303 struct hpo_dp_link_encoder *enc); 306 struct hpo_dp_link_encoder *enc, 310 struct hpo_dp_link_encoder *enc, 314 struct hpo_dp_link_encoder *enc, 319 struct hpo_dp_link_encoder *enc); 322 struct hpo_dp_link_encoder *enc, [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/virtual/ |
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 146 if (!enc) in virtual_stream_encoder_construct() 152 enc->ctx = ctx; in virtual_stream_encoder_construct() 154 enc->bp = bp; in virtual_stream_encoder_construct() 162 struct stream_encoder *enc = kzalloc(sizeof(*enc), GFP_KERNEL); in virtual_stream_encoder_create() local 164 if (!enc) in virtual_stream_encoder_create() 168 return enc; in virtual_stream_encoder_create() [all …]
|
A D | virtual_link_encoder.c | 32 struct link_encoder *enc, in virtual_link_encoder_validate_output_with_stream() 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 82 kfree(*enc); in virtual_link_encoder_destroy() [all …]
|
/linux-6.3-rc2/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() 448 enc->vpg, in enc3_stream_encoder_update_dp_info_packets() 455 enc->vpg, in enc3_stream_encoder_update_dp_info_packets() 462 enc->vpg, in enc3_stream_encoder_update_dp_info_packets() 473 enc->vpg, in enc3_stream_encoder_update_dp_info_packets() 687 enc->afmt->funcs->audio_info_immediate_update(enc->afmt); in enc3_stream_encoder_hdmi_set_stream_attribute() 702 enc->afmt->funcs->audio_mute_control(enc->afmt, mute); in enc3_audio_mute_control() 711 enc->afmt->funcs->se_audio_setup(enc->afmt, az_inst, info); in enc3_se_dp_audio_setup() 733 enc->afmt->funcs->setup_dp_audio(enc->afmt); in enc3_se_setup_dp_audio() 754 enc->afmt->funcs->setup_hdmi_audio(enc->afmt); in enc3_se_setup_hdmi_audio() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn31/ |
A D | dcn31_dio_link_encoder.c | 135 struct link_encoder *enc, in dcn31_link_encoder_set_dio_phy_mux() argument 141 switch (enc->transmitter) { in dcn31_link_encoder_set_dio_phy_mux() 454 struct link_encoder *enc, in dcn31_link_encoder_enable_dp_output() argument 461 if (!link_enc_cfg_is_transmitter_mappable(enc->ctx->dc, enc)) { in dcn31_link_encoder_enable_dp_output() 471 link = link_enc_cfg_get_link_using_link_enc(enc->ctx->dc, enc->preferred_engine); in dcn31_link_encoder_enable_dp_output() 501 struct link_encoder *enc, in dcn31_link_encoder_enable_dp_mst_output() argument 508 if (!link_enc_cfg_is_transmitter_mappable(enc->ctx->dc, enc)) { in dcn31_link_encoder_enable_dp_mst_output() 518 link = link_enc_cfg_get_link_using_link_enc(enc->ctx->dc, enc->preferred_engine); in dcn31_link_encoder_enable_dp_mst_output() 548 struct link_encoder *enc, in dcn31_link_encoder_disable_output() argument 554 if (!link_enc_cfg_is_transmitter_mappable(enc->ctx->dc, enc)) { in dcn31_link_encoder_disable_output() [all …]
|
A D | dcn31_hpo_dp_stream_encoder.c | 61 struct hpo_dp_stream_encoder *enc) in dcn31_hpo_dp_stream_enc_enable_stream() argument 91 struct hpo_dp_stream_encoder *enc, in dcn31_hpo_dp_stream_enc_dp_unblank() argument 458 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets() 465 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets() 472 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets() 479 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets() 638 ASSERT(enc->apg); in dcn31_hpo_dp_stream_enc_audio_setup() 639 enc->apg->funcs->se_audio_setup(enc->apg, az_inst, info); in dcn31_hpo_dp_stream_enc_audio_setup() 660 enc->apg->funcs->enable_apg(enc->apg); in dcn31_hpo_dp_stream_enc_audio_enable() 681 enc->apg->funcs->disable_apg(enc->apg); in dcn31_hpo_dp_stream_enc_audio_disable() [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 284 struct hpo_dp_link_encoder *enc, in dcn31_hpo_dp_link_enc_update_stream_allocation_table() argument 385 struct hpo_dp_link_encoder *enc, in dcn31_hpo_dp_link_enc_set_throttled_vcp_size() argument 435 struct hpo_dp_link_encoder *enc) in dcn31_hpo_dp_link_enc_is_in_alt_mode() argument 440 ASSERT((enc->transmitter >= TRANSMITTER_UNIPHY_A) && (enc->transmitter <= TRANSMITTER_UNIPHY_E)); in dcn31_hpo_dp_link_enc_is_in_alt_mode() 448 struct hpo_dp_link_encoder *enc, in dcn31_hpo_dp_link_enc_read_state() argument 503 struct hpo_dp_link_encoder *enc, in dcn31_hpo_dp_link_enc_enable_dp_output() argument 540 struct hpo_dp_link_encoder *enc, in dcn31_hpo_dp_link_enc_disable_output() argument [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn314/ |
A D | dcn314_dio_stream_encoder.c | 73 enc314_reset_fifo(enc, true); in enc314_enable_fifo() 87 struct stream_encoder *enc, in enc314_dp_set_odm_combine() argument 97 struct stream_encoder *enc, in enc314_stream_encoder_dvi_set_stream_attribute() argument 127 enc314_enable_fifo(enc); in enc314_stream_encoder_dvi_set_stream_attribute() 137 struct stream_encoder *enc, in enc314_stream_encoder_hdmi_set_stream_attribute() argument 167 enc314_enable_fifo(enc); in enc314_stream_encoder_hdmi_set_stream_attribute() 255 ASSERT(enc->afmt); in enc314_stream_encoder_hdmi_set_stream_attribute() 256 enc->afmt->funcs->audio_info_immediate_update(enc->afmt); in enc314_stream_encoder_hdmi_set_stream_attribute() 279 struct stream_encoder *enc) in enc314_stream_encoder_dp_blank() argument 285 enc314_disable_fifo(enc); in enc314_stream_encoder_dp_blank() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn10/ |
A D | dcn10_stream_encoder.c | 246 struct stream_encoder *enc, in enc1_stream_encoder_dp_set_stream_attribute() argument 482 struct stream_encoder *enc, in enc1_stream_encoder_hdmi_set_stream_attribute() argument 602 struct stream_encoder *enc, in enc1_stream_encoder_dvi_set_stream_attribute() argument 627 struct stream_encoder *enc, in enc1_stream_encoder_set_throttled_vcp_size() argument 659 struct stream_encoder *enc, in enc1_stream_encoder_update_hdmi_info_packets() argument 677 struct stream_encoder *enc) in enc1_stream_encoder_stop_hdmi_info_packets() argument 718 struct stream_encoder *enc, in enc1_stream_encoder_update_dp_info_packets() argument 783 struct stream_encoder *enc, in enc1_stream_encoder_send_immediate_sdp_message() argument 1474 if (enc->afmt && enc->afmt->funcs->afmt_powerdown) in enc1_se_hdmi_audio_disable() 1475 enc->afmt->funcs->afmt_powerdown(enc->afmt); in enc1_se_hdmi_audio_disable() [all …]
|
A D | dcn10_link_encoder.c | 207 struct link_encoder *enc, in dcn10_link_encoder_set_dp_phy_pattern_training_pattern() argument 782 struct link_encoder *enc, in dcn10_link_encoder_validate_output_with_stream() argument 829 struct link_encoder *enc) in dcn10_link_encoder_hw_init() argument 877 *enc = NULL; in dcn10_link_encoder_destroy() 881 struct link_encoder *enc, in dcn10_link_encoder_setup() argument 919 struct link_encoder *enc, in dcn10_link_encoder_enable_tmds_output() argument 956 struct link_encoder *enc, in dcn10_link_encoder_enable_tmds_output_with_clk_pattern_wa() argument 972 struct link_encoder *enc, in dcn10_link_encoder_enable_dp_output() argument 1011 struct link_encoder *enc, in dcn10_link_encoder_enable_dp_mst_output() argument 1052 struct link_encoder *enc, in dcn10_link_encoder_disable_output() argument [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_link_encoder.c | 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() 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 246 struct link_encoder *enc, in dcn20_link_encoder_enable_dp_output() argument 254 if (!enc->ctx->dc->debug.avoid_vbios_exec_table) { in dcn20_link_encoder_enable_dp_output() 264 dcn10_link_encoder_setup(enc, SIGNAL_TYPE_DISPLAY_PORT); in dcn20_link_encoder_enable_dp_output() 274 dcn10_link_encoder_get_max_link_cap(enc, link_settings); in dcn20_link_encoder_get_max_link_cap() 277 if (enc->funcs->is_in_alt_mode && enc->funcs->is_in_alt_mode(enc)) { in dcn20_link_encoder_get_max_link_cap() 291 if (enc->features.flags.bits.DP_IS_USB_C) { in dcn20_link_encoder_is_in_alt_mode() [all …]
|
A D | dcn20_stream_encoder.c | 146 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 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_sdp_line_num() argument 443 struct stream_encoder *enc, in enc2_stream_encoder_update_dp_info_packets() argument 449 enc1_stream_encoder_update_dp_info_packets(enc, info_frame); in enc2_stream_encoder_update_dp_info_packets() 470 struct stream_encoder *enc, in enc2_stream_encoder_dp_unblank() argument 553 struct stream_encoder *enc, in enc2_dp_set_odm_combine() argument 562 struct stream_encoder *enc, in enc2_stream_encoder_dp_set_stream_attribute() argument 570 enc1_stream_encoder_dp_set_stream_attribute(enc, in enc2_stream_encoder_dp_set_stream_attribute() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce/ |
A D | dce_stream_encoder.c | 268 struct stream_encoder *enc, in dce110_stream_encoder_dp_set_stream_attribute() argument 534 struct stream_encoder *enc, in dce110_stream_encoder_hdmi_set_stream_attribute() argument 651 struct stream_encoder *enc, in dce110_stream_encoder_dvi_set_stream_attribute() argument 677 struct stream_encoder *enc, in dce110_stream_encoder_lvds_set_stream_attribute() argument 698 struct stream_encoder *enc, in dce110_stream_encoder_set_throttled_vcp_size() argument 726 struct stream_encoder *enc, in dce110_stream_encoder_update_hdmi_info_packets() argument 788 struct stream_encoder *enc) in dce110_stream_encoder_stop_hdmi_info_packets() argument 831 struct stream_encoder *enc, in dce110_stream_encoder_update_dp_info_packets() argument 875 struct stream_encoder *enc) in dce110_stream_encoder_stop_dp_info_packets() argument 903 struct stream_encoder *enc) in dce110_stream_encoder_dp_blank() 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, 286 struct link_encoder *enc, 291 struct link_encoder *enc, [all …]
|
A D | dce_link_encoder.c | 274 struct link_encoder *enc, in dce110_link_encoder_set_dp_phy_pattern_training_pattern() argument 916 struct link_encoder *enc, in dce110_link_encoder_validate_output_with_stream() argument 960 struct link_encoder *enc) in dce110_link_encoder_hw_init() argument 1007 *enc = NULL; in dce110_link_encoder_destroy() 1011 struct link_encoder *enc, in dce110_link_encoder_setup() argument 1049 struct link_encoder *enc, in dce110_link_encoder_enable_tmds_output() argument 1087 struct link_encoder *enc, in dce110_link_encoder_enable_lvds_output() argument 1119 struct link_encoder *enc, in dce110_link_encoder_enable_dp_output() argument 1158 struct link_encoder *enc, in dce110_link_encoder_enable_dp_mst_output() argument 1198 struct link_encoder *enc, in dce60_link_encoder_enable_dp_output() argument [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/ |
A D | dcn32_dio_stream_encoder.c | 54 struct stream_encoder *enc, in enc32_dp_set_odm_combine() argument 64 struct stream_encoder *enc, in enc32_stream_encoder_dvi_set_stream_attribute() argument 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 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() 281 struct stream_encoder *enc, in enc32_stream_encoder_dp_unblank() argument 285 struct dc *dc = enc->ctx->dc; in enc32_stream_encoder_dp_unblank() 445 enc32_reset_fifo(enc, true); in enc32_enable_fifo() [all …]
|
A 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() 138 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn32_link_encoder_get_max_link_cap() 141 dcn10_link_encoder_get_max_link_cap(enc, link_settings); in dcn32_link_encoder_get_max_link_cap() [all …]
|
/linux-6.3-rc2/arch/x86/mm/ |
A D | mem_encrypt_amd.c | 93 unsigned long size, bool enc) in __sme_early_enc_dec() argument 117 dst = enc ? early_memremap_encrypted(paddr, len) : in __sme_early_enc_dec() 281 static bool amd_enc_tlb_flush_required(bool enc) in amd_enc_tlb_flush_required() argument 343 enc_dec_hypercall(vaddr, npages, enc); in amd_enc_status_change_finish() 359 if (enc) in __set_clr_pte_enc() 379 if (enc) { in __set_clr_pte_enc() 399 if (enc) in __set_clr_pte_enc() 404 unsigned long size, bool enc) in early_set_memory_enc_dec() argument 424 __set_clr_pte_enc(kpte, level, enc); in early_set_memory_enc_dec() 440 __set_clr_pte_enc(kpte, level, enc); in early_set_memory_enc_dec() [all …]
|
/linux-6.3-rc2/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 186 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_esn_encrypt() local 333 enc = crypto_spawn_skcipher(&ictx->enc); in crypto_authenc_esn_init_tfm() 334 err = PTR_ERR(enc); in crypto_authenc_esn_init_tfm() 335 if (IS_ERR(enc)) in crypto_authenc_esn_init_tfm() 344 ctx->enc = enc; in crypto_authenc_esn_init_tfm() 363 crypto_free_skcipher(enc); in crypto_authenc_esn_init_tfm() 395 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 198 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_encrypt() local 319 enc = crypto_spawn_skcipher(&ictx->enc); in crypto_authenc_init_tfm() 320 err = PTR_ERR(enc); in crypto_authenc_init_tfm() 321 if (IS_ERR(enc)) in crypto_authenc_init_tfm() 330 ctx->enc = enc; in crypto_authenc_init_tfm() 346 crypto_free_skcipher(enc); in crypto_authenc_init_tfm() 378 struct skcipher_alg *enc; in crypto_authenc_create() local [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/media/ |
A 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 92 - mediatek,mt8183-vcodec-enc 117 - mediatek,mt8173-vcodec-enc 118 - mediatek,mt8188-vcodec-enc 119 - mediatek,mt8192-vcodec-enc [all …]
|
/linux-6.3-rc2/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-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn21/ |
A D | dcn21_link_encoder.c | 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() 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 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() 275 dcn10_link_encoder_setup(enc, SIGNAL_TYPE_DISPLAY_PORT); in dcn21_link_encoder_enable_dp_output() 280 struct link_encoder *enc, in dcn21_link_encoder_enable_dp_mst_output() argument 284 if (!dcn21_link_encoder_acquire_phy(enc)) in dcn21_link_encoder_enable_dp_mst_output() 293 dcn10_link_encoder_disable_output(enc, signal); in dcn21_link_encoder_disable_output() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/ |
A D | nouveau_encoder.h | 118 static inline struct nouveau_encoder *nouveau_encoder(struct drm_encoder *enc) in nouveau_encoder() argument 120 struct drm_encoder_slave *slave = to_encoder_slave(enc); in nouveau_encoder() 125 static inline struct drm_encoder *to_drm_encoder(struct nouveau_encoder *enc) in to_drm_encoder() argument 127 return &enc->base.base; in to_drm_encoder() 131 get_slave_funcs(struct drm_encoder *enc) in get_slave_funcs() argument 133 return to_encoder_slave(enc)->slave_funcs; in get_slave_funcs()
|