/openbmc/linux/drivers/of/ |
H A D | kexec.c | 201 static void remove_ima_buffer(void *fdt, int chosen_node) in remove_ima_buffer() argument 211 prop = fdt_getprop(fdt, chosen_node, "linux,ima-kexec-buffer", &len); in remove_ima_buffer() 216 fdt_delprop(fdt, chosen_node, "linux,ima-kexec-buffer"); in remove_ima_buffer() 235 int chosen_node) in setup_ima_buffer() argument 242 ret = fdt_appendprop_addrrange(fdt, 0, chosen_node, in setup_ima_buffer() 261 int chosen_node) in setup_ima_buffer() argument 285 int ret, chosen_node, len; in of_kexec_alloc_and_setup_fdt() local 311 chosen_node = fdt_path_offset(fdt, "/chosen"); in of_kexec_alloc_and_setup_fdt() 312 if (chosen_node == -FDT_ERR_NOTFOUND) in of_kexec_alloc_and_setup_fdt() 313 chosen_node = fdt_add_subnode(fdt, fdt_path_offset(fdt, "/"), in of_kexec_alloc_and_setup_fdt() [all …]
|
/openbmc/u-boot/board/emulation/qemu-riscv/ |
H A D | qemu-riscv.c | 26 ofnode chosen_node; in board_late_init() local 29 chosen_node = ofnode_path("/chosen"); in board_late_init() 30 if (!ofnode_valid(chosen_node)) { in board_late_init() 36 ret = ofnode_read_u64(chosen_node, "riscv,kernel-start", in board_late_init() 39 ret = ofnode_read_u32(chosen_node, "riscv,kernel-start", in board_late_init()
|
/openbmc/linux/arch/riscv/kernel/pi/ |
H A D | cmdline_early.c | 23 int chosen_node; in get_early_cmdline() local 26 chosen_node = fdt_path_offset((void *)dtb_pa, "/chosen"); in get_early_cmdline() 27 if (chosen_node >= 0) { in get_early_cmdline() 28 fdt_cmdline = fdt_getprop((void *)dtb_pa, chosen_node, in get_early_cmdline()
|
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | riscv.c | 21 int chosen_node, len; in get_boot_hartid_from_fdt() local 28 chosen_node = fdt_path_offset(fdt, "/chosen"); in get_boot_hartid_from_fdt() 29 if (chosen_node < 0) in get_boot_hartid_from_fdt() 32 prop = fdt_getprop((void *)fdt, chosen_node, "boot-hartid", &len); in get_boot_hartid_from_fdt()
|
/openbmc/u-boot/arch/arm/mach-rockchip/ |
H A D | spl-boot-order.c | 102 int chosen_node = fdt_path_offset(blob, "/chosen"); in board_boot_order() local 109 if (chosen_node < 0) { in board_boot_order() 117 (conf = fdt_stringlist_get(blob, chosen_node, in board_boot_order()
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | plpks.c | 661 int chosen_node = fdt_path_offset(fdt, "/chosen"); in plpks_early_init_devtree() local 665 if (chosen_node < 0) in plpks_early_init_devtree() 668 password = fdt_getprop(fdt, chosen_node, "ibm,plpks-pw", &len); in plpks_early_init_devtree() 684 fdt_nop_property(fdt, chosen_node, "ibm,plpks-pw"); in plpks_early_init_devtree()
|
/openbmc/u-boot/drivers/core/ |
H A D | ofnode.c | 411 ofnode chosen_node; in ofnode_get_chosen_prop() local 413 chosen_node = ofnode_path("/chosen"); in ofnode_get_chosen_prop() 415 return ofnode_read_string(chosen_node, name); in ofnode_get_chosen_prop()
|
/openbmc/u-boot/lib/ |
H A D | fdtdec.c | 580 int chosen_node; in fdtdec_get_chosen_prop() local 584 chosen_node = fdt_path_offset(blob, "/chosen"); in fdtdec_get_chosen_prop() 585 return fdt_getprop(blob, chosen_node, name, NULL); in fdtdec_get_chosen_prop()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | head_64.S | 246 stx %l4, [%sp + 2047 + 128 + 0x18] ! arg1, chosen_node
|