Lines Matching refs:l2_base
32 static void __iomem *l2_base; variable
52 writel(val, l2_base + SIFIVE_L2_ECCINJECTERR); in l2_write()
77 regval = readl(l2_base + SIFIVE_L2_CONFIG); in l2_config_read()
87 regval = readl(l2_base + SIFIVE_L2_WAYENABLE); in l2_config_read()
115 add_h = readl(l2_base + SIFIVE_L2_DIRECCFIX_HIGH); in l2_int_handler()
116 add_l = readl(l2_base + SIFIVE_L2_DIRECCFIX_LOW); in l2_int_handler()
119 readl(l2_base + SIFIVE_L2_DIRECCFIX_COUNT); in l2_int_handler()
124 add_h = readl(l2_base + SIFIVE_L2_DATECCFIX_HIGH); in l2_int_handler()
125 add_l = readl(l2_base + SIFIVE_L2_DATECCFIX_LOW); in l2_int_handler()
128 readl(l2_base + SIFIVE_L2_DATECCFIX_COUNT); in l2_int_handler()
133 add_h = readl(l2_base + SIFIVE_L2_DATECCFAIL_HIGH); in l2_int_handler()
134 add_l = readl(l2_base + SIFIVE_L2_DATECCFAIL_LOW); in l2_int_handler()
137 readl(l2_base + SIFIVE_L2_DATECCFAIL_COUNT); in l2_int_handler()
158 l2_base = ioremap(res.start, resource_size(&res)); in sifive_l2_init()
159 if (!l2_base) in sifive_l2_init()