Home
last modified time | relevance | path

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

1234

/u-boot/scripts/dtc/libfdt/
A Dfdt.h13 fdt32_t magic; /* magic word FDT_MAGIC */
14 fdt32_t totalsize; /* total size of DT block */
15 fdt32_t off_dt_struct; /* offset to structure */
16 fdt32_t off_dt_strings; /* offset to strings */
18 fdt32_t version; /* format version */
37 fdt32_t tag;
42 fdt32_t tag;
43 fdt32_t len;
44 fdt32_t nameoff;
51 #define FDT_TAGSIZE sizeof(fdt32_t)
[all …]
A Dlibfdt_env.h26 typedef uint32_t FDT_BITWISE fdt32_t; typedef
47 static inline uint32_t fdt32_to_cpu(fdt32_t x) in fdt32_to_cpu()
51 static inline fdt32_t cpu_to_fdt32(uint32_t x) in cpu_to_fdt32()
53 return (FDT_FORCE fdt32_t)CPU_TO_FDT32(x); in cpu_to_fdt32()
A Dfdt_addresses.c16 const fdt32_t *c; in fdt_cells()
87 prop += addr_cells * sizeof(fdt32_t); in fdt_appendprop_addrrange()
100 (addr_cells + size_cells) * sizeof(fdt32_t)); in fdt_appendprop_addrrange()
A Dfdt_overlay.c30 const fdt32_t *val; in overlay_get_target_phandle()
119 const fdt32_t *val; in overlay_phandle_add_offset()
230 const fdt32_t *fixup_val; in overlay_update_local_node_references()
255 fdt32_t adj_val; in overlay_update_local_node_references()
376 fdt32_t phandle_prop; in overlay_fixup_one_phandle()
A Dlibfdt.h1257 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_inplace_u32()
1407 fdt32_t tmp = cpu_to_fdt32(val); in fdt_property_u32()
1618 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_u32()
1790 fdt32_t tmp = cpu_to_fdt32(val); in fdt_appendprop_u32()
A Dfdt_wip.c53 fdt32_t *p; in fdt_nop_region_()
/u-boot/drivers/pinctrl/
A Dpinctrl-single.c22 fdt32_t reg; /* configuration register offset */
23 fdt32_t val; /* configuration register value */
27 fdt32_t reg; /* configuration register offset */
28 fdt32_t val; /* configuration register value */
29 fdt32_t mask; /* configuration register mask */
A Dpinctrl-generic.c284 if (len >= sizeof(fdt32_t)) in pinctrl_generic_set_state_one()
285 arg = fdt32_to_cpu(*(fdt32_t *)value); in pinctrl_generic_set_state_one()
/u-boot/lib/efi_selftest/
A Defi_selftest_fdt.c32 static uint32_t f2h(fdt32_t val) in f2h()
58 const fdt32_t *end; in get_property()
59 const fdt32_t *pos; in get_property()
74 pos = (fdt32_t *)(fdt + f2h(header->off_dt_struct)); in get_property()
226 f2h(*(fdt32_t *)str)); in execute()
/u-boot/common/
A Dfdt_support.c40 const fdt32_t *val; in fdt_getprop_u32_default_node()
1046 u64 (*map)(fdt32_t *addr, const fdt32_t *range,
1055 const fdt32_t *prop; in fdt_support_default_count_cells()
1069 static u64 of_bus_default_map(fdt32_t *addr, const fdt32_t *range, in of_bus_default_map()
1120 static u64 of_bus_isa_map(fdt32_t *addr, const fdt32_t *range, in of_bus_isa_map()
1196 const fdt32_t *ranges; in of_translate_one()
1345 const fdt32_t *ranges; in fdt_get_dma_range()
1622 const fdt32_t *reg; in fdt_verify_alias_address()
1663 const fdt32_t *prop; in fdt_get_base_address()
1677 const fdt32_t *prop32; in fdt_read_prop()
[all …]
/u-boot/arch/arm/mach-omap2/
A Dfdt-common.c60 *(fdt32_t *)p = cpu_to_fdt32(address); in fdt_pack_reg()
66 *(fdt32_t *)p = cpu_to_fdt32(size); in fdt_pack_reg()
78 fdt32_t address_cells = cpu_to_fdt32(fdt_address_cells(fdt, 0)); in ft_hs_fixup_dram()
79 fdt32_t size_cells = cpu_to_fdt32(fdt_size_cells(fdt, 0)); in ft_hs_fixup_dram()
/u-boot/arch/arm/mach-imx/imx8/
A Dfdt.c131 const fdt32_t *prop; in config_smmu_fdt_device_sid()
139 name, sid, (int)(proplen / sizeof(fdt32_t))); in config_smmu_fdt_device_sid()
140 for (i = 0; i < proplen / sizeof(fdt32_t); ++i) { in config_smmu_fdt_device_sid()
179 const fdt32_t *prop; in config_smmu_fdt()
/u-boot/drivers/phy/marvell/
A Dcomphy_mux.c83 const fdt32_t *mux_lane_order, u32 bitcount) in comphy_mux_reg_write()
118 const fdt32_t *mux_lane_order; in comphy_mux_init()
/u-boot/include/linux/
A Dlibfdt_env.h18 typedef __be32 fdt32_t; typedef
/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
A Dfdt.c54 fdt32_t *reg; in ft_fixup_cpu()
71 reg = (fdt32_t *)fdt_getprop(blob, off, "reg", 0); in ft_fixup_cpu()
125 reg = (fdt32_t *)fdt_getprop(blob, off, "reg", 0); in ft_fixup_cpu()
393 fdt32_t *reg; in fdt_fixup_remove_jr()
402 reg = (fdt32_t *)fdt_getprop(blob, jr_node, "reg", &len); in fdt_fixup_remove_jr()
/u-boot/drivers/core/
A Dfdtaddr.c27 const fdt32_t *reg; in devfdt_get_addr_index()
46 if (!reg || (len <= (index * sizeof(fdt32_t) * (na + ns)))) { in devfdt_get_addr_index()
/u-boot/lib/
A Dfdtdec_test.c158 fdt32_t cells[4], *ptr = cells; in make_fdt_carveout_device()
234 fdt32_t na = cpu_to_fdt32(address_cells); in make_fdt_carveout()
235 fdt32_t ns = cpu_to_fdt32(size_cells); in make_fdt_carveout()
A Dfdtdec.c93 const fdt32_t *prop, *prop_end; in fdtdec_get_addr_size_fixed()
94 const fdt32_t *prop_addr, *prop_size, *prop_after_size; in fdtdec_get_addr_size_fixed()
183 int ns = sizep ? (sizeof(fdt_size_t) / sizeof(fdt32_t)) : 0; in fdtdec_get_addr_size()
186 sizeof(fdt_addr_t) / sizeof(fdt32_t), in fdtdec_get_addr_size()
913 u64 fdtdec_get_number(const fdt32_t *ptr, unsigned int cells) in fdtdec_get_number()
926 const fdt32_t *ptr, *end; in fdt_get_resource()
1301 fdt32_t value; in fdtdec_init_reserved_memory()
1334 fdt32_t cells[4] = {}, *ptr = cells; in fdtdec_add_reserved_memory()
1448 const fdt32_t *prop; in fdtdec_get_carveout()
1500 fdt32_t value; in fdtdec_set_carveout()
/u-boot/drivers/mmc/
A Dftsdc010_mci.c40 fdt32_t bus_width;
43 fdt32_t clock_freq_min_max[2];
45 fdt32_t fifo_depth;
46 fdt32_t reg[2];
/u-boot/include/dm/
A Dread.h634 u64 dev_translate_address(const struct udevice *dev, const fdt32_t *in_addr);
648 const fdt32_t *in_addr);
1012 const fdt32_t *in_addr) in dev_translate_address()
1018 const fdt32_t *in_addr) in dev_translate_dma_address()
/u-boot/doc/driver-model/
A Dof-plat.rst117 fdt32_t bus_width;
120 fdt32_t card_detect_delay;
121 fdt32_t clock_freq_min_max[2];
124 fdt32_t fifo_depth;
125 fdt32_t interrupts[3];
126 fdt32_t num_slots;
127 fdt32_t reg[2];
128 fdt32_t vmmc_supply;
/u-boot/drivers/net/ti/
A Dcpsw-common.c62 fdt32_t gmii = 0; in ti_cm_get_macid_addr()
/u-boot/include/
A Dfdtdec.h40 typedef fdt32_t fdt_val_t;
496 u64 fdtdec_get_number(const fdt32_t *ptr, unsigned int cells);
/u-boot/scripts/dtc/
A Dtreesource.c140 fdt32_t *cp = (fdt32_t *)val.val; in write_propval_cells()
/u-boot/drivers/firmware/scmi/
A Dsmt.c33 fdt32_t faddr; in scmi_dt_get_smt_buffer()

Completed in 31 milliseconds

1234