Lines Matching refs:iommu_size
33 static unsigned long iommu_size; /* size of remapping area bytes */ variable
251 if (bus >= iommu_bus_base && bus < iommu_bus_base + iommu_size) { in pci_free_consistent()
399 dma_addr >= iommu_bus_base + iommu_size) in pci_unmap_single()
420 if (!iommu_size) { in check_iommu_size()
421 iommu_size = aper_size; in check_iommu_size()
423 iommu_size /= 2; in check_iommu_size()
426 a = aper + iommu_size; in check_iommu_size()
427 iommu_size -= round_up(a, LARGE_PAGE_SIZE) - a; in check_iommu_size()
429 if (iommu_size < 64*1024*1024) in check_iommu_size()
431 …"PCI-DMA: Warning: Small IOMMU %luMB. Consider increasing the AGP aperture in BIOS\n",iommu_size>>… in check_iommu_size()
433 return iommu_size; in check_iommu_size()
562 iommu_size = check_iommu_size(info.aper_base, aper_size); in pci_iommu_init()
563 iommu_pages = iommu_size >> PAGE_SHIFT; in pci_iommu_init()
588 agp_memory_reserved = iommu_size; in pci_iommu_init()
590 iommu_size>>20); in pci_iommu_init()
592 iommu_start = aper_size - iommu_size; in pci_iommu_init()
605 clear_kernel_mapping((unsigned long)__va(iommu_bus_base), iommu_size); in pci_iommu_init()
670 iommu_size = arg; in iommu_setup()