Home
last modified time | relevance | path

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

/linux-6.14.4/drivers/iommu/riscv/
Diommu.c570 u64 *ddtp = NULL; in riscv_iommu_get_dc() local
604 for (ddtp = iommu->ddt_root; depth-- > 0;) { in riscv_iommu_get_dc()
610 ddtp += (devid >> split) & 0x1FF; in riscv_iommu_get_dc()
617 ddt = READ_ONCE(*(unsigned long *)ddtp); in riscv_iommu_get_dc()
619 ddtp = __va(ppn_to_phys(ddt)); in riscv_iommu_get_dc()
628 old = cmpxchg_relaxed((unsigned long *)ddtp, ddt, new); in riscv_iommu_get_dc()
631 ddtp = (u64 *)ptr; in riscv_iommu_get_dc()
645 ddtp += (devid & ((64 << base_format) - 1)) << (3 - base_format); in riscv_iommu_get_dc()
647 return (struct riscv_iommu_dc *)ddtp; in riscv_iommu_get_dc()
665 u64 ddtp; \
[all …]