Searched refs:pnode_t (Results 1 - 25 of 157) sorted by relevance

1234567

/illumos-gate/usr/src/uts/intel/promif/
H A Dprom_node.c44 pnode_t
47 static pnode_t rootnode;
52 pnode_t
53 prom_nextnode(pnode_t nodeid)
58 pnode_t
59 prom_childnode(pnode_t nodeid)
69 pnode_t
70 prom_findnode_byname(pnode_t n, char *name)
75 pnode_t
81 pnode_t
[all...]
H A Dprom_prop.c38 prom_getproplen(pnode_t nodeid, caddr_t name)
44 prom_getprop(pnode_t nodeid, caddr_t name, caddr_t value)
50 prom_nextprop(pnode_t nodeid, caddr_t previous, caddr_t next)
73 prom_bounded_getprop(pnode_t nodeid, caddr_t name, caddr_t value, int len)
/illumos-gate/usr/src/uts/intel/sys/
H A Dprom_emul.h52 pnode_t pn_nodeid;
65 extern pnode_t promif_findnode_byname(pnode_t n, char *name);
66 extern pnode_t promif_nextnode(pnode_t n);
67 extern pnode_t promif_childnode(pnode_t n);
69 extern int promif_getproplen(pnode_t n, char *name);
70 extern int promif_getprop(pnode_t n, char *name, void *value);
71 extern int promif_bounded_getprop(pnode_t, cha
[all...]
H A Dobpdefs.h43 typedef phandle_t pnode_t; typedef
49 #define OBP_NONODE ((pnode_t)0)
50 #define OBP_BADNODE ((pnode_t)-1)
H A Dpromif.h67 extern pnode_t prom_childnode(pnode_t nodeid);
68 extern pnode_t prom_nextnode(pnode_t nodeid);
69 extern pnode_t prom_optionsnode(void);
70 extern pnode_t prom_alias_node(void);
71 extern pnode_t prom_rootnode(void);
73 extern int prom_getproplen(pnode_t nodeid, caddr_t name);
74 extern int prom_getprop(pnode_t nodeid, caddr_t name,
76 extern caddr_t prom_nextprop(pnode_t nodei
[all...]
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/
H A Dkmdb_promif_isadep.h41 extern void kmdb_prom_walk_cpus(int (*)(pnode_t, void *, void *),
46 extern int kmdb_prom_getprop(pnode_t, char *, caddr_t);
49 extern pnode_t kmdb_prom_getcpu_propnode(pnode_t);
H A Dkmdb_promif_isadep.c76 pnode_t node;
104 kmdb_prom_getprop(pnode_t node, char *name, caddr_t value)
110 int (*wcd_cb)(pnode_t, void *, void *);
115 walk_cpus_cb(pnode_t node, void *arg, void *result)
146 kmdb_prom_walk_cpus(int (*cb)(pnode_t, void *, void *), void *arg, void *result)
163 pnode_t
164 kmdb_prom_getcpu_propnode(pnode_t node)
167 pnode_t pnode;
230 pnode_t pnode;
233 pnode = (pnode_t)prom_getphandl
[all...]
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_node.c35 pnode_t
36 prom_nextnode(pnode_t nodeid)
53 pnode_t
54 prom_childnode(pnode_t nodeid)
77 prom_walk_devs(pnode_t node, int (*cb)(pnode_t, void *, void *), void *arg,
80 pnode_t stack[OBP_STACKDEPTH];
90 pnode_t curnode = stack[stackidx];
91 pnode_t child;
140 bytype_cb(pnode_t nod
[all...]
H A Dprom_devtype.c33 prom_devicetype(pnode_t id, char *type)
51 prom_getnode_byname(pnode_t id, char *name)
H A Dprom_stdin.c60 pnode_t
70 return (pstdin = (pnode_t)OBP_BADNODE);
H A Dprom_stdout.c58 pnode_t
68 return (pstdout = (pnode_t)OBP_BADNODE);
H A Dprom_boot.c36 pnode_t node;
68 pnode_t node;
H A Dprom_fb.c47 remember = prom_devicetype((pnode_t)prom_stdout_node(),
51 remember = prom_devicetype((pnode_t)prom_stdout_node(),
138 pnode_t node;
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dpromif_impl.h82 extern pnode_t promif_stree_nextnode(pnode_t nodeid);
83 extern pnode_t promif_stree_childnode(pnode_t nodeid);
84 extern pnode_t promif_stree_parentnode(pnode_t nodeid);
85 extern int promif_stree_getproplen(pnode_t, char *name);
86 extern int promif_stree_getprop(pnode_t, char *name, void *value);
87 extern int promif_stree_setprop(pnode_t, char *name, void *value, int len);
88 extern char *promif_stree_nextprop(pnode_t nodei
[all...]
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dmachdep.c52 static pnode_t
53 visit(pnode_t node)
65 return ((pnode_t)0);
68 return ((pnode_t)0);
71 return ((pnode_t)0);
75 return ((pnode_t)0);
78 return ((pnode_t)0);
82 return ((pnode_t)0);
90 static pnode_t
91 walk(pnode_t nod
[all...]
/illumos-gate/usr/src/uts/sun/sys/
H A Dpromif.h89 extern pnode_t prom_childnode(pnode_t nodeid);
90 extern pnode_t prom_nextnode(pnode_t nodeid);
91 extern pnode_t prom_parentnode(pnode_t nodeid);
92 extern pnode_t prom_rootnode(void);
93 extern pnode_t prom_chosennode(void);
94 extern pnode_t prom_alias_node(void);
95 extern pnode_t prom_optionsnod
[all...]
H A Dobpdefs.h39 typedef phandle_t pnode_t; typedef
45 #define OBP_NONODE ((pnode_t)0)
46 #define OBP_BADNODE ((pnode_t)-1)
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_vername.c48 pnode_t nodeid;
62 if (nodeid == (pnode_t)-1)
H A Dprom_vercheck.c164 static pnode_t flashprom_node;
201 static pnode_t
202 visit(pnode_t node)
206 static pnode_t openprom_node;
215 return ((pnode_t)0);
218 return ((pnode_t)0);
222 return ((pnode_t)0);
228 return ((pnode_t)0);
232 return ((pnode_t)0);
241 return ((pnode_t)
[all...]
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_node.c32 static pnode_t chosennode;
33 static pnode_t optionsnode;
36 static pnode_t finddevice(char *path);
46 promif_set_nodes(pnode_t chosen, pnode_t options)
80 pnode_t node;
106 pnode_t next;
121 pnode_t child;
136 pnode_t parent;
183 get_unit_addr(pnode_t n
[all...]
H A Dpromif_stree.c49 pnode_t pn_nodeid;
58 static prom_node_t *find_node(pnode_t nodeid);
59 static prom_node_t *find_node_work(prom_node_t *np, pnode_t node);
66 static prom_node_t *create_node(prom_node_t *parent, pnode_t node);
67 static void create_peers(prom_node_t *pnp, pnode_t node);
68 static void create_children(prom_node_t *pnp, pnode_t parent);
98 pnode_t
99 promif_stree_parentnode(pnode_t nodeid)
111 pnode_t
112 promif_stree_childnode(pnode_t nodei
[all...]
/illumos-gate/usr/src/psm/stand/lib/names/sparc/common/
H A Dmfgname.c46 pnode_t n;
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dcpr_impl.h55 pnode_t node;
/illumos-gate/usr/src/uts/common/os/
H A Dautoconf.c222 size = prom_getproplen((pnode_t)id, name);
226 if (-1 == prom_getprop((pnode_t)id, name, buf))
260 cnid = (int)prom_childnode((pnode_t)nid);
263 snid = (int)prom_nextnode((pnode_t)nid);
266 snid = (int)prom_nextnode((pnode_t)nid);
267 cnid = (int)prom_childnode((pnode_t)nid);
279 snid = (int)prom_nextnode((pnode_t)snid)) {
300 for (cnid = (int)prom_nextnode((pnode_t)cnid);
302 cnid = (int)prom_nextnode((pnode_t)cnid)) {
366 pnode_t nodei
[all...]
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/
H A Dsbdp_priv.h158 pnode_t nodes[SBDP_MAX_MEM_NODES_PER_BOARD];
217 pnode_t nodes[SBDP_MAX_NODES];
232 int sbdp_is_node_bad(pnode_t);
233 void sbdp_walk_prom_tree(pnode_t, int(*)(pnode_t, void *, uint_t), void *);
236 int sbdp_get_bd_and_wnode_num(pnode_t, int *, int *);
240 sbd_cond_t sbdp_get_comp_status(pnode_t);
256 int sbdp_select_top_nodes(pnode_t, void *, uint_t);
257 pnode_t sbdp_find_nearby_cpu_by_portid(pnode_t, processorid_
[all...]

Completed in 79 milliseconds

1234567