| /linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
| H A D | link_encoder.h | 115 struct link_encoder *enc, struct link_enc_state *s); 117 struct link_encoder *enc, const struct dc_stream_state *stream); 118 void (*hw_init)(struct link_encoder *enc); 119 void (*setup)(struct link_encoder *enc, 121 void (*enable_tmds_output)(struct link_encoder *enc, 126 void (*enable_dp_output)(struct link_encoder *enc, 129 void (*enable_dp_mst_output)(struct link_encoder *enc, 132 void (*enable_lvds_output)(struct link_encoder *enc, 135 void (*enable_analog_output)(struct link_encoder *enc, 139 void (*dp_set_lane_settings)(struct link_encoder *enc, [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| H A D | dce_link_encoder.c | 280 unsigned int dce110_get_dig_frontend(struct link_encoder *enc) in dce110_get_dig_frontend() argument 282 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_get_dig_frontend() 319 struct link_encoder *enc, in dce110_link_encoder_set_dp_phy_pattern_training_pattern() argument 322 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_link_encoder_set_dp_phy_pattern_training_pattern() 695 void dce110_psr_program_dp_dphy_fast_training(struct link_encoder *enc, in dce110_psr_program_dp_dphy_fast_training() argument 698 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_psr_program_dp_dphy_fast_training() 719 void dce110_psr_program_secondary_packet(struct link_encoder *enc, in dce110_psr_program_secondary_packet() argument 722 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_psr_program_secondary_packet() 729 bool dce110_is_dig_enabled(struct link_encoder *enc) in dce110_is_dig_enabled() argument 731 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_is_dig_enabled() [all …]
|
| H A D | dce_link_encoder.h | 227 struct link_encoder *enc, 233 void dce110_link_encoder_hw_init(struct link_encoder *enc); 235 void dce110_link_encoder_destroy(struct link_encoder **enc); 240 struct link_encoder *enc, 246 struct link_encoder *enc, 254 struct link_encoder *enc, 260 struct link_encoder *enc, 266 struct link_encoder *enc, 272 struct link_encoder *enc, 277 struct link_encoder *enc, [all …]
|
| /linux/crypto/ |
| H A D | authenc.c | 23 struct crypto_skcipher_spawn enc; member 29 struct crypto_skcipher *enc; member 87 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_setkey() local 101 crypto_skcipher_clear_flags(enc, CRYPTO_TFM_REQ_MASK); in crypto_authenc_setkey() 102 crypto_skcipher_set_flags(enc, crypto_aead_get_flags(authenc) & in crypto_authenc_setkey() 104 err = crypto_skcipher_setkey(enc, keys.enckey, keys.enckeylen); in crypto_authenc_setkey() 194 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_encrypt() local 209 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_encrypt() 255 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_decrypt_tail() 310 struct crypto_skcipher *enc; in crypto_authenc_init_tfm() local [all …]
|
| H A D | authencesn.c | 26 struct crypto_skcipher_spawn enc; member 32 struct crypto_skcipher *enc; member 61 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_esn_setkey() local 75 crypto_skcipher_clear_flags(enc, CRYPTO_TFM_REQ_MASK); in crypto_authenc_esn_setkey() 76 crypto_skcipher_set_flags(enc, crypto_aead_get_flags(authenc_esn) & in crypto_authenc_esn_setkey() 78 err = crypto_skcipher_setkey(enc, keys.enckey, keys.enckeylen); in crypto_authenc_esn_setkey() 166 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_esn_encrypt() local 185 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_esn_encrypt() 237 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_esn_decrypt_tail() 315 struct crypto_skcipher *enc; in crypto_authenc_esn_init_tfm() local [all …]
|
| /linux/arch/x86/crypto/ |
| H A D | aes-xts-avx-x86_64.S | 467 .macro _setup_round_keys enc argument 470 .if \enc 528 .macro _vaes enc, key, data 529 .if \enc 537 .macro _vaeslast enc, key, data 538 .if \enc 548 .macro _vaes_1x enc, i, xmm_suffix, data, tmp 550 _vaes \enc, KEY\i\xmm_suffix, \data 553 _vaes \enc, (\i-7)*16(KEY), \data 556 _vaes \enc, \tmp, \data [all …]
|
| /linux/arch/x86/mm/ |
| H A D | mem_encrypt_amd.c | 92 unsigned long size, bool enc) in __sme_early_enc_dec() argument 113 src = enc ? early_memremap_decrypted_wp(paddr, len) : in __sme_early_enc_dec() 116 dst = enc ? early_memremap_encrypted(paddr, len) : in __sme_early_enc_dec() 131 snp_memcpy(sme_early_buffer, src, len, paddr, enc); in __sme_early_enc_dec() 132 snp_memcpy(dst, sme_early_buffer, len, paddr, !enc); in __sme_early_enc_dec() 246 static bool amd_enc_tlb_flush_required(bool enc) in amd_enc_tlb_flush_required() argument 256 static void enc_dec_hypercall(unsigned long vaddr, unsigned long size, bool enc) in enc_dec_hypercall() argument 279 notify_page_enc_status_changed(pfn, psize >> PAGE_SHIFT, enc); in enc_dec_hypercall() 286 static int amd_enc_status_change_prepare(unsigned long vaddr, int npages, bool enc) in amd_enc_status_change_prepare() argument 292 if (cc_platform_has(CC_ATTR_GUEST_SEV_SNP) && !enc) in amd_enc_status_change_prepare() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dio/dcn314/ |
| H A D | dcn314_dio_stream_encoder.h | 277 struct stream_encoder *enc, 281 struct stream_encoder *enc); 284 struct stream_encoder *enc, 288 struct stream_encoder *enc, 292 struct stream_encoder *enc, 296 struct stream_encoder *enc, 301 struct stream_encoder *enc); 304 struct stream_encoder *enc, 310 struct stream_encoder *enc, 316 struct stream_encoder *enc, [all …]
|
| /linux/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptvf_algs.c | 233 static inline u32 create_ctx_hdr(struct skcipher_request *req, u32 enc, in create_ctx_hdr() argument 253 if (enc) { in create_ctx_hdr() 273 fctx->enc.enc_ctrl.e.enc_cipher = ctx->cipher_type; in create_ctx_hdr() 274 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_ctx_hdr() 275 fctx->enc.enc_ctrl.e.iv_source = OTX_CPT_FROM_CPTR; in create_ctx_hdr() 278 memcpy(fctx->enc.encr_key, ctx->enc_key, ctx->key_len * 2); in create_ctx_hdr() 280 memcpy(fctx->enc.encr_key, ctx->enc_key, ctx->key_len); in create_ctx_hdr() 282 memcpy(fctx->enc.encr_iv, req->iv, crypto_skcipher_ivsize(stfm)); in create_ctx_hdr() 284 fctx->enc.enc_ctrl.flags = cpu_to_be64(fctx->enc.enc_ctrl.cflags); in create_ctx_hdr() 304 static inline u32 create_input_list(struct skcipher_request *req, u32 enc, in create_input_list() argument [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dio/dcn32/ |
| H A D | dcn32_dio_link_encoder.h | 41 void enc32_hw_init(struct link_encoder *enc); 44 struct link_encoder *enc, 48 bool dcn32_link_encoder_is_in_alt_mode(struct link_encoder *enc); 50 void dcn32_link_encoder_get_max_link_cap(struct link_encoder *enc,
|
| /linux/drivers/media/platform/st/sti/hva/ |
| H A D | hva-v4l2.c | 128 const struct hva_enc *enc; in hva_find_encoder() local 132 enc = hva->encoders[i]; in hva_find_encoder() 133 if ((enc->pixelformat == pixelformat) && in hva_find_encoder() 134 (enc->streamformat == streamformat)) in hva_find_encoder() 135 return enc; in hva_find_encoder() 197 struct hva_enc *enc; in hva_open_encoder() local 201 enc = (struct hva_enc *)hva_find_encoder(ctx, pixelformat, in hva_open_encoder() 203 if (!enc) { in hva_open_encoder() 217 ret = enc->open(ctx); in hva_open_encoder() 224 dev_dbg(dev, "%s %s encoder opened\n", ctx->name, enc->name); in hva_open_encoder() [all …]
|
| /linux/drivers/crypto/cavium/cpt/ |
| H A D | cptvf_algs.c | 95 static inline u32 create_ctx_hdr(struct skcipher_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 = (__be64 *)&fctx->enc.enc_ctrl.flags; in create_ctx_hdr() 130 *ctrl_flags = cpu_to_be64(fctx->enc.enc_ctrl.flags); in create_ctx_hdr() 151 static inline u32 create_input_list(struct skcipher_request *req, u32 enc, in create_input_list() argument [all …]
|
| /linux/arch/riscv/crypto/ |
| H A D | aes-riscv64-zvkned-zvbb-zvkg.S | 169 .macro __aes_xts_crypt enc, keylen 180 aes_crypt TMP0, \enc, \keylen 236 .if \enc 247 aes_crypt TMP0, \enc, \keylen 263 aes_crypt TMP0, \enc, \keylen 270 .macro aes_xts_crypt enc argument 289 __aes_xts_crypt \enc, 256 291 __aes_xts_crypt \enc, 128 293 __aes_xts_crypt \enc, 192
|
| /linux/drivers/gpu/drm/amd/display/dc/dio/dcn401/ |
| H A D | dcn401_dio_link_encoder.h | 117 void enc401_hw_init(struct link_encoder *enc); 120 struct link_encoder *enc, 125 struct link_encoder *enc, 129 struct link_encoder *enc); 131 bool dcn401_is_dig_enabled(struct link_encoder *enc); 133 enum signal_type dcn401_get_dig_mode(struct link_encoder *enc);
|
| /linux/drivers/gpu/drm/amd/display/dc/dio/dcn35/ |
| H A D | dcn35_dio_stream_encoder.h | 287 struct stream_encoder *enc, 291 struct stream_encoder *enc); 294 struct stream_encoder *enc, 298 struct stream_encoder *enc, 302 struct stream_encoder *enc, 306 struct stream_encoder *enc, 311 struct stream_encoder *enc); 314 struct stream_encoder *enc, 320 struct stream_encoder *enc, 326 struct stream_encoder *enc); [all …]
|
| /linux/drivers/net/ethernet/toshiba/ |
| H A D | ps3_gelic_wireless.c | 1009 struct iw_point *enc = &data->encoding; in gelic_wl_set_encode() local 1016 flags = enc->flags & IW_ENCODE_FLAGS; in gelic_wl_set_encode() 1017 key_index = enc->flags & IW_ENCODE_INDEX; in gelic_wl_set_encode() 1020 pr_debug("%s: key_len = %d\n", __func__, enc->length); in gelic_wl_set_encode() 1021 pr_debug("%s: flag=%x\n", __func__, enc->flags & IW_ENCODE_FLAGS); in gelic_wl_set_encode() 1061 if (IW_ENCODING_TOKEN_MAX < enc->length) { in gelic_wl_set_encode() 1065 wl->key_len[key_index] = enc->length; in gelic_wl_set_encode() 1066 memcpy(wl->key[key_index], extra, enc->length); in gelic_wl_set_encode() 1083 struct iw_point *enc = &data->encoding; in gelic_wl_get_encode() local 1089 key_index = enc->flags & IW_ENCODE_INDEX; in gelic_wl_get_encode() [all …]
|
| /linux/lib/tests/ |
| H A D | base64_kunit.c | 44 char *enc = kmalloc(outlen, GFP_KERNEL); in run_perf_and_check() local 48 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, enc); in run_perf_and_check() 52 int enc_len = base64_encode(in, size, enc, true, variant); in run_perf_and_check() 53 int dec_len = base64_decode(enc, enc_len, decoded, true, variant); in run_perf_and_check() 61 u64 t1 = bench_encode_ns(in, size, enc, reps, variant); in run_perf_and_check() 65 u64 t2 = bench_decode_ns(enc, enc_len, decoded, reps, variant); in run_perf_and_check() 70 kfree(enc); in run_perf_and_check()
|
| /linux/drivers/gpu/drm/amd/display/dc/dio/dcn20/ |
| H A D | dcn20_stream_encoder.h | 100 struct stream_encoder *enc, 108 struct stream_encoder *enc, 111 void enc2_set_dynamic_metadata(struct stream_encoder *enc, 117 struct stream_encoder *enc);
|
| H A D | dcn20_link_encoder.h | 340 void enc2_fec_set_enable(struct link_encoder *enc, bool enable); 341 void enc2_fec_set_ready(struct link_encoder *enc, bool ready); 342 bool enc2_fec_is_active(struct link_encoder *enc); 343 void enc2_hw_init(struct link_encoder *enc); 345 void link_enc2_read_state(struct link_encoder *enc, struct link_enc_state *s); 348 struct link_encoder *enc, 352 bool dcn20_link_encoder_is_in_alt_mode(struct link_encoder *enc); 353 void dcn20_link_encoder_get_max_link_cap(struct link_encoder *enc,
|
| /linux/drivers/media/pci/cx18/ |
| H A D | cx18-ioctl.c | 850 struct v4l2_encoder_cmd *enc) in cx18_encoder_cmd() argument 856 switch (enc->cmd) { in cx18_encoder_cmd() 859 enc->flags = 0; in cx18_encoder_cmd() 864 enc->flags &= V4L2_ENC_CMD_STOP_AT_GOP_END; in cx18_encoder_cmd() 866 enc->flags & V4L2_ENC_CMD_STOP_AT_GOP_END); in cx18_encoder_cmd() 871 enc->flags = 0; in cx18_encoder_cmd() 887 enc->flags = 0; in cx18_encoder_cmd() 902 CX18_DEBUG_IOCTL("Unknown cmd %d\n", enc->cmd); in cx18_encoder_cmd() 909 struct v4l2_encoder_cmd *enc) in cx18_try_encoder_cmd() argument 913 switch (enc->cmd) { in cx18_try_encoder_cmd() [all …]
|
| /linux/drivers/media/platform/imagination/ |
| H A D | Makefile | 2 e5010_jpeg_enc-objs := e5010-jpeg-enc-hw.o e5010-jpeg-enc.o
|
| /linux/drivers/media/platform/mediatek/vcodec/encoder/ |
| H A D | Makefile | 3 obj-$(CONFIG_VIDEO_MEDIATEK_VCODEC) += mtk-vcodec-enc.o 5 mtk-vcodec-enc-y := venc/venc_vp8_if.o \
|
| /linux/drivers/media/platform/mediatek/jpeg/ |
| H A D | Makefile | 3 mtk-jpeg-enc-hw.o \ 9 mtk-jpeg-enc-hw-y := mtk_jpeg_enc_hw.o
|
| /linux/arch/x86/include/asm/ |
| H A D | x86_init.h | 162 int (*enc_status_change_prepare)(unsigned long vaddr, int npages, bool enc); 163 int (*enc_status_change_finish)(unsigned long vaddr, int npages, bool enc); 164 bool (*enc_tlb_flush_required)(bool enc);
|
| /linux/arch/x86/kernel/ |
| H A D | x86_init.c | 138 static int enc_status_change_prepare_noop(unsigned long vaddr, int npages, bool enc) { return 0; } in enc_status_change_prepare_noop() argument 139 static int enc_status_change_finish_noop(unsigned long vaddr, int npages, bool enc) { return 0; } in enc_status_change_finish_noop() argument 140 static bool enc_tlb_flush_required_noop(bool enc) { return false; } in enc_tlb_flush_required_noop() argument
|