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

/linux-master/arch/powerpc/platforms/powermac/
H A Dsetup.c230 /* Checks "l2cr-value" property in the registry */
235 const unsigned int *l2cr = local
236 of_get_property(np, "l2cr-value", NULL);
237 if (l2cr) {
239 _set_L2CR(*l2cr);
241 *l2cr, ((*l2cr) & 0x80000000) ?
/linux-master/arch/powerpc/platforms/chrp/
H A Dsetup.c228 const unsigned int *l2cr = of_get_property(np, "l2cr", NULL); local
229 if (l2cr == NULL) {
230 printk ("Pegasos l2cr : no cpu l2cr property found\n");
233 if (!((*l2cr) & 0x80000000)) {
234 printk ("Pegasos l2cr : L2 cache was not active, "
237 _set_L2CR((*l2cr) | 0x80000000);

Completed in 113 milliseconds