Lines Matching refs:cet
339 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 = desc_addr_val_le32(ce, 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->t_dst[0].addr = desc_addr_val_le32(ce, addr_res); in sun8i_ce_hash_run()
418 cet->t_dst[0].len = cpu_to_le32(digestsize / 4); in sun8i_ce_hash_run()
448 cet->t_src[i].addr = desc_addr_val_le32(ce, addr_pad); in sun8i_ce_hash_run()
449 cet->t_src[i].len = cpu_to_le32(j); in sun8i_ce_hash_run()
457 cet->t_dlen = cpu_to_le32((areq->nbytes + j * 4) * 8); in sun8i_ce_hash_run()
459 cet->t_dlen = cpu_to_le32(areq->nbytes / 4 + j); in sun8i_ce_hash_run()