Home
last modified time | relevance | path

Searched refs:enc (Results 1 – 25 of 149) sorted by relevance

123456

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/virtual/
Dvirtual_stream_encoder.c32 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
55 struct stream_encoder *enc, in virtual_stream_encoder_update_hdmi_info_packets() argument
59 struct stream_encoder *enc) {} in virtual_stream_encoder_stop_hdmi_info_packets() argument
62 struct stream_encoder *enc, in virtual_stream_encoder_set_avmute() argument
65 struct stream_encoder *enc, in virtual_stream_encoder_update_dp_info_packets() argument
69 struct stream_encoder *enc) {} in virtual_stream_encoder_stop_dp_info_packets() argument
72 struct stream_encoder *enc) {} in virtual_stream_encoder_dp_blank() argument
[all …]
Dvirtual_link_encoder.c34 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.10/drivers/gpu/drm/amd/display/dc/inc/hw/
Dstream_encoder.h125 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 …]
Dlink_encoder.h131 struct link_encoder *enc, struct link_enc_state *s);
133 struct link_encoder *enc, const struct dc_stream_state *stream);
134 void (*hw_init)(struct link_encoder *enc);
135 void (*setup)(struct link_encoder *enc,
137 void (*enable_tmds_output)(struct link_encoder *enc,
142 void (*enable_dp_output)(struct link_encoder *enc,
145 void (*enable_dp_mst_output)(struct link_encoder *enc,
148 void (*enable_lvds_output)(struct link_encoder *enc,
153 void (*dp_set_lane_settings)(struct link_encoder *enc,
155 void (*dp_set_phy_pattern)(struct link_encoder *enc,
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dio_stream_encoder.c214 struct stream_encoder *enc, in enc3_stream_encoder_update_hdmi_info_packets() argument
217 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_stream_encoder_update_hdmi_info_packets()
233 struct stream_encoder *enc) in enc3_stream_encoder_stop_hdmi_info_packets() argument
235 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_stream_encoder_stop_hdmi_info_packets()
320 static void enc3_dp_set_dsc_config(struct stream_encoder *enc, in enc3_dp_set_dsc_config() argument
325 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_dp_set_dsc_config()
336 static void enc3_dp_set_dsc_pps_info_packet(struct stream_encoder *enc, in enc3_dp_set_dsc_pps_info_packet() argument
340 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_dp_set_dsc_pps_info_packet()
402 static void enc3_read_state(struct stream_encoder *enc, struct enc_state *s) in enc3_read_state() argument
404 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc3_read_state()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_stream_encoder.c247 struct stream_encoder *enc, in enc1_stream_encoder_dp_set_stream_attribute() argument
266 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_dp_set_stream_attribute()
491 struct stream_encoder *enc, in enc1_stream_encoder_hdmi_set_stream_attribute() argument
496 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_hdmi_set_stream_attribute()
598 struct stream_encoder *enc, in enc1_stream_encoder_dvi_set_stream_attribute() argument
602 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_dvi_set_stream_attribute()
623 struct stream_encoder *enc, in enc1_stream_encoder_set_throttled_vcp_size() argument
626 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_set_throttled_vcp_size()
649 struct stream_encoder *enc, in enc1_stream_encoder_update_hdmi_info_packets() argument
652 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_update_hdmi_info_packets()
[all …]
Ddcn10_link_encoder.c211 struct link_encoder *enc, in dcn10_link_encoder_set_dp_phy_pattern_training_pattern() argument
214 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_link_encoder_set_dp_phy_pattern_training_pattern()
451 unsigned int dcn10_get_dig_frontend(struct link_encoder *enc) in dcn10_get_dig_frontend() argument
453 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_get_dig_frontend()
503 void dcn10_psr_program_dp_dphy_fast_training(struct link_encoder *enc, in dcn10_psr_program_dp_dphy_fast_training() argument
506 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_psr_program_dp_dphy_fast_training()
527 void dcn10_psr_program_secondary_packet(struct link_encoder *enc, in dcn10_psr_program_secondary_packet() argument
530 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_psr_program_secondary_packet()
537 bool dcn10_is_dig_enabled(struct link_encoder *enc) in dcn10_is_dig_enabled() argument
539 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_is_dig_enabled()
[all …]
Ddcn10_link_encoder.h501 struct link_encoder *enc,
507 void dcn10_link_encoder_hw_init(struct link_encoder *enc);
509 void dcn10_link_encoder_destroy(struct link_encoder **enc);
514 struct link_encoder *enc,
524 struct link_encoder *enc,
532 struct link_encoder *enc,
538 struct link_encoder *enc,
544 struct link_encoder *enc,
549 struct link_encoder *enc,
553 struct link_encoder *enc,
[all …]
Ddcn10_stream_encoder.h574 struct stream_encoder *enc,
581 struct stream_encoder *enc,
587 struct stream_encoder *enc,
592 struct stream_encoder *enc,
596 struct stream_encoder *enc,
600 struct stream_encoder *enc,
605 struct stream_encoder *enc);
608 struct stream_encoder *enc);
611 struct stream_encoder *enc,
615 struct stream_encoder *enc,
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_link_encoder.c174 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 …]
Ddcn20_stream_encoder.c145 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()
275 static void enc2_dp_set_dsc_config(struct stream_encoder *enc, in enc2_dp_set_dsc_config() argument
280 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc2_dp_set_dsc_config()
291 static void enc2_dp_set_dsc_pps_info_packet(struct stream_encoder *enc, in enc2_dp_set_dsc_pps_info_packet() argument
295 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc2_dp_set_dsc_pps_info_packet()
345 static void enc2_read_state(struct stream_encoder *enc, struct enc_state *s) in enc2_read_state() argument
347 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc2_read_state()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_stream_encoder.c275 struct stream_encoder *enc, in dce110_stream_encoder_dp_set_stream_attribute() argument
294 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_dp_set_stream_attribute()
553 struct stream_encoder *enc, in dce110_stream_encoder_hdmi_set_stream_attribute() argument
558 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_hdmi_set_stream_attribute()
667 struct stream_encoder *enc, in dce110_stream_encoder_dvi_set_stream_attribute() argument
671 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_dvi_set_stream_attribute()
693 struct stream_encoder *enc, in dce110_stream_encoder_lvds_set_stream_attribute() argument
696 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_lvds_set_stream_attribute()
714 struct stream_encoder *enc, in dce110_stream_encoder_set_throttled_vcp_size() argument
717 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_set_throttled_vcp_size()
[all …]
Ddce_link_encoder.h231 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 …]
Ddce_link_encoder.c239 struct link_encoder *enc, in dce110_link_encoder_set_dp_phy_pattern_training_pattern() argument
242 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_link_encoder_set_dp_phy_pattern_training_pattern()
611 void dce110_psr_program_dp_dphy_fast_training(struct link_encoder *enc, in dce110_psr_program_dp_dphy_fast_training() argument
614 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_psr_program_dp_dphy_fast_training()
635 void dce110_psr_program_secondary_packet(struct link_encoder *enc, in dce110_psr_program_secondary_packet() argument
638 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_psr_program_secondary_packet()
645 bool dce110_is_dig_enabled(struct link_encoder *enc) in dce110_is_dig_enabled() argument
647 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_is_dig_enabled()
880 struct link_encoder *enc, in dce110_link_encoder_validate_output_with_stream() argument
883 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_link_encoder_validate_output_with_stream()
[all …]
/Linux-v5.10/crypto/
Dauthenc.c24 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 …]
Dauthencesn.c27 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-v5.10/drivers/gpu/drm/tidss/
Dtidss_encoder.c75 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-v5.10/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_link_encoder.c206 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-v5.10/arch/powerpc/mm/nohash/
Dtlb.c57 .enc = BOOK3E_PAGESZ_4K,
61 .enc = BOOK3E_PAGESZ_2M,
65 .enc = BOOK3E_PAGESZ_4M,
69 .enc = BOOK3E_PAGESZ_16M,
73 .enc = BOOK3E_PAGESZ_64M,
77 .enc = BOOK3E_PAGESZ_256M,
81 .enc = BOOK3E_PAGESZ_1GB,
104 .enc = BOOK3E_PAGESZ_4K,
108 .enc = BOOK3E_PAGESZ_16K,
113 .enc = BOOK3E_PAGESZ_64K,
[all …]
/Linux-v5.10/crypto/asymmetric_keys/
Dsignature.c81 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.10/drivers/gpu/drm/nouveau/
Dnouveau_encoder.h110 static inline struct nouveau_encoder *nouveau_encoder(struct drm_encoder *enc) in nouveau_encoder() argument
112 struct drm_encoder_slave *slave = to_encoder_slave(enc); in nouveau_encoder()
117 static inline struct drm_encoder *to_drm_encoder(struct nouveau_encoder *enc) in to_drm_encoder() argument
119 return &enc->base.base; in to_drm_encoder()
123 get_slave_funcs(struct drm_encoder *enc) in get_slave_funcs() argument
125 return to_encoder_slave(enc)->slave_funcs; in get_slave_funcs()
/Linux-v5.10/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c231 static inline u32 create_ctx_hdr(struct skcipher_request *req, u32 enc, in create_ctx_hdr() argument
251 if (enc) { in create_ctx_hdr()
271 fctx->enc.enc_ctrl.e.enc_cipher = ctx->cipher_type; in create_ctx_hdr()
272 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_ctx_hdr()
273 fctx->enc.enc_ctrl.e.iv_source = OTX_CPT_FROM_CPTR; in create_ctx_hdr()
276 memcpy(fctx->enc.encr_key, ctx->enc_key, ctx->key_len * 2); in create_ctx_hdr()
278 memcpy(fctx->enc.encr_key, ctx->enc_key, ctx->key_len); in create_ctx_hdr()
280 memcpy(fctx->enc.encr_iv, req->iv, crypto_skcipher_ivsize(stfm)); in create_ctx_hdr()
282 fctx->enc.enc_ctrl.flags = cpu_to_be64(fctx->enc.enc_ctrl.cflags); in create_ctx_hdr()
302 static inline u32 create_input_list(struct skcipher_request *req, u32 enc, in create_input_list() argument
[all …]
/Linux-v5.10/drivers/crypto/
Dsa2ul.c91 bool enc; member
175 u8 enc; member
213 bool enc; member
478 u8 enc, u8 *sc_buf) in sa_set_sc_enc() argument
485 if (enc) in sa_set_sc_enc()
494 if (ad->inv_key && !enc) { in sa_set_sc_enc()
559 if (cfg->enc) { in sa_format_cmdl_gen()
696 struct algo_data *ad, u8 enc, u32 *swinfo) in sa_init_sc() argument
707 if (enc) in sa_init_sc()
736 if (sa_set_sc_enc(ad, enc_key, enc_key_sz, enc, in sa_init_sc()
[all …]
/Linux-v5.10/arch/x86/mm/
Dmem_encrypt.c62 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()
201 static void __init __set_clr_pte_enc(pte_t *kpte, int level, bool enc) in __set_clr_pte_enc() argument
225 if (enc) in __set_clr_pte_enc()
245 if (enc) in __set_clr_pte_enc()
256 unsigned long size, bool enc) in early_set_memory_enc_dec() argument
275 __set_clr_pte_enc(kpte, level, enc); in early_set_memory_enc_dec()
291 __set_clr_pte_enc(kpte, level, enc); in early_set_memory_enc_dec()
/Linux-v5.10/arch/arm64/crypto/
Daes-ce.S77 .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

123456