Searched refs:iova_base (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/iommu/ |
| H A D | mtk_iommu.c | 172 dma_addr_t iova_base; member 177 {.iova_base = 0, .size = SZ_4G}, 181 { .iova_base = 0x0, .size = SZ_4G}, /* disp: 0 ~ 4G */ 183 { .iova_base = SZ_4G, .size = SZ_4G}, /* vdec: 4G ~ 8G */ 184 { .iova_base = SZ_4G * 2, .size = SZ_4G}, /* CAM/MDP: 8G ~ 12G */ 185 { .iova_base = 0x240000000ULL, .size = 0x4000000}, /* CCU0 */ 186 { .iova_base = 0x244000000ULL, .size = 0x4000000}, /* CCU1 */ 342 if (dma_rgn->dma_start == rgn->iova_base && in mtk_iommu_get_domain_id() 343 dma_end == rgn->iova_base + rgn->size - 1) in mtk_iommu_get_domain_id() 346 if (dma_rgn->dma_start >= rgn->iova_base && in mtk_iommu_get_domain_id() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/char/agp/ |
| H A D | hp-agp.c | 36 #define HP_ZX1_IOVA_TO_PDIR(va) ((va - hp_private.iova_base) >> hp_private.io_tlb_shift) 63 u64 iova_base; member 102 hp->iova_base = readq(hp->ioc_regs+HP_ZX1_IBASE) & ~0x1; in hp_zx1_ioc_shared() 103 hp->gart_base = hp->iova_base + HP_ZX1_IOVA_SIZE - HP_ZX1_GART_SIZE; in hp_zx1_ioc_shared() 149 hp->iova_base = HP_ZX1_IOVA_BASE; in hp_zx1_ioc_owner() 151 hp->gart_base = hp->iova_base + HP_ZX1_IOVA_SIZE - hp->gart_size; in hp_zx1_ioc_owner() 253 writel(hp->iova_base|1, hp->ioc_regs+HP_ZX1_IBASE); in hp_zx1_configure() 255 writel(hp->iova_base|ilog2(HP_ZX1_IOVA_SIZE), hp->ioc_regs+HP_ZX1_PCOM); in hp_zx1_configure()
|
| H A D | parisc-agp.c | 241 u64 iova_base, *io_pdir, io_tlb_ps; in agp_ioc_init() local 264 iova_base = readq(info->ioc_regs+IOC_IBASE) & ~0x1; in agp_ioc_init() 265 info->gart_base = iova_base + PLUTO_IOVA_SIZE - PLUTO_GART_SIZE; in agp_ioc_init()
|
| /OK3568_Linux_fs/kernel/arch/arm/mm/ |
| H A D | dma-mapping.c | 1583 dma_addr_t iova, iova_base; in __map_sg_chunk() local 1592 iova_base = iova = __alloc_iova(mapping, size); in __map_sg_chunk() 1611 *handle = iova_base; in __map_sg_chunk() 1615 iommu_unmap(mapping->domain, iova_base, count * PAGE_SIZE); in __map_sg_chunk() 1616 __free_iova(mapping, iova_base, size); in __map_sg_chunk()
|