Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kernel/
Damd_gart_64.c48 static unsigned long iommu_size; /* size of remapping area bytes */ variable
264 dma_addr >= iommu_bus_base + iommu_size) in gart_unmap_page()
502 if (!iommu_size) { in check_iommu_size()
503 iommu_size = aper_size; in check_iommu_size()
505 iommu_size /= 2; in check_iommu_size()
508 a = aper + iommu_size; in check_iommu_size()
509 iommu_size -= round_up(a, PMD_PAGE_SIZE) - a; in check_iommu_size()
511 if (iommu_size < 64*1024*1024) { in check_iommu_size()
514 iommu_size >> 20); in check_iommu_size()
517 return iommu_size; in check_iommu_size()
[all …]
/kernel/linux/linux-5.10/arch/s390/pci/
Dpci_dma.c575 zdev->iommu_size = min3((u64) high_memory, in zpci_dma_init_device()
578 zdev->end_dma = zdev->start_dma + zdev->iommu_size - 1; in zpci_dma_init_device()
579 zdev->iommu_pages = zdev->iommu_size >> PAGE_SHIFT; in zpci_dma_init_device()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dpci.h160 unsigned long iommu_size; member