Searched refs:chosen_node (Results 1 – 2 of 2) sorted by relevance
/drivers/of/ |
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 …]
|
/drivers/firmware/efi/libstub/ |
D | riscv-stub.c | 32 int chosen_node, len; in get_boot_hartid_from_fdt() local 39 chosen_node = fdt_path_offset(fdt, "/chosen"); in get_boot_hartid_from_fdt() 40 if (chosen_node < 0) in get_boot_hartid_from_fdt() 43 prop = fdt_getprop((void *)fdt, chosen_node, "boot-hartid", &len); in get_boot_hartid_from_fdt()
|