Searched refs:geometry (Results 1 – 10 of 10) sorted by relevance
333 if (domain->geometry.force_aperture) { in iommu_dma_init_domain()334 … if (base > domain->geometry.aperture_end || base + size <= domain->geometry.aperture_start) { in iommu_dma_init_domain()339 base_pfn = max_t(unsigned long, base_pfn, domain->geometry.aperture_start >> order); in iommu_dma_init_domain()492 if (domain->geometry.force_aperture) { in iommu_dma_alloc_iova()493 dma_limit = min(dma_limit, (u64)domain->geometry.aperture_end); in iommu_dma_alloc_iova()
1501 rk_domain->domain.geometry.aperture_start = 0; in rk_iommu_domain_alloc()1502 rk_domain->domain.geometry.aperture_end = DMA_BIT_MASK(RK_DMA_BIT_MASK); in rk_iommu_domain_alloc()1503 rk_domain->domain.geometry.force_aperture = true; in rk_iommu_domain_alloc()
2791 struct iommu_domain_geometry *geometry; in iommu_domain_get_attr() local2797 geometry = data; in iommu_domain_get_attr()2798 *geometry = domain->geometry; in iommu_domain_get_attr()
963 struct iommu_domain_geometry *geometry; in rockchip_drm_init_iommu() local975 geometry = &private->domain->geometry; in rockchip_drm_init_iommu()976 start = geometry->aperture_start; in rockchip_drm_init_iommu()977 end = geometry->aperture_end; in rockchip_drm_init_iommu()
394 av1_domain->domain.geometry.aperture_start = 0; in av1_iommu_domain_alloc()395 av1_domain->domain.geometry.aperture_end = DMA_BIT_MASK(32); in av1_iommu_domain_alloc()396 av1_domain->domain.geometry.force_aperture = true; in av1_iommu_domain_alloc()
504 sunxi_domain->domain.geometry.aperture_start = 0; in sunxi_iommu_domain_alloc()505 sunxi_domain->domain.geometry.aperture_end = (1ULL << 32)-1; in sunxi_iommu_domain_alloc()506 sunxi_domain->domain.geometry.force_aperture = true; in sunxi_iommu_domain_alloc()
50 } geometry; member
384 if (domain->geometry.force_aperture) in rga_iommu_dma_alloc_iova()385 dma_limit = min(dma_limit, (u64)domain->geometry.aperture_end); in rga_iommu_dma_alloc_iova()
107 struct iommu_domain_geometry geometry; member