Searched refs:findroot (Results 1 – 12 of 12) sorted by relevance
/openbsd/sys/arch/sparc64/sparc64/ |
H A D | autoconf.c | 246 stack[0] = findroot(); in get_ncpus() 327 if (OF_getprop(findroot(), "compatible", buf, sizeof(buf)) > 0) { in bootstrap() 841 findroot(void) in findroot() function 917 if (OF_getprop(findroot(), "banner-name", buf, sizeof(buf)) > 0 || in mainbus_attach() 918 OF_getprop(findroot(), "name", buf, sizeof(buf)) > 0) in mainbus_attach() 928 if ((len = OF_getprop(findroot(), "name", buf, sizeof(buf))) > 0) { in mainbus_attach() 949 if (OF_getprop(findroot(), "model", buf, sizeof(buf)) > 0 && in mainbus_attach() 959 node = findroot(); in mainbus_attach() 1001 node = findroot(); /* re-init root node */ in mainbus_attach()
|
H A D | clock.c | 425 node = findroot(); in getidprom() 446 node = findroot(); in myetheraddr() 503 sys_tick_rate = getpropint(findroot(), "stick-frequency", 0); in cpu_initclocks()
|
H A D | cpu.c | 269 clk = getpropint(findroot(), "clock-frequency", 0); in cpu_attach() 382 if (OF_getprop(findroot(), "name", buf, sizeof(buf)) > 0 && in cpu_myid() 668 if (OF_getprop(findroot(), "name", buf, sizeof(buf)) > 0 && in cpu_boot_secondary_processors()
|
H A D | openprom.c | 183 ok = openpromcheckid(findroot(), node); in openpromioctl()
|
/openbsd/sys/arch/sparc64/dev/ |
H A D | com_ebus.c | 74 i = OF_getproplen(findroot(), "model"); in com_match_ikkaku() 77 if (OF_getprop(findroot(), "model", model, sizeof(model)) != i) in com_match_ikkaku()
|
H A D | prtc.c | 80 opl = OF_getprop(findroot(), "name", buf, sizeof(buf)) > 0 && in prtc_attach()
|
H A D | pcfiic_ebus.c | 108 int clk = getpropint(findroot(), "clock-frequency", 0); in pcfiic_ebus_attach()
|
H A D | beep.c | 128 sc->sc_clk = getpropint(findroot(), "clock-frequency", 0); in beep_attach()
|
H A D | tda.c | 89 if (OF_getprop(findroot(), "name", name, sizeof(name)) <= 0) in tda_match()
|
H A D | psycho.c | 417 if (OF_getprop(findroot(), "name", buf, sizeof(buf)) > 0 && in psycho_attach() 580 stick_rate = getpropint(findroot(), "stick-frequency", 0); in psycho_attach()
|
H A D | sbus.c | 355 if (OF_getprop(findroot(), "name", buf, sizeof(buf)) > 0 && in sbus_mb_attach()
|
/openbsd/sys/arch/sparc64/include/ |
H A D | autoconf.h | 155 int findroot(void);
|