/arch/powerpc/boot/ |
D | planetcore.c | 111 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()
|
D | main.c | 90 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 …]
|
D | ps3.c | 53 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()
|
D | oflib.c | 110 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/ |
D | setup_64.c | 317 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/ |
D | prom_init.c | 131 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/ |
D | checks.c | 534 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/ |
D | ps3.dts | 29 chosen {
|
D | storcenter.dts | 139 chosen {
|
D | adder875-redboot.dts | 182 chosen {
|
D | adder875-uboot.dts | 181 chosen {
|
D | mpc866ads.dts | 188 chosen {
|
D | hcu4.dts | 165 chosen {
|
D | holly.dts | 194 chosen {
|
D | mpc885ads.dts | 232 chosen {
|
D | acadia.dts | 221 chosen {
|
D | ep405.dts | 227 chosen {
|
D | walnut.dts | 243 chosen {
|
D | pq2fads.dts | 239 chosen {
|
D | mpc8272ads.dts | 252 chosen {
|
D | prpmc2800.dts | 298 chosen {
|
D | warp.dts | 306 chosen {
|
D | asp834x-redboot.dts | 301 chosen {
|
D | ksi8560.dts | 326 chosen {
|
/arch/arm/ |
D | Kconfig.debug | 96 S3C internal UARTs. The chosen UART must have been configured
|