Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/sysdev/
Dfsl_85xx_l2ctlr.c32 struct mpc85xx_l2ctlr __iomem *l2ctlr; variable
103 l2ctlr = of_iomap(dev->dev.of_node, 0); in mpc85xx_l2ctlr_of_probe()
104 if (!l2ctlr) { in mpc85xx_l2ctlr_of_probe()
112 out_be32(&l2ctlr->srbar0, in mpc85xx_l2ctlr_of_probe()
119 out_be32(&l2ctlr->srbarea0, in mpc85xx_l2ctlr_of_probe()
123 clrsetbits_be32(&l2ctlr->ctl, L2CR_L2E, L2CR_L2FI); in mpc85xx_l2ctlr_of_probe()
127 setbits32(&l2ctlr->ctl, in mpc85xx_l2ctlr_of_probe()
132 setbits32(&l2ctlr->ctl, in mpc85xx_l2ctlr_of_probe()
137 setbits32(&l2ctlr->ctl, in mpc85xx_l2ctlr_of_probe()
143 setbits32(&l2ctlr->ctl, in mpc85xx_l2ctlr_of_probe()
[all …]
/Linux-v4.19/arch/arm/mach-rockchip/
Dplatsmp.c315 unsigned int l2ctlr; in rockchip_smp_prepare_cpus() local
317 asm ("mrc p15, 1, %0, c9, c0, 2\n" : "=r" (l2ctlr)); in rockchip_smp_prepare_cpus()
318 ncores = ((l2ctlr >> 24) & 0x3) + 1; in rockchip_smp_prepare_cpus()
Dpm.c56 u32 l2ctlr; in rk3288_l2_config() local
58 asm("mrc p15, 1, %0, c9, c0, 2" : "=r" (l2ctlr)); in rk3288_l2_config()
59 return l2ctlr; in rk3288_l2_config()
/Linux-v4.19/arch/arm/kvm/
Dcoproc.c163 u32 l2ctlr, ncores; in reset_l2ctlr() local
165 asm volatile("mrc p15, 1, %0, c9, c0, 2\n" : "=r" (l2ctlr)); in reset_l2ctlr()
166 l2ctlr &= ~(3 << 24); in reset_l2ctlr()
172 l2ctlr |= (ncores & 3) << 24; in reset_l2ctlr()
174 vcpu_cp15(vcpu, c9_L2CTLR) = l2ctlr; in reset_l2ctlr()