Home
last modified time | relevance | path

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

/linux-6.6.21/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_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.6.21/arch/s390/pci/
Dpci_dma.c613 zdev->iommu_size = min3(s390_iommu_aperture, in zpci_dma_init_device()
616 zdev->end_dma = zdev->start_dma + zdev->iommu_size - 1; in zpci_dma_init_device()
617 zdev->iommu_pages = zdev->iommu_size >> PAGE_SHIFT; in zpci_dma_init_device()
/linux-6.6.21/arch/s390/include/asm/
Dpci.h165 unsigned long iommu_size; member