Lines Matching refs:chosen
111 void *node, *chosen;
126 chosen = finddevice("/chosen");
127 if (!chosen)
128 chosen = create_node(NULL, "chosen");
129 if (!chosen)
132 setprop_str(chosen, "linux,stdout-path", path);
137 void *chosen, *stdout;
142 chosen = finddevice("/chosen");
143 if (!chosen)
146 len = getprop(chosen, "linux,stdout-path", prop_buf, MAX_PROP_LEN);
153 "Bad /chosen/linux,stdout-path.\r\n");