Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/kexec/
Dfile_load.c159 int ret, chosen_node; in setup_new_fdt() local
170 chosen_node = fdt_path_offset(fdt, "/chosen"); in setup_new_fdt()
171 if (chosen_node == -FDT_ERR_NOTFOUND) { in setup_new_fdt()
172 chosen_node = fdt_add_subnode(fdt, fdt_path_offset(fdt, "/"), in setup_new_fdt()
174 if (chosen_node < 0) { in setup_new_fdt()
178 } else if (chosen_node < 0) { in setup_new_fdt()
184 prop = fdt_getprop(fdt, chosen_node, "linux,initrd-start", NULL); in setup_new_fdt()
190 prop = fdt_getprop(fdt, chosen_node, "linux,initrd-end", NULL); in setup_new_fdt()
213 ret = fdt_delprop(fdt, chosen_node, in setup_new_fdt()
220 ret = fdt_delprop(fdt, chosen_node, "linux,initrd-end"); in setup_new_fdt()
[all …]
Dima.c109 void remove_ima_buffer(void *fdt, int chosen_node) in remove_ima_buffer() argument
116 prop = fdt_getprop(fdt, chosen_node, "linux,ima-kexec-buffer", &len); in remove_ima_buffer()
121 fdt_delprop(fdt, chosen_node, "linux,ima-kexec-buffer"); in remove_ima_buffer()
177 int setup_ima_buffer(const struct kimage *image, void *fdt, int chosen_node) in setup_ima_buffer() argument
182 remove_ima_buffer(fdt, chosen_node); in setup_ima_buffer()
204 ret = fdt_setprop(fdt, chosen_node, "linux,ima-kexec-buffer", value, in setup_ima_buffer()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dima.h11 void remove_ima_buffer(void *fdt, int chosen_node);
13 static inline void remove_ima_buffer(void *fdt, int chosen_node) {} in remove_ima_buffer() argument
20 int setup_ima_buffer(const struct kimage *image, void *fdt, int chosen_node);
23 int chosen_node) in setup_ima_buffer() argument
25 remove_ima_buffer(fdt, chosen_node); in setup_ima_buffer()
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
Driscv-stub.c31 int chosen_node, len; in get_boot_hartid_from_fdt() local
38 chosen_node = fdt_path_offset(fdt, "/chosen"); in get_boot_hartid_from_fdt()
39 if (chosen_node < 0) in get_boot_hartid_from_fdt()
42 prop = fdt_getprop((void *)fdt, chosen_node, "boot-hartid", &len); in get_boot_hartid_from_fdt()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dhead_64.S246 stx %l4, [%sp + 2047 + 128 + 0x18] ! arg1, chosen_node