Lines Matching refs:l2x0_base

39 static void __iomem *l2x0_base;  variable
134 void __iomem *base = l2x0_base; in l2c_disable()
145 l2x0_saved_regs.aux_ctrl = readl_relaxed(l2x0_base + L2X0_AUX_CTRL); in l2c_save()
150 void __iomem *base = l2x0_base; in l2c_resume()
189 void __iomem *base = l2x0_base; in l2c210_inv_range()
208 void __iomem *base = l2x0_base; in l2c210_clean_range()
217 void __iomem *base = l2x0_base; in l2c210_flush_range()
226 void __iomem *base = l2x0_base; in l2c210_flush_all()
236 __l2c210_cache_sync(l2x0_base); in l2c210_sync()
309 void __iomem *base = l2x0_base; in l2c220_inv_range()
336 void __iomem *base = l2x0_base; in l2c220_clean_range()
355 void __iomem *base = l2x0_base; in l2c220_flush_range()
374 l2c220_op_way(l2x0_base, L2X0_CLEAN_INV_WAY); in l2c220_flush_all()
382 __l2c220_cache_sync(l2x0_base); in l2c220_sync()
469 void __iomem *base = l2x0_base; in l2c310_inv_range_erratum()
503 void __iomem *base = l2x0_base; in l2c310_flush_range_erratum()
528 void __iomem *base = l2x0_base; in l2c310_flush_all_erratum()
803 old_aux = aux = readl_relaxed(l2x0_base + L2X0_AUX_CTRL); in __l2c_init()
856 data->fixup(l2x0_base, cache_id, &fns); in __l2c_init()
866 if (!(readl_relaxed(l2x0_base + L2X0_CTRL) & L2X0_CTRL_EN)) { in __l2c_init()
869 data->enable(l2x0_base, data->num_lock); in __l2c_init()
879 data->save(l2x0_base); in __l2c_init()
882 aux = readl_relaxed(l2x0_base + L2X0_AUX_CTRL); in __l2c_init()
889 l2x0_pmu_register(l2x0_base, cache_id); in __l2c_init()
899 l2x0_base = base; in l2x0_init()
920 data->save(l2x0_base); in l2x0_init()
1378 void __iomem *base = l2x0_base; in aurora_pa_range()
1428 void __iomem *base = l2x0_base; in aurora_flush_all()
1441 writel_relaxed(0, l2x0_base + AURORA_SYNC_REG); in aurora_cache_sync()
1446 void __iomem *base = l2x0_base; in aurora_disable()
1777 l2x0_base = ioremap(res.start, resource_size(&res)); in l2x0_of_init()
1778 if (!l2x0_base) in l2x0_of_init()
1789 old_aux = readl_relaxed(l2x0_base + L2X0_AUX_CTRL); in l2x0_of_init()
1811 data->save(l2x0_base); in l2x0_of_init()
1814 if (!(readl_relaxed(l2x0_base + L2X0_CTRL) & L2X0_CTRL_EN)) in l2x0_of_init()
1821 cache_id = readl_relaxed(l2x0_base + L2X0_CACHE_ID); in l2x0_of_init()