Searched refs:smmu_id (Results 1 – 2 of 2) sorted by relevance
/external/arm-trusted-firmware/plat/nvidia/tegra/drivers/smmu/ |
D | smmu.c | 32 uint32_t val, cb_idx, smmu_id, ctx_base; in tegra_smmu_init() local 35 for (smmu_id = 0U; smmu_id < num_smmu_devices; smmu_id++) { in tegra_smmu_init() 37 val = tegra_smmu_read_32(smmu_id, SMMU_GSR0_SECURE_ACR); in tegra_smmu_init() 40 tegra_smmu_write_32(smmu_id, SMMU_GSR0_SECURE_ACR, val); in tegra_smmu_init() 43 val = tegra_smmu_read_32(smmu_id, SMMU_GNSR_ACR); in tegra_smmu_init() 45 tegra_smmu_write_32(smmu_id, SMMU_GNSR_ACR, val); in tegra_smmu_init() 51 val = tegra_smmu_read_32(smmu_id, in tegra_smmu_init() 54 tegra_smmu_write_32(smmu_id, ctx_base + in tegra_smmu_init() 59 val = tegra_smmu_read_32(smmu_id, SMMU_GNSR_ACR); in tegra_smmu_init() 61 tegra_smmu_write_32(smmu_id, SMMU_GNSR_ACR, val); in tegra_smmu_init() [all …]
|
/external/arm-trusted-firmware/plat/nvidia/tegra/include/drivers/ |
D | smmu.h | 41 static inline uint32_t tegra_smmu_read_32(uint32_t smmu_id, uint32_t off) in tegra_smmu_read_32() argument 46 if (smmu_id == TEGRA_SMMU0) { in tegra_smmu_read_32() 52 if (smmu_id == TEGRA_SMMU1) { in tegra_smmu_read_32() 58 if (smmu_id == TEGRA_SMMU2) { in tegra_smmu_read_32() 66 static inline void tegra_smmu_write_32(uint32_t smmu_id, in tegra_smmu_write_32() argument 70 if (smmu_id == TEGRA_SMMU0) { in tegra_smmu_write_32() 76 if (smmu_id == TEGRA_SMMU1) { in tegra_smmu_write_32() 82 if (smmu_id == TEGRA_SMMU2) { in tegra_smmu_write_32()
|