/illumos-gate/usr/src/uts/intel/promif/ |
H A D | prom_node.c | 44 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 D | prom_prop.c | 38 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 D | prom_emul.h | 52 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 D | obpdefs.h | 43 typedef phandle_t pnode_t; typedef 49 #define OBP_NONODE ((pnode_t)0) 50 #define OBP_BADNODE ((pnode_t)-1)
|
H A D | promif.h | 67 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 D | kmdb_promif_isadep.h | 41 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 D | kmdb_promif_isadep.c | 76 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 D | prom_node.c | 35 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 D | prom_devtype.c | 33 prom_devicetype(pnode_t id, char *type) 51 prom_getnode_byname(pnode_t id, char *name)
|
H A D | prom_stdin.c | 60 pnode_t 70 return (pstdin = (pnode_t)OBP_BADNODE);
|
H A D | prom_stdout.c | 58 pnode_t 68 return (pstdout = (pnode_t)OBP_BADNODE);
|
H A D | prom_boot.c | 36 pnode_t node; 68 pnode_t node;
|
H A D | prom_fb.c | 47 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 D | promif_impl.h | 82 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 D | machdep.c | 52 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 D | promif.h | 89 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 D | obpdefs.h | 39 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 D | prom_vername.c | 48 pnode_t nodeid; 62 if (nodeid == (pnode_t)-1)
|
H A D | prom_vercheck.c | 164 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 D | promif_node.c | 32 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 D | promif_stree.c | 49 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 D | mfgname.c | 46 pnode_t n;
|
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | cpr_impl.h | 55 pnode_t node;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | autoconf.c | 222 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 D | sbdp_priv.h | 158 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...] |