Home
last modified time | relevance | path

Searched refs:chosen (Results 1 – 25 of 39) sorted by relevance

12

/arch/powerpc/boot/
Dplanetcore.c111 void *node, *chosen; in planetcore_set_stdout_path() local
126 chosen = finddevice("/chosen"); in planetcore_set_stdout_path()
127 if (!chosen) in planetcore_set_stdout_path()
128 chosen = create_node(NULL, "chosen"); in planetcore_set_stdout_path()
129 if (!chosen) in planetcore_set_stdout_path()
132 setprop_str(chosen, "linux,stdout-path", path); in planetcore_set_stdout_path()
137 void *chosen, *stdout; in planetcore_set_serial_speed() local
142 chosen = finddevice("/chosen"); in planetcore_set_serial_speed()
143 if (!chosen) in planetcore_set_serial_speed()
146 len = getprop(chosen, "linux,stdout-path", prop_buf, MAX_PROP_LEN); in planetcore_set_serial_speed()
Dmain.c90 static struct addr_range prep_initrd(struct addr_range vmlinux, void *chosen, in prep_initrd() argument
132 setprop_val(chosen, "linux,initrd-start", (u32)(initrd_addr)); in prep_initrd()
133 setprop_val(chosen, "linux,initrd-end", (u32)(initrd_addr+initrd_size)); in prep_initrd()
145 static void prep_cmdline(void *chosen) in prep_cmdline() argument
148 getprop(chosen, "bootargs", cmdline, COMMAND_LINE_SIZE-1); in prep_cmdline()
157 setprop_str(chosen, "bootargs", cmdline); in prep_cmdline()
170 void *chosen; in start() local
188 chosen = finddevice("/chosen"); in start()
189 if (!chosen) in start()
190 chosen = create_node(NULL, "chosen"); in start()
[all …]
Dps3.c53 static void prep_cmdline(void *chosen) in prep_cmdline() argument
56 getprop(chosen, "bootargs", cmdline, COMMAND_LINE_SIZE-1); in prep_cmdline()
58 setprop_str(chosen, "bootargs", cmdline); in prep_cmdline()
125 void *chosen; in platform_init() local
138 chosen = finddevice("/chosen"); in platform_init()
144 setprop_val(chosen, "linux,initrd-start", (u32)(_initrd_start)); in platform_init()
145 setprop_val(chosen, "linux,initrd-end", (u32)(_initrd_end)); in platform_init()
148 prep_cmdline(chosen); in platform_init()
Doflib.c110 phandle oprom, chosen; in check_of_version() local
123 chosen = of_finddevice("/chosen"); in check_of_version()
124 if (chosen == (phandle) -1) { in check_of_version()
125 chosen = of_finddevice("/chosen@0"); in check_of_version()
126 if (chosen == (phandle) -1) { in check_of_version()
131 if (of_getprop(chosen, "mmu", &chosen_mmu, sizeof(chosen_mmu)) <= 0) { in check_of_version()
/arch/sparc/kernel/
Dsetup_64.c317 int chosen = prom_finddevice ("/chosen"); in setup_arch() local
320 cl = prom_getintdefault (chosen, "client-ip", 0); in setup_arch()
321 sv = prom_getintdefault (chosen, "server-ip", 0); in setup_arch()
322 gw = prom_getintdefault (chosen, "gateway-ip", 0); in setup_arch()
/arch/powerpc/kernel/
Dprom_init.c131 phandle chosen; member
505 if ((long)_prom->chosen > 0) in early_cmdline_parse()
506 l = prom_getprop(_prom->chosen, "bootargs", p, COMMAND_LINE_SIZE-1); in early_cmdline_parse()
1357 _prom->chosen = call_prom("finddevice", 1, 1, ADDR("/chosen")); in prom_init_client_services()
1358 if (!PHANDLE_VALID(_prom->chosen)) in prom_init_client_services()
1396 prom_getprop(_prom->chosen, "mmu", &_prom->mmumap, in prom_find_mmu()
1412 if (prom_getprop(_prom->chosen, "stdout", &val, sizeof(val)) <= 0) in prom_init_stdout()
1421 prom_setprop(_prom->chosen, "/chosen", "linux,stdout-package", in prom_init_stdout()
1424 prom_setprop(_prom->chosen, "/chosen", "linux,stdout-path", in prom_init_stdout()
1439 if (prom_getprop(_prom->chosen, "stdin", &val, sizeof(val)) > 0) in prom_close_stdin()
[all …]
/arch/powerpc/boot/dtc-src/
Dchecks.c534 struct node *chosen; in check_obsolete_chosen_interrupt_controller() local
537 chosen = get_node_by_path(dt, "/chosen"); in check_obsolete_chosen_interrupt_controller()
538 if (!chosen) in check_obsolete_chosen_interrupt_controller()
541 prop = get_property(chosen, "interrupt-controller"); in check_obsolete_chosen_interrupt_controller()
/arch/powerpc/boot/dts/
Dps3.dts29 chosen {
Dstorcenter.dts139 chosen {
Dadder875-redboot.dts182 chosen {
Dadder875-uboot.dts181 chosen {
Dmpc866ads.dts188 chosen {
Dhcu4.dts165 chosen {
Dholly.dts194 chosen {
Dmpc885ads.dts232 chosen {
Dacadia.dts221 chosen {
Dep405.dts227 chosen {
Dwalnut.dts243 chosen {
Dpq2fads.dts239 chosen {
Dmpc8272ads.dts252 chosen {
Dprpmc2800.dts298 chosen {
Dwarp.dts306 chosen {
Dasp834x-redboot.dts301 chosen {
Dksi8560.dts326 chosen {
/arch/arm/
DKconfig.debug96 S3C internal UARTs. The chosen UART must have been configured

12