Home
last modified time | relevance | path

Searched refs:cet (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-trng.c31 struct ce_task *cet; in sun8i_ce_trng_read() local
64 cet = &chan->tl[0]; in sun8i_ce_trng_read()
65 memset(cet, 0, sizeof(struct ce_task)); in sun8i_ce_trng_read()
67 cet->t_id = cpu_to_le32(flow); in sun8i_ce_trng_read()
69 cet->t_common_ctl = cpu_to_le32(common); in sun8i_ce_trng_read()
73 cet->t_dlen = cpu_to_le32(todo); in sun8i_ce_trng_read()
75 cet->t_dlen = cpu_to_le32(todo / 4); in sun8i_ce_trng_read()
77 cet->t_sym_ctl = 0; in sun8i_ce_trng_read()
78 cet->t_asym_ctl = 0; in sun8i_ce_trng_read()
80 cet->t_dst[0].addr = desc_addr_val_le32(ce, dma_dst); in sun8i_ce_trng_read()
[all …]
H A Dsun8i-ce-prng.c67 struct ce_task *cet; in sun8i_ce_prng_generate() local
118 cet = &chan->tl[0]; in sun8i_ce_prng_generate()
119 memset(cet, 0, sizeof(struct ce_task)); in sun8i_ce_prng_generate()
121 cet->t_id = cpu_to_le32(flow); in sun8i_ce_prng_generate()
123 cet->t_common_ctl = cpu_to_le32(common); in sun8i_ce_prng_generate()
127 cet->t_dlen = cpu_to_le32(todo); in sun8i_ce_prng_generate()
129 cet->t_dlen = cpu_to_le32(todo / 4); in sun8i_ce_prng_generate()
132 cet->t_sym_ctl = cpu_to_le32(sym); in sun8i_ce_prng_generate()
133 cet->t_asym_ctl = 0; in sun8i_ce_prng_generate()
135 cet->t_key = desc_addr_val_le32(ce, dma_iv); in sun8i_ce_prng_generate()
[all …]
H A Dsun8i-ce-cipher.c135 struct ce_task *cet) in sun8i_ce_cipher_prepare() argument
164 memset(cet, 0, sizeof(struct ce_task)); in sun8i_ce_cipher_prepare()
166 cet->t_id = cpu_to_le32(rctx->flow); in sun8i_ce_cipher_prepare()
169 cet->t_common_ctl = cpu_to_le32(common); in sun8i_ce_cipher_prepare()
172 cet->t_dlen = cpu_to_le32(areq->cryptlen); in sun8i_ce_cipher_prepare()
174 cet->t_dlen = cpu_to_le32(areq->cryptlen / 4); in sun8i_ce_cipher_prepare()
190 cet->t_sym_ctl = cpu_to_le32(sym); in sun8i_ce_cipher_prepare()
191 cet->t_asym_ctl = 0; in sun8i_ce_cipher_prepare()
199 cet->t_key = desc_addr_val_le32(ce, rctx->addr_key); in sun8i_ce_cipher_prepare()
216 cet->t_iv = desc_addr_val_le32(ce, rctx->addr_iv); in sun8i_ce_cipher_prepare()
[all …]
H A Dsun8i-ce-hash.c316 static int sun8i_ce_hash_prepare(struct ahash_request *areq, struct ce_task *cet) in sun8i_ce_hash_prepare() argument
350 memset(cet, 0, sizeof(struct ce_task)); in sun8i_ce_hash_prepare()
352 cet->t_id = cpu_to_le32(rctx->flow); in sun8i_ce_hash_prepare()
355 cet->t_common_ctl = cpu_to_le32(common); in sun8i_ce_hash_prepare()
357 cet->t_sym_ctl = 0; in sun8i_ce_hash_prepare()
358 cet->t_asym_ctl = 0; in sun8i_ce_hash_prepare()
370 cet->t_src[i].addr = desc_addr_val_le32(ce, sg_dma_address(sg)); in sun8i_ce_hash_prepare()
372 cet->t_src[i].len = cpu_to_le32(todo / 4); in sun8i_ce_hash_prepare()
384 cet->t_dst[0].addr = desc_addr_val_le32(ce, rctx->addr_res); in sun8i_ce_hash_prepare()
385 cet->t_dst[0].len = cpu_to_le32(rctx->result_len / 4); in sun8i_ce_hash_prepare()
[all …]
/linux/drivers/leds/
H A Dleds-lp3952.c148 enum lp3952_tt tt, enum lp3952_cet cet) in lp3952_set_pattern_gen_cmd() argument
157 .cet = cet, in lp3952_set_pattern_gen_cmd()
/linux/lib/zstd/common/
H A Dportability_macros.h108 # if __has_include(<cet.h>)
/linux/include/linux/
H A Dleds-lp3952.h103 u16 cet:4; member
/linux/arch/x86/kernel/
H A DMakefile169 obj-$(CONFIG_X86_CET) += cet.o
/linux/arch/x86/kvm/
H A Demulate.c1493 u64 efer = 0, cet = 0, ssp = 0; in emulator_is_ssp_invalid() local
1505 if (ctxt->ops->get_msr(ctxt, MSR_IA32_X_CET, &cet)) in emulator_is_ssp_invalid()
1508 if (!(cet & CET_SHSTK_EN)) in emulator_is_ssp_invalid()