Home
last modified time | relevance | path

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

/drivers/crypto/allwinner/sun8i-ce/
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 …]
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()
136 cet->t_iv = desc_addr_val_le32(ce, dma_iv); in sun8i_ce_prng_generate()
[all …]
A Dsun8i-ce-cipher.c144 struct ce_task *cet; in sun8i_ce_cipher_prepare() local
170 cet = chan->tl; in sun8i_ce_cipher_prepare()
171 memset(cet, 0, sizeof(struct ce_task)); in sun8i_ce_cipher_prepare()
173 cet->t_id = cpu_to_le32(flow); in sun8i_ce_cipher_prepare()
176 cet->t_common_ctl = cpu_to_le32(common); in sun8i_ce_cipher_prepare()
179 cet->t_dlen = cpu_to_le32(areq->cryptlen); in sun8i_ce_cipher_prepare()
197 cet->t_sym_ctl = cpu_to_le32(sym); in sun8i_ce_cipher_prepare()
198 cet->t_asym_ctl = 0; in sun8i_ce_cipher_prepare()
327 struct ce_task *cet; in sun8i_ce_cipher_unprepare() local
335 cet = chan->tl; in sun8i_ce_cipher_unprepare()
[all …]
A Dsun8i-ce-hash.c328 struct ce_task *cet; in sun8i_ce_hash_run() local
374 cet = chan->tl; in sun8i_ce_hash_run()
375 memset(cet, 0, sizeof(struct ce_task)); in sun8i_ce_hash_run()
377 cet->t_id = cpu_to_le32(flow); in sun8i_ce_hash_run()
380 cet->t_common_ctl = cpu_to_le32(common); in sun8i_ce_hash_run()
382 cet->t_sym_ctl = 0; in sun8i_ce_hash_run()
383 cet->t_asym_ctl = 0; in sun8i_ce_hash_run()
396 cet->t_src[i].len = cpu_to_le32(todo / 4); in sun8i_ce_hash_run()
406 cet->t_dst[0].len = cpu_to_le32(digestsize / 4); in sun8i_ce_hash_run()
437 cet->t_src[i].len = cpu_to_le32(j); in sun8i_ce_hash_run()
[all …]
A Dsun8i-ce-core.c186 struct ce_task *cet = ce->chanlist[flow].tl; in sun8i_ce_run_task() local
231 cet, sizeof(struct ce_task), false); in sun8i_ce_run_task()
250 cet, sizeof(struct ce_task), false); in sun8i_ce_run_task()
266 cet, sizeof(struct ce_task), false); in sun8i_ce_run_task()
/drivers/leds/
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()

Completed in 12 milliseconds