Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/drivers/arm/smmu/
Dsmmu_v3.c40 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()
[all …]
/external/arm-trusted-firmware/plat/brcm/board/stingray/src/
Dbl31_setup.c391 uintptr_t smmu_base = SMMU_BASE; in brcm_stingray_smmu_init() local
397 val = mmio_read_32(smmu_base + 0x0); in brcm_stingray_smmu_init()
399 mmio_write_32(smmu_base + 0x0, val); in brcm_stingray_smmu_init()
406 mmio_read_32(smmu_base + 0x0), in brcm_stingray_smmu_init()
407 mmio_read_32(smmu_base + 0x4), in brcm_stingray_smmu_init()
408 mmio_read_32(smmu_base + 0x8)); in brcm_stingray_smmu_init()
411 mmio_read_32(smmu_base + 0x20), in brcm_stingray_smmu_init()
412 mmio_read_32(smmu_base + 0x24), in brcm_stingray_smmu_init()
413 mmio_read_32(smmu_base + 0x28)); in brcm_stingray_smmu_init()
416 mmio_read_32(smmu_base + 0x2c), in brcm_stingray_smmu_init()
[all …]
Diommu.c291 uintptr_t smmu_base = SMMU_BASE; in arm_smmu_enable_secure_client_port() local
293 mmio_clrbits_32(smmu_base, sCR0_CLIENTPD); in arm_smmu_enable_secure_client_port()
298 uintptr_t smmu_base = SMMU_BASE; in arm_smmu_reserve_secure_cntxt() local
300 mmio_clrsetbits_32(smmu_base + ARM_SMMU_SMMU_SCR1, in arm_smmu_reserve_secure_cntxt()
/external/arm-trusted-firmware/include/drivers/arm/
Dsmmu_v3.h33 int smmuv3_init(uintptr_t smmu_base);
34 int smmuv3_security_init(uintptr_t smmu_base);