Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/cache/
Dcache_andes_l2.h19 #define L2C_CCTLCMD(hart_id) \ argument
20 (L2C_BASE + 0x40 + (hart_id * l2_cache_cfg.cmd_offset))
21 #define L2C_CCTLACC(hart_id) \ argument
22 (L2C_BASE + 0x48 + (hart_id * l2_cache_cfg.cmd_offset))
23 #define L2C_CCTLST(hart_id) \ argument
24 (L2C_BASE + 0x80 + (hart_id * l2_cache_cfg.status_offset))
69 static ALWAYS_INLINE void nds_l2_cache_wait_status(uint8_t hart_id) in nds_l2_cache_wait_status() argument
74 status = sys_read32(L2C_CCTLST(hart_id)); in nds_l2_cache_wait_status()
75 status >>= hart_id * l2_cache_cfg.status_shift; in nds_l2_cache_wait_status()
83 uint8_t hart_id; in nds_l2_cache_all() local
[all …]