Home
last modified time | relevance | path

Searched refs:l2cr (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/arch/powerpc/platforms/powermac/
H A Dsetup.c230 /* Checks "l2cr-value" property in the registry */ in l2cr_init()
235 const unsigned int *l2cr = in l2cr_init() local
236 of_get_property(np, "l2cr-value", NULL); in l2cr_init()
237 if (l2cr) { in l2cr_init()
239 _set_L2CR(*l2cr); in l2cr_init()
241 *l2cr, ((*l2cr) & 0x80000000) ? in l2cr_init()
/kernel/linux/linux-5.10/arch/powerpc/platforms/chrp/
H A Dsetup.c226 const unsigned int *l2cr = of_get_property(np, "l2cr", NULL); in pegasos_set_l2cr() local
227 if (l2cr == NULL) { in pegasos_set_l2cr()
228 printk ("Pegasos l2cr : no cpu l2cr property found\n"); in pegasos_set_l2cr()
231 if (!((*l2cr) & 0x80000000)) { in pegasos_set_l2cr()
232 printk ("Pegasos l2cr : L2 cache was not active, " in pegasos_set_l2cr()
235 _set_L2CR((*l2cr) | 0x80000000); in pegasos_set_l2cr()
/kernel/linux/linux-6.6/arch/powerpc/platforms/chrp/
H A Dsetup.c228 const unsigned int *l2cr = of_get_property(np, "l2cr", NULL); in pegasos_set_l2cr() local
229 if (l2cr == NULL) { in pegasos_set_l2cr()
230 printk ("Pegasos l2cr : no cpu l2cr property found\n"); in pegasos_set_l2cr()
233 if (!((*l2cr) & 0x80000000)) { in pegasos_set_l2cr()
234 printk ("Pegasos l2cr : L2 cache was not active, " in pegasos_set_l2cr()
237 _set_L2CR((*l2cr) | 0x80000000); in pegasos_set_l2cr()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
H A Dsetup.c238 /* Checks "l2cr-value" property in the registry */ in l2cr_init()
243 const unsigned int *l2cr = in l2cr_init() local
244 of_get_property(np, "l2cr-value", NULL); in l2cr_init()
245 if (l2cr) { in l2cr_init()
247 ppc_override_l2cr_value = *l2cr; in l2cr_init()

Completed in 4 milliseconds