| /src/sys/dev/fdt/ |
| fdt_userconf.c | 39 #define FDT_CHOSEN_PATH "/chosen" 47 int chosen, index; local 53 chosen = fdt_path_offset(fdt, FDT_CHOSEN_PATH); 54 if (chosen < 0) { 60 cmd = fdt_stringlist_get(fdt, chosen, FDT_CHOSEN_USERCONF_PROP,
|
| fdt_boot.c | 115 int chosen, len; local 120 chosen = OF_finddevice("/chosen"); 121 if (chosen < 0) 124 start_data = fdtbus_get_prop(chosen, startname, &len); 125 end_data = fdtbus_get_prop(chosen, endname, NULL); 139 printf("Unsupported len %d for /chosen `%s'\n", 196 const int chosen = OF_finddevice("/chosen"); local 198 if (chosen >= 0 404 const int chosen = OF_finddevice("\/chosen"); local [all...] |
| pcihost_fdt.c | 261 const int chosen = OF_finddevice("/chosen"); local 262 if (chosen <= 0 || of_getprop_uint32(chosen, "linux,pci-probe-only", &probe_only))
|
| /src/sys/arch/macppc/stand/ofwboot/ |
| hfs.c | 41 int chosen; local 44 if ((chosen = OF_finddevice("/chosen")) == -1) 47 OF_getprop(chosen, "bootpath", bootpath, sizeof bootpath);
|
| /src/sys/stand/efiboot/bootriscv64/ |
| efibootriscv64.c | 42 const int chosen = fdt_path_offset(efi_fdt_data(), "/chosen"); local 45 data = fdt_getprop(efi_fdt_data(), chosen, "boot-hartid", NULL);
|
| /src/sys/arch/arm/fdt/ |
| acpi_fdt.c | 172 const int chosen = OF_finddevice("/chosen"); local 173 if (chosen >= 0) { 174 of_getprop_uint64(chosen, "netbsd,smbios-table", &smbios_table);
|
| arm_fdt.c | 231 const int chosen = OF_finddevice("/chosen"); local 239 if (chosen == -1) 242 data = fdtbus_get_prop(chosen, "netbsd,modules", &len); 247 module_name = fdtbus_get_string_index(chosen, 305 const int chosen = OF_finddevice("/chosen"); local 306 if (chosen < 0) 314 if (of_getprop_uint64(chosen, "netbsd,uefi-system-table", &efi_system_table) != 0)
|
| /src/sys/arch/hb68k/pg68k/ |
| ph1_machdep.c | 67 * in /chosen to help us find the boot device: 77 int chosen = OF_finddevice("/chosen"); local 80 if (chosen != -1) { 81 if (of_getprop_uint32(chosen, 86 if (of_getprop_uint32(chosen,
|
| /src/sys/arch/ofppc/stand/ofwboot/ |
| boot.c | 192 int chosen, cpu, cpunode, j, is64=0; local 203 chosen = OF_finddevice("/"); 204 dump_ofwtree(chosen); 209 if ((chosen = OF_finddevice("/chosen")) == -1 || 210 OF_getprop(chosen, "bootpath", bootdev, sizeof bootdev) < 0 || 211 OF_getprop(chosen, "bootargs", bootline, sizeof bootline) < 0) { 217 if (OF_getprop(chosen, "cpu", &cpu, sizeof cpu) == sizeof(cpu)) { 264 OF_setprop(chosen, "bootpath", opened_name, strlen(opened_name) + 1); 287 OF_setprop(chosen, "bootargs", bootline, strlen(bootline) + 1) [all...] |
| Locore.c | 522 int chosen; local 524 if ((chosen = OF_finddevice("/chosen")) == -1) 526 if (OF_getprop(chosen, "stdin", &stdin, sizeof(stdin)) != 528 OF_getprop(chosen, "stdout", &stdout, sizeof(stdout)) !=
|
| /src/sys/arch/shark/stand/ofwboot/ |
| boot.c | 190 int chosen; local 203 if ((chosen = OF_finddevice("/chosen")) == -1 || 204 OF_getprop(chosen, "bootpath", bootdev, sizeof bootdev) < 0 || 205 OF_getprop(chosen, "bootargs", bootline, sizeof bootline) < 0) { 265 OF_setprop(chosen, "bootpath", opened_name, strlen(opened_name) + 1); 288 OF_setprop(chosen, "bootargs", bootline, strlen(bootline) + 1);
|
| Locore.c | 511 int chosen; local 513 if ((chosen = OF_finddevice("/chosen")) == -1) 516 if (OF_getprop(chosen, "stdin", buf, sizeof(buf)) != sizeof(buf)) 520 if (OF_getprop(chosen, "stdout", buf, sizeof(buf)) != sizeof(buf))
|
| /src/sys/arch/powerpc/oea/ |
| ofw_rascons.c | 186 int chosen, mmu, m, e, size; local 200 chosen = OF_finddevice("/chosen"); 201 OF_getprop(chosen, "mmu", &mmu, 4);
|
| /src/sys/arch/macppc/stand/bootxx/ |
| bootxx.c | 315 int fd, blk, chosen, options, j; local 326 chosen = OF_finddevice("/chosen"); 327 if (OF_getprop(chosen, "bootpath", bootpath, sizeof(bootpath)) == 1) { 334 if (OF_getprop(chosen, "stdout", &stdout, sizeof(stdout))
|
| /src/sys/dev/ofw/ |
| ofcons.c | 269 int chosen; local 274 if ((chosen = OF_finddevice("/chosen")) == -1) 276 if (OF_getprop(chosen, "stdin", stdinbuf, sizeof stdinbuf) != 278 OF_getprop(chosen, "stdout", stdoutbuf, sizeof stdoutbuf) !=
|
| /src/sys/arch/arm/sunxi/ |
| sunxi_drm.c | 313 int chosen, child, error; local 316 chosen = OF_finddevice("/chosen"); 317 if (chosen == -1) 320 for (child = OF_child(chosen); child; child = OF_peer(child)) {
|
| /src/sys/arch/arm/acpi/ |
| acpi_machdep.c | 96 const int chosen = OF_finddevice("/chosen"); local 97 if (chosen == -1) 100 const uint32_t *map = fdtbus_get_prop(chosen, "netbsd,uefi-memmap", &len); 151 const int chosen = OF_finddevice("/chosen"); local 152 if (chosen == -1) 155 if (of_getprop_uint64(chosen, "netbsd,acpi-root-table", &pa) != 0)
|
| /src/sys/arch/sparc/stand/ofwboot/ |
| Locore.c | 485 u_int chosen; local 487 if ( (chosen = OF_finddevice("/chosen")) == -1) { 490 if (OF_getprop(chosen, "mmu", &mmuh, sizeof(mmuh)) != sizeof(mmuh) 491 || OF_getprop(chosen, "memory", &memh, sizeof(memh)) != sizeof(memh))
|
| /src/sys/arch/sparc64/sparc64/ |
| ofw_machdep.c | 67 u_int chosen; local 69 if ((chosen = OF_finddevice("/chosen")) == -1) { 70 prom_printf("get_mmu_handle: cannot get /chosen\n"); 73 if (OF_getprop(chosen, "mmu", &mmuh, sizeof(mmuh)) == -1) { 83 u_int chosen; local 85 if ((chosen = OF_finddevice("/chosen")) == -1) { 86 prom_printf("get_memory_handle: cannot get /chosen\n"); 89 if (OF_getprop(chosen, "memory", &memh, sizeof(memh)) == -1) [all...] |
| /src/sys/arch/macppc/dev/ |
| zs.c | 579 * the best. A source has to match BETTER than tol to be chosen. 581 * chosen. Also, allow for the possibility that one source might run 995 int chosen, pkg; local 998 if ((chosen = OF_finddevice("/chosen")) == -1) 1001 if (OF_getprop(chosen, "stdin", &stdin, sizeof(stdin)) == -1) 1003 if (OF_getprop(chosen, "stdout", &stdout, sizeof(stdout)) == -1) 1061 int chosen, escc_ch; local 1064 if ((chosen = OF_finddevice("/chosen")) == -1 [all...] |
| /src/sys/stand/efiboot/ |
| efifdt.c | 48 #define FDT_CHOSEN_NODE_PATH "/chosen" 49 #define FDT_CHOSEN_NODE_NAME "chosen" 228 int chosen; local 230 chosen = fdt_path_offset(fdt_data, FDT_CHOSEN_NODE_PATH); 231 if (chosen < 0) 232 chosen = fdt_add_subnode(fdt_data, 235 if (chosen < 0) 238 return chosen; 245 int chosen; local 247 chosen = efi_fdt_chosen() 279 int chosen = efi_fdt_chosen(); local 338 int fb, chosen; local 411 int chosen; local 450 const int chosen = efi_fdt_chosen(); local 464 int chosen; local 478 int chosen; local 492 int chosen; local 508 int chosen; local [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/hpke/ |
| hpke.c | 293 * @param mode is the caller's chosen mode 1381 OSSL_HPKE_SUITE chosen; local 1394 if (hpke_random_suite(libctx, propq, &chosen) != 1) { 1399 chosen = *suite_in; 1401 if (hpke_suite_check(chosen, &kem_info, NULL, &aead_info) != 1) { 1405 *suite = chosen; 1424 if (OSSL_HPKE_keygen(chosen, enc, enclen, &fakepriv, NULL, 0,
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| arch-utils.c | 703 const char *chosen = arches[0]; 707 if (strcmp (arch, chosen) < 0) 708 chosen = arch; 711 if (chosen == NULL) 714 default_bfd_arch = bfd_scan_arch (chosen); 701 const char *chosen = arches[0]; local
|
| /src/external/gpl3/gdb/dist/gdb/ |
| arch-utils.c | 703 const char *chosen = arches[0]; 707 if (strcmp (arch, chosen) < 0) 708 chosen = arch; 711 if (chosen == NULL) 714 default_bfd_arch = bfd_scan_arch (chosen); 701 const char *chosen = arches[0]; local
|
| /src/sys/arch/sparc/sparc/ |
| promlib.c | 206 int chosen = findchosen(); local 207 OF_getprop(chosen, "stdout", &stdout_node, sizeof(int)); 1008 if ((node = chosennode) == 0 && (node = OF_finddevice("/chosen")) == -1) 1009 panic("no CHOSEN node");
|