Home
last modified time | relevance | path

Searched refs:cet (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-prng.c69 struct ce_task *cet; in sun8i_ce_prng_generate() local
122 cet = &chan->tl[0]; in sun8i_ce_prng_generate()
123 memset(cet, 0, sizeof(struct ce_task)); in sun8i_ce_prng_generate()
125 cet->t_id = cpu_to_le32(flow); in sun8i_ce_prng_generate()
127 cet->t_common_ctl = cpu_to_le32(common); in sun8i_ce_prng_generate()
131 cet->t_dlen = cpu_to_le32(todo); in sun8i_ce_prng_generate()
133 cet->t_dlen = cpu_to_le32(todo / 4); in sun8i_ce_prng_generate()
136 cet->t_sym_ctl = cpu_to_le32(sym); in sun8i_ce_prng_generate()
137 cet->t_asym_ctl = 0; in sun8i_ce_prng_generate()
139 cet in sun8i_ce_prng_generate()
[all...]
H A Dsun8i-ce-trng.c31 struct ce_task *cet; in sun8i_ce_trng_read() local
66 cet = &chan->tl[0]; in sun8i_ce_trng_read()
67 memset(cet, 0, sizeof(struct ce_task)); in sun8i_ce_trng_read()
69 cet->t_id = cpu_to_le32(flow); in sun8i_ce_trng_read()
71 cet->t_common_ctl = cpu_to_le32(common); in sun8i_ce_trng_read()
75 cet->t_dlen = cpu_to_le32(todo); in sun8i_ce_trng_read()
77 cet->t_dlen = cpu_to_le32(todo / 4); in sun8i_ce_trng_read()
79 cet->t_sym_ctl = 0; in sun8i_ce_trng_read()
80 cet->t_asym_ctl = 0; in sun8i_ce_trng_read()
82 cet in sun8i_ce_trng_read()
[all...]
H A Dsun8i-ce-cipher.c89 struct ce_task *cet; in sun8i_ce_cipher_prepare() local
114 cet = chan->tl; in sun8i_ce_cipher_prepare()
115 memset(cet, 0, sizeof(struct ce_task)); in sun8i_ce_cipher_prepare()
117 cet->t_id = cpu_to_le32(flow); in sun8i_ce_cipher_prepare()
120 cet->t_common_ctl = cpu_to_le32(common); in sun8i_ce_cipher_prepare()
123 cet->t_dlen = cpu_to_le32(areq->cryptlen); in sun8i_ce_cipher_prepare()
125 cet->t_dlen = cpu_to_le32(areq->cryptlen / 4); in sun8i_ce_cipher_prepare()
141 cet->t_sym_ctl = cpu_to_le32(sym); in sun8i_ce_cipher_prepare()
142 cet->t_asym_ctl = 0; in sun8i_ce_cipher_prepare()
150 cet in sun8i_ce_cipher_prepare()
298 struct ce_task *cet; sun8i_ce_cipher_unprepare() local
[all...]
H A Dsun8i-ce-hash.c259 struct ce_task *cet; in sun8i_ce_hash_run() local
309 cet = chan->tl; in sun8i_ce_hash_run()
310 memset(cet, 0, sizeof(struct ce_task)); in sun8i_ce_hash_run()
312 cet->t_id = cpu_to_le32(flow); in sun8i_ce_hash_run()
315 cet->t_common_ctl = cpu_to_le32(common); in sun8i_ce_hash_run()
317 cet->t_sym_ctl = 0; in sun8i_ce_hash_run()
318 cet->t_asym_ctl = 0; in sun8i_ce_hash_run()
329 cet->t_src[i].addr = cpu_to_le32(sg_dma_address(sg)); in sun8i_ce_hash_run()
331 cet->t_src[i].len = cpu_to_le32(todo / 4); in sun8i_ce_hash_run()
340 cet in sun8i_ce_hash_run()
[all...]
H A Dsun8i-ce-core.c140 struct ce_task *cet = ce->chanlist[flow].tl; in sun8i_ce_run_task() local
185 cet, sizeof(struct ce_task), false); in sun8i_ce_run_task()
203 cet, sizeof(struct ce_task), false); in sun8i_ce_run_task()
219 cet, sizeof(struct ce_task), false); in sun8i_ce_run_task()
/kernel/linux/linux-6.6/drivers/crypto/allwinner/sun8i-ce/
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 in sun8i_ce_prng_generate()
[all...]
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 in sun8i_ce_trng_read()
[all...]
H A Dsun8i-ce-cipher.c130 struct ce_task *cet; in sun8i_ce_cipher_prepare() local
157 cet = chan->tl; in sun8i_ce_cipher_prepare()
158 memset(cet, 0, sizeof(struct ce_task)); in sun8i_ce_cipher_prepare()
160 cet->t_id = cpu_to_le32(flow); in sun8i_ce_cipher_prepare()
163 cet->t_common_ctl = cpu_to_le32(common); in sun8i_ce_cipher_prepare()
166 cet->t_dlen = cpu_to_le32(areq->cryptlen); in sun8i_ce_cipher_prepare()
168 cet->t_dlen = cpu_to_le32(areq->cryptlen / 4); in sun8i_ce_cipher_prepare()
184 cet->t_sym_ctl = cpu_to_le32(sym); in sun8i_ce_cipher_prepare()
185 cet->t_asym_ctl = 0; in sun8i_ce_cipher_prepare()
193 cet in sun8i_ce_cipher_prepare()
327 struct ce_task *cet; sun8i_ce_cipher_unprepare() local
[all...]
H A Dsun8i-ce-hash.c339 struct ce_task *cet; in sun8i_ce_hash_run() local
386 cet = chan->tl; in sun8i_ce_hash_run()
387 memset(cet, 0, sizeof(struct ce_task)); in sun8i_ce_hash_run()
389 cet->t_id = cpu_to_le32(flow); in sun8i_ce_hash_run()
392 cet->t_common_ctl = cpu_to_le32(common); in sun8i_ce_hash_run()
394 cet->t_sym_ctl = 0; in sun8i_ce_hash_run()
395 cet->t_asym_ctl = 0; in sun8i_ce_hash_run()
406 cet->t_src[i].addr = cpu_to_le32(sg_dma_address(sg)); in sun8i_ce_hash_run()
408 cet->t_src[i].len = cpu_to_le32(todo / 4); in sun8i_ce_hash_run()
417 cet in sun8i_ce_hash_run()
[all...]
H A Dsun8i-ce-core.c162 struct ce_task *cet = ce->chanlist[flow].tl; in sun8i_ce_run_task() local
207 cet, sizeof(struct ce_task), false); in sun8i_ce_run_task()
226 cet, sizeof(struct ce_task), false); in sun8i_ce_run_task()
242 cet, sizeof(struct ce_task), false); in sun8i_ce_run_task()
/kernel/linux/linux-5.10/drivers/leds/
H A Dleds-lp3952.c148 enum lp3952_tt tt, enum lp3952_cet cet) in lp3952_set_pattern_gen_cmd()
157 .cet = cet, in lp3952_set_pattern_gen_cmd()
146 lp3952_set_pattern_gen_cmd(struct lp3952_led_array *priv, u8 cmd_index, u8 r, u8 g, u8 b, enum lp3952_tt tt, enum lp3952_cet cet) lp3952_set_pattern_gen_cmd() argument
/kernel/linux/linux-6.6/drivers/leds/
H A Dleds-lp3952.c148 enum lp3952_tt tt, enum lp3952_cet cet) in lp3952_set_pattern_gen_cmd()
157 .cet = cet, in lp3952_set_pattern_gen_cmd()
146 lp3952_set_pattern_gen_cmd(struct lp3952_led_array *priv, u8 cmd_index, u8 r, u8 g, u8 b, enum lp3952_tt tt, enum lp3952_cet cet) lp3952_set_pattern_gen_cmd() argument
/kernel/linux/linux-5.10/include/linux/
H A Dleds-lp3952.h103 u16 cet:4; member
/kernel/linux/linux-6.6/include/linux/
H A Dleds-lp3952.h103 u16 cet:4; member
/kernel/linux/linux-6.6/arch/x86/kernel/
H A DMakefile148 obj-$(CONFIG_X86_CET) += cet.o

Completed in 8 milliseconds