/freebsd-11-stable/sys/dev/uart/ |
H A D | uart_cpu_powerpc.c | 114 phandle_t input, opts, chosen; local 118 chosen = OF_finddevice("/chosen"); 122 if (chosen != -1 && error != 0) 123 error = ofw_get_uart_console(chosen, &input, 125 if (chosen != -1 && error != 0) 126 error = ofw_get_uart_console(chosen, &input, 128 if (chosen != -1 && error != 0) 129 error = ofw_get_console_phandle_path(chosen, &input, 131 if (chosen ! [all...] |
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...] |
H A D | uart_bus_fdt.c | 117 phandle_chosen_propdev(phandle_t chosen, const char *name, phandle_t *node) argument 121 if (OF_getprop(chosen, name, buf, sizeof(buf)) <= 0) 172 phandle_t node, chosen; local 181 * Retrieve /chosen/std{in,out}. 184 if ((chosen = OF_finddevice("/chosen")) != -1) { 186 if (phandle_chosen_propdev(chosen, *name, 191 if (chosen == -1 || *name == NULL)
|
/freebsd-11-stable/stand/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;
|
/freebsd-11-stable/usr.sbin/pkg/ |
H A D | dns_utils.c | 87 int *chosen; local 97 chosen = malloc(sizeof(int) * (last - first + 1)); 101 chosen[i] = random() % (d[i]->weight * 100 / totalweight); 103 if (chosen[i] == chosen[j]) 107 d[i]->finalweight = chosen[i]; 113 free(chosen);
|
/freebsd-11-stable/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-stable/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-stable/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-stable/stand/powerpc/ofw/ |
H A D | main.c | 135 OF_getprop(chosen, "bootpath", bootpath, 64); 146 OF_getprop(chosen, "bootargs", bootargs, sizeof(bootargs));
|
/freebsd-11-stable/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_fbd.c | 216 phandle_t chosen; local 224 chosen = OF_finddevice("/chosen"); 225 if (chosen != 0 && 226 OF_getprop(chosen, "bootargs", &bootargs, sizeof(bootargs)) > 0) {
|
/freebsd-11-stable/usr.sbin/bsdinstall/partedit/ |
H A D | part_wizard.c | 104 char *chosen; local 160 chosen = (err == 0) ? strdup(disks[selected].name) : NULL; 162 chosen = strdup(disks[0].name); 164 chosen = NULL; 170 return (chosen);
|
/freebsd-11-stable/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-stable/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-stable/usr.sbin/ppp/ |
H A D | datalink.h | 98 const char *chosen; /* Chosen phone number after DIAL */ member in struct:datalink::__anon8852
|
/freebsd-11-stable/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-stable/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-stable/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-stable/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-stable/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-stable/sys/powerpc/ofw/ |
H A D | ofw_machdep.c | 236 phandle_t chosen; local 239 chosen = OF_finddevice("/chosen"); 240 fdtmapsize = OF_getprop(chosen, "fdtmemreserv", fdtmap, sizeof(fdtmap)); 344 phandle = OF_finddevice("/chosen");
|
/freebsd-11-stable/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-stable/sys/mips/nlm/ |
H A D | xlp_machdep.c | 298 phandle_t chosen; local 316 chosen = OF_finddevice("/chosen"); 317 if (OF_getprop(chosen, "cpumask", &mask, sizeof(mask)) != -1) { 321 if (OF_getprop(chosen, "bootargs", buf, sizeof(buf)) != -1)
|
/freebsd-11-stable/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)
|