Lines Matching refs:geometry
63 geom = &dma_domain->iommu_domain.geometry;
66 pr_debug("Number of windows/geometry not configured for the domain\n");
121 phys_addr_t wnd_addr = dma_domain->iommu_domain.geometry.aperture_start;
170 wnd_addr = dma_domain->iommu_domain.geometry.aperture_start;
217 /* Set the geometry parameters for a LIODN */
230 * Configure the omi_index at the geometry setup time.
384 if (iova < domain->geometry.aperture_start ||
385 iova > domain->geometry.aperture_end)
421 /* defaul geometry 64 GB i.e. maximum system address */
422 dma_domain->iommu_domain. geometry.aperture_start = 0;
423 dma_domain->iommu_domain.geometry.aperture_end = (1ULL << 36) - 1;
424 dma_domain->iommu_domain.geometry.force_aperture = true;
429 /* Configure geometry settings for all LIODNs associated with domain */
566 ret = check_size(size, domain->geometry.aperture_start);
596 * Attach the LIODN to the DMA domain and configure the geometry
620 * Check if geometry has already been configured
621 * for the domain. If yes, set the geometry for
628 &domain->geometry, win_cnt);
724 * Sanity check the geometry size. Also, we do not support
725 * DMA outside of the geometry.
729 pr_debug("Invalid PAMU geometry attributes\n");
735 pr_debug("Can't set geometry attributes as domain is active\n");
740 /* Copy the domain geometry information */
741 memcpy(&domain->geometry, geom_attr,
814 pr_debug("Can't set geometry attributes as domain is active\n");
819 /* Ensure that the geometry has been set for the domain */
821 pr_debug("Please configure geometry before setting the number of windows\n");
836 ret = pamu_set_domain_geometry(dma_domain, &domain->geometry,