Home
last modified time | relevance | path

Searched refs:iova_base (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/iommu/
Dmtk_iommu.c180 dma_addr_t iova_base; member
344 {.iova_base = 0, .size = MTK_IOMMU_IOVA_SZ_4G},
353 { .iova_base = 0x0, .size = MTK_IOMMU_IOVA_SZ_4G}, /* 0 ~ 4G, */
355 { .iova_base = SZ_4G, .size = MTK_IOMMU_IOVA_SZ_4G}, /* 4G ~ 8G */
356 { .iova_base = SZ_4G * 2, .size = MTK_IOMMU_IOVA_SZ_4G}, /* 8G ~ 12G */
357 { .iova_base = SZ_4G * 3, .size = MTK_IOMMU_IOVA_SZ_4G}, /* 12G ~ 16G */
359 { .iova_base = 0x240000000ULL, .size = 0x4000000}, /* CCU0 */
360 { .iova_base = 0x244000000ULL, .size = 0x4000000}, /* CCU1 */
602 larb_mmu->bank[portid] = upper_32_bits(region->iova_base); in mtk_iommu_config()
606 portid_msk, regionid, upper_32_bits(region->iova_base)); in mtk_iommu_config()
[all …]
/linux-6.12.1/drivers/char/agp/
Dparisc-agp.c255 u64 iova_base, io_tlb_ps; in agp_ioc_init() local
279 iova_base = readq(info->ioc_regs+IOC_IBASE) & ~0x1; in agp_ioc_init()
280 info->gart_base = iova_base + PLUTO_IOVA_SIZE - PLUTO_GART_SIZE; in agp_ioc_init()
/linux-6.12.1/arch/arm/mm/
Ddma-mapping.c1190 dma_addr_t iova, iova_base; in __map_sg_chunk() local
1199 iova_base = iova = __alloc_iova(mapping, size); in __map_sg_chunk()
1219 *handle = iova_base; in __map_sg_chunk()
1223 iommu_unmap(mapping->domain, iova_base, count * PAGE_SIZE); in __map_sg_chunk()
1224 __free_iova(mapping, iova_base, size); in __map_sg_chunk()