Lines Matching refs:mbc_base
83 struct trdc_mbc *mbc_base = (struct trdc_mbc *)trdc_get_mbc_base(trdc_reg, mbc_x); in trdc_mbc_blk_num() local
85 if (mbc_base == NULL) { in trdc_mbc_blk_num()
90 mbc_dom = &mbc_base->mem_dom[0]; in trdc_mbc_blk_num()
117 struct trdc_mbc *mbc_base = (struct trdc_mbc *)trdc_get_mbc_base(trdc_reg, mbc_x); in trdc_mbc_set_control() local
119 if (mbc_base == NULL || glbac_id >= GLBAC_NUM) { in trdc_mbc_set_control()
124 mbc_dom = &mbc_base->mem_dom[0]; in trdc_mbc_set_control()
138 struct trdc_mbc *mbc_base = (struct trdc_mbc *)trdc_get_mbc_base(trdc_reg, mbc_x); in trdc_mbc_blk_config() local
140 if (mbc_base == NULL || glbac_id >= GLBAC_NUM) { in trdc_mbc_blk_config()
144 mbc_dom = &mbc_base->mem_dom[dom_x]; in trdc_mbc_blk_config()
242 bool trdc_mbc_enabled(uintptr_t mbc_base) in trdc_mbc_enabled() argument
244 return (mmio_read_32(mbc_base) & BIT(14)); in trdc_mbc_enabled()