/drivers/iommu/ |
D | s390-iommu.c | 114 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()
|
D | fsl_pamu_domain.c | 63 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 …]
|
D | tegra-gart.c | 153 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()
|
D | dma-iommu.c | 319 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()
|
D | virtio-iommu.c | 48 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()
|
D | mtk_iommu.c | 376 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()
|
D | msm_iommu.c | 326 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()
|
D | tegra-smmu.c | 312 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()
|
D | rockchip-iommu.c | 1013 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()
|
D | exynos-iommu.c | 776 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()
|
D | qcom_iommu.c | 255 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()
|
D | iommu.c | 2141 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()
|
D | ipmmu-vmsa.c | 486 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/ |
D | rockchip_drm_drv.c | 78 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/ |
D | msm_gem_vma.c | 134 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/ |
D | ipu3-mmu.c | 63 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/ |
D | dev.c | 277 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/ |
D | dm-core.h | 102 struct hd_geometry geometry; member
|
D | dm-ioctl.c | 962 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/ |
D | iommu.c | 29 end = vde->domain->geometry.aperture_end; in tegra_vde_iommu_map()
|
/drivers/memstick/core/ |
D | ms_block.h | 152 struct hd_geometry geometry; member
|
/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_cfg.c | 847 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/ |
D | mdp4_kms.c | 579 config.iommu->geometry.aperture_start = 0x1000; in mdp4_get_config() 580 config.iommu->geometry.aperture_end = 0xffffffff; in mdp4_get_config()
|
/drivers/block/ |
D | virtio_blk.c | 394 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/ |
D | mbox_defs.h | 755 uint8_t geometry :4; member
|