H A D | flatdevtree.c | 32 static char *ft_root_node(struct ft_cxt *cxt) argument 39 static void *ft_get_phandle(struct ft_cxt *cxt, char *node) argument 58 ft_node_ph2node(struct ft_cxt *cxt, const void *phandle) argument 67 ft_node_update_before(struct ft_cxt *cxt, char *addr, int shift) argument 79 ft_node_update_after(struct ft_cxt *cxt, char *addr, int shift) argument 100 ft_next(struct ft_cxt *cxt, char *p, struct ft_atom *ret) argument 138 ft_ordered(struct ft_cxt *cxt) argument 152 ft_reorder(struct ft_cxt *cxt, int nextra) argument 200 prev_end(struct ft_cxt *cxt, enum ft_rgn_id r) argument 207 next_start(struct ft_cxt *cxt, enum ft_rgn_id r) argument 218 ft_shuffle(struct ft_cxt *cxt, char **pp, enum ft_rgn_id rgn, int nextra) argument 257 ft_make_space(struct ft_cxt *cxt, char **pp, enum ft_rgn_id rgn, int nextra) argument 351 ft_put_word(struct ft_cxt *cxt, u32 v) argument 357 ft_put_bin(struct ft_cxt *cxt, const void *data, unsigned int sz) argument 371 ft_begin_node(struct ft_cxt *cxt, const char *name) argument 383 ft_end_node(struct ft_cxt *cxt) argument 388 ft_nop(struct ft_cxt *cxt) argument 396 lookup_string(struct ft_cxt *cxt, const char *name) argument 412 map_string(struct ft_cxt *cxt, const char *name) argument 427 ft_prop(struct ft_cxt *cxt, const char *name, const void *data, unsigned int sz) argument 447 ft_prop_str(struct ft_cxt *cxt, const char *name, const char *str) argument 452 ft_prop_int(struct ft_cxt *cxt, const char *name, unsigned int val) argument 460 rsvmap_size(struct ft_cxt *cxt) argument 471 struct_size(struct ft_cxt *cxt) argument 487 adjust_string_offsets(struct ft_cxt *cxt, int adj) argument 504 ft_begin(struct ft_cxt *cxt, void *blob, unsigned int max_size, void *(*realloc_fn) (void *, unsigned long)) argument 544 ft_open(struct ft_cxt *cxt, void *blob, unsigned int max_size, unsigned int max_find_device, void *(*realloc_fn) (void *, unsigned long)) argument 588 ft_add_rsvmap(struct ft_cxt *cxt, u64 physaddr, u64 size) argument 605 ft_begin_tree(struct ft_cxt *cxt) argument 610 ft_end_tree(struct ft_cxt *cxt) argument 646 ft_find_device(struct ft_cxt *cxt, const char *srch_path) argument 657 ft_find_device_rel(struct ft_cxt *cxt, const void *top, const char *srch_path) argument 670 ft_find_descendent(struct ft_cxt *cxt, void *top, const char *srch_path) argument 731 __ft_get_parent(struct ft_cxt *cxt, void *node) argument 763 ft_get_parent(struct ft_cxt *cxt, const void *phandle) argument 773 __ft_get_prop(struct ft_cxt *cxt, void *node, const char *propname, unsigned int *len) argument 803 ft_get_prop(struct ft_cxt *cxt, const void *phandle, const char *propname, void *buf, const unsigned int buflen) argument 823 __ft_find_node_by_prop_value(struct ft_cxt *cxt, void *prev, const char *propname, const char *propval, unsigned int proplen) argument 870 ft_find_node_by_prop_value(struct ft_cxt *cxt, const void *prev, const char *propname, const char *propval, int proplen) argument 888 ft_set_prop(struct ft_cxt *cxt, const void *phandle, const char *propname, const void *buf, const unsigned int buflen) argument 931 ft_del_prop(struct ft_cxt *cxt, const void *phandle, const char *propname) argument 963 ft_create_node(struct ft_cxt *cxt, const void *parent, const char *name) argument [all...] |