MOS Source Code
|
Go to the source code of this file.
Macros | |
#define | FDT_SW_PROBE(fdt) |
#define | FDT_SW_PROBE_MEMRSV(fdt) |
#define | FDT_SW_PROBE_STRUCT(fdt) |
Functions | |
static int | fdt_sw_probe_ (void *fdt) |
static int | fdt_sw_probe_memrsv_ (void *fdt) |
static int | fdt_sw_probe_struct_ (void *fdt) |
static uint32_t | sw_flags (void *fdt) |
static void * | fdt_grab_space_ (void *fdt, size_t len) |
int | fdt_create_with_flags (void *buf, int bufsize, uint32_t flags) |
int | fdt_create (void *buf, int bufsize) |
int | fdt_resize (void *fdt, void *buf, int bufsize) |
int | fdt_add_reservemap_entry (void *fdt, uint64_t addr, uint64_t size) |
int | fdt_finish_reservemap (void *fdt) |
int | fdt_begin_node (void *fdt, const char *name) |
int | fdt_end_node (void *fdt) |
static int | fdt_add_string_ (void *fdt, const char *s) |
static void | fdt_del_last_string_ (void *fdt, const char *s) |
static int | fdt_find_add_string_ (void *fdt, const char *s, int *allocated) |
int | fdt_property_placeholder (void *fdt, const char *name, int len, void **valp) |
int | fdt_property (void *fdt, const char *name, const void *val, int len) |
int | fdt_finish (void *fdt) |
#define FDT_SW_PROBE | ( | fdt | ) |
Definition at line 25 of file fdt_sw.c.
Referenced by fdt_resize().
#define FDT_SW_PROBE_MEMRSV | ( | fdt | ) |
Definition at line 49 of file fdt_sw.c.
Referenced by fdt_add_reservemap_entry().
#define FDT_SW_PROBE_STRUCT | ( | fdt | ) |
Definition at line 76 of file fdt_sw.c.
Referenced by fdt_begin_node(), fdt_end_node(), fdt_finish(), and fdt_property_placeholder().
Definition at line 13 of file fdt_sw.c.
Referenced by fdt_sw_probe_memrsv_(), and fdt_sw_probe_struct_().
Definition at line 83 of file fdt_sw.c.
Referenced by fdt_property_placeholder().
Definition at line 94 of file fdt_sw.c.
Referenced by fdt_begin_node(), fdt_end_node(), fdt_finish(), and fdt_property_placeholder().
fdt_create_with_flags - begin creation of a new fdt @buf: pointer to memory allocated where fdt will be created @bufsize: size of the memory space at fdt @flags: a valid combination of FDT_CREATE_FLAG_ flags, or 0.
fdt_create_with_flags() begins the process of creating a new fdt with the sequential write interface.
fdt creation process must end with fdt_finished() to produce a valid fdt.
returns: 0, on success -FDT_ERR_NOSPACE, bufsize is insufficient for a minimal fdt -FDT_ERR_BADFLAGS, flags is not valid
Definition at line 109 of file fdt_sw.c.
Referenced by fdt_create().
fdt_create - begin creation of a new fdt @buf: pointer to memory allocated where fdt will be created @bufsize: size of the memory space at fdt
fdt_create() is equivalent to fdt_create_with_flags() with flags=0.
returns: 0, on success -FDT_ERR_NOSPACE, bufsize is insufficient for a minimal fdt
Definition at line 143 of file fdt_sw.c.
Referenced by fdt_create_empty_tree().
Definition at line 188 of file fdt_sw.c.
Referenced by fdt_finish_reservemap().
Definition at line 208 of file fdt_sw.c.
Referenced by fdt_create_empty_tree().
Definition at line 219 of file fdt_sw.c.
Referenced by fdt_create_empty_tree().
Definition at line 236 of file fdt_sw.c.
Referenced by fdt_create_empty_tree().
Definition at line 250 of file fdt_sw.c.
Referenced by fdt_find_add_string_(), and fdt_property_placeholder().
Definition at line 268 of file fdt_sw.c.
Referenced by fdt_property_placeholder().
Definition at line 276 of file fdt_sw.c.
Referenced by fdt_property_placeholder().
Definition at line 293 of file fdt_sw.c.
Referenced by fdt_property().
Definition at line 325 of file fdt_sw.c.
Referenced by fdt_property_u32(), and fdt_property_u64().
Definition at line 337 of file fdt_sw.c.
Referenced by fdt_create_empty_tree().