Searched refs:addr_pad (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce-hash.c | 274 dma_addr_t addr_res, addr_pad; in sun8i_ce_hash_run() local 388 addr_pad = dma_map_single(ce->dev, buf, j * 4, DMA_TO_DEVICE); in sun8i_ce_hash_run() 389 cet->t_src[i].addr = cpu_to_le32(addr_pad); in sun8i_ce_hash_run() 391 if (dma_mapping_error(ce->dev, addr_pad)) { in sun8i_ce_hash_run() 406 dma_unmap_single(ce->dev, addr_pad, j * 4, DMA_TO_DEVICE); in sun8i_ce_hash_run()
|
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss-hash.c | 333 dma_addr_t addr_res, addr_pad; in sun8i_ss_hash_run() local 422 addr_pad = dma_map_single(ss->dev, pad, j * 4, DMA_TO_DEVICE); in sun8i_ss_hash_run() 423 rctx->t_src[i].addr = addr_pad; in sun8i_ss_hash_run() 427 if (dma_mapping_error(ss->dev, addr_pad)) { in sun8i_ss_hash_run() 435 dma_unmap_single(ss->dev, addr_pad, j * 4, DMA_TO_DEVICE); in sun8i_ss_hash_run()
|