HomeSort by: relevance | last modified time | path
    Searched defs:chosen (Results 1 - 25 of 25) sorted by relevancy

  /src/sys/dev/fdt/
fdt_userconf.c 39 #define FDT_CHOSEN_PATH "/chosen"
47 int chosen, index; local in function:userconf_bootinfo
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 in function:fdt_probe_range
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 in function:fdt_get_bootargs
198 if (chosen >= 0
404 const int chosen = OF_finddevice("\/chosen"); local in function:fdt_detect_root_device
    [all...]
  /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/rockchip/
rk3568-evb1-v10.dts 16 chosen: chosen { label
  /src/sys/arch/macppc/stand/ofwboot/
hfs.c 41 int chosen; local in function:hfs_open
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 in function:efi_fdt_get_boot_hartid
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 in function:acpi_fdt_smbios_init
173 if (chosen >= 0) {
174 of_getprop_uint64(chosen, "netbsd,smbios-table", &smbios_table);
arm_fdt.c 207 const int chosen = OF_finddevice("/chosen"); local in function:arm_fdt_module_init
215 if (chosen == -1)
218 data = fdtbus_get_prop(chosen, "netbsd,modules", &len);
223 module_name = fdtbus_get_string_index(chosen,
281 const int chosen = OF_finddevice("/chosen"); local in function:arm_fdt_efi_init
282 if (chosen < 0)
290 if (of_getprop_uint64(chosen, "netbsd,uefi-system-table", &efi_system_table) != 0)
pcihost_fdt.c 258 const int chosen = OF_finddevice("/chosen"); local in function:pcihost_config
259 if (chosen <= 0 || of_getprop_uint32(chosen, "linux,pci-probe-only", &probe_only))
  /src/sys/arch/ofppc/stand/ofwboot/
boot.c 192 int chosen, cpu, cpunode, j, is64=0; local in function:main
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 in function:setup
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 in function:main
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 in function:setup
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 in function:copy_rom_font
200 chosen = OF_finddevice("/chosen");
201 OF_getprop(chosen, "mmu", &mmu, 4);
  /src/sys/dev/ofw/
ofcons.c 269 int chosen; local in function:ofcons_probe
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/macppc/stand/bootxx/
bootxx.c 315 int fd, blk, chosen, options, j; local in function:startup
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/arch/arm/sunxi/
sunxi_drm.c 317 int chosen, child, error; local in function:sunxi_drm_simplefb_lookup
320 chosen = OF_finddevice("/chosen");
321 if (chosen == -1)
324 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 in function:acpi_md_pmapflags
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 in function:acpi_md_OsGetRootPointer
152 if (chosen == -1)
155 if (of_getprop_uint64(chosen, "netbsd,acpi-root-table", &pa) != 0)
  /src/sys/arch/riscv/fdt/
pcihost_fdt.c 241 const int chosen = OF_finddevice("/chosen"); local in function:pcihost_config
242 if (chosen <= 0 || of_getprop_uint32(chosen, "linux,pci-probe-only", &probe_only))
  /src/sys/arch/sparc/stand/ofwboot/
Locore.c 485 u_int chosen; local in function:OF_initialize
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 in function:get_mmu_handle
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 in function:get_memory_handle
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...]
autoconf.c 402 int chosen; local in function:get_bootpath_from_prom
407 if ((chosen = OF_finddevice("/chosen")) == -1)
414 if (OF_getprop(chosen, "bootpath", sbuf, sizeof(sbuf)) < 0)
446 if (OF_getprop(chosen, "bootargs", sbuf, sizeof(sbuf)) == -1)
680 "chosen",
1408 * nodes for each head and /chosen/stdout
  /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 in function:zscnprobe
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 in function:zscn_delayed_init
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 in function:efi_fdt_chosen
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 in function:efi_fdt_system_table
247 chosen = efi_fdt_chosen()
279 int chosen = efi_fdt_chosen(); local in function:efi_fdt_memory_map
338 int fb, chosen; local in function:efi_fdt_gop
411 int chosen; local in function:efi_fdt_bootargs
450 const int chosen = efi_fdt_chosen(); local in function:efi_fdt_userconf_addprop
464 int chosen; local in function:efi_fdt_initrd
478 int chosen; local in function:efi_fdt_rndseed
492 int chosen; local in function:efi_fdt_efirng
508 int chosen; local in function:efi_fdt_module
    [all...]
  /src/sys/arch/sparc/sparc/
promlib.c 205 int chosen = findchosen(); local in function:notimplemented
206 OF_getprop(chosen, "stdout", &stdout_node, sizeof(int));
875 if ((node = chosennode) == 0 && (node = OF_finddevice("/chosen")) == -1)
876 panic("no CHOSEN node");
  /src/sys/arch/shark/ofw/
ofw.c 432 int chosen; local in function:get_fw_dhcp_data
436 if ((chosen = OF_finddevice("/chosen")) == -1)
437 panic("no /chosen from OFW");
438 if ((dhcplen = OF_getproplen(chosen, "bootp-response")) > 0) {
448 OF_getprop(chosen, "bootp-response", &bdp->dhcp_packet,
519 int chosen; local in function:ofw_getbootinfo
527 if ((chosen = OF_finddevice("/chosen")) == -1)
528 panic("no /chosen from OFW")
1658 int chosen; local in function:ofw_mem_ihandle
1677 int chosen; local in function:ofw_mmu_ihandle
    [all...]

Completed in 27 milliseconds