/freebsd-11.0-release/sys/dev/uart/ |
H A D | uart_cpu_powerpc.c | 113 phandle_t input, opts, chosen; local 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 ! [all...] |
H A D | uart_cpu_fdt.c | 74 phandle_chosen_propdev(phandle_t chosen, const char *name, phandle_t *node) argument 78 if (OF_getprop(chosen, name, buf, sizeof(buf)) <= 0) 127 phandle_t node, chosen; local 145 * Retrieve /chosen/std{in,out}. 148 if ((chosen = OF_finddevice("/chosen")) != -1) { 150 if (phandle_chosen_propdev(chosen, *name, 155 if (chosen == -1 || *name == NULL)
|
H A D | uart_cpu_sparc64.c | 95 * Note that the currently active console (i.e. /chosen/stdout and 96 * /chosen/stdin) may not be the same as the device selected in the 108 phandle_t chosen, input, output; local 118 if ((chosen = OF_finddevice("/chosen")) == -1) 120 if (OF_getprop(chosen, "stdin", &inst, sizeof(inst)) == -1) 124 if (OF_getprop(chosen, "stdout", &inst, sizeof(inst)) == -1) 139 if ((chosen = OF_finddevice("/chosen")) == -1) 141 if (OF_getprop(chosen, "iosra [all...] |
/freebsd-11.0-release/sys/boot/ofw/libofw/ |
H A D | ofw_console.c | 61 OF_getprop(chosen, "stdin", &stdin, sizeof(stdin)); 62 OF_getprop(chosen, "stdout", &stdout, sizeof(stdout));
|
H A D | openfirm.h | 73 extern phandle_t chosen;
|
H A D | openfirm.c | 69 phandle_t chosen; variable 84 if ((chosen = OF_finddevice("/chosen")) == -1) 86 if (OF_getprop(chosen, "memory", &memory, sizeof(memory)) == -1) { 93 if (OF_getprop(chosen, "mmu", &mmu, sizeof(mmu)) == -1)
|
/freebsd-11.0-release/usr.sbin/pkg/ |
H A D | dns_utils.c | 85 int *chosen; local 95 chosen = malloc(sizeof(int) * (last - first + 1)); 99 chosen[i] = random() % (d[i]->weight * 100 / totalweight); 101 if (chosen[i] == chosen[j]) 105 d[i]->finalweight = chosen[i]; 111 free(chosen);
|
/freebsd-11.0-release/sys/boot/ofw/common/ |
H A D | main.c | 59 OF_getprop(chosen, "stdout", &stdout, sizeof(stdout)); 135 OF_getprop(chosen, "bootpath", bootpath, 64); 146 OF_getprop(chosen, "bootargs", bootargs, sizeof(bootargs));
|
/freebsd-11.0-release/sys/dev/ofw/ |
H A D | ofw_console.c | 164 int chosen; local 166 if ((chosen = OF_finddevice("/chosen")) == -1) { 171 if (OF_getencprop(chosen, "stdin", &stdin, sizeof(stdin)) == -1) { 176 if (OF_getencprop(chosen, "stdout", &stdout, sizeof(stdout)) == -1) {
|
/freebsd-11.0-release/contrib/gcc/ |
H A D | tlink.c | 52 int chosen; 337 is offered, chosen or provided if CHOSEN is 0, 1 or 2, respectively. 342 freadsym (FILE *stream, file *f, int chosen) 357 sym->chosen = chosen; 359 else if (chosen) 363 if (sym->chosen && sym->file != f) 365 if (sym->chosen == 1) 371 chosen = sym->chosen; 51 int chosen; member in struct:symbol_hash_entry 338 freadsym(FILE *stream, file *f, int chosen) argument [all...] |
/freebsd-11.0-release/sys/dev/fb/ |
H A D | creator_vt.c | 75 phandle_t chosen, node; local 79 chosen = OF_finddevice("/chosen"); 80 OF_getprop(chosen, "stdout", &stdout, sizeof(stdout)); 84 * The "/chosen/stdout" does not exist try 105 phandle_t chosen; local 116 chosen = OF_finddevice("/chosen"); 117 OF_getprop(chosen, "stdout", &handle, sizeof(ihandle_t)); 121 * The "/chosen/stdou [all...] |
/freebsd-11.0-release/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_fbd.c | 205 phandle_t chosen; local 213 chosen = OF_finddevice("/chosen"); 214 if (chosen != 0 && 215 OF_getprop(chosen, "bootargs", &bootargs, sizeof(bootargs)) > 0) {
|
/freebsd-11.0-release/usr.sbin/bsdinstall/partedit/ |
H A D | part_wizard.c | 102 char *chosen; local 158 chosen = (err == 0) ? strdup(disks[selected].name) : NULL; 160 chosen = strdup(disks[0].name); 162 chosen = NULL; 168 return (chosen);
|
/freebsd-11.0-release/sys/dev/vt/hw/ofwfb/ |
H A D | ofwfb.c | 90 phandle_t chosen, node; local 94 chosen = OF_finddevice("/chosen"); 95 OF_getprop(chosen, "stdout", &stdout, sizeof(stdout)); 99 * The "/chosen/stdout" does not exist try 346 phandle_t chosen; local 360 chosen = OF_finddevice("/chosen"); 361 OF_getprop(chosen, "stdout", &sc->sc_handle, sizeof(ihandle_t)); 365 * The "/chosen/stdou [all...] |
/freebsd-11.0-release/sys/powerpc/powermac/ |
H A D | platform_powermac.c | 317 phandle_t bsp, chosen; local 320 chosen = OF_finddevice("/chosen"); 321 if (chosen == -1) 324 res = OF_getprop(chosen, "cpu", &inst, sizeof(inst));
|
/freebsd-11.0-release/usr.sbin/ppp/ |
H A D | datalink.h | 96 const char *chosen; /* Chosen phone number after DIAL */ member in struct:datalink::__anon14057
|
/freebsd-11.0-release/sys/dev/vt/hw/fb/ |
H A D | vt_early_fb.c | 134 phandle_t chosen, node; local 138 chosen = OF_finddevice("/chosen"); 139 OF_getprop(chosen, "stdout", &stdout, sizeof(stdout)); 142 /* The "/chosen/stdout" present. */
|
/freebsd-11.0-release/sys/mips/beri/ |
H A D | beri_machdep.c | 218 phandle_t chosen; local 282 chosen = OF_finddevice("/chosen"); 283 if (OF_getprop(chosen, "bootargs", buf, sizeof(buf)) != -1)
|
/freebsd-11.0-release/sys/mips/mediatek/ |
H A D | mtk_machdep.c | 258 phandle_t chosen; local 292 chosen = OF_finddevice("/chosen"); 293 if (OF_getprop(chosen, "bsdbootargs", buf, sizeof(buf)) != -1)
|
/freebsd-11.0-release/contrib/gdb/gdb/ |
H A D | arch-utils.c | 597 const char *chosen = arches[0]; 601 if (strcmp (*arch, chosen) < 0) 602 chosen = *arch; 604 if (chosen == NULL) 607 info.bfd_arch_info = bfd_scan_arch (chosen); 595 const char *chosen = arches[0]; local
|
/freebsd-11.0-release/sys/powerpc/pseries/ |
H A D | phyp_console.c | 195 phandle_t input, chosen; local 198 if ((chosen = OF_finddevice("/chosen")) == -1) 203 if (OF_getencprop(chosen, "stdout", &stdout,
|
H A D | platform_chrp.c | 389 phandle_t bsp, chosen; local 392 chosen = OF_finddevice("/chosen"); 393 if (chosen == 0) 396 res = OF_getencprop(chosen, "cpu", &inst, sizeof(inst));
|
/freebsd-11.0-release/sys/sparc64/sparc64/ |
H A D | vm_machdep.c | 334 phandle_t chosen; local 347 if ((chosen = OF_finddevice("/chosen")) != -1) { 348 if (OF_getprop(chosen, "bootpath", bspec, sizeof(bspec)) == -1)
|
/freebsd-11.0-release/sys/powerpc/ofw/ |
H A D | ofw_machdep.c | 224 phandle_t chosen; local 227 chosen = OF_finddevice("/chosen"); 228 fdtmapsize = OF_getprop(chosen, "fdtmemreserv", fdtmap, sizeof(fdtmap)); 332 phandle = OF_finddevice("/chosen");
|
/freebsd-11.0-release/sys/dev/fdt/ |
H A D | fdt_common.c | 729 phandle_t chosen; local 731 chosen = OF_finddevice("/chosen"); 732 if (chosen == -1) 734 if (OF_getprop(chosen, "bootargs", bootargs, max_size) == -1)
|