Lines Matching refs:aperture_size
1504 if (addr < dma_dom->aperture_size) in dma_ops_unity_map()
1578 unsigned int i, last_page = dom->aperture_size >> PAGE_SHIFT; in dma_ops_reserve_addresses()
1598 int index = dma_dom->aperture_size >> APERTURE_RANGE_SHIFT; in alloc_new_range()
1617 dma_dom->aperture[index]->offset = dma_dom->aperture_size; in alloc_new_range()
1620 unsigned long address = dma_dom->aperture_size; in alloc_new_range()
1636 old_size = dma_dom->aperture_size; in alloc_new_range()
1637 dma_dom->aperture_size += APERTURE_RANGE_SIZE; in alloc_new_range()
1641 dma_dom->aperture_size > MSI_ADDR_BASE_LO) { in alloc_new_range()
1655 && iommu->exclusion_start < dma_dom->aperture_size) { in alloc_new_range()
1672 i < dma_dom->aperture_size; in alloc_new_range()
1705 int max_index = dom->aperture_size >> APERTURE_RANGE_SHIFT; in dma_ops_area_alloc()
1767 WARN_ON((address + (PAGE_SIZE*pages)) > dom->aperture_size); in dma_ops_alloc_addresses()
2586 WARN_ON(address > dom->aperture_size); in dma_ops_domain_map()
2619 if (address >= dom->aperture_size) in dma_ops_domain_unmap()
2677 dma_dom->next_address = dma_dom->aperture_size; in __map_single()
2737 (dma_addr + size > dma_dom->aperture_size)) in __unmap_single()