Home
last modified time | relevance | path

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

/Linux-v4.19/arch/sh/mm/
Dcache-j2.c26 u32 __iomem *j2_ccr_base; variable
32 __raw_writel(CACHE_ENABLE | ICACHE_FLUSH, j2_ccr_base + cpu); in j2_flush_icache()
39 __raw_writel(CACHE_ENABLE | DCACHE_FLUSH, j2_ccr_base + cpu); in j2_flush_dcache()
46 __raw_writel(CACHE_ENABLE | CACHE_FLUSH, j2_ccr_base + cpu); in j2_flush_both()
51 if (!j2_ccr_base) in j2_cache_init()
64 pr_info("Initial J2 CCR is %.8x\n", __raw_readl(j2_ccr_base)); in j2_cache_init()
/Linux-v4.19/arch/sh/kernel/cpu/sh2/
Dprobe.c20 extern u32 __iomem *j2_ccr_base;
27 j2_ccr_base = (u32 __iomem *)of_flat_dt_translate_address(node); in scan_cache()
52 if (j2_ccr_base) __raw_writel(0x80000303, j2_ccr_base + 4*cpu); in cpu_probe()