Lines Matching refs:fdt

21 			void *fdt, int new_fdt_size, char *cmdline_ptr,  in update_fdt()  argument
49 status = fdt_open_into(orig_fdt, fdt, new_fdt_size); in update_fdt()
51 status = fdt_create_empty_tree(fdt, new_fdt_size); in update_fdt()
65 node = fdt_next_node(fdt, prev, NULL); in update_fdt()
69 type = fdt_getprop(fdt, node, "device_type", &len); in update_fdt()
71 fdt_del_node(fdt, node); in update_fdt()
82 num_rsv = fdt_num_mem_rsv(fdt); in update_fdt()
84 fdt_del_mem_rsv(fdt, num_rsv); in update_fdt()
86 node = fdt_subnode_offset(fdt, 0, "chosen"); in update_fdt()
88 node = fdt_add_subnode(fdt, 0, "chosen"); in update_fdt()
96 status = fdt_setprop(fdt, node, "bootargs", cmdline_ptr, in update_fdt()
107 status = fdt_setprop(fdt, node, "linux,initrd-start", in update_fdt()
112 status = fdt_setprop(fdt, node, "linux,initrd-end", in update_fdt()
119 node = fdt_subnode_offset(fdt, 0, "chosen"); in update_fdt()
121 status = fdt_setprop(fdt, node, "linux,uefi-system-table", in update_fdt()
127 status = fdt_setprop(fdt, node, "linux,uefi-mmap-start", in update_fdt()
133 status = fdt_setprop(fdt, node, "linux,uefi-mmap-size", in update_fdt()
139 status = fdt_setprop(fdt, node, "linux,uefi-mmap-desc-size", in update_fdt()
145 status = fdt_setprop(fdt, node, "linux,uefi-mmap-desc-ver", in update_fdt()
321 void *fdt; in get_fdt() local
325 fdt = NULL; in get_fdt()
329 fdt = (void *) tables[i].table; in get_fdt()
330 if (fdt_check_header(fdt) != 0) { in get_fdt()
334 *fdt_size = fdt_totalsize(fdt); in get_fdt()
338 return fdt; in get_fdt()