1 #ifndef _SPARC64_MDESC_H
2 #define _SPARC64_MDESC_H
4 #include <linux/types.h>
10 struct mdesc_node
*arc
;
16 unsigned int unique_id
;
17 unsigned int num_arcs
;
18 struct property
*properties
;
19 struct mdesc_node
*hash_next
;
20 struct mdesc_node
*allnodes_next
;
21 struct mdesc_arc arcs
[0];
24 extern struct mdesc_node
*md_find_node_by_name(struct mdesc_node
*from
,
26 #define md_for_each_node_by_name(__mn, __name) \
27 for (__mn = md_find_node_by_name(NULL, __name); __mn; \
28 __mn = md_find_node_by_name(__mn, __name))
30 extern struct property
*md_find_property(const struct mdesc_node
*mp
,
33 extern const void *md_get_property(const struct mdesc_node
*mp
,
37 extern void sun4v_mdesc_init(void);
This page took 0.030915 seconds and 5 git commands to generate.