Lines Matching full:chosen
97 phandle_t chosen, node;
106 chosen = OF_finddevice("/chosen");
107 if (chosen == -1)
111 if (OF_getencprop(chosen, "stdout", &stdout, sizeof(stdout)) ==
115 if (OF_getprop(chosen, "stdout-path", buf, sizeof(buf)) > 0)
119 * The "/chosen/stdout" does not exist try
493 phandle_t chosen;
507 chosen = OF_finddevice("/chosen");
508 if (OF_getencprop(chosen, "stdout", &sc->sc_handle,
512 /* Try "/chosen/stdout-path" now */
513 if (OF_getprop(chosen, "stdout-path", buf, sizeof(buf)) > 0) {
520 * The "/chosen/stdout" does not exist try
531 * Retrieve vendor-id from /chosen parent node, usually pointing to