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

1 2

  /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_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,
  /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/rockchip/
rk3568-evb1-v10.dts 16 chosen: chosen { label
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);
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);
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);
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)
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)
  /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...]
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...]
  /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);
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);
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) !=
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))
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 313 int chosen, child, error; local in function:sunxi_drm_simplefb_lookup
316 chosen = OF_finddevice("/chosen");
317 if (chosen == -1)
320 for (child = OF_child(chosen); child; child = OF_peer(child)) {
sunxi_drm.c 313 int chosen, child, error; local in function:sunxi_drm_simplefb_lookup
316 chosen = OF_finddevice("/chosen");
317 if (chosen == -1)
320 for (child = OF_child(chosen); child; child = OF_peer(child)) {

Completed in 56 milliseconds

1 2