Searched refs:addr_pad (Results 1 – 2 of 2) sorted by relevance
/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce-hash.c | 345 dma_addr_t addr_res, addr_pad; in sun8i_ce_hash_run() local 441 addr_pad = dma_map_single(ce->dev, buf, j * 4, DMA_TO_DEVICE); in sun8i_ce_hash_run() 442 cet->t_src[i].addr = cpu_to_le32(addr_pad); in sun8i_ce_hash_run() 444 if (dma_mapping_error(ce->dev, addr_pad)) { in sun8i_ce_hash_run() 459 dma_unmap_single(ce->dev, addr_pad, j * 4, DMA_TO_DEVICE); in sun8i_ce_hash_run()
|
/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss-hash.c | 498 dma_addr_t addr_res, addr_pad, addr_xpad; in sun8i_ss_hash_run() local 648 addr_pad = dma_map_single(ss->dev, pad, j * 4, DMA_TO_DEVICE); in sun8i_ss_hash_run() 649 if (dma_mapping_error(ss->dev, addr_pad)) { in sun8i_ss_hash_run() 654 rctx->t_src[i].addr = addr_pad; in sun8i_ss_hash_run() 686 dma_unmap_single(ss->dev, addr_pad, j * 4, DMA_TO_DEVICE); in sun8i_ss_hash_run()
|