Home
last modified time | relevance | path

Searched refs:chosen_node (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-6.6/drivers/of/
H A Dkexec.c196 * @chosen_node: Offset to the chosen node in the device tree
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()
230 * @chosen_node: Offset to the chosen node.
235 int chosen_node) in setup_ima_buffer()
242 ret = fdt_appendprop_addrrange(fdt, 0, chosen_node, in setup_ima_buffer()
261 int chosen_node) in setup_ima_buffer()
285 int ret, chosen_node, len; in of_kexec_alloc_and_setup_fdt() local
311 chosen_node in of_kexec_alloc_and_setup_fdt()
234 setup_ima_buffer(const struct kimage *image, void *fdt, int chosen_node) setup_ima_buffer() argument
260 setup_ima_buffer(const struct kimage *image, void *fdt, int chosen_node) setup_ima_buffer() argument
[all...]
/kernel/linux/linux-5.10/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, "linu 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()
173 * @chosen_node: Offset to the chosen node.
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/
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()
25 remove_ima_buffer(fdt, chosen_node); in setup_ima_buffer()
22 setup_ima_buffer(const struct kimage *image, void *fdt, int chosen_node) setup_ima_buffer() argument
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dhead_64.S221 /* chosen_node = prom_finddevice("/chosen") */
240 /* prom_mmu_ihandle_cache = prom_getint(chosen_node, "mmu") */
246 stx %l4, [%sp + 2047 + 128 + 0x18] ! arg1, chosen_node
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dhead_64.S221 /* chosen_node = prom_finddevice("/chosen") */
240 /* prom_mmu_ihandle_cache = prom_getint(chosen_node, "mmu") */
246 stx %l4, [%sp + 2047 + 128 + 0x18] ! arg1, chosen_node

Completed in 8 milliseconds