Lines Matching refs:aperture_size
1539 if (addr < dma_dom->aperture_size) in dma_ops_unity_map()
1613 unsigned int i, last_page = dom->aperture_size >> PAGE_SHIFT; in dma_ops_reserve_addresses()
1633 int index = dma_dom->aperture_size >> APERTURE_RANGE_SHIFT; in alloc_new_range()
1652 dma_dom->aperture[index]->offset = dma_dom->aperture_size; in alloc_new_range()
1655 unsigned long address = dma_dom->aperture_size; in alloc_new_range()
1671 old_size = dma_dom->aperture_size; in alloc_new_range()
1672 dma_dom->aperture_size += APERTURE_RANGE_SIZE; in alloc_new_range()
1676 dma_dom->aperture_size > MSI_ADDR_BASE_LO) { in alloc_new_range()
1690 && iommu->exclusion_start < dma_dom->aperture_size) { in alloc_new_range()
1707 i < dma_dom->aperture_size; in alloc_new_range()
1739 int max_index = dom->aperture_size >> APERTURE_RANGE_SHIFT; in dma_ops_area_alloc()
1801 WARN_ON((address + (PAGE_SIZE*pages)) > dom->aperture_size); in dma_ops_alloc_addresses()
2604 WARN_ON(address > dom->aperture_size); in dma_ops_domain_map()
2637 if (address >= dom->aperture_size) in dma_ops_domain_unmap()
2695 dma_dom->next_address = dma_dom->aperture_size; in __map_single()
2755 (dma_addr + size > dma_dom->aperture_size)) in __unmap_single()