Searched refs:fdt32_to_cpu (Results 1 – 25 of 26) sorted by relevance
12
/external/dtc/ |
D | fdtdump.c | 49 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 …]
|
D | flattree.c | 174 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 …]
|
D | checks.c | 728 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()
|
D | fdtget.c | 108 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()
|
D | dtc.c | 162 if (fdt32_to_cpu(magic) == FDT_MAGIC) in guess_input_format()
|
D | treesource.c | 153 fprintf(f, "0x%x", fdt32_to_cpu(*cp++)); in write_propval_cells()
|
D | util.c | 403 printf("0x%08x%s", fdt32_to_cpu(cell[i]), in utilfdt_print_data()
|
/external/dtc/tests/ |
D | dtbs_equal_ordered.c | 126 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()
|
D | references.c | 42 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()
|
D | testutils.c | 102 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()
|
D | integer-expressions.c | 108 if (fdt32_to_cpu(res[i]) != expr_table[i].result) in main() 111 expr_table[i].expr, fdt32_to_cpu(res[i]), in main()
|
D | root_node.c | 44 if (fdt32_to_cpu(nh->tag) != FDT_BEGIN_NODE) in main()
|
D | subnode_iterate.c | 48 subnodes = fdt32_to_cpu(*prop); in test_node()
|
D | property_iterate.c | 51 properties = fdt32_to_cpu(*prop); in test_node()
|
D | subnode_offset.c | 46 tag = fdt32_to_cpu(nh->tag); in check_subnode()
|
D | path_offset.c | 46 tag = fdt32_to_cpu(nh->tag); in check_subnode()
|
D | overlay.c | 54 *out = fdt32_to_cpu(*(val + poffset)); in fdt_getprop_u32_by_poffset()
|
/external/dtc/libfdt/ |
D | fdt_addresses.c | 71 val = fdt32_to_cpu(*ac); in fdt_address_cells() 91 val = fdt32_to_cpu(*sc); in fdt_size_cells()
|
D | fdt_overlay.c | 31 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()
|
D | fdt.c | 105 tag = fdt32_to_cpu(*tagp); in fdt_next_tag() 125 + fdt32_to_cpu(*lenp); in fdt_next_tag()
|
D | fdt_ro.c | 287 *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()
|
D | libfdt_env.h | 90 static inline uint32_t fdt32_to_cpu(fdt32_t x) in fdt32_to_cpu() function
|
D | fdt_sw.c | 287 nameoff = fdt32_to_cpu(prop->nameoff); in fdt_finish()
|
D | libfdt.h | 216 (fdt32_to_cpu(((const struct fdt_header *)(fdt))->field))
|
/external/dtc/pylibfdt/ |
D | libfdt.i | 401 fdt_string(fdt1, fdt32_to_cpu($1->nameoff))); 403 (const char *)($1 + 1), fdt32_to_cpu($1->len));
|
12