Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/powerpc/kexec/
H A 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 …]
H A 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()
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A 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()
/OK3568_Linux_fs/kernel/drivers/firmware/efi/libstub/
H A 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()
/OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/
H A Dspl-boot-order.c145 int chosen_node = fdt_path_offset(blob, "/chosen"); in board_boot_order() local
152 if (chosen_node < 0) { in board_boot_order()
160 (conf = fdt_stringlist_get(blob, chosen_node, in board_boot_order()
/OK3568_Linux_fs/u-boot/drivers/core/
H A Dofnode.c400 ofnode chosen_node; in ofnode_get_chosen_prop() local
402 chosen_node = ofnode_path("/chosen"); in ofnode_get_chosen_prop()
404 return ofnode_read_string(chosen_node, name); in ofnode_get_chosen_prop()
/OK3568_Linux_fs/u-boot/lib/
H A Dfdtdec.c551 int chosen_node; in fdtdec_get_chosen_prop() local
555 chosen_node = fdt_path_offset(blob, "/chosen"); in fdtdec_get_chosen_prop()
556 return fdt_getprop(blob, chosen_node, name, NULL); in fdtdec_get_chosen_prop()
/OK3568_Linux_fs/kernel/arch/sparc/kernel/
H A Dhead_64.S246 stx %l4, [%sp + 2047 + 128 + 0x18] ! arg1, chosen_node