Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kernel/
Damd_gart_64.c46 static unsigned long iommu_size; /* size of remapping area bytes */ variable
262 dma_addr >= iommu_bus_base + iommu_size) in gart_unmap_page()
500 if (!iommu_size) { in check_iommu_size()
501 iommu_size = aper_size; in check_iommu_size()
503 iommu_size /= 2; in check_iommu_size()
506 a = aper + iommu_size; in check_iommu_size()
507 iommu_size -= round_up(a, PMD_PAGE_SIZE) - a; in check_iommu_size()
509 if (iommu_size < 64*1024*1024) { in check_iommu_size()
512 iommu_size >> 20); in check_iommu_size()
515 return iommu_size; in check_iommu_size()
[all …]
/linux-6.1.9/arch/s390/pci/
Dpci_dma.c582 zdev->iommu_size = min3(s390_iommu_aperture, in zpci_dma_init_device()
585 zdev->end_dma = zdev->start_dma + zdev->iommu_size - 1; in zpci_dma_init_device()
586 zdev->iommu_pages = zdev->iommu_size >> PAGE_SHIFT; in zpci_dma_init_device()
/linux-6.1.9/arch/s390/include/asm/
Dpci.h164 unsigned long iommu_size; member