Searched refs:fdt32_to_cpu (Results 1 – 19 of 19) sorted by relevance
/Linux-v5.4/scripts/dtc/ |
D | fdtdump.c | 35 printf("0x%08x%s", fdt32_to_cpu(GET_CELL(p)), in print_data() 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() [all …]
|
D | flattree.c | 159 asm_emit_cell(e, fdt32_to_cpu(*((fdt32_t *)(d.val+off)))); in asm_emit_data() 376 padlen = minsize - fdt32_to_cpu(fdt.totalsize); in dt_to_blob() 382 fdt32_to_cpu(fdt.totalsize), minsize); in dt_to_blob() 390 padlen = ALIGN(fdt32_to_cpu(fdt.totalsize) + padlen, alignsize) in dt_to_blob() 391 - fdt32_to_cpu(fdt.totalsize); in dt_to_blob() 394 int tsize = fdt32_to_cpu(fdt.totalsize); in dt_to_blob() 594 return fdt32_to_cpu(val); in flat_read_word() 826 magic = fdt32_to_cpu(magic_buf); in dt_from_blob() 840 totalsize = fdt32_to_cpu(totalsize_buf); in dt_from_blob() 867 off_dt = fdt32_to_cpu(fdt->off_dt_struct); in dt_from_blob() [all …]
|
D | fdtget.c | 94 value = size == 4 ? fdt32_to_cpu(*(const uint32_t *)p) : in show_data() 120 name = fdt_string(blob, fdt32_to_cpu(data->nameoff)); in list_properties()
|
D | checks.c | 836 if (fdt32_to_cpu(cells[0]) > fdt32_to_cpu(cells[1])) in check_pci_bridge() 838 if (fdt32_to_cpu(cells[1]) > 0xff) in check_pci_bridge() 858 bus_num = (fdt32_to_cpu(cells[0]) & 0x00ff0000) >> 16; in check_pci_device_bus_num() 865 min_bus = fdt32_to_cpu(cells[0]); in check_pci_device_bus_num() 866 max_bus = fdt32_to_cpu(cells[0]); in check_pci_device_bus_num() 895 reg = fdt32_to_cpu(cells[0]); in check_pci_device_reg() 978 reg = (reg << 32) | fdt32_to_cpu(*(cells++)); in check_simple_bus_reg() 1038 reg = fdt32_to_cpu(*cells); in check_i2c_bus_reg() 1045 reg = fdt32_to_cpu(*(cells++)); in check_i2c_bus_reg() 1122 reg = fdt32_to_cpu(*cells); in check_spi_bus_reg()
|
D | dtc.c | 154 if (fdt32_to_cpu(magic) == FDT_MAGIC) in guess_input_format()
|
D | yamltree.c | 65 sprintf(buf, "0x%"PRIx32, fdt32_to_cpu(*(fdt32_t*)(data + off))); in yaml_propval_int()
|
D | treesource.c | 116 fprintf(f, "0x%02"PRIx32, fdt32_to_cpu(*(const fdt32_t*)p)); in write_propval_int()
|
D | util.c | 396 printf("0x%08x%s", fdt32_to_cpu(cell[i]), in utilfdt_print_data()
|
D | livetree.c | 438 return fdt32_to_cpu(*((fdt32_t *)prop->val.val)); in propval_cell() 444 return fdt32_to_cpu(*((fdt32_t *)prop->val.val + n)); in propval_cell_n()
|
/Linux-v5.4/scripts/dtc/libfdt/ |
D | fdt.c | 137 tag = fdt32_to_cpu(*tagp); in fdt_next_tag() 157 + fdt32_to_cpu(*lenp); in fdt_next_tag() 158 if (fdt_version(fdt) < 0x10 && fdt32_to_cpu(*lenp) >= 8 && in fdt_next_tag() 159 ((offset - fdt32_to_cpu(*lenp)) % 8) != 0) in fdt_next_tag()
|
D | fdt_overlay.c | 37 if ((len != sizeof(*val)) || (fdt32_to_cpu(*val) == (uint32_t)-1)) in overlay_get_target_phandle() 40 return fdt32_to_cpu(*val); in overlay_get_target_phandle() 130 adj_val = fdt32_to_cpu(*val); in overlay_phandle_add_offset() 257 poffset = fdt32_to_cpu(fixup_val[i]); in overlay_update_local_node_references() 267 adj_val = cpu_to_fdt32(fdt32_to_cpu(adj_val) + delta); in overlay_update_local_node_references()
|
D | fdt_addresses.c | 27 val = fdt32_to_cpu(*c); in fdt_cells()
|
D | libfdt_env.h | 47 static inline uint32_t fdt32_to_cpu(fdt32_t x) in fdt32_to_cpu() function
|
D | fdt_sw.c | 359 nameoff = fdt32_to_cpu(prop->nameoff); in fdt_finish()
|
/Linux-v5.4/include/linux/ |
D | libfdt_env.h | 14 #define fdt32_to_cpu(x) be32_to_cpu(x) macro
|
/Linux-v5.4/arch/arm/boot/compressed/ |
D | libfdt_env.h | 17 #define fdt32_to_cpu(x) be32_to_cpu(x) macro
|
D | atags_to_fdt.c | 66 cell_size = fdt32_to_cpu(*size_len); in get_cell_size() 141 if (*(u32 *)atag_list == fdt32_to_cpu(FDT_MAGIC)) in atags_to_fdt()
|
/Linux-v5.4/arch/powerpc/boot/ |
D | libfdt_env.h | 20 #define fdt32_to_cpu(x) be32_to_cpu(x) macro
|
/Linux-v5.4/drivers/of/ |
D | fdt.c | 61 nr_address_cells = fdt32_to_cpu(*addr_prop); in of_fdt_limit_memory() 66 nr_size_cells = fdt32_to_cpu(*size_prop); in of_fdt_limit_memory()
|