• Home
  • Raw
  • Download

Lines Matching full:geometry

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