Home
last modified time | relevance | path

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

/linux/drivers/iommu/riscv/
H A Diommu.c571 u64 *ddtp = NULL; in riscv_iommu_get_dc() local
605 for (ddtp = iommu->ddt_root; depth-- > 0;) { in riscv_iommu_get_dc()
611 ddtp += (devid >> split) & 0x1FF; in riscv_iommu_get_dc()
618 ddt = READ_ONCE(*(unsigned long *)ddtp); in riscv_iommu_get_dc()
620 ddtp = __va(ppn_to_phys(ddt)); in riscv_iommu_get_dc()
629 old = cmpxchg_relaxed((unsigned long *)ddtp, ddt, new); in riscv_iommu_get_dc()
632 ddtp = (u64 *)ptr; in riscv_iommu_get_dc()
646 ddtp += (devid & ((64 << base_format) - 1)) << (3 - base_format); in riscv_iommu_get_dc()
648 return (struct riscv_iommu_dc *)ddtp; in riscv_iommu_get_dc()
666 u64 ddtp; \
[all …]