Lines Matching refs:aperture_size
290 if (addr < dma_dom->aperture_size) in alloc_unity_mapping()
1423 unsigned int i, last_page = dom->aperture_size >> PAGE_SHIFT; in dma_ops_reserve_addresses()
1443 int index = dma_dom->aperture_size >> APERTURE_RANGE_SHIFT; in alloc_new_range()
1462 dma_dom->aperture[index]->offset = dma_dom->aperture_size; in alloc_new_range()
1465 unsigned long address = dma_dom->aperture_size; in alloc_new_range()
1481 old_size = dma_dom->aperture_size; in alloc_new_range()
1482 dma_dom->aperture_size += APERTURE_RANGE_SIZE; in alloc_new_range()
1486 dma_dom->aperture_size > MSI_ADDR_BASE_LO) { in alloc_new_range()
1500 && iommu->exclusion_start < dma_dom->aperture_size) { in alloc_new_range()
1517 i < dma_dom->aperture_size; in alloc_new_range()
1550 int max_index = dom->aperture_size >> APERTURE_RANGE_SHIFT; in dma_ops_area_alloc()
1614 WARN_ON((address + (PAGE_SIZE*pages)) > dom->aperture_size); in dma_ops_alloc_addresses()
2379 WARN_ON(address > dom->aperture_size); in dma_ops_domain_map()
2412 if (address >= dom->aperture_size) in dma_ops_domain_unmap()
2470 dma_dom->next_address = dma_dom->aperture_size; in __map_single()
2530 (dma_addr + size > dma_dom->aperture_size)) in __unmap_single()