Searched refs:fdt32_to_cpu (Results 1 – 18 of 18) sorted by relevance
377 padlen = minsize - fdt32_to_cpu(fdt.totalsize); in dt_to_blob()383 fdt32_to_cpu(fdt.totalsize), minsize); in dt_to_blob()391 padlen = ALIGN(fdt32_to_cpu(fdt.totalsize) + padlen, alignsize) in dt_to_blob()392 - fdt32_to_cpu(fdt.totalsize); in dt_to_blob()395 int tsize = fdt32_to_cpu(fdt.totalsize); in dt_to_blob()595 return fdt32_to_cpu(val); in flat_read_word()827 magic = fdt32_to_cpu(magic_buf); in dt_from_blob()841 totalsize = fdt32_to_cpu(totalsize_buf); in dt_from_blob()868 off_dt = fdt32_to_cpu(fdt->off_dt_struct); in dt_from_blob()869 off_str = fdt32_to_cpu(fdt->off_dt_strings); in dt_from_blob()[all …]
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()
865 if (fdt32_to_cpu(cells[0]) > fdt32_to_cpu(cells[1])) in check_pci_bridge()867 if (fdt32_to_cpu(cells[1]) > 0xff) in check_pci_bridge()887 bus_num = (fdt32_to_cpu(cells[0]) & 0x00ff0000) >> 16; in check_pci_device_bus_num()894 min_bus = fdt32_to_cpu(cells[0]); in check_pci_device_bus_num()895 max_bus = fdt32_to_cpu(cells[1]); in check_pci_device_bus_num()922 reg = fdt32_to_cpu(cells[0]); in check_pci_device_reg()1005 reg = (reg << 32) | fdt32_to_cpu(*(cells++)); in check_simple_bus_reg()1068 reg = fdt32_to_cpu(*cells); in check_i2c_bus_reg()1077 reg = fdt32_to_cpu(*(cells++)); in check_i2c_bus_reg()1159 reg = fdt32_to_cpu(*cells); in check_spi_bus_reg()
156 if (fdt32_to_cpu(magic) == FDT_MAGIC) in guess_input_format()
408 printf("0x%08" PRIx32 "%s", fdt32_to_cpu(cell[i]), in utilfdt_print_data()
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()
127 base = fdt32_to_cpu(reg[0]); in overlaps_reserved_region()129 base = (base << 32) | fdt32_to_cpu(reg[1]); in overlaps_reserved_region()134 size = fdt32_to_cpu(reg[0]); in overlaps_reserved_region()136 size = (size << 32) | fdt32_to_cpu(reg[1]); in overlaps_reserved_region()251 *addr_cells = fdt32_to_cpu(*prop); in get_cell_sizes()254 *size_cells = fdt32_to_cpu(*prop); in get_cell_sizes()
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()115 adj_val = fdt32_to_cpu(*val); in overlay_phandle_add_offset()243 poffset = fdt32_to_cpu(fixup_val[i]); in overlay_update_local_node_references()253 adj_val = cpu_to_fdt32(fdt32_to_cpu(adj_val) + delta); in overlay_update_local_node_references()
60 return fdt32_to_cpu(*p); in fdt32_ld_()
173 tag = fdt32_to_cpu(*tagp); in fdt_next_tag()192 len = fdt32_to_cpu(*lenp); in fdt_next_tag()
27 val = fdt32_to_cpu(*c); in fdt_cells()
47 static inline uint32_t fdt32_to_cpu(fdt32_t x) in fdt32_to_cpu() function
367 nameoff = fdt32_to_cpu(prop->nameoff); in fdt_finish()
17 #define fdt32_to_cpu(x) be32_to_cpu(x) macro
22 #define fdt32_to_cpu(x) be32_to_cpu(x) macro
37 hartid = (unsigned long) fdt32_to_cpu(*(fdt32_t *)prop); in get_boot_hartid_from_fdt()
69 cell_size = fdt32_to_cpu(*size_len); in get_cell_size()
62 nr_address_cells = fdt32_to_cpu(*addr_prop); in of_fdt_limit_memory()67 nr_size_cells = fdt32_to_cpu(*size_prop); in of_fdt_limit_memory()