Searched refs:cet (Results 1 – 6 of 6) sorted by relevance
/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce-trng.c | 31 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->t_dst[0].addr = cpu_to_le32(dma_dst); in sun8i_ce_trng_read() [all …]
|
D | sun8i-ce-prng.c | 67 struct ce_task *cet; in sun8i_ce_prng_generate() local 120 cet = &chan->tl[0]; in sun8i_ce_prng_generate() 121 memset(cet, 0, sizeof(struct ce_task)); in sun8i_ce_prng_generate() 123 cet->t_id = cpu_to_le32(flow); in sun8i_ce_prng_generate() 125 cet->t_common_ctl = cpu_to_le32(common); in sun8i_ce_prng_generate() 129 cet->t_dlen = cpu_to_le32(todo); in sun8i_ce_prng_generate() 131 cet->t_dlen = cpu_to_le32(todo / 4); in sun8i_ce_prng_generate() 134 cet->t_sym_ctl = cpu_to_le32(sym); in sun8i_ce_prng_generate() 135 cet->t_asym_ctl = 0; in sun8i_ce_prng_generate() 137 cet->t_key = cpu_to_le32(dma_iv); in sun8i_ce_prng_generate() [all …]
|
D | sun8i-ce-cipher.c | 89 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->t_key = cpu_to_le32(rctx->addr_key); in sun8i_ce_cipher_prepare() [all …]
|
D | sun8i-ce-hash.c | 260 struct ce_task *cet; in sun8i_ce_hash_run() local 310 cet = chan->tl; in sun8i_ce_hash_run() 311 memset(cet, 0, sizeof(struct ce_task)); in sun8i_ce_hash_run() 313 cet->t_id = cpu_to_le32(flow); in sun8i_ce_hash_run() 316 cet->t_common_ctl = cpu_to_le32(common); in sun8i_ce_hash_run() 318 cet->t_sym_ctl = 0; in sun8i_ce_hash_run() 319 cet->t_asym_ctl = 0; in sun8i_ce_hash_run() 330 cet->t_src[i].addr = cpu_to_le32(sg_dma_address(sg)); in sun8i_ce_hash_run() 332 cet->t_src[i].len = cpu_to_le32(todo / 4); in sun8i_ce_hash_run() 341 cet->t_dst[0].addr = cpu_to_le32(addr_res); in sun8i_ce_hash_run() [all …]
|
D | sun8i-ce-core.c | 140 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()
|
/drivers/leds/ |
D | leds-lp3952.c | 148 enum lp3952_tt tt, enum lp3952_cet cet) in lp3952_set_pattern_gen_cmd() argument 157 .cet = cet, in lp3952_set_pattern_gen_cmd()
|