Lines Matching refs:prop

101 static int do_get_kexec_buffer(const void *prop, int len, unsigned long *addr,  in do_get_kexec_buffer()  argument
113 *addr = of_read_number(prop, addr_cells); in do_get_kexec_buffer()
114 *size = of_read_number(prop + 4 * addr_cells, size_cells); in do_get_kexec_buffer()
133 const void *prop; in ima_get_kexec_buffer() local
135 prop = of_get_property(of_chosen, "linux,ima-kexec-buffer", &len); in ima_get_kexec_buffer()
136 if (!prop) in ima_get_kexec_buffer()
139 ret = do_get_kexec_buffer(prop, len, &tmp_addr, &tmp_size); in ima_get_kexec_buffer()
173 struct property *prop; in ima_free_kexec_buffer() local
175 prop = of_find_property(of_chosen, "linux,ima-kexec-buffer", NULL); in ima_free_kexec_buffer()
176 if (!prop) in ima_free_kexec_buffer()
179 ret = do_get_kexec_buffer(prop->value, prop->length, &addr, &size); in ima_free_kexec_buffer()
183 ret = of_remove_property(of_chosen, prop); in ima_free_kexec_buffer()
206 const void *prop; in remove_ima_buffer() local
211 prop = fdt_getprop(fdt, chosen_node, "linux,ima-kexec-buffer", &len); in remove_ima_buffer()
212 if (!prop) in remove_ima_buffer()
215 ret = do_get_kexec_buffer(prop, len, &addr, &size); in remove_ima_buffer()
286 const void *prop; in of_kexec_alloc_and_setup_fdt() local
328 prop = fdt_getprop(fdt, chosen_node, "linux,initrd-start", &len); in of_kexec_alloc_and_setup_fdt()
329 if (prop) { in of_kexec_alloc_and_setup_fdt()
332 tmp_start = of_read_number(prop, len / 4); 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()
335 if (!prop) { in of_kexec_alloc_and_setup_fdt()
340 tmp_end = of_read_number(prop, len / 4); in of_kexec_alloc_and_setup_fdt()