fdt32_t
for (endp = reg + (len / sizeof(fdt32_t));
const fdt32_t *prop = get_prop(fdt, "/", name, sizeof(fdt32_t));
static uint64_t get_val(const fdt32_t *cells, uint32_t ncells)
const fdt32_t *usable, *reg, *endp;
(addr_cells + size_cells) * sizeof(fdt32_t));
fdt32_t phy_handle_name;
fdt32_t *clk;
const fdt32_t *reg;
hartid = (unsigned long) fdt32_to_cpu(*(fdt32_t *)prop);
*((fdt32_t *)(prop->val.val + m->offset)) =
*((fdt32_t *)(prop->val.val + m->offset)) = cpu_to_fdt32(phandle);
fdt32_t value_32;
fdt32_t magic;
fdt32_t val;
fdt32_t magic_buf, totalsize_buf;
const fdt32_t *tagp, *lenp;
fdt32_t magic; /* magic word FDT_MAGIC */
fdt32_t totalsize; /* total size of DT block */
fdt32_t off_dt_struct; /* offset to structure */
fdt32_t off_dt_strings; /* offset to strings */
fdt32_t off_mem_rsvmap; /* offset to memory reserve map */
fdt32_t version; /* format version */
fdt32_t last_comp_version; /* last compatible version */
fdt32_t boot_cpuid_phys; /* Which physical CPU id we're
fdt32_t size_dt_strings; /* size of the strings block */
fdt32_t size_dt_struct; /* size of the structure block */
fdt32_t tag;
fdt32_t tag;
fdt32_t len;
fdt32_t nameoff;
#define FDT_TAGSIZE sizeof(fdt32_t)
#define FDT_V1_SIZE (7*sizeof(fdt32_t))
#define FDT_V2_SIZE (FDT_V1_SIZE + sizeof(fdt32_t))
#define FDT_V3_SIZE (FDT_V2_SIZE + sizeof(fdt32_t))
#define FDT_V17_SIZE (FDT_V16_SIZE + sizeof(fdt32_t))
(addr_cells + size_cells) * sizeof(fdt32_t));
const fdt32_t *c;
prop += addr_cells * sizeof(fdt32_t);
fdt32_t *valp, val;
const fdt32_t *fixup_val;
fdt32_t *refp;
refp = (fdt32_t *)(tree_val + fdt32_ld_(fixup_val + i));
const fdt32_t *val;
fdt32_t phandle_prop;
const fdt32_t *php;
const fdt32_t *fixup_val;
fdt32_t *refp;
refp = (fdt32_t *)(tree_val + fdt32_ld_(fixup_val + i));
const fdt32_t *php;
fdt32_t *endtag;
endtag = (fdt32_t *)((char *)nh + nodelen - FDT_TAGSIZE);
fdt32_t *en;
fdt32_t *end;
fdt32_t *p;
fdt32_t tmp = cpu_to_fdt32(val);
fdt32_t tmp = cpu_to_fdt32(val);
static inline uint32_t fdt32_ld(const fdt32_t *p)
fdt32_t tmp = cpu_to_fdt32(val);
fdt32_t tmp = cpu_to_fdt32(val);
static inline uint32_t fdt32_to_cpu(fdt32_t x)
static inline fdt32_t cpu_to_fdt32(uint32_t x)
return (FDT_FORCE fdt32_t)CPU_TO_FDT32(x);
static inline uint32_t fdt32_ld_(const fdt32_t *p)
fdt32_t value_32;
fdt32_t *offsets = (fdt32_t *)lfp->val.val;
if (lfp->val.len % sizeof(fdt32_t)) {
for (i = 0; i < lfp->val.len / sizeof(fdt32_t); i++)
static int append_unique_u32_to_property(struct node *node, char *name, fdt32_t value)
const fdt32_t *v, *val_end = (const fdt32_t *)p->val.val + p->val.len / 4;
return fdt32_to_cpu(*((fdt32_t *)prop->val.val));
return fdt32_to_cpu(*((fdt32_t *)prop->val.val + n));
const fdt32_t *cell = (const fdt32_t *)data;