Home
last modified time | relevance | path

Searched refs:chosen_node (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/of/
H A Dkexec.c235 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()
315 if (chosen_node < 0) { in of_kexec_alloc_and_setup_fdt()
316 ret = chosen_node; in of_kexec_alloc_and_setup_fdt()
421 ret = fdt_delprop(fdt, chosen_node, "bootargs"); in of_kexec_alloc_and_setup_fdt()
427 ret = fdt_delprop(fdt, chosen_node, "kaslr-seed"); in of_kexec_alloc_and_setup_fdt()
[all …]
/openbmc/u-boot/board/emulation/qemu-riscv/
H A Dqemu-riscv.c26 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 Dcmdline_early.c23 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 Driscv.c21 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 Dspl-boot-order.c102 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 Dplpks.c661 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 Dofnode.c411 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 Dfdtdec.c580 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 Dhead_64.S246 stx %l4, [%sp + 2047 + 128 + 0x18] ! arg1, chosen_node