/src/sys/arch/powerpc/oea/ |
ofwoea_machdep.c | 296 int qhandle, phandle, node; local in function:get_timebase_frequency 312 for (qhandle = node; qhandle; qhandle = phandle) { 313 if (OF_getprop(qhandle, "device_type", type, sizeof type) > 0 315 && OF_getprop(qhandle, "timebase-frequency", 319 if ((phandle = OF_child(qhandle))) 321 while (qhandle) { 322 if ((phandle = OF_peer(qhandle))) 324 qhandle = OF_parent(qhandle) [all...] |
/src/sys/arch/ofppc/ofppc/ |
machdep.c | 193 int qhandle, phandle, j; local in function:model_init 233 for (qhandle = OF_peer(0); qhandle; qhandle = phandle) { 234 if (OF_getprop(qhandle, "name", buf, sizeof buf) > 0 236 OF_setprop(qhandle, "device_type", "display", 8); 239 if ((phandle = OF_child(qhandle))) 241 while (qhandle) { 242 if ((phandle = OF_peer(qhandle))) 244 qhandle = OF_parent(qhandle) [all...] |