Home
last modified time | relevance | path

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

/Linux-v5.10/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.10/arch/arm/mach-rockchip/
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()
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()