Lines Matching refs:ccache_base
47 static void __iomem *ccache_base; variable
70 writel(val, ccache_base + SIFIVE_CCACHE_ECCINJECTERR); in ccache_write()
95 cfg = readl(ccache_base + SIFIVE_CCACHE_CONFIG); in ccache_config_read()
102 cfg = readl(ccache_base + SIFIVE_CCACHE_WAYENABLE); in ccache_config_read()
129 return readl(ccache_base + SIFIVE_CCACHE_WAYENABLE) & 0xFF; in ccache_largest_wayenabled()
165 add_h = readl(ccache_base + SIFIVE_CCACHE_DIRECCFIX_HIGH); in ccache_int_handler()
166 add_l = readl(ccache_base + SIFIVE_CCACHE_DIRECCFIX_LOW); in ccache_int_handler()
169 readl(ccache_base + SIFIVE_CCACHE_DIRECCFIX_COUNT); in ccache_int_handler()
175 add_h = readl(ccache_base + SIFIVE_CCACHE_DIRECCFAIL_HIGH); in ccache_int_handler()
176 add_l = readl(ccache_base + SIFIVE_CCACHE_DIRECCFAIL_LOW); in ccache_int_handler()
178 readl(ccache_base + SIFIVE_CCACHE_DIRECCFAIL_COUNT); in ccache_int_handler()
185 add_h = readl(ccache_base + SIFIVE_CCACHE_DATECCFIX_HIGH); in ccache_int_handler()
186 add_l = readl(ccache_base + SIFIVE_CCACHE_DATECCFIX_LOW); in ccache_int_handler()
189 readl(ccache_base + SIFIVE_CCACHE_DATECCFIX_COUNT); in ccache_int_handler()
195 add_h = readl(ccache_base + SIFIVE_CCACHE_DATECCFAIL_HIGH); in ccache_int_handler()
196 add_l = readl(ccache_base + SIFIVE_CCACHE_DATECCFAIL_LOW); in ccache_int_handler()
199 readl(ccache_base + SIFIVE_CCACHE_DATECCFAIL_COUNT); in ccache_int_handler()
223 ccache_base = ioremap(res.start, resource_size(&res)); in sifive_ccache_init()
224 if (!ccache_base) { in sifive_ccache_init()
266 iounmap(ccache_base); in sifive_ccache_init()