14 const char *
name,
int namelen,
26 if ((
unsigned)proplen < (len + idx))
29 memcpy((
char *)propval + idx, val, len);
34 const void *val,
int len)
55 for (p = start; (
char *)p < ((
char *)start + len); p++)
77 while ((offset >= 0) && (depth >= 0))
92 endoffset - nodeoffset);
int fdt_next_node(const void *fdt, int offset, int *depth)
const void * fdt_getprop(const void *fdt, int nodeoffset, const char *name, int *lenp)
static void fdt_nop_region_(void *start, int len)
int fdt_node_end_offset_(void *fdt, int offset)
int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, const void *val, int len)
int fdt_nop_node(void *fdt, int nodeoffset)
int fdt_nop_property(void *fdt, int nodeoffset, const char *name)
int fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset, const char *name, int namelen, uint32_t idx, const void *val, int len)
static void * fdt_offset_ptr_w(void *fdt, int offset, int checklen)
static struct fdt_property * fdt_get_property_w(void *fdt, int nodeoffset, const char *name, int *lenp)
static void * fdt_getprop_namelen_w(void *fdt, int nodeoffset, const char *name, int namelen, int *lenp)
static fdt32_t cpu_to_fdt32(uint32_t x)
static void * memcpy(void *s1, const void *s2, size_t n)
static size_t strlen(const char *s)