Home
last modified time | relevance | path

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

/trusted-firmware-a-3.7.0/drivers/nxp/trdc/
Dimx_trdc.c54 static uintptr_t trdc_get_mbc_base(uintptr_t trdc_reg, uint32_t mbc_x) in trdc_get_mbc_base() argument
56 struct trdc_mgr *trdc_base = (struct trdc_mgr *)trdc_reg; in trdc_get_mbc_base()
63 return trdc_reg + 0x10000 + 0x2000 * mbc_x; in trdc_get_mbc_base()
66 static uintptr_t trdc_get_mrc_base(uintptr_t trdc_reg, uint32_t mrc_x) in trdc_get_mrc_base() argument
68 struct trdc_mgr *trdc_base = (struct trdc_mgr *)trdc_reg; in trdc_get_mrc_base()
76 return trdc_reg + 0x10000 + 0x2000 * mbc_num + 0x1000 * mrc_x; in trdc_get_mrc_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()
96 uint32_t trdc_mrc_rgn_num(uintptr_t trdc_reg, uint32_t mrc_x) in trdc_mrc_rgn_num() argument
100 struct trdc_mrc *mrc_base = (struct trdc_mrc *)trdc_get_mrc_base(trdc_reg, mrc_x); in trdc_mrc_rgn_num()
[all …]