Home
last modified time | relevance | path

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

/linux-4.1.27/arch/powerpc/sysdev/
Dfsl_85xx_l2ctlr.c32 struct mpc85xx_l2ctlr __iomem *l2ctlr; variable
107 l2ctlr = of_iomap(dev->dev.of_node, 0); in mpc85xx_l2ctlr_of_probe()
108 if (!l2ctlr) { in mpc85xx_l2ctlr_of_probe()
116 out_be32(&l2ctlr->srbar0, in mpc85xx_l2ctlr_of_probe()
123 out_be32(&l2ctlr->srbarea0, in mpc85xx_l2ctlr_of_probe()
127 clrsetbits_be32(&l2ctlr->ctl, L2CR_L2E, L2CR_L2FI); in mpc85xx_l2ctlr_of_probe()
131 setbits32(&l2ctlr->ctl, in mpc85xx_l2ctlr_of_probe()
136 setbits32(&l2ctlr->ctl, in mpc85xx_l2ctlr_of_probe()
141 setbits32(&l2ctlr->ctl, in mpc85xx_l2ctlr_of_probe()
147 setbits32(&l2ctlr->ctl, in mpc85xx_l2ctlr_of_probe()
[all …]
/linux-4.1.27/arch/arm/mach-rockchip/
Dpm.c54 u32 l2ctlr; in rk3288_l2_config() local
56 asm("mrc p15, 1, %0, c9, c0, 2" : "=r" (l2ctlr)); in rk3288_l2_config()
57 return l2ctlr; in rk3288_l2_config()
Dplatsmp.c310 unsigned int l2ctlr; in rockchip_smp_prepare_cpus() local
312 asm ("mrc p15, 1, %0, c9, c0, 2\n" : "=r" (l2ctlr)); in rockchip_smp_prepare_cpus()
313 ncores = ((l2ctlr >> 24) & 0x3) + 1; in rockchip_smp_prepare_cpus()
/linux-4.1.27/arch/arm/kvm/
Dcoproc.c148 u32 l2ctlr, ncores; in reset_l2ctlr() local
150 asm volatile("mrc p15, 1, %0, c9, c0, 2\n" : "=r" (l2ctlr)); in reset_l2ctlr()
151 l2ctlr &= ~(3 << 24); in reset_l2ctlr()
157 l2ctlr |= (ncores & 3) << 24; in reset_l2ctlr()
159 vcpu->arch.cp15[c9_L2CTLR] = l2ctlr; in reset_l2ctlr()