Home
last modified time | relevance | path

Searched refs:l2ctlr (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/arch/powerpc/sysdev/
H A Dfsl_85xx_l2ctlr.c19 struct mpc85xx_l2ctlr __iomem *l2ctlr; variable
90 l2ctlr = of_iomap(dev->dev.of_node, 0); in mpc85xx_l2ctlr_of_probe()
91 if (!l2ctlr) { in mpc85xx_l2ctlr_of_probe()
99 out_be32(&l2ctlr->srbar0, in mpc85xx_l2ctlr_of_probe()
106 out_be32(&l2ctlr->srbarea0, in mpc85xx_l2ctlr_of_probe()
110 clrsetbits_be32(&l2ctlr->ctl, L2CR_L2E, L2CR_L2FI); in mpc85xx_l2ctlr_of_probe()
114 setbits32(&l2ctlr->ctl, in mpc85xx_l2ctlr_of_probe()
119 setbits32(&l2ctlr->ctl, in mpc85xx_l2ctlr_of_probe()
124 setbits32(&l2ctlr->ctl, in mpc85xx_l2ctlr_of_probe()
130 setbits32(&l2ctlr->ctl, in mpc85xx_l2ctlr_of_probe()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/rk3288/
H A Drk3288.c48 uint32_t l2ctlr; in configure_l2ctlr() local
50 l2ctlr = read_l2ctlr(); in configure_l2ctlr()
51 l2ctlr &= 0xfffc0000; /* clear bit0~bit17 */ in configure_l2ctlr()
61 l2ctlr |= (1 << 3 | 1 << 0); in configure_l2ctlr()
62 write_l2ctlr(l2ctlr); in configure_l2ctlr()
/OK3568_Linux_fs/kernel/arch/arm/mach-rockchip/
H A Dpm.c47 u32 l2ctlr; in rk3288_l2_config() local
49 asm("mrc p15, 1, %0, c9, c0, 2" : "=r" (l2ctlr)); in rk3288_l2_config()
50 return l2ctlr; in rk3288_l2_config()
H A Dplatsmp.c314 unsigned int l2ctlr; in rockchip_smp_prepare_cpus() local
316 asm ("mrc p15, 1, %0, c9, c0, 2\n" : "=r" (l2ctlr)); in rockchip_smp_prepare_cpus()
317 ncores = ((l2ctlr >> 24) & 0x3) + 1; in rockchip_smp_prepare_cpus()
H A Drv1106_pm.c398 u32 l2ctlr; in rv1106_l2_config() local
400 asm("mrc p15, 1, %0, c9, c0, 2" : "=r" (l2ctlr)); in rv1106_l2_config()
401 return l2ctlr; in rv1106_l2_config()