Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/kernel/
Damd_gart_64.c48 static unsigned long iommu_size; /* size of remapping area bytes */ variable
265 dma_addr >= iommu_bus_base + iommu_size) in gart_unmap_page()
503 if (!iommu_size) { in check_iommu_size()
504 iommu_size = aper_size; in check_iommu_size()
506 iommu_size /= 2; in check_iommu_size()
509 a = aper + iommu_size; in check_iommu_size()
510 iommu_size -= round_up(a, PMD_PAGE_SIZE) - a; in check_iommu_size()
512 if (iommu_size < 64*1024*1024) { in check_iommu_size()
516 iommu_size >> 20); in check_iommu_size()
519 return iommu_size; in check_iommu_size()
[all …]
/Linux-v5.4/arch/s390/pci/
Dpci_dma.c577 zdev->iommu_size = min3((u64) high_memory, in zpci_dma_init_device()
580 zdev->end_dma = zdev->start_dma + zdev->iommu_size - 1; in zpci_dma_init_device()
581 zdev->iommu_pages = zdev->iommu_size >> PAGE_SHIFT; in zpci_dma_init_device()
/Linux-v5.4/arch/s390/include/asm/
Dpci.h133 unsigned long iommu_size; member