Home
last modified time | relevance | path

Searched refs:fdt32_t (Results 1 – 25 of 92) sorted by relevance

1234

/external/u-boot/scripts/dtc/libfdt/
Dfdt.h58 fdt32_t magic; /* magic word FDT_MAGIC */
59 fdt32_t totalsize; /* total size of DT block */
60 fdt32_t off_dt_struct; /* offset to structure */
61 fdt32_t off_dt_strings; /* offset to strings */
62 fdt32_t off_mem_rsvmap; /* offset to memory reserve map */
63 fdt32_t version; /* format version */
64 fdt32_t last_comp_version; /* last compatible version */
67 fdt32_t boot_cpuid_phys; /* Which physical CPU id we're
70 fdt32_t size_dt_strings; /* size of the strings block */
73 fdt32_t size_dt_struct; /* size of the structure block */
[all …]
Dlibfdt_env.h69 typedef uint32_t FDT_BITWISE fdt32_t; typedef
90 static inline uint32_t fdt32_to_cpu(fdt32_t x) in fdt32_to_cpu()
94 static inline fdt32_t cpu_to_fdt32(uint32_t x) in cpu_to_fdt32()
96 return (FDT_FORCE fdt32_t)CPU_TO_FDT32(x); in cpu_to_fdt32()
Dfdt_addresses.c60 const fdt32_t *ac; in fdt_address_cells()
80 const fdt32_t *sc; in fdt_size_cells()
Dfdt_overlay.c75 const fdt32_t *val; in overlay_get_target_phandle()
164 const fdt32_t *val; in overlay_phandle_add_offset()
275 const fdt32_t *fixup_val; in overlay_update_local_node_references()
299 fdt32_t adj_val; in overlay_update_local_node_references()
420 fdt32_t phandle_prop; in overlay_fixup_one_phandle()
Dlibfdt.h1196 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_inplace_u32()
1308 fdt32_t tmp = cpu_to_fdt32(val); in fdt_property_u32()
1516 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_u32()
1688 fdt32_t tmp = cpu_to_fdt32(val); in fdt_appendprop_u32()
/external/dtc/libfdt/
Dfdt.h58 fdt32_t magic; /* magic word FDT_MAGIC */
59 fdt32_t totalsize; /* total size of DT block */
60 fdt32_t off_dt_struct; /* offset to structure */
61 fdt32_t off_dt_strings; /* offset to strings */
62 fdt32_t off_mem_rsvmap; /* offset to memory reserve map */
63 fdt32_t version; /* format version */
64 fdt32_t last_comp_version; /* last compatible version */
67 fdt32_t boot_cpuid_phys; /* Which physical CPU id we're
70 fdt32_t size_dt_strings; /* size of the strings block */
73 fdt32_t size_dt_struct; /* size of the structure block */
[all …]
Dlibfdt_env.h69 typedef uint32_t FDT_BITWISE fdt32_t; typedef
90 static inline uint32_t fdt32_to_cpu(fdt32_t x) in fdt32_to_cpu()
94 static inline fdt32_t cpu_to_fdt32(uint32_t x) in cpu_to_fdt32()
96 return (FDT_FORCE fdt32_t)CPU_TO_FDT32(x); in cpu_to_fdt32()
Dfdt_addresses.c60 const fdt32_t *ac; in fdt_address_cells()
80 const fdt32_t *sc; in fdt_size_cells()
Dfdt_overlay.c24 const fdt32_t *val; in overlay_get_target_phandle()
102 const fdt32_t *val; in overlay_phandle_add_offset()
213 const fdt32_t *fixup_val; in overlay_update_local_node_references()
237 fdt32_t adj_val; in overlay_update_local_node_references()
358 fdt32_t phandle_prop; in overlay_fixup_one_phandle()
Dlibfdt.h1193 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_inplace_u32()
1305 fdt32_t tmp = cpu_to_fdt32(val); in fdt_property_u32()
1482 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_u32()
1654 fdt32_t tmp = cpu_to_fdt32(val); in fdt_appendprop_u32()
/external/u-boot/common/
Dfdt_support.c35 const fdt32_t *val; in fdt_getprop_u32_default_node()
324 fdt32_t tmp = cpu_to_fdt32(val); in do_fixup_by_path_u32()
353 fdt32_t tmp = cpu_to_fdt32(val); in do_fixup_by_prop_u32()
379 fdt32_t tmp = cpu_to_fdt32(val); in do_fixup_by_compat_u32()
399 *(fdt32_t *)p = cpu_to_fdt32(address[i]); in fdt_pack_reg()
405 *(fdt32_t *)p = cpu_to_fdt32(size[i]); in fdt_pack_reg()
948 static void of_dump_addr(const char *s, const fdt32_t *addr, int na) in of_dump_addr()
956 static void of_dump_addr(const char *s, const fdt32_t *addr, int na) { } in of_dump_addr()
995 u64 (*map)(fdt32_t *addr, const fdt32_t *range,
997 int (*translate)(fdt32_t *addr, u64 offset, int na);
[all …]
/external/u-boot/arch/arm/mach-omap2/
Dfdt-common.c59 *(fdt32_t *)p = cpu_to_fdt32(address); in fdt_pack_reg()
65 *(fdt32_t *)p = cpu_to_fdt32(size); in fdt_pack_reg()
77 fdt32_t address_cells = cpu_to_fdt32(fdt_address_cells(fdt, 0)); in ft_hs_fixup_dram()
78 fdt32_t size_cells = cpu_to_fdt32(fdt_size_cells(fdt, 0)); in ft_hs_fixup_dram()
/external/u-boot/lib/efi_selftest/
Defi_selftest_fdt.c30 static uint32_t f2h(fdt32_t val) in f2h()
52 const fdt32_t *pos; in get_property()
63 pos = (fdt32_t *)(fdt + f2h(header->off_dt_struct)); in get_property()
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
Dfdt.c42 fdt32_t *reg; in ft_fixup_cpu()
60 reg = (fdt32_t *)fdt_getprop(blob, off, "reg", 0); in ft_fixup_cpu()
114 reg = (fdt32_t *)fdt_getprop(blob, off, "reg", 0); in ft_fixup_cpu()
383 fdt32_t *reg; in fdt_fixup_remove_jr()
392 reg = (fdt32_t *)fdt_getprop(blob, jr_node, "reg", &len); in fdt_fixup_remove_jr()
/external/dtc/tests/
Dsubnode_iterate.c37 const fdt32_t *prop; in test_node()
44 if (!prop || len != sizeof(fdt32_t)) { in test_node()
Dproperty_iterate.c37 const fdt32_t *prop; in test_node()
47 if (!prop || len != sizeof(fdt32_t)) { in test_node()
Dtests.h102 fdt32_t x = cpu_to_fdt32(val); \
111 fdt32_t x = cpu_to_fdt32(val); \
Dreferences.c32 const fdt32_t *p; in check_ref()
61 const fdt32_t *p; in check_rref()
/external/u-boot/drivers/net/
Dcpsw-common.c26 fdt32_t gmii = 0; in davinci_emac_3517_get_macid()
66 fdt32_t gmii = 0; in cpsw_am33xx_cm_get_macid()
/external/u-boot/drivers/phy/marvell/
Dcomphy_mux.c82 const fdt32_t *mux_lane_order, u32 bitcount) in comphy_mux_reg_write()
117 const fdt32_t *mux_lane_order; in comphy_mux_init()
/external/u-boot/doc/driver-model/
Dof-plat.txt109 fdt32_t bus_width;
112 fdt32_t card_detect_delay;
113 fdt32_t clock_freq_min_max[2];
116 fdt32_t fifo_depth;
117 fdt32_t interrupts[3];
118 fdt32_t num_slots;
119 fdt32_t reg[2];
120 fdt32_t vmmc_supply;
/external/u-boot/drivers/pinctrl/
Dpinctrl-single.c22 fdt32_t reg; /* configuration register offset */
23 fdt32_t val; /* configuration register value */
/external/u-boot/drivers/core/
Dfdtaddr.c25 const fdt32_t *reg; in devfdt_get_addr_index()
44 if (!reg || (len <= (index * sizeof(fdt32_t) * (na + ns)))) { in devfdt_get_addr_index()
/external/u-boot/drivers/mmc/
Dftsdc010_mci.c37 fdt32_t bus_width;
40 fdt32_t clock_freq_min_max[2];
42 fdt32_t fifo_depth;
43 fdt32_t reg[2];
/external/u-boot/lib/
Dfdtdec.c90 const fdt32_t *prop, *prop_end; in fdtdec_get_addr_size_fixed()
91 const fdt32_t *prop_addr, *prop_size, *prop_after_size; in fdtdec_get_addr_size_fixed()
97 if (na > (sizeof(fdt_addr_t) / sizeof(fdt32_t))) { in fdtdec_get_addr_size_fixed()
102 if (ns > (sizeof(fdt_size_t) / sizeof(fdt32_t))) { in fdtdec_get_addr_size_fixed()
190 int ns = sizep ? (sizeof(fdt_size_t) / sizeof(fdt32_t)) : 0; in fdtdec_get_addr_size()
193 sizeof(fdt_addr_t) / sizeof(fdt32_t), in fdtdec_get_addr_size()
946 u64 fdtdec_get_number(const fdt32_t *ptr, unsigned int cells) in fdtdec_get_number()
959 const fdt32_t *ptr, *end; in fdt_get_resource()

1234