Searched refs:addr_res (Results 1 – 3 of 3) sorted by relevance
/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 536 addr_res = dma_map_single(ss->dev, result, digestsize, DMA_FROM_DEVICE); in sun8i_ss_hash_run() 537 if (dma_mapping_error(ss->dev, addr_res)) { in sun8i_ss_hash_run() 557 rctx->t_dst[i].addr = addr_res; in sun8i_ss_hash_run() 596 rctx->t_dst[0].addr = addr_res; in sun8i_ss_hash_run() 609 addr_res = dma_map_single(ss->dev, result, digestsize, DMA_FROM_DEVICE); in sun8i_ss_hash_run() 610 if (dma_mapping_error(ss->dev, addr_res)) { in sun8i_ss_hash_run() 629 rctx->t_dst[0].addr = addr_res; in sun8i_ss_hash_run() 656 rctx->t_dst[i].addr = addr_res; in sun8i_ss_hash_run() 692 dma_unmap_single(ss->dev, addr_res, digestsize, DMA_FROM_DEVICE); in sun8i_ss_hash_run()
|
/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce-hash.c | 345 dma_addr_t addr_res, addr_pad; in sun8i_ce_hash_run() local 410 addr_res = dma_map_single(ce->dev, result, digestsize, DMA_FROM_DEVICE); in sun8i_ce_hash_run() 411 cet->t_dst[0].addr = cpu_to_le32(addr_res); in sun8i_ce_hash_run() 413 if (dma_mapping_error(ce->dev, addr_res)) { in sun8i_ce_hash_run() 461 dma_unmap_single(ce->dev, addr_res, digestsize, DMA_FROM_DEVICE); in sun8i_ce_hash_run()
|
/drivers/net/ethernet/davicom/ |
D | dm9000.c | 116 struct resource *addr_res; /* resources found */ member 1497 db->addr_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in dm9000_probe() 1500 if (!db->addr_res || !db->data_res) { in dm9000_probe() 1502 db->addr_res, db->data_res); in dm9000_probe() 1535 iosize = resource_size(db->addr_res); in dm9000_probe() 1536 db->addr_req = request_mem_region(db->addr_res->start, iosize, in dm9000_probe() 1545 db->io_addr = ioremap(db->addr_res->start, iosize); in dm9000_probe()
|