Lines Matching refs:cet
259 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->t_dst[0].addr = cpu_to_le32(addr_res); in sun8i_ce_hash_run()
341 cet->t_dst[0].len = cpu_to_le32(digestsize / 4); in sun8i_ce_hash_run()
390 cet->t_src[i].addr = cpu_to_le32(addr_pad); in sun8i_ce_hash_run()
391 cet->t_src[i].len = cpu_to_le32(j); in sun8i_ce_hash_run()
399 cet->t_dlen = cpu_to_le32((areq->nbytes + j * 4) * 8); in sun8i_ce_hash_run()
401 cet->t_dlen = cpu_to_le32(areq->nbytes / 4 + j); in sun8i_ce_hash_run()