Home
last modified time | relevance | path

Searched refs:fdt32_to_cpu (Results 1 – 22 of 22) sorted by relevance

/external/dtc/
Dfdtdump.c49 uint32_t off_mem_rsvmap = fdt32_to_cpu(bph->off_mem_rsvmap); in dump_blob()
50 uint32_t off_dt = fdt32_to_cpu(bph->off_dt_struct); in dump_blob()
51 uint32_t off_str = fdt32_to_cpu(bph->off_dt_strings); in dump_blob()
56 uint32_t version = fdt32_to_cpu(bph->version); in dump_blob()
57 uint32_t totalsize = fdt32_to_cpu(bph->totalsize); in dump_blob()
68 printf("// magic:\t\t0x%x\n", fdt32_to_cpu(bph->magic)); in dump_blob()
75 fdt32_to_cpu(bph->last_comp_version)); in dump_blob()
78 fdt32_to_cpu(bph->boot_cpuid_phys)); in dump_blob()
82 fdt32_to_cpu(bph->size_dt_strings)); in dump_blob()
85 fdt32_to_cpu(bph->size_dt_struct)); in dump_blob()
[all …]
Dflattree.c182 asm_emit_cell(e, fdt32_to_cpu(*((uint32_t *)(d.val+off)))); in asm_emit_data()
400 padlen = minsize - fdt32_to_cpu(fdt.totalsize); in dt_to_blob()
406 fdt32_to_cpu(fdt.totalsize), minsize); in dt_to_blob()
414 padlen = ALIGN(fdt32_to_cpu(fdt.totalsize) + padlen, alignsize) in dt_to_blob()
415 - fdt32_to_cpu(fdt.totalsize); in dt_to_blob()
418 int tsize = fdt32_to_cpu(fdt.totalsize); in dt_to_blob()
618 return fdt32_to_cpu(val); in flat_read_word()
847 magic = fdt32_to_cpu(magic); in dt_from_blob()
861 totalsize = fdt32_to_cpu(totalsize); in dt_from_blob()
888 off_dt = fdt32_to_cpu(fdt->off_dt_struct); in dt_from_blob()
[all …]
Dfdtget.c108 value = size == 4 ? fdt32_to_cpu(*(const uint32_t *)p) : in show_data()
134 name = fdt_string(blob, fdt32_to_cpu(data->nameoff)); in list_properties()
Ddtc.c162 magic = fdt32_to_cpu(magic); in guess_input_format()
Dtreesource.c153 fprintf(f, "0x%x", fdt32_to_cpu(*cp++)); in write_propval_cells()
Dutil.c403 printf("0x%08x%s", fdt32_to_cpu(cell[i]), in utilfdt_print_data()
Dlivetree.c418 return fdt32_to_cpu(*((cell_t *)prop->val.val)); in propval_cell()
/external/dtc/tests/
Ddtbs_equal_ordered.c126 name1 = fdt_string(fdt1, fdt32_to_cpu(prop1->nameoff)); in compare_structure()
127 name2 = fdt_string(fdt2, fdt32_to_cpu(prop2->nameoff)); in compare_structure()
131 len1 = fdt32_to_cpu(prop1->len); in compare_structure()
132 len2 = fdt32_to_cpu(prop2->len); in compare_structure()
Dreferences.c42 ref = fdt32_to_cpu(*p); in check_ref()
53 ref = fdt32_to_cpu(*p); in check_ref()
71 ref = fdt32_to_cpu(*p); in check_rref()
Dtestutils.c102 tag = fdt32_to_cpu(prop->tag); in check_property()
103 nameoff = fdt32_to_cpu(prop->nameoff); in check_property()
104 proplen = fdt32_to_cpu(prop->len); in check_property()
Dinteger-expressions.c108 if (fdt32_to_cpu(res[i]) != expr_table[i].result) in main()
111 expr_table[i].expr, fdt32_to_cpu(res[i]), in main()
Droot_node.c44 if (fdt32_to_cpu(nh->tag) != FDT_BEGIN_NODE) in main()
Dsubnode_offset.c46 tag = fdt32_to_cpu(nh->tag); in check_subnode()
Dpath_offset.c46 tag = fdt32_to_cpu(nh->tag); in check_subnode()
Doverlay.c54 *out = fdt32_to_cpu(*(val + poffset)); in fdt_getprop_u32_by_poffset()
/external/dtc/libfdt/
Dfdt_addresses.c71 val = fdt32_to_cpu(*ac); in fdt_address_cells()
91 val = fdt32_to_cpu(*sc); in fdt_size_cells()
Dfdt_overlay.c34 return fdt32_to_cpu(*val); in overlay_get_target_phandle()
113 adj_val = fdt32_to_cpu(*val); in overlay_phandle_add_offset()
239 poffset = fdt32_to_cpu(fixup_val[i]); in overlay_update_local_node_references()
249 adj_val = fdt32_to_cpu(adj_val); in overlay_update_local_node_references()
Dfdt.c105 tag = fdt32_to_cpu(*tagp); in fdt_next_tag()
125 + fdt32_to_cpu(*lenp); in fdt_next_tag()
Dfdt_ro.c287 *lenp = fdt32_to_cpu(prop->len); in fdt_get_property_by_offset()
306 if (_fdt_string_eq(fdt, fdt32_to_cpu(prop->nameoff), in fdt_get_property_namelen()
345 *namep = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); in fdt_getprop_by_offset()
369 return fdt32_to_cpu(*php); in fdt_get_phandle()
Dlibfdt_env.h90 static inline uint32_t fdt32_to_cpu(fdt32_t x) in fdt32_to_cpu() function
Dfdt_sw.c275 nameoff = fdt32_to_cpu(prop->nameoff); in fdt_finish()
Dlibfdt.h215 (fdt32_to_cpu(((const struct fdt_header *)(fdt))->field))