Lines Matching refs:working_fdt

37 struct fdt_header *working_fdt;  variable
44 working_fdt = buf; in set_working_fdt_addr()
108 blob = working_fdt; in do_fdt()
152 if (!working_fdt) { in do_fdt()
174 working_fdt = (struct fdt_header *)simple_strtoul(argv[2], NULL, 16); in do_fdt()
175 if (!fdt_valid(&working_fdt)) in do_fdt()
185 len = fdt_totalsize(working_fdt); in do_fdt()
188 if (len < fdt_totalsize(working_fdt)) { in do_fdt()
191 len, fdt_totalsize(working_fdt)); in do_fdt()
199 err = fdt_open_into(working_fdt, newaddr, len); in do_fdt()
205 working_fdt = newaddr; in do_fdt()
209 int err = ft_system_setup(working_fdt, gd->bd); in do_fdt()
235 nodeoffset = fdt_path_offset (working_fdt, pathp); in do_fdt()
244 err = fdt_add_subnode(working_fdt, nodeoffset, nodep); in do_fdt()
272 nodeoffset = fdt_path_offset (working_fdt, pathp); in do_fdt()
285 ptmp = fdt_getprop(working_fdt, nodeoffset, prop, &len); in do_fdt()
299 ret = fdt_setprop(working_fdt, nodeoffset, prop, data, len); in do_fdt()
332 nodeoffset = fdt_path_offset(working_fdt, pathp); in do_fdt()
345 working_fdt, nodeoffset); in do_fdt()
349 working_fdt, nodeoffset, &curDepth); in do_fdt()
360 node_name = fdt_get_name(working_fdt, in do_fdt()
367 working_fdt, nextNodeOffset, &curDepth); in do_fdt()
381 working_fdt, nodeoffset, prop, &len); in do_fdt()
461 nodeoffset = fdt_path_offset (working_fdt, argv[2]); in do_fdt()
475 err = fdt_delprop(working_fdt, nodeoffset, argv[3]); in do_fdt()
482 err = fdt_del_node(working_fdt, nodeoffset); in do_fdt()
494 u32 version = fdt_version(working_fdt); in do_fdt()
495 printf("magic:\t\t\t0x%x\n", fdt_magic(working_fdt)); in do_fdt()
496 printf("totalsize:\t\t0x%x (%d)\n", fdt_totalsize(working_fdt), in do_fdt()
497 fdt_totalsize(working_fdt)); in do_fdt()
499 fdt_off_dt_struct(working_fdt)); in do_fdt()
501 fdt_off_dt_strings(working_fdt)); in do_fdt()
503 fdt_off_mem_rsvmap(working_fdt)); in do_fdt()
506 fdt_last_comp_version(working_fdt)); in do_fdt()
509 fdt_boot_cpuid_phys(working_fdt)); in do_fdt()
512 fdt_size_dt_strings(working_fdt)); in do_fdt()
515 fdt_size_dt_struct(working_fdt)); in do_fdt()
517 fdt_num_mem_rsv(working_fdt)); in do_fdt()
525 fdt_set_boot_cpuid_phys(working_fdt, tmp); in do_fdt()
535 err = fdt_fixup_memory(working_fdt, addr, size); in do_fdt()
545 int total = fdt_num_mem_rsv(working_fdt); in do_fdt()
551 err = fdt_get_mem_rsv(working_fdt, j, &addr, &size); in do_fdt()
568 err = fdt_add_mem_rsv(working_fdt, addr, size); in do_fdt()
577 int err = fdt_del_mem_rsv(working_fdt, idx); in do_fdt()
592 int err = ft_board_setup(working_fdt, gd->bd); in do_fdt()
613 fdt_chosen(working_fdt); in do_fdt()
614 fdt_initrd(working_fdt, initrd_start, initrd_end); in do_fdt()
623 if (!working_fdt) in do_fdt()
636 cfg_noffset = fit_conf_get_node(working_fdt, NULL); in do_fdt()
643 ret = fit_config_verify(working_fdt, cfg_noffset); in do_fdt()
661 if (!working_fdt) in do_fdt()
670 ret = fdt_overlay_apply_verbose(working_fdt, blob); in do_fdt()
682 fdt_shrink_to_minimum(working_fdt, extrasize); in do_fdt()
962 nodeoffset = fdt_path_offset (working_fdt, pathp); in fdt_print()
976 nodep = fdt_getprop (working_fdt, nodeoffset, prop, &len); in fdt_print()
998 tag = fdt_next_tag(working_fdt, nodeoffset, &nextoffset); in fdt_print()
1001 pathp = fdt_get_name(working_fdt, nodeoffset, NULL); in fdt_print()
1025 fdt_prop = fdt_offset_ptr(working_fdt, nodeoffset, in fdt_print()
1027 pathp = fdt_string(working_fdt, in fdt_print()