Home
last modified time | relevance | path

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

/linux/drivers/iommu/riscv/
H A Diommu.c599 u64 *ddtp = NULL; in riscv_iommu_get_dc() local
633 for (ddtp = iommu->ddt_root; depth-- > 0;) { in riscv_iommu_get_dc()
639 ddtp += (devid >> split) & 0x1FF; in riscv_iommu_get_dc()
646 ddt = READ_ONCE(*(unsigned long *)ddtp); in riscv_iommu_get_dc()
648 ddtp = __va(ppn_to_phys(ddt)); in riscv_iommu_get_dc()
657 old = cmpxchg_relaxed((unsigned long *)ddtp, ddt, new); in riscv_iommu_get_dc()
660 ddtp = (u64 *)ptr; in riscv_iommu_get_dc()
674 ddtp += (devid & ((64 << base_format) - 1)) << (3 - base_format); in riscv_iommu_get_dc()
676 return (struct riscv_iommu_dc *)ddtp; in riscv_iommu_get_dc()
694 u64 ddtp; \
[all …]