Home
last modified time | relevance | path

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

123

/third_party/uboot/u-boot-2020.01/common/
Dimage-android-dt.c25 magic = fdt32_to_cpu(hdr->magic); in android_dt_check_header()
51 entry_count = fdt32_to_cpu(hdr->dt_entry_count); in android_dt_get_fdt_by_index()
52 entries_offset = fdt32_to_cpu(hdr->dt_entries_offset); in android_dt_get_fdt_by_index()
53 entry_size = fdt32_to_cpu(hdr->dt_entry_size); in android_dt_get_fdt_by_index()
64 dt_offset = fdt32_to_cpu(e->dt_offset); in android_dt_get_fdt_by_index()
65 dt_size = fdt32_to_cpu(e->dt_size); in android_dt_get_fdt_by_index()
110 entry_count = fdt32_to_cpu(hdr->dt_entry_count); in android_dt_print_contents()
111 entries_offset = fdt32_to_cpu(hdr->dt_entries_offset); in android_dt_print_contents()
112 entry_size = fdt32_to_cpu(hdr->dt_entry_size); in android_dt_print_contents()
116 printf(" magic = %08x\n", fdt32_to_cpu(hdr->magic)); in android_dt_print_contents()
[all …]
Dcommon_fit.c21 return fdt32_to_cpu(*cell); in fdt_getprop_u32()
/third_party/uboot/u-boot-2020.01/drivers/pci/
Dpci_sandbox.c96 fdt32_to_cpu(cell[0]), fdt32_to_cpu(cell[1]), in sandbox_pci_probe()
97 fdt32_to_cpu(cell[2]), fdt32_to_cpu(cell[3])); in sandbox_pci_probe()
99 pdev = fdt32_to_cpu(cell[0]); in sandbox_pci_probe()
100 pfn = fdt32_to_cpu(cell[1]); in sandbox_pci_probe()
104 priv->vendev[devfn].vendor = fdt32_to_cpu(cell[2]); in sandbox_pci_probe()
105 priv->vendev[devfn].device = fdt32_to_cpu(cell[3]); in sandbox_pci_probe()
/third_party/uboot/u-boot-2020.01/tools/dtoc/
Dfdt_util.py19 def fdt32_to_cpu(val): function
41 out = int(fdt32_to_cpu(val[0]))
43 out = out << 32 | fdt32_to_cpu(val[1])
107 value = fdt32_to_cpu(prop.value)
185 return [fdt32_to_cpu(v) for v in value]
Ddtb_platdata.py101 return '%#x' % fdt_util.fdt32_to_cpu(value)
223 phandle = fdt_util.fdt32_to_cpu(val[i])
239 num_args = fdt_util.fdt32_to_cpu(cells.value)
300 na = fdt_util.fdt32_to_cpu(na_prop.value)
302 ns = fdt_util.fdt32_to_cpu(ns_prop.value)
415 phandle = fdt_util.fdt32_to_cpu(phandle_cell)
487 phandle = fdt_util.fdt32_to_cpu(phandle_cell)
492 arg_values.append(str(fdt_util.fdt32_to_cpu(prop.value[pos + 1 + i])))
Dtest_fdt.py26 from fdt_util import fdt32_to_cpu
213 self.assertEqual(target, dtb.LookupPhandle(fdt32_to_cpu(prop.value)))
239 self.assertTrue(fdt32_to_cpu(prop.value) > 0)
260 self.assertEqual(1, fdt32_to_cpu(prop.value))
264 val = [fdt32_to_cpu(val) for val in prop.value]
310 self.assertEqual(1, fdt32_to_cpu(prop.value))
386 self.assertEqual(0, fdt32_to_cpu(data))
391 self.assertEqual(1, fdt32_to_cpu(data))
Dtest_fdt26 from fdt_util import fdt32_to_cpu
213 self.assertEqual(target, dtb.LookupPhandle(fdt32_to_cpu(prop.value)))
239 self.assertTrue(fdt32_to_cpu(prop.value) > 0)
260 self.assertEqual(1, fdt32_to_cpu(prop.value))
264 val = [fdt32_to_cpu(val) for val in prop.value]
310 self.assertEqual(1, fdt32_to_cpu(prop.value))
386 self.assertEqual(0, fdt32_to_cpu(data))
391 self.assertEqual(1, fdt32_to_cpu(data))
/third_party/uboot/u-boot-2020.01/drivers/pinctrl/
Dpinctrl-single.c57 reg = fdt32_to_cpu(pins->reg); in single_configure_pins()
63 val = fdt32_to_cpu(pins->val) & pdata->mask; in single_configure_pins()
91 reg = fdt32_to_cpu(pins->reg); in single_configure_bits()
98 mask = fdt32_to_cpu(pins->mask); in single_configure_bits()
99 val = fdt32_to_cpu(pins->val) & mask; in single_configure_bits()
/third_party/uboot/u-boot-2020.01/scripts/dtc/
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 …]
/third_party/uboot/u-boot-2020.01/lib/
Dfdtdec_common.c30 int val = fdt32_to_cpu(cell[0]); in fdtdec_get_int()
48 unsigned int val = fdt32_to_cpu(cell[0]); in fdtdec_get_uint()
Dfdtdec.c378 path = fdt_string(blob, fdt32_to_cpu(prop->nameoff)); in fdtdec_add_aliases_for_id()
594 lookup = fdt_node_offset_by_phandle(blob, fdt32_to_cpu(*phandle)); in fdtdec_lookup_phandle()
640 array[i] = fdt32_to_cpu(cell[i]); in fdtdec_get_int_array()
660 array[i] = fdt32_to_cpu(cell[i]); in fdtdec_get_int_array_count()
894 number = (number << 32) | fdt32_to_cpu(*ptr++); in fdtdec_get_number()
1407 phandle = fdt32_to_cpu(prop[index]); in fdtdec_get_carveout()
1630 addr += (u64)fdt32_to_cpu(*cell++) << 32UL; in fdtdec_decode_ram_size()
1631 addr += fdt32_to_cpu(*cell++); in fdtdec_decode_ram_size()
1639 size += (u64)fdt32_to_cpu(*cell++) << 32UL; in fdtdec_decode_ram_size()
1640 size += fdt32_to_cpu(*cell++); in fdtdec_decode_ram_size()
/third_party/uboot/u-boot-2020.01/arch/arm/mach-imx/imx8/
Dfdt.c138 ret = config_smmu_resource_sid(fdt32_to_cpu(prop[i]), in config_smmu_fdt_device_sid()
186 u32 phandle = fdt32_to_cpu(prop[2 * i]); in config_smmu_fdt()
187 int sid = fdt32_to_cpu(prop[2 * i + 1]); in config_smmu_fdt()
217 int sid = fdt32_to_cpu(prop[1]); in config_smmu_fdt()
/third_party/uboot/u-boot-2020.01/scripts/dtc/libfdt/
Dfdt.c161 tag = fdt32_to_cpu(*tagp); in fdt_next_tag()
181 + fdt32_to_cpu(*lenp); in fdt_next_tag()
183 fdt_version(fdt) < 0x10 && fdt32_to_cpu(*lenp) >= 8 && in fdt_next_tag()
184 ((offset - fdt32_to_cpu(*lenp)) % 8) != 0) in fdt_next_tag()
Dfdt_overlay.c37 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()
Dfdt_addresses.c27 val = fdt32_to_cpu(*c); in fdt_cells()
Dlibfdt_env.h47 static inline uint32_t fdt32_to_cpu(fdt32_t x) in fdt32_to_cpu() function
/third_party/uboot/u-boot-2020.01/arch/arm/mach-socfpga/
Dpinmux_arria10.c27 offset = fdt32_to_cpu(*cell++); in do_pinctr_pin()
28 value = fdt32_to_cpu(*cell++); in do_pinctr_pin()
/third_party/uboot/u-boot-2020.01/drivers/net/fm/
Dfdt.c49 length = fdt32_to_cpu(hdr->length); in fdt_fixup_fman_firmware()
65 crc = fdt32_to_cpu(*(u32 *)((void *)fmanfw + length)); in fdt_fixup_fman_firmware()
/third_party/uboot/u-boot-2020.01/drivers/core/
Dofnode.c35 *outp = fdt32_to_cpu(cell[0]); in ofnode_read_u32()
617 (ulong)fdt32_to_cpu(cell[0]), in ofnode_read_pci_addr()
618 (ulong)fdt32_to_cpu(cell[1]), in ofnode_read_pci_addr()
619 (ulong)fdt32_to_cpu(cell[2])); in ofnode_read_pci_addr()
620 if ((fdt32_to_cpu(*cell) & type) == type) { in ofnode_read_pci_addr()
621 addr->phys_hi = fdt32_to_cpu(cell[0]); in ofnode_read_pci_addr()
622 addr->phys_mid = fdt32_to_cpu(cell[1]); in ofnode_read_pci_addr()
623 addr->phys_lo = fdt32_to_cpu(cell[2]); in ofnode_read_pci_addr()
/third_party/uboot/u-boot-2020.01/arch/x86/cpu/broadwell/
Dpinctrl_broadwell.c131 uint gpio = fdt32_to_cpu(prop[i * 3]); in broadwell_pinctrl_read_pins()
132 uint phandle = fdt32_to_cpu(prop[i * 3 + 1]); in broadwell_pinctrl_read_pins()
148 fdt32_to_cpu(prop[i * 3 + 2]) << PIRQ_SHIFT; in broadwell_pinctrl_read_pins()
/third_party/uboot/u-boot-2020.01/include/linux/
Dlibfdt_env.h22 #define fdt32_to_cpu(x) be32_to_cpu(x) macro
/third_party/uboot/u-boot-2020.01/cmd/
Dfdt.c59 sprintf(buf, "0x%08X", fdt32_to_cpu(*(fdt32_t *)nodep)); in fdt_value_env_set()
103 val = fdt32_to_cpu(fdtp[i]); in fdt_get_header_value()
966 printf("0x%08x%s", fdt32_to_cpu(p[j]), in print_data()
1069 fdt32_to_cpu(fdt_prop->nameoff)); in fdt_print()
1070 len = fdt32_to_cpu(fdt_prop->len); in fdt_print()
/third_party/uboot/u-boot-2020.01/tools/libfdt/
Dfdt_rw.c28 str = fdt_string(old, fdt32_to_cpu(old_prop->nameoff)); in fdt_remove_unused_strings()
/third_party/uboot/u-boot-2020.01/board/freescale/common/
Dcds_pci_ft.c36 off = fdt_node_offset_by_phandle(blob, fdt32_to_cpu(*(map+cells))); in cds_pci_fixup()
Dsgmii_riser.c113 fdt32_to_cpu(*phyh)); in fsl_sgmii_riser_fdt_fixup()

123