• Home
  • Raw
  • Download

Lines Matching refs:chosen_node

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()
315 if (chosen_node < 0) { in of_kexec_alloc_and_setup_fdt()
316 ret = chosen_node; in of_kexec_alloc_and_setup_fdt()
320 ret = fdt_delprop(fdt, chosen_node, "linux,elfcorehdr"); in of_kexec_alloc_and_setup_fdt()
323 ret = fdt_delprop(fdt, chosen_node, "linux,usable-memory-range"); in of_kexec_alloc_and_setup_fdt()
328 prop = fdt_getprop(fdt, chosen_node, "linux,initrd-start", &len); in of_kexec_alloc_and_setup_fdt()
334 prop = fdt_getprop(fdt, chosen_node, "linux,initrd-end", &len); in of_kexec_alloc_and_setup_fdt()
357 ret = fdt_setprop_u64(fdt, chosen_node, "linux,initrd-start", in of_kexec_alloc_and_setup_fdt()
362 ret = fdt_setprop_u64(fdt, chosen_node, "linux,initrd-end", in of_kexec_alloc_and_setup_fdt()
372 ret = fdt_delprop(fdt, chosen_node, "linux,initrd-start"); in of_kexec_alloc_and_setup_fdt()
376 ret = fdt_delprop(fdt, chosen_node, "linux,initrd-end"); in of_kexec_alloc_and_setup_fdt()
383 ret = fdt_appendprop_addrrange(fdt, 0, chosen_node, in of_kexec_alloc_and_setup_fdt()
399 ret = fdt_appendprop_addrrange(fdt, 0, chosen_node, in of_kexec_alloc_and_setup_fdt()
406 ret = fdt_appendprop_addrrange(fdt, 0, chosen_node, in of_kexec_alloc_and_setup_fdt()
417 ret = fdt_setprop_string(fdt, chosen_node, "bootargs", cmdline); 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()
436 ret = fdt_setprop_u64(fdt, chosen_node, "kaslr-seed", seed); in of_kexec_alloc_and_setup_fdt()
448 ret = fdt_setprop_placeholder(fdt, chosen_node, "rng-seed", in of_kexec_alloc_and_setup_fdt()
458 ret = fdt_setprop(fdt, chosen_node, "linux,booted-from-kexec", NULL, 0); in of_kexec_alloc_and_setup_fdt()
462 remove_ima_buffer(fdt, chosen_node); in of_kexec_alloc_and_setup_fdt()