Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/sysdev/
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 …]
/Linux-v5.4/arch/arm/mach-rockchip/
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()
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()
/Linux-v5.4/arch/arm/kvm/
Dcoproc.c151 u32 l2ctlr, ncores; in reset_l2ctlr() local
153 asm volatile("mrc p15, 1, %0, c9, c0, 2\n" : "=r" (l2ctlr)); in reset_l2ctlr()
154 l2ctlr &= ~(3 << 24); in reset_l2ctlr()
160 l2ctlr |= (ncores & 3) << 24; in reset_l2ctlr()
162 vcpu_cp15(vcpu, c9_L2CTLR) = l2ctlr; in reset_l2ctlr()