/Linux-v5.4/drivers/gpu/drm/amd/display/dc/virtual/ |
D | virtual_stream_encoder.c | 32 struct stream_encoder *enc, in virtual_stream_encoder_dp_set_stream_attribute() argument 38 struct stream_encoder *enc, in virtual_stream_encoder_hdmi_set_stream_attribute() argument 44 struct stream_encoder *enc, in virtual_stream_encoder_dvi_set_stream_attribute() argument 49 struct stream_encoder *enc, in virtual_stream_encoder_set_mst_bandwidth() 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 70 struct stream_encoder *enc) {} in virtual_stream_encoder_dp_blank() argument [all …]
|
D | virtual_link_encoder.c | 34 struct link_encoder *enc, in virtual_link_encoder_validate_output_with_stream() argument 37 static void virtual_link_encoder_hw_init(struct link_encoder *enc) {} in virtual_link_encoder_hw_init() 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 [all …]
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | stream_encoder.h | 126 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 | 134 struct link_encoder *enc, struct link_enc_state *s); 137 struct link_encoder *enc, const struct dc_stream_state *stream); 138 void (*hw_init)(struct link_encoder *enc); 139 void (*setup)(struct link_encoder *enc, 141 void (*enable_tmds_output)(struct link_encoder *enc, 146 void (*enable_dp_output)(struct link_encoder *enc, 149 void (*enable_dp_mst_output)(struct link_encoder *enc, 152 void (*enable_lvds_output)(struct link_encoder *enc, 157 void (*dp_set_lane_settings)(struct link_encoder *enc, 159 void (*dp_set_phy_pattern)(struct link_encoder *enc, [all …]
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_stream_encoder.c | 247 struct stream_encoder *enc, in enc1_stream_encoder_dp_set_stream_attribute() argument 265 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_dp_set_stream_attribute() 493 struct stream_encoder *enc, in enc1_stream_encoder_hdmi_set_stream_attribute() argument 498 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_hdmi_set_stream_attribute() 600 struct stream_encoder *enc, in enc1_stream_encoder_dvi_set_stream_attribute() argument 604 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_dvi_set_stream_attribute() 625 struct stream_encoder *enc, in enc1_stream_encoder_set_mst_bandwidth() argument 628 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_set_mst_bandwidth() 651 struct stream_encoder *enc, in enc1_stream_encoder_update_hdmi_info_packets() argument 654 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_update_hdmi_info_packets() [all …]
|
D | dcn10_link_encoder.c | 210 struct link_encoder *enc, in dcn10_link_encoder_set_dp_phy_pattern_training_pattern() argument 213 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_link_encoder_set_dp_phy_pattern_training_pattern() 450 unsigned int dcn10_get_dig_frontend(struct link_encoder *enc) in dcn10_get_dig_frontend() argument 452 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_get_dig_frontend() 502 void dcn10_psr_program_dp_dphy_fast_training(struct link_encoder *enc, in dcn10_psr_program_dp_dphy_fast_training() argument 505 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_psr_program_dp_dphy_fast_training() 526 void dcn10_psr_program_secondary_packet(struct link_encoder *enc, in dcn10_psr_program_secondary_packet() argument 529 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_psr_program_secondary_packet() 536 bool dcn10_is_dig_enabled(struct link_encoder *enc) in dcn10_is_dig_enabled() argument 538 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_is_dig_enabled() [all …]
|
D | dcn10_link_encoder.h | 433 struct link_encoder *enc, 439 void dcn10_link_encoder_hw_init(struct link_encoder *enc); 441 void dcn10_link_encoder_destroy(struct link_encoder **enc); 446 struct link_encoder *enc, 456 struct link_encoder *enc, 464 struct link_encoder *enc, 470 struct link_encoder *enc, 476 struct link_encoder *enc, 481 struct link_encoder *enc, 485 struct link_encoder *enc, [all …]
|
D | dcn10_stream_encoder.h | 526 struct stream_encoder *enc, 532 struct stream_encoder *enc, 538 struct stream_encoder *enc, 543 struct stream_encoder *enc, 547 struct stream_encoder *enc, 551 struct stream_encoder *enc, 556 struct stream_encoder *enc); 559 struct stream_encoder *enc); 562 struct stream_encoder *enc, 566 struct stream_encoder *enc, [all …]
|
/Linux-v5.4/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 106 crypto_skcipher_clear_flags(enc, CRYPTO_TFM_REQ_MASK); in crypto_authenc_setkey() 107 crypto_skcipher_set_flags(enc, crypto_aead_get_flags(authenc) & in crypto_authenc_setkey() 109 err = crypto_skcipher_setkey(enc, keys.enckey, keys.enckeylen); in crypto_authenc_setkey() 110 crypto_aead_set_flags(authenc, crypto_skcipher_get_flags(enc) & in crypto_authenc_setkey() 209 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_encrypt() local 227 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_encrypt() 265 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_decrypt_tail() [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 80 crypto_skcipher_clear_flags(enc, CRYPTO_TFM_REQ_MASK); in crypto_authenc_esn_setkey() 81 crypto_skcipher_set_flags(enc, crypto_aead_get_flags(authenc_esn) & in crypto_authenc_esn_setkey() 83 err = crypto_skcipher_setkey(enc, keys.enckey, keys.enckeylen); in crypto_authenc_esn_setkey() 84 crypto_aead_set_flags(authenc_esn, crypto_skcipher_get_flags(enc) & in crypto_authenc_esn_setkey() 198 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_esn_encrypt() local 217 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_esn_encrypt() 263 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_esn_decrypt_tail() [all …]
|
D | tcrypt.c | 156 static int do_mult_aead_op(struct test_mb_aead_data *data, int enc, in do_mult_aead_op() argument 163 if (enc == ENCRYPT) in do_mult_aead_op() 182 static int test_mb_aead_jiffies(struct test_mb_aead_data *data, int enc, in test_mb_aead_jiffies() argument 196 ret = do_mult_aead_op(data, enc, num_mb, rc); in test_mb_aead_jiffies() 209 static int test_mb_aead_cycles(struct test_mb_aead_data *data, int enc, in test_mb_aead_cycles() argument 223 ret = do_mult_aead_op(data, enc, num_mb, rc); in test_mb_aead_cycles() 233 ret = do_mult_aead_op(data, enc, num_mb, rc); in test_mb_aead_cycles() 250 static void test_mb_aead_speed(const char *algo, int enc, int secs, in test_mb_aead_speed() argument 275 if (enc == ENCRYPT) in test_mb_aead_speed() 382 *b_size + (enc ? 0 : authsize), in test_mb_aead_speed() [all …]
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_link_encoder.h | 191 struct link_encoder *enc, 197 void dce110_link_encoder_hw_init(struct link_encoder *enc); 199 void dce110_link_encoder_destroy(struct link_encoder **enc); 204 struct link_encoder *enc, 210 struct link_encoder *enc, 218 struct link_encoder *enc, 224 struct link_encoder *enc, 230 struct link_encoder *enc, 236 struct link_encoder *enc, 241 struct link_encoder *enc, [all …]
|
D | dce_stream_encoder.c | 275 struct stream_encoder *enc, in dce110_stream_encoder_dp_set_stream_attribute() argument 293 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_dp_set_stream_attribute() 552 struct stream_encoder *enc, in dce110_stream_encoder_hdmi_set_stream_attribute() argument 557 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_hdmi_set_stream_attribute() 666 struct stream_encoder *enc, in dce110_stream_encoder_dvi_set_stream_attribute() argument 670 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_dvi_set_stream_attribute() 692 struct stream_encoder *enc, in dce110_stream_encoder_lvds_set_stream_attribute() argument 695 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_lvds_set_stream_attribute() 713 struct stream_encoder *enc, in dce110_stream_encoder_set_mst_bandwidth() argument 716 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_set_mst_bandwidth() [all …]
|
D | dce_link_encoder.c | 238 struct link_encoder *enc, in dce110_link_encoder_set_dp_phy_pattern_training_pattern() argument 241 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_link_encoder_set_dp_phy_pattern_training_pattern() 514 void dce110_psr_program_dp_dphy_fast_training(struct link_encoder *enc, in dce110_psr_program_dp_dphy_fast_training() argument 517 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_psr_program_dp_dphy_fast_training() 538 void dce110_psr_program_secondary_packet(struct link_encoder *enc, in dce110_psr_program_secondary_packet() argument 541 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_psr_program_secondary_packet() 548 bool dce110_is_dig_enabled(struct link_encoder *enc) in dce110_is_dig_enabled() argument 550 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_is_dig_enabled() 783 struct link_encoder *enc, in dce110_link_encoder_validate_output_with_stream() argument 786 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_link_encoder_validate_output_with_stream() [all …]
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_stream_encoder.c | 145 struct stream_encoder *enc, in enc2_stream_encoder_update_hdmi_info_packets() argument 148 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc2_stream_encoder_update_hdmi_info_packets() 163 struct stream_encoder *enc) in enc2_stream_encoder_stop_hdmi_info_packets() argument 165 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc2_stream_encoder_stop_hdmi_info_packets() 276 static void enc2_dp_set_dsc_config(struct stream_encoder *enc, in enc2_dp_set_dsc_config() argument 281 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc2_dp_set_dsc_config() 292 static void enc2_dp_set_dsc_pps_info_packet(struct stream_encoder *enc, in enc2_dp_set_dsc_pps_info_packet() argument 296 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc2_dp_set_dsc_pps_info_packet() 346 static void enc2_read_state(struct stream_encoder *enc, struct enc_state *s) in enc2_read_state() argument 348 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc2_read_state() [all …]
|
D | dcn20_link_encoder.c | 168 void enc2_fec_set_enable(struct link_encoder *enc, bool enable) in enc2_fec_set_enable() argument 170 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in enc2_fec_set_enable() 173 enable ? "Enabling" : "Disabling", enc->id.enum_id); in enc2_fec_set_enable() 178 void enc2_fec_set_ready(struct link_encoder *enc, bool ready) in enc2_fec_set_ready() argument 180 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in enc2_fec_set_ready() 185 bool enc2_fec_is_active(struct link_encoder *enc) in enc2_fec_is_active() argument 188 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in enc2_fec_is_active() 199 void link_enc2_read_state(struct link_encoder *enc, struct link_enc_state *s) in link_enc2_read_state() argument 201 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in link_enc2_read_state() 244 struct link_encoder *enc, in dcn20_link_encoder_enable_dp_output() argument [all …]
|
D | dcn20_link_encoder.h | 149 void enc2_fec_set_enable(struct link_encoder *enc, bool enable); 150 void enc2_fec_set_ready(struct link_encoder *enc, bool ready); 151 bool enc2_fec_is_active(struct link_encoder *enc); 152 void enc2_hw_init(struct link_encoder *enc); 155 void link_enc2_read_state(struct link_encoder *enc, struct link_enc_state *s); 159 struct link_encoder *enc,
|
/Linux-v5.4/drivers/gpu/drm/nouveau/ |
D | nouveau_encoder.h | 78 static inline struct nouveau_encoder *nouveau_encoder(struct drm_encoder *enc) in nouveau_encoder() argument 80 struct drm_encoder_slave *slave = to_encoder_slave(enc); in nouveau_encoder() 85 static inline struct drm_encoder *to_drm_encoder(struct nouveau_encoder *enc) in to_drm_encoder() argument 87 return &enc->base.base; in to_drm_encoder() 91 get_slave_funcs(struct drm_encoder *enc) in get_slave_funcs() argument 93 return to_encoder_slave(enc)->slave_funcs; in get_slave_funcs()
|
/Linux-v5.4/arch/powerpc/mm/nohash/ |
D | tlb.c | 56 .enc = BOOK3E_PAGESZ_4K, 60 .enc = BOOK3E_PAGESZ_2M, 64 .enc = BOOK3E_PAGESZ_4M, 68 .enc = BOOK3E_PAGESZ_16M, 72 .enc = BOOK3E_PAGESZ_64M, 76 .enc = BOOK3E_PAGESZ_256M, 80 .enc = BOOK3E_PAGESZ_1GB, 107 .enc = BOOK3E_PAGESZ_4K, 111 .enc = BOOK3E_PAGESZ_16K, 116 .enc = BOOK3E_PAGESZ_64K, [all …]
|
/Linux-v5.4/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-v5.4/arch/x86/mm/ |
D | mem_encrypt.c | 60 unsigned long size, bool enc) in __sme_early_enc_dec() argument 81 src = enc ? early_memremap_decrypted_wp(paddr, len) : in __sme_early_enc_dec() 84 dst = enc ? early_memremap_encrypted(paddr, len) : in __sme_early_enc_dec() 199 static void __init __set_clr_pte_enc(pte_t *kpte, int level, bool enc) in __set_clr_pte_enc() argument 223 if (enc) in __set_clr_pte_enc() 243 if (enc) in __set_clr_pte_enc() 254 unsigned long size, bool enc) in early_set_memory_enc_dec() argument 273 __set_clr_pte_enc(kpte, level, enc); in early_set_memory_enc_dec() 289 __set_clr_pte_enc(kpte, level, enc); in early_set_memory_enc_dec()
|
/Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_rm.c | 537 struct drm_encoder *enc, in _dpu_rm_make_reservation() argument 543 ret = _dpu_rm_reserve_lms(rm, enc->base.id, reqs); in _dpu_rm_make_reservation() 549 ret = _dpu_rm_reserve_ctls(rm, enc->base.id, &reqs->topology); in _dpu_rm_make_reservation() 555 ret = _dpu_rm_reserve_intf_related_hw(rm, enc->base.id, &reqs->hw_res); in _dpu_rm_make_reservation() 564 struct drm_encoder *enc, in _dpu_rm_populate_requirements() argument 569 dpu_encoder_get_hw_resources(enc, &reqs->hw_res); in _dpu_rm_populate_requirements() 596 void dpu_rm_release(struct dpu_rm *rm, struct drm_encoder *enc) in dpu_rm_release() argument 600 _dpu_rm_release_reservation(rm, enc->base.id); in dpu_rm_release() 607 struct drm_encoder *enc, in dpu_rm_reserve() argument 620 enc->base.id, crtc_state->crtc->base.id, test_only); in dpu_rm_reserve() [all …]
|
/Linux-v5.4/arch/arm64/crypto/ |
D | aes-ce.S | 77 .macro round_Nx, enc, k, i0, i1, i2, i3, i4 78 .ifc \enc, e 112 .macro do_block_Nx, enc, rounds, i0, i1, i2, i3, i4 116 round_Nx \enc, v17, \i0, \i1, \i2, \i3, \i4 117 round_Nx \enc, v18, \i0, \i1, \i2, \i3, \i4 118 1111: round_Nx \enc, v19, \i0, \i1, \i2, \i3, \i4 119 round_Nx \enc, v20, \i0, \i1, \i2, \i3, \i4 121 round_Nx \enc, \key, \i0, \i1, \i2, \i3, \i4 123 fin_round_Nx \enc, v30, v31, \i0, \i1, \i2, \i3, \i4
|
/Linux-v5.4/drivers/media/platform/sti/hva/ |
D | hva-v4l2.c | 125 const struct hva_enc *enc; in hva_find_encoder() local 129 enc = hva->encoders[i]; in hva_find_encoder() 130 if ((enc->pixelformat == pixelformat) && in hva_find_encoder() 131 (enc->streamformat == streamformat)) in hva_find_encoder() 132 return enc; in hva_find_encoder() 194 struct hva_enc *enc; in hva_open_encoder() local 198 enc = (struct hva_enc *)hva_find_encoder(ctx, pixelformat, in hva_open_encoder() 200 if (!enc) { in hva_open_encoder() 214 ret = enc->open(ctx); in hva_open_encoder() 221 dev_dbg(dev, "%s %s encoder opened\n", ctx->name, enc->name); in hva_open_encoder() [all …]
|
/Linux-v5.4/drivers/crypto/cavium/cpt/ |
D | cptvf_algs.c | 95 static inline u32 create_ctx_hdr(struct ablkcipher_request *req, u32 enc, in create_ctx_hdr() argument 113 if (enc) in create_ctx_hdr() 121 fctx->enc.enc_ctrl.e.enc_cipher = ctx->cipher_type; in create_ctx_hdr() 122 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_ctx_hdr() 123 fctx->enc.enc_ctrl.e.iv_source = FROM_DPTR; in create_ctx_hdr() 126 memcpy(fctx->enc.encr_key, ctx->enc_key, ctx->key_len * 2); in create_ctx_hdr() 128 memcpy(fctx->enc.encr_key, ctx->enc_key, ctx->key_len); in create_ctx_hdr() 129 ctrl_flags = (u64 *)&fctx->enc.enc_ctrl.flags; in create_ctx_hdr() 150 static inline u32 create_input_list(struct ablkcipher_request *req, u32 enc, in create_input_list() argument 157 create_ctx_hdr(req, enc, &argcnt); in create_input_list() [all …]
|