Home
last modified time | relevance | path

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

/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Pv660/Drivers/IoInitDxe/
DSmmu.c346 Smmu->S2Cbt = (UINTN) S2; in SmmuConfigSwitch()
353 …MmioWrite32 (Smmu->S2Cbt + SMMU_CB_S1CTBAR(SMMU_OS_VMID), (UINT32) RShiftU64 ((UINT64)S1, SMMU_S1C… in SmmuConfigSwitch()
366 MmioWrite32 (Smmu->S2Cbt + SMMU_CB_CBAR(SMMU_OS_VMID), reg); in SmmuConfigSwitch()
370 MmioWrite32 (Smmu->S2Cbt + SMMU_CB_S2CR(SMMU_OS_VMID), reg); in SmmuConfigSwitch()
374 MmioWrite32 (Smmu->S2Cbt + SMMU_CB_S2CR(hisi_bypass_vmid), reg); in SmmuConfigSwitch()
386 if (Smmu->S2Cbt == 0) { in SmmuFlushCbt()
391 WriteBackInvalidateDataCacheRange ((VOID *)Smmu->S2Cbt, SMMU_S2CBT_SIZE); in SmmuFlushCbt()
393 UINTN S1Ctb = MmioRead32 (Smmu->S2Cbt + SMMU_CB_S1CTBAR(SMMU_OS_VMID)); in SmmuFlushCbt()
424 reg = (UINT32) RShiftU64 (Smmu->S2Cbt, SMMU_S2CBT_SHIFT); in SmmuEnableTable()
DSmmu.h21 UINTN S2Cbt; member