Searched refs:dma_addr_base (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/arch/s390/pci/ |
D | pci_dma.c | 443 dma_addr_t dma_addr_base, dma_addr; in __s390_dma_map_sg() local 449 dma_addr_base = dma_alloc_address(dev, nr_pages); in __s390_dma_map_sg() 450 if (dma_addr_base == DMA_MAPPING_ERROR) in __s390_dma_map_sg() 453 dma_addr = dma_addr_base; in __s390_dma_map_sg() 457 for (s = sg; dma_addr < dma_addr_base + size; s = sg_next(s)) { in __s390_dma_map_sg() 466 ret = __dma_purge_tlb(zdev, dma_addr_base, size, flags); in __s390_dma_map_sg() 470 *handle = dma_addr_base; in __s390_dma_map_sg() 476 dma_update_trans(zdev, 0, dma_addr_base, dma_addr - dma_addr_base, in __s390_dma_map_sg() 478 dma_free_address(dev, dma_addr_base, nr_pages); in __s390_dma_map_sg()
|