Lines Matching defs:nodeid
375 pnode_t nodeid;
383 nodeid = prom_childnode(prom_rootnode());
386 np->here = (void *)(uintptr_t)nodeid;
389 while (nodeid != OBP_NONODE) {
394 nodeid = prom_nextnode(nodeid);
397 np->here = (void *)(uintptr_t)nodeid;
425 pnode_t nodeid;
427 nodeid = np->get_dnode(np);
428 if (nodeid == OBP_NONODE)
434 dip = e_ddi_nodeid_to_dip(nodeid);
465 pnode_t nodeid;
468 nodeid = np->get_dnode(np);
469 if (nodeid == OBP_NONODE)
471 else if (prom_getproplen(nodeid, (caddr_t)name) < 0)
474 (void) prom_getprop(nodeid, (caddr_t)name, (caddr_t)buf);
484 pnode_t nodeid;
487 nodeid = np->get_dnode(np);
488 if (nodeid == OBP_NONODE)
491 *len = prom_getproplen(nodeid, (caddr_t)name);
601 drmach_prom_select(pnode_t nodeid, void *arg, uint_t flags)
611 if (nodeid != saved)
620 if (prom_getprop(nodeid, OBP_REG, (caddr_t)rprop) <= 0) {
926 pnode_t nodeid;
942 nodeid = prom_childnode(prom_rootnode());
948 (void) prom_getprop(nodeid, OBP_BOARDNUM, (caddr_t)&bnum);
955 nodeid, OBP_BOARDNUM, bnum);
965 } while ((nodeid = prom_nextnode(nodeid)) != OBP_NONODE);
1056 pnode_t nodeid;
1063 nodeid = drmach_node_get_dnode(dp->node);
1064 if (nodeid == OBP_NONODE || nodeid == OBP_BADNODE)
1067 addr = mc_get_asr_addr(nodeid);
1079 pnode_t nodeid;
1086 nodeid = drmach_node_get_dnode(dp->node);
1087 if (nodeid == OBP_NONODE || nodeid == OBP_BADNODE)
1090 addr = mc_get_idle_addr(nodeid);
1102 pnode_t nodeid;
1109 nodeid = drmach_node_get_dnode(dp->node);
1110 if (nodeid == OBP_NONODE || nodeid == OBP_BADNODE)
1112 else if (mc_read_asr(nodeid, mcregp) == -1)
1124 pnode_t nodeid;
1131 nodeid = drmach_node_get_dnode(dp->node);
1132 if (nodeid == OBP_NONODE || nodeid == OBP_BADNODE)
1134 else if (mc_write_asr(nodeid, mcreg) == -1)
2425 ASSERT(cpunodes[cpuid].nodeid != (pnode_t)0);
3135 pnode_t nodeid;
3141 nodeid = drmach_node_get_dnode(mem->node);
3142 if (nodeid == OBP_NONODE || nodeid == OBP_BADNODE)
3147 size = mc_get_alignment_mask(nodeid);
3633 pnode_t nodeid;
3641 nodeid = drmach_node_get_dnode(dp->node);
3642 if (nodeid == OBP_NONODE)
3645 dip = e_ddi_nodeid_to_dip(nodeid);