Lines Matching refs:glbac_id
114 uint32_t glbac_id, uint32_t glbac_val) in trdc_mbc_set_control() argument
119 if (mbc_base == NULL || glbac_id >= GLBAC_NUM) { in trdc_mbc_set_control()
126 mmio_write_32((uintptr_t)&mbc_dom->memn_glbac[glbac_id], glbac_val); in trdc_mbc_set_control()
133 bool sec_access, uint32_t glbac_id) in trdc_mbc_blk_config() argument
140 if (mbc_base == NULL || glbac_id >= GLBAC_NUM) { in trdc_mbc_blk_config()
175 val |= ((0x0 | (glbac_id & 0x7)) << offset); in trdc_mbc_blk_config()
179 val |= ((0x8 | (glbac_id & 0x7)) << offset); in trdc_mbc_blk_config()
187 uint32_t glbac_id, uint32_t glbac_val) in trdc_mrc_set_control() argument
192 if (mrc_base == NULL || glbac_id >= GLBAC_NUM) { in trdc_mrc_set_control()
199 mmio_write_32((uintptr_t)&mrc_dom->memn_glbac[glbac_id], glbac_val); in trdc_mrc_set_control()
207 bool sec_access, uint32_t glbac_id) in trdc_mrc_rgn_config() argument
214 if (mrc_base == NULL || glbac_id >= GLBAC_NUM || rgn_id >= MRC_REG_ALL) { in trdc_mrc_rgn_config()
227 mmio_write_32((uintptr_t)desc_w, addr_start | (glbac_id & 0x7)); in trdc_mrc_rgn_config()
230 mmio_write_32((uintptr_t)desc_w, addr_start | (glbac_id & 0x7)); in trdc_mrc_rgn_config()
306 cfg->mrc_glbac[i].glbac_id, in trdc_setup()
318 cfg->mrc_cfg[i].glbac_id); in trdc_setup()
328 cfg->mbc_glbac[i].glbac_id, in trdc_setup()
352 cfg->mbc_cfg[i].glbac_id); in trdc_setup()
361 cfg->mbc_cfg[i].glbac_id); in trdc_setup()