Home
last modified time | relevance | path

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

/rk3399_ARM-atf/drivers/nxp/trdc/
H A Dimx_trdc.c54 static uintptr_t trdc_get_mbc_base(uintptr_t trdc_reg, uint32_t mbc_x) in trdc_get_mbc_base() argument
59 if (mbc_x >= mbc_num) { in trdc_get_mbc_base()
63 return trdc_reg + 0x10000 + 0x2000 * mbc_x; in trdc_get_mbc_base()
79 uint32_t trdc_mbc_blk_num(uintptr_t trdc_reg, uint32_t mbc_x, uint32_t mem_x) in trdc_mbc_blk_num() argument
83 struct trdc_mbc *mbc_base = (struct trdc_mbc *)trdc_get_mbc_base(trdc_reg, mbc_x); in trdc_mbc_blk_num()
113 int trdc_mbc_set_control(uintptr_t trdc_reg, uint32_t mbc_x, in trdc_mbc_set_control() argument
117 struct trdc_mbc *mbc_base = (struct trdc_mbc *)trdc_get_mbc_base(trdc_reg, mbc_x); in trdc_mbc_set_control()
131 int trdc_mbc_blk_config(uintptr_t trdc_reg, uint32_t mbc_x, in trdc_mbc_blk_config() argument
138 struct trdc_mbc *mbc_base = (struct trdc_mbc *)trdc_get_mbc_base(trdc_reg, mbc_x); in trdc_mbc_blk_config()