Home
last modified time | relevance | path

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

12

/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.c174 asm_emit_cell(e, fdt32_to_cpu(*((fdt32_t *)(d.val+off)))); in asm_emit_data()
391 padlen = minsize - fdt32_to_cpu(fdt.totalsize); in dt_to_blob()
397 fdt32_to_cpu(fdt.totalsize), minsize); in dt_to_blob()
405 padlen = ALIGN(fdt32_to_cpu(fdt.totalsize) + padlen, alignsize) in dt_to_blob()
406 - fdt32_to_cpu(fdt.totalsize); in dt_to_blob()
409 int tsize = fdt32_to_cpu(fdt.totalsize); in dt_to_blob()
609 return fdt32_to_cpu(val); in flat_read_word()
841 magic = fdt32_to_cpu(magic_buf); in dt_from_blob()
855 totalsize = fdt32_to_cpu(totalsize_buf); in dt_from_blob()
882 off_dt = fdt32_to_cpu(fdt->off_dt_struct); in dt_from_blob()
[all …]
Dchecks.c728 if (fdt32_to_cpu(cells[0]) > fdt32_to_cpu(cells[1])) in check_pci_bridge()
731 if (fdt32_to_cpu(cells[1]) > 0xff) in check_pci_bridge()
752 bus_num = (fdt32_to_cpu(cells[0]) & 0x00ff0000) >> 16; in check_pci_device_bus_num()
759 min_bus = fdt32_to_cpu(cells[0]); in check_pci_device_bus_num()
760 max_bus = fdt32_to_cpu(cells[0]); in check_pci_device_bus_num()
790 reg = fdt32_to_cpu(cells[0]); in check_pci_device_reg()
874 reg = (reg << 32) | fdt32_to_cpu(*(cells++)); in check_simple_bus_reg()
Dfdtget.c108 value = size == 4 ? fdt32_to_cpu(*(const fdt32_t *)p) : in show_data()
134 name = fdt_string(blob, fdt32_to_cpu(data->nameoff)); in list_properties()
Ddtc.c162 if (fdt32_to_cpu(magic) == FDT_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()
/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_iterate.c48 subnodes = fdt32_to_cpu(*prop); in test_node()
Dproperty_iterate.c51 properties = fdt32_to_cpu(*prop); in test_node()
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.c31 if ((len != sizeof(*val)) || (fdt32_to_cpu(*val) == (uint32_t)-1)) in overlay_get_target_phandle()
34 return fdt32_to_cpu(*val); in overlay_get_target_phandle()
113 adj_val = fdt32_to_cpu(*val); in overlay_phandle_add_offset()
240 poffset = fdt32_to_cpu(fixup_val[i]); in overlay_update_local_node_references()
250 adj_val = cpu_to_fdt32(fdt32_to_cpu(adj_val) + delta); 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.c287 nameoff = fdt32_to_cpu(prop->nameoff); in fdt_finish()
Dlibfdt.h216 (fdt32_to_cpu(((const struct fdt_header *)(fdt))->field))
/external/dtc/pylibfdt/
Dlibfdt.i401 fdt_string(fdt1, fdt32_to_cpu($1->nameoff)));
403 (const char *)($1 + 1), fdt32_to_cpu($1->len));

12