Home
last modified time | relevance | path

Searched refs:dma_addr_base (Results 1 – 1 of 1) sorted by relevance

/arch/s390/pci/
Dpci_dma.c427 dma_addr_t dma_addr_base, dma_addr; in __s390_dma_map_sg() local
433 dma_addr_base = dma_alloc_address(dev, nr_pages); in __s390_dma_map_sg()
434 if (dma_addr_base == S390_MAPPING_ERROR) in __s390_dma_map_sg()
437 dma_addr = dma_addr_base; in __s390_dma_map_sg()
441 for (s = sg; dma_addr < dma_addr_base + size; s = sg_next(s)) { in __s390_dma_map_sg()
450 ret = __dma_purge_tlb(zdev, dma_addr_base, size, flags); in __s390_dma_map_sg()
454 *handle = dma_addr_base; in __s390_dma_map_sg()
460 dma_update_trans(zdev, 0, dma_addr_base, dma_addr - dma_addr_base, in __s390_dma_map_sg()
462 dma_free_address(dev, dma_addr_base, nr_pages); in __s390_dma_map_sg()