/Linux-v4.19/drivers/gpu/drm/amd/display/dc/virtual/ |
D | virtual_stream_encoder.c | 30 struct stream_encoder *enc, in virtual_stream_encoder_dp_set_stream_attribute() argument 35 struct stream_encoder *enc, in virtual_stream_encoder_hdmi_set_stream_attribute() argument 41 struct stream_encoder *enc, in virtual_stream_encoder_dvi_set_stream_attribute() argument 46 struct stream_encoder *enc, in virtual_stream_encoder_set_mst_bandwidth() argument 50 struct stream_encoder *enc, in virtual_stream_encoder_update_hdmi_info_packets() argument 54 struct stream_encoder *enc) {} in virtual_stream_encoder_stop_hdmi_info_packets() argument 57 struct stream_encoder *enc, in virtual_stream_encoder_set_avmute() argument 60 struct stream_encoder *enc, in virtual_stream_encoder_update_dp_info_packets() argument 64 struct stream_encoder *enc) {} in virtual_stream_encoder_stop_dp_info_packets() argument 67 struct stream_encoder *enc) {} in virtual_stream_encoder_dp_blank() argument [all …]
|
D | virtual_link_encoder.c | 32 struct link_encoder *enc, in virtual_link_encoder_validate_output_with_stream() argument 35 static void virtual_link_encoder_hw_init(struct link_encoder *enc) {} in virtual_link_encoder_hw_init() 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 67 struct link_encoder *enc, in virtual_link_encoder_dp_set_phy_pattern() argument 71 struct link_encoder *enc, in virtual_link_encoder_update_mst_stream_allocation_table() argument 75 struct link_encoder *enc, in virtual_link_encoder_connect_dig_be_to_fe() argument [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | stream_encoder.h | 89 struct stream_encoder *enc, 94 struct stream_encoder *enc, 100 struct stream_encoder *enc, 105 struct stream_encoder *enc, 109 struct stream_encoder *enc, 113 struct stream_encoder *enc); 116 struct stream_encoder *enc, 120 struct stream_encoder *enc); 123 struct stream_encoder *enc); 126 struct stream_encoder *enc, [all …]
|
D | link_encoder.h | 119 struct link_encoder *enc, const struct dc_stream_state *stream); 120 void (*hw_init)(struct link_encoder *enc); 121 void (*setup)(struct link_encoder *enc, 123 void (*enable_tmds_output)(struct link_encoder *enc, 128 void (*enable_dp_output)(struct link_encoder *enc, 131 void (*enable_dp_mst_output)(struct link_encoder *enc, 136 void (*dp_set_lane_settings)(struct link_encoder *enc, 138 void (*dp_set_phy_pattern)(struct link_encoder *enc, 141 struct link_encoder *enc, 143 void (*psr_program_dp_dphy_fast_training)(struct link_encoder *enc, [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_stream_encoder.c | 246 struct stream_encoder *enc, in enc1_stream_encoder_dp_set_stream_attribute() argument 263 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_dp_set_stream_attribute() 479 struct stream_encoder *enc, in enc1_stream_encoder_hdmi_set_stream_attribute() argument 484 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_hdmi_set_stream_attribute() 585 struct stream_encoder *enc, in enc1_stream_encoder_dvi_set_stream_attribute() argument 589 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_dvi_set_stream_attribute() 610 struct stream_encoder *enc, in enc1_stream_encoder_set_mst_bandwidth() argument 613 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_set_mst_bandwidth() 636 struct stream_encoder *enc, in enc1_stream_encoder_update_hdmi_info_packets() argument 639 struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); in enc1_stream_encoder_update_hdmi_info_packets() [all …]
|
D | dcn10_link_encoder.c | 205 struct link_encoder *enc, in dcn10_link_encoder_set_dp_phy_pattern_training_pattern() argument 208 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_link_encoder_set_dp_phy_pattern_training_pattern() 455 void dcn10_psr_program_dp_dphy_fast_training(struct link_encoder *enc, in dcn10_psr_program_dp_dphy_fast_training() argument 458 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_psr_program_dp_dphy_fast_training() 479 void dcn10_psr_program_secondary_packet(struct link_encoder *enc, in dcn10_psr_program_secondary_packet() argument 482 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_psr_program_secondary_packet() 489 bool dcn10_is_dig_enabled(struct link_encoder *enc) in dcn10_is_dig_enabled() argument 491 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_is_dig_enabled() 740 struct link_encoder *enc, in dcn10_link_encoder_validate_output_with_stream() argument 743 struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); in dcn10_link_encoder_validate_output_with_stream() [all …]
|
D | dcn10_link_encoder.h | 258 struct link_encoder *enc, 264 void dcn10_link_encoder_hw_init(struct link_encoder *enc); 266 void dcn10_link_encoder_destroy(struct link_encoder **enc); 271 struct link_encoder *enc, 281 struct link_encoder *enc, 289 struct link_encoder *enc, 295 struct link_encoder *enc, 301 struct link_encoder *enc, 306 struct link_encoder *enc, 310 struct link_encoder *enc, [all …]
|
D | dcn10_stream_encoder.h | 459 struct stream_encoder *enc, 464 struct stream_encoder *enc, 470 struct stream_encoder *enc, 475 struct stream_encoder *enc, 479 struct stream_encoder *enc, 483 struct stream_encoder *enc); 486 struct stream_encoder *enc); 489 struct stream_encoder *enc, 493 struct stream_encoder *enc, 497 struct stream_encoder *enc, [all …]
|
/Linux-v4.19/crypto/ |
D | authenc.c | 29 struct crypto_skcipher_spawn enc; member 35 struct crypto_skcipher *enc; member 86 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() 107 crypto_aead_set_flags(authenc, crypto_skcipher_get_flags(enc) & in crypto_authenc_setkey() 206 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_encrypt() local 224 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_encrypt() 262 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_decrypt_tail() [all …]
|
D | authencesn.c | 32 struct crypto_skcipher_spawn enc; member 38 struct crypto_skcipher *enc; member 68 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_esn_setkey() local 85 crypto_skcipher_clear_flags(enc, CRYPTO_TFM_REQ_MASK); in crypto_authenc_esn_setkey() 86 crypto_skcipher_set_flags(enc, crypto_aead_get_flags(authenc_esn) & in crypto_authenc_esn_setkey() 88 err = crypto_skcipher_setkey(enc, keys.enckey, keys.enckeylen); in crypto_authenc_esn_setkey() 89 crypto_aead_set_flags(authenc_esn, crypto_skcipher_get_flags(enc) & in crypto_authenc_esn_setkey() 203 struct crypto_skcipher *enc = ctx->enc; in crypto_authenc_esn_encrypt() local 222 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_esn_encrypt() 268 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_esn_decrypt_tail() [all …]
|
D | tcrypt.c | 160 static int do_mult_aead_op(struct test_mb_aead_data *data, int enc, in do_mult_aead_op() argument 167 if (enc == ENCRYPT) in do_mult_aead_op() 186 static int test_mb_aead_jiffies(struct test_mb_aead_data *data, int enc, in test_mb_aead_jiffies() argument 200 ret = do_mult_aead_op(data, enc, num_mb, rc); in test_mb_aead_jiffies() 213 static int test_mb_aead_cycles(struct test_mb_aead_data *data, int enc, in test_mb_aead_cycles() argument 227 ret = do_mult_aead_op(data, enc, num_mb, rc); in test_mb_aead_cycles() 237 ret = do_mult_aead_op(data, enc, num_mb, rc); in test_mb_aead_cycles() 254 static void test_mb_aead_speed(const char *algo, int enc, int secs, in test_mb_aead_speed() argument 279 if (enc == ENCRYPT) in test_mb_aead_speed() 386 *b_size + (enc ? 0 : authsize), in test_mb_aead_speed() [all …]
|
D | testmgr.c | 83 } enc, dec; member 604 static int __test_aead(struct crypto_aead *tfm, int enc, in __test_aead() argument 652 if (enc == ENCRYPT) in __test_aead() 729 template[i].ilen + (enc ? authsize : 0)); in __test_aead() 739 template[i].rlen + (enc ? 0 : authsize)); in __test_aead() 747 ret = crypto_wait_req(enc ? crypto_aead_encrypt(req) in __test_aead() 863 if (k == template[i].np - 1 && enc) in __test_aead() 878 if (enc) { in __test_aead() 898 ret = crypto_wait_req(enc ? crypto_aead_encrypt(req) in __test_aead() 934 n += enc ? authsize : -authsize; in __test_aead() [all …]
|
/Linux-v4.19/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, 235 struct link_encoder *enc, 239 struct link_encoder *enc, [all …]
|
D | dce_stream_encoder.c | 273 struct stream_encoder *enc, in dce110_stream_encoder_dp_set_stream_attribute() argument 290 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_dp_set_stream_attribute() 539 struct stream_encoder *enc, in dce110_stream_encoder_hdmi_set_stream_attribute() argument 544 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_hdmi_set_stream_attribute() 653 struct stream_encoder *enc, in dce110_stream_encoder_dvi_set_stream_attribute() argument 657 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_dvi_set_stream_attribute() 678 struct stream_encoder *enc, in dce110_stream_encoder_set_mst_bandwidth() argument 681 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_set_mst_bandwidth() 706 struct stream_encoder *enc, in dce110_stream_encoder_update_hdmi_info_packets() argument 709 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_update_hdmi_info_packets() [all …]
|
D | dce_link_encoder.c | 234 struct link_encoder *enc, in dce110_link_encoder_set_dp_phy_pattern_training_pattern() argument 237 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_link_encoder_set_dp_phy_pattern_training_pattern() 510 void dce110_psr_program_dp_dphy_fast_training(struct link_encoder *enc, in dce110_psr_program_dp_dphy_fast_training() argument 513 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_psr_program_dp_dphy_fast_training() 534 void dce110_psr_program_secondary_packet(struct link_encoder *enc, in dce110_psr_program_secondary_packet() argument 537 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_psr_program_secondary_packet() 544 bool dce110_is_dig_enabled(struct link_encoder *enc) in dce110_is_dig_enabled() argument 546 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_is_dig_enabled() 790 struct link_encoder *enc, in dce110_link_encoder_validate_output_with_stream() argument 793 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_link_encoder_validate_output_with_stream() [all …]
|
/Linux-v4.19/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-v4.19/arch/powerpc/mm/ |
D | tlb_nohash.c | 61 .enc = BOOK3E_PAGESZ_4K, 65 .enc = BOOK3E_PAGESZ_2M, 69 .enc = BOOK3E_PAGESZ_4M, 73 .enc = BOOK3E_PAGESZ_16M, 77 .enc = BOOK3E_PAGESZ_64M, 81 .enc = BOOK3E_PAGESZ_256M, 85 .enc = BOOK3E_PAGESZ_1GB, 112 .enc = BOOK3E_PAGESZ_4K, 116 .enc = BOOK3E_PAGESZ_16K, 121 .enc = BOOK3E_PAGESZ_64K, [all …]
|
/Linux-v4.19/arch/x86/mm/ |
D | mem_encrypt.c | 59 unsigned long size, bool enc) in __sme_early_enc_dec() argument 80 src = enc ? early_memremap_decrypted_wp(paddr, len) : in __sme_early_enc_dec() 83 dst = enc ? early_memremap_encrypted(paddr, len) : in __sme_early_enc_dec() 198 static void __init __set_clr_pte_enc(pte_t *kpte, int level, bool enc) in __set_clr_pte_enc() argument 222 if (enc) in __set_clr_pte_enc() 242 if (enc) in __set_clr_pte_enc() 253 unsigned long size, bool enc) in early_set_memory_enc_dec() argument 272 __set_clr_pte_enc(kpte, level, enc); in early_set_memory_enc_dec() 288 __set_clr_pte_enc(kpte, level, enc); in early_set_memory_enc_dec()
|
/Linux-v4.19/arch/arm64/crypto/ |
D | aes-ce.S | 66 .macro round_Nx, enc, k, i0, i1, i2, i3 67 .ifc \enc, e 95 .macro do_block_Nx, enc, rounds, i0, i1, i2, i3 99 round_Nx \enc, v17, \i0, \i1, \i2, \i3 100 round_Nx \enc, v18, \i0, \i1, \i2, \i3 101 1111: round_Nx \enc, v19, \i0, \i1, \i2, \i3 102 round_Nx \enc, v20, \i0, \i1, \i2, \i3 104 round_Nx \enc, \key, \i0, \i1, \i2, \i3 106 fin_round_Nx \enc, v30, v31, \i0, \i1, \i2, \i3
|
/Linux-v4.19/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-v4.19/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_rm.c | 751 struct drm_encoder *enc, in _dpu_rm_make_next_rsvp() argument 762 rsvp->enc_id = enc->base.id; in _dpu_rm_make_next_rsvp() 798 struct drm_encoder *enc, in _dpu_rm_populate_requirements() argument 808 dpu_encoder_get_hw_resources(enc, &reqs->hw_res, conn_state); in _dpu_rm_populate_requirements() 844 struct drm_encoder *enc) in _dpu_rm_get_rsvp() argument 848 if (!rm || !enc) { in _dpu_rm_get_rsvp() 857 if (i->enc_id == enc->base.id) in _dpu_rm_get_rsvp() 864 struct drm_encoder *enc) in _dpu_rm_get_connector() argument 868 &enc->dev->mode_config.connector_list; in _dpu_rm_get_connector() 871 if (conn->encoder == enc) in _dpu_rm_get_connector() [all …]
|
/Linux-v4.19/drivers/crypto/cavium/cpt/ |
D | cptvf_algs.c | 100 static inline u32 create_ctx_hdr(struct ablkcipher_request *req, u32 enc, in create_ctx_hdr() argument 118 if (enc) in create_ctx_hdr() 126 fctx->enc.enc_ctrl.e.enc_cipher = ctx->cipher_type; in create_ctx_hdr() 127 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_ctx_hdr() 128 fctx->enc.enc_ctrl.e.iv_source = FROM_DPTR; in create_ctx_hdr() 131 memcpy(fctx->enc.encr_key, ctx->enc_key, ctx->key_len * 2); in create_ctx_hdr() 133 memcpy(fctx->enc.encr_key, ctx->enc_key, ctx->key_len); in create_ctx_hdr() 134 ctrl_flags = (u64 *)&fctx->enc.enc_ctrl.flags; in create_ctx_hdr() 155 static inline u32 create_input_list(struct ablkcipher_request *req, u32 enc, in create_input_list() argument 162 create_ctx_hdr(req, enc, &argcnt); in create_input_list() [all …]
|
/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | radeon_acpi.c | 383 struct radeon_encoder *enc = atif->encoder_for_bl; in radeon_atif_handler() local 385 if (enc) { in radeon_atif_handler() 389 radeon_set_backlight_level(rdev, enc, req.backlight_level); in radeon_atif_handler() 393 struct radeon_encoder_atom_dig *dig = enc->enc_priv; in radeon_atif_handler() 397 struct radeon_encoder_lvds *dig = enc->enc_priv; in radeon_atif_handler() 740 struct radeon_encoder *enc = to_radeon_encoder(tmp); in radeon_acpi_init() local 742 if ((enc->devices & (ATOM_DEVICE_LCD_SUPPORT)) && in radeon_acpi_init() 743 enc->enc_priv) { in radeon_acpi_init() 745 struct radeon_encoder_atom_dig *dig = enc->enc_priv; in radeon_acpi_init() 747 target = enc; in radeon_acpi_init() [all …]
|
/Linux-v4.19/drivers/staging/ks7010/ |
D | ks_wlan_net.c | 773 struct iw_point *enc = &dwrq->encoding; in ks_wlan_set_encode() local 775 int index = (enc->flags & IW_ENCODE_INDEX); in ks_wlan_set_encode() 780 if (enc->length > MAX_KEY_SIZE) in ks_wlan_set_encode() 791 if (enc->length > 0) { in ks_wlan_set_encode() 792 key.len = (enc->length > MIN_KEY_SIZE) ? in ks_wlan_set_encode() 796 wep_on_off = (enc->length > MIN_KEY_SIZE) ? in ks_wlan_set_encode() 799 if (enc->flags & IW_ENCODE_NOKEY) in ks_wlan_set_encode() 805 if (copy_from_user(key.key, enc->pointer, enc->length)) { in ks_wlan_set_encode() 817 if (enc->flags & IW_ENCODE_DISABLED) { in ks_wlan_set_encode() 839 if (enc->flags & IW_ENCODE_MODE) in ks_wlan_set_encode() [all …]
|
/Linux-v4.19/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_wireless.c | 1021 struct iw_point *enc = &data->encoding; in gelic_wl_set_encode() local 1028 flags = enc->flags & IW_ENCODE_FLAGS; in gelic_wl_set_encode() 1029 key_index = enc->flags & IW_ENCODE_INDEX; in gelic_wl_set_encode() 1032 pr_debug("%s: key_len = %d\n", __func__, enc->length); in gelic_wl_set_encode() 1033 pr_debug("%s: flag=%x\n", __func__, enc->flags & IW_ENCODE_FLAGS); in gelic_wl_set_encode() 1073 if (IW_ENCODING_TOKEN_MAX < enc->length) { in gelic_wl_set_encode() 1077 wl->key_len[key_index] = enc->length; in gelic_wl_set_encode() 1078 memcpy(wl->key[key_index], extra, enc->length); in gelic_wl_set_encode() 1095 struct iw_point *enc = &data->encoding; in gelic_wl_get_encode() local 1101 key_index = enc->flags & IW_ENCODE_INDEX; in gelic_wl_get_encode() [all …]
|