Home
last modified time | relevance | path

Searched refs:geometry (Results 1 – 25 of 38) sorted by relevance

12

/drivers/iommu/
Ds390-iommu.c114 domain->geometry.aperture_start = zdev->start_dma; in s390_iommu_attach_device()
115 domain->geometry.aperture_end = zdev->end_dma; in s390_iommu_attach_device()
116 domain->geometry.force_aperture = true; in s390_iommu_attach_device()
118 } else if (domain->geometry.aperture_start != zdev->start_dma || in s390_iommu_attach_device()
119 domain->geometry.aperture_end != zdev->end_dma) { in s390_iommu_attach_device()
220 if (dma_addr < s390_domain->domain.geometry.aperture_start || in s390_iommu_update_trans()
221 dma_addr + size > s390_domain->domain.geometry.aperture_end) in s390_iommu_update_trans()
293 if (iova < domain->geometry.aperture_start || in s390_iommu_iova_to_phys()
294 iova > domain->geometry.aperture_end) in s390_iommu_iova_to_phys()
Dfsl_pamu_domain.c63 geom = &dma_domain->iommu_domain.geometry; 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()
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()
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()
566 ret = check_size(size, domain->geometry.aperture_start); in fsl_pamu_window_enable()
628 &domain->geometry, win_cnt); in handle_attach_device()
[all …]
Dtegra-gart.c153 domain->geometry.aperture_start = gart_handle->iovmm_base; in gart_iommu_domain_alloc()
154 domain->geometry.aperture_end = gart_handle->iovmm_end - 1; in gart_iommu_domain_alloc()
155 domain->geometry.force_aperture = true; in gart_iommu_domain_alloc()
Ddma-iommu.c319 if (domain->geometry.force_aperture) { in iommu_dma_init_domain()
320 if (base > domain->geometry.aperture_end || in iommu_dma_init_domain()
321 base + size <= domain->geometry.aperture_start) { in iommu_dma_init_domain()
327 domain->geometry.aperture_start >> order); in iommu_dma_init_domain()
410 if (domain->geometry.force_aperture) in iommu_dma_alloc_iova()
411 dma_limit = min(dma_limit, domain->geometry.aperture_end); in iommu_dma_alloc_iova()
Dvirtio-iommu.c48 struct iommu_domain_geometry geometry; member
621 domain->geometry = viommu->geometry; in viommu_domain_finalise()
1064 viommu->geometry = (struct iommu_domain_geometry) { in viommu_probe()
1116 order_base_2(viommu->geometry.aperture_end)); in viommu_probe()
Dmtk_iommu.c376 dom->domain.geometry.aperture_start = 0; in mtk_iommu_domain_alloc()
377 dom->domain.geometry.aperture_end = DMA_BIT_MASK(32); in mtk_iommu_domain_alloc()
378 dom->domain.geometry.force_aperture = true; in mtk_iommu_domain_alloc()
Dmsm_iommu.c326 priv->domain.geometry.aperture_start = 0; in msm_iommu_domain_alloc()
327 priv->domain.geometry.aperture_end = (1ULL << 32) - 1; in msm_iommu_domain_alloc()
328 priv->domain.geometry.force_aperture = true; in msm_iommu_domain_alloc()
Dtegra-smmu.c312 as->domain.geometry.aperture_start = 0; in tegra_smmu_domain_alloc()
313 as->domain.geometry.aperture_end = 0xffffffff; in tegra_smmu_domain_alloc()
314 as->domain.geometry.force_aperture = true; in tegra_smmu_domain_alloc()
Drockchip-iommu.c1013 rk_domain->domain.geometry.aperture_start = 0; in rk_iommu_domain_alloc()
1014 rk_domain->domain.geometry.aperture_end = DMA_BIT_MASK(32); in rk_iommu_domain_alloc()
1015 rk_domain->domain.geometry.force_aperture = true; in rk_iommu_domain_alloc()
Dexynos-iommu.c776 domain->domain.geometry.aperture_start = 0; in exynos_iommu_domain_alloc()
777 domain->domain.geometry.aperture_end = ~0UL; in exynos_iommu_domain_alloc()
778 domain->domain.geometry.force_aperture = true; in exynos_iommu_domain_alloc()
Dqcom_iommu.c255 domain->geometry.aperture_end = (1ULL << pgtbl_cfg.ias) - 1; in qcom_iommu_init_domain()
256 domain->geometry.force_aperture = true; in qcom_iommu_init_domain()
Diommu.c2141 struct iommu_domain_geometry *geometry; in iommu_domain_get_attr() local
2147 geometry = data; in iommu_domain_get_attr()
2148 *geometry = domain->geometry; in iommu_domain_get_attr()
Dipmmu-vmsa.c486 domain->io_domain.geometry.aperture_end = DMA_BIT_MASK(32); in ipmmu_domain_init_context()
487 domain->io_domain.geometry.force_aperture = true; in ipmmu_domain_init_context()
/drivers/gpu/drm/rockchip/
Drockchip_drm_drv.c78 struct iommu_domain_geometry *geometry; in rockchip_drm_init_iommu() local
88 geometry = &private->domain->geometry; in rockchip_drm_init_iommu()
89 start = geometry->aperture_start; in rockchip_drm_init_iommu()
90 end = geometry->aperture_end; in rockchip_drm_init_iommu()
/drivers/gpu/drm/msm/
Dmsm_gem_vma.c134 u64 size = domain->geometry.aperture_end - in msm_gem_address_space_create()
135 domain->geometry.aperture_start; in msm_gem_address_space_create()
145 drm_mm_init(&aspace->mm, (domain->geometry.aperture_start >> PAGE_SHIFT), in msm_gem_address_space_create()
/drivers/staging/media/ipu3/
Dipu3-mmu.c63 struct imgu_mmu_info geometry; member
68 return container_of(info, struct imgu_mmu, geometry); in to_imgu_mmu()
479 mmu->geometry.aperture_start = 0; in imgu_mmu_init()
480 mmu->geometry.aperture_end = DMA_BIT_MASK(IPU3_MMU_ADDRESS_BITS); in imgu_mmu_init()
482 return &mmu->geometry; in imgu_mmu_init()
/drivers/gpu/host1x/
Ddev.c277 struct iommu_domain_geometry *geometry; in host1x_probe() local
306 geometry = &host->domain->geometry; in host1x_probe()
307 start = geometry->aperture_start & mask; in host1x_probe()
308 end = geometry->aperture_end & mask; in host1x_probe()
/drivers/md/
Ddm-core.h102 struct hd_geometry geometry; member
Ddm-ioctl.c962 struct hd_geometry geometry; in dev_set_geometry() local
991 geometry.cylinders = indata[0]; in dev_set_geometry()
992 geometry.heads = indata[1]; in dev_set_geometry()
993 geometry.sectors = indata[2]; in dev_set_geometry()
994 geometry.start = indata[3]; in dev_set_geometry()
996 r = dm_set_geometry(md, &geometry); in dev_set_geometry()
/drivers/staging/media/tegra-vde/
Diommu.c29 end = vde->domain->geometry.aperture_end; in tegra_vde_iommu_map()
/drivers/memstick/core/
Dms_block.h152 struct hd_geometry geometry; member
/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_cfg.c847 config.iommu->geometry.aperture_start = 0x1000; in mdp5_get_config()
848 config.iommu->geometry.aperture_end = 0xffffffff; in mdp5_get_config()
/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_kms.c579 config.iommu->geometry.aperture_start = 0x1000; in mdp4_get_config()
580 config.iommu->geometry.aperture_end = 0xffffffff; in mdp4_get_config()
/drivers/block/
Dvirtio_blk.c394 geometry.cylinders, &geo->cylinders); in virtblk_getgeo()
396 geometry.heads, &geo->heads); in virtblk_getgeo()
398 geometry.sectors, &geo->sectors); in virtblk_getgeo()
/drivers/scsi/megaraid/
Dmbox_defs.h755 uint8_t geometry :4; member

12