Lines Matching refs:smmu_base
40 int __init smmuv3_security_init(uintptr_t smmu_base) in smmuv3_security_init() argument
43 if (smmuv3_poll(smmu_base + SMMU_GBPA, SMMU_GBPA_UPDATE, 0U) != 0U) in smmuv3_security_init()
50 mmio_setbits_32(smmu_base + SMMU_GBPA, in smmuv3_security_init()
53 if (smmuv3_poll(smmu_base + SMMU_GBPA, SMMU_GBPA_UPDATE, 0U) != 0U) in smmuv3_security_init()
57 if ((mmio_read_32(smmu_base + SMMU_S_IDR1) & in smmuv3_security_init()
62 if (smmuv3_poll(smmu_base + SMMU_S_GBPA, SMMU_S_GBPA_UPDATE, 0U) != 0U) in smmuv3_security_init()
65 mmio_setbits_32(smmu_base + SMMU_S_GBPA, in smmuv3_security_init()
68 return smmuv3_poll(smmu_base + SMMU_S_GBPA, SMMU_S_GBPA_UPDATE, 0U); in smmuv3_security_init()
76 int __init smmuv3_init(uintptr_t smmu_base) in smmuv3_init() argument
79 if (smmuv3_security_init(smmu_base) != 0) in smmuv3_init()
83 if ((mmio_read_32(smmu_base + SMMU_S_IDR1) & in smmuv3_init()
91 mmio_write_32(smmu_base + SMMU_S_INIT, SMMU_S_INIT_INV_ALL); in smmuv3_init()
94 return smmuv3_poll(smmu_base + SMMU_S_INIT, in smmuv3_init()