Lines Matching refs:chosen
113 phandle_t input, opts, chosen;
117 chosen = OF_finddevice("/chosen");
121 if (chosen != -1 && error != 0)
122 error = ofw_get_uart_console(chosen, &input,
124 if (chosen != -1 && error != 0)
125 error = ofw_get_uart_console(chosen, &input,
127 if (chosen != -1 && error != 0)
128 error = ofw_get_console_phandle_path(chosen, &input,
130 if (chosen != -1 && error != 0)
131 error = ofw_get_uart_console(chosen, &input,
133 if (chosen != -1 && error != 0)
134 error = ofw_get_console_phandle_path(chosen, &input,