Lines Matching refs:smmu_id
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()
64 val = tegra_smmu_read_32(smmu_id, SMMU_GSR0_SECURE_ACR); in tegra_smmu_init()
66 tegra_smmu_write_32(smmu_id, SMMU_GSR0_SECURE_ACR, val); in tegra_smmu_init()
75 uint32_t cb_idx, ctx_base, smmu_id, val; in tegra_smmu_verify() local
79 for (smmu_id = 0U; smmu_id < num_smmu_devices; smmu_id++) { in tegra_smmu_verify()
81 val = tegra_smmu_read_32(smmu_id, SMMU_GSR0_SECURE_ACR); in tegra_smmu_verify()
84 __func__, smmu_id, val); in tegra_smmu_verify()
91 __func__, smmu_id, val); in tegra_smmu_verify()
96 val = tegra_smmu_read_32(smmu_id, SMMU_GNSR_ACR); in tegra_smmu_verify()
99 __func__, smmu_id, val); in tegra_smmu_verify()
107 val = tegra_smmu_read_32(smmu_id, in tegra_smmu_verify()
111 __func__, smmu_id, cb_idx, val); in tegra_smmu_verify()