Searched refs:cxt (Results 1 - 3 of 3) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/boot/
H A Dflatdevtree.c32 static char *ft_root_node(struct ft_cxt *cxt) argument
34 return cxt->rgn[FT_STRUCT].start;
39 static void *ft_get_phandle(struct ft_cxt *cxt, char *node) argument
46 for (i = 1; i < cxt->nodes_used; i++) /* already there? */
47 if (cxt->node_tbl[i] == node)
50 if (cxt->nodes_used < cxt->node_max) {
51 cxt->node_tbl[cxt->nodes_used] = node;
52 return (void *)cxt
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...]
H A Dflatdevtree.h79 int ft_begin_node(struct ft_cxt *cxt, const char *name);
80 void ft_end_node(struct ft_cxt *cxt);
82 void ft_begin_tree(struct ft_cxt *cxt);
83 void ft_end_tree(struct ft_cxt *cxt);
85 void ft_nop(struct ft_cxt *cxt);
86 int ft_prop(struct ft_cxt *cxt, const char *name,
88 int ft_prop_str(struct ft_cxt *cxt, const char *name, const char *str);
89 int ft_prop_int(struct ft_cxt *cxt, const char *name, unsigned int val);
90 void ft_begin(struct ft_cxt *cxt, void *blob, unsigned int max_size,
92 int ft_open(struct ft_cxt *cxt, voi
[all...]
H A Dflatdevtree_misc.c17 static struct ft_cxt cxt; variable in typeref:struct:ft_cxt
21 return ft_find_device(&cxt, name);
27 return ft_get_prop(&cxt, phandle, propname, buf, buflen);
33 return ft_set_prop(&cxt, phandle, propname, buf, buflen);
38 return ft_get_parent(&cxt, phandle);
43 return ft_create_node(&cxt, phandle, name);
51 return ft_find_node_by_prop_value(&cxt, prev, propname,
57 ft_end_tree(&cxt);
58 return (unsigned long)cxt.bph;
71 return ft_open(&cxt, dt_blo
[all...]

Completed in 25 milliseconds