Searched refs:hart_id (Results 1 – 1 of 1) sorted by relevance
19 #define L2C_CCTLCMD(hart_id) \ argument20 (L2C_BASE + 0x40 + (hart_id * l2_cache_cfg.cmd_offset))21 #define L2C_CCTLACC(hart_id) \ argument22 (L2C_BASE + 0x48 + (hart_id * l2_cache_cfg.cmd_offset))23 #define L2C_CCTLST(hart_id) \ argument24 (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() argument74 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 …]