Lines Matching refs:nodeid
182 sbdp_get_bd_and_wnode_num(pnode_t nodeid, int *bd, int *wnode) in sbdp_get_bd_and_wnode_num() argument
190 if (sbdp_is_node_bad(nodeid)) in sbdp_get_bd_and_wnode_num()
193 if ((portid = get_portid(nodeid, NULL)) == -1) in sbdp_get_bd_and_wnode_num()
210 pnode_t nodeid; in sbdp_get_board_num()
219 nodeid = ddi_get_nodeid(dip); in sbdp_get_board_num()
228 if (sbdp_get_bd_and_wnode_num(nodeid, &bd, &wnode) < 0) in sbdp_get_board_num()
256 pnode_t nodeid; in sbdp_get_unit_num() local
264 nodeid = ddi_get_nodeid(dip); in sbdp_get_unit_num()
266 if (sbdp_is_node_bad(nodeid)) in sbdp_get_unit_num()
269 if (prom_getprop(nodeid, "device_type", (caddr_t)dev_type) < 0) { in sbdp_get_unit_num()
304 if (prom_getprop(nodeid, "portid", (caddr_t)&portid) <= 0) { in sbdp_get_unit_num()
309 len = prom_getproplen(nodeid, "reg"); in sbdp_get_unit_num()
315 if (prom_getprop(nodeid, "reg", (caddr_t)regs) < 0) { in sbdp_get_unit_num()
924 sbdp_get_comp_status(pnode_t nodeid) in sbdp_get_comp_status() argument
934 if (sbdp_is_node_bad(nodeid)) { in sbdp_get_comp_status()
939 if (prom_getproplen(nodeid, (char *)status) <= 0) { in sbdp_get_comp_status()
944 if (prom_getprop(nodeid, (char *)status, status_buf) < 0) { in sbdp_get_comp_status()