OBP_NONODE
if ((node == OBP_NONODE) || (node == OBP_BADNODE))
if ((node == OBP_NONODE) || (node == OBP_BADNODE))
if (child != OBP_NONODE && child != OBP_BADNODE) {
pnode_t result = OBP_NONODE;
pnode_t result = OBP_NONODE;
return (rootnode ? rootnode : (rootnode = prom_nextnode(OBP_NONODE)));
ci[4] = p1275_dnode2cell(OBP_NONODE); /* Res1: Prime result */
ci[4] = p1275_dnode2cell(OBP_NONODE); /* Res1: Prime result */
ci[4] = p1275_dnode2cell(OBP_NONODE); /* Res1: Prime result */
if (node == OBP_NONODE || node == OBP_BADNODE) {
if (curnode == OBP_NONODE || curnode == OBP_BADNODE) {
if ((node == OBP_NONODE) || (node == OBP_BADNODE))
if (node != OBP_NONODE && node != OBP_BADNODE) {
((node = prom_parentnode(node)) != OBP_NONODE &&
if (node == OBP_NONODE || node == OBP_BADNODE) {
if (node == OBP_NONODE) {
return (OBP_NONODE);
if (node == OBP_NONODE)
if ((n = prom_rootnode()) != OBP_NONODE &&
if (chosen == OBP_NONODE || chosen == OBP_BADNODE)
if (chosen == OBP_NONODE || chosen == OBP_BADNODE)
if (node != OBP_NONODE && node != OBP_BADNODE) {
static pnode_t cn = OBP_NONODE;
if (cn == OBP_NONODE) {
pnode_t node_id = OBP_NONODE;
if ((st->current_id != OBP_NONODE) &&
if (oprom_checknodeid(st->current_id, OBP_NONODE) == 0)
(node_id == OBP_NONODE) || (node_id == OBP_BADNODE)) {
(node_id == OBP_NONODE) || (node_id == OBP_BADNODE)) {
(node_id == OBP_NONODE) || (node_id == OBP_BADNODE)) {
if (pdip == NULL || nid == OBP_NONODE || nid == OBP_BADNODE)
ASSERT(nodeid != OBP_NONODE && nodeid != OBP_BADNODE);
while (nodeid != OBP_NONODE && nodeid != OBP_BADNODE) {
if (nodeid == OBP_NONODE || nodeid == OBP_BADNODE) {
while (nodeid != OBP_NONODE && nodeid != OBP_BADNODE) {
if (node == OBP_BADNODE || node == OBP_NONODE) {
if (nodeid == OBP_NONODE)
if (pnp && (nodeid == OBP_NONODE))
return (OBP_NONODE);
return (OBP_NONODE);
return (rootnode ? rootnode : (rootnode = prom_nextnode(OBP_NONODE)));
return (OBP_NONODE);
return (OBP_NONODE);
return (OBP_NONODE);
if (*nodep == OBP_NONODE || *nodep == OBP_BADNODE) {
if (node != OBP_NONODE && node != OBP_BADNODE) {
((node = prom_parentnode(node)) != OBP_NONODE &&
EBUS_NAME)) == OBP_NONODE)
if ((node = prom_findnode_byname(node, RTC_NAME)) == OBP_NONODE)
DS1337_DEVICE_TYPE)) == OBP_NONODE)
if ((node == OBP_NONODE) || (node == OBP_BADNODE)) {
*cmpp = OBP_NONODE;
if (node == OBP_NONODE || node == OBP_BADNODE)
if (cmpnode != OBP_NONODE) {
if ((onode == OBP_NONODE) || (onode == OBP_BADNODE)) {
if (node == OBP_NONODE || node == OBP_BADNODE)
return ((node == OBP_NONODE) || (node == OBP_BADNODE) ||
for (cur_node = prom_childnode(parent); cur_node != OBP_NONODE;
if (node == OBP_NONODE)
if (child != OBP_NONODE) {
for (; child != OBP_NONODE;
if (node != OBP_NONODE) {
if (node == OBP_BADNODE || node == OBP_NONODE)
return (OBP_NONODE);
if (cpu_node == OBP_NONODE) {
ASSERT(cpu_node != OBP_NONODE);
ASSERT(nodeid != OBP_NONODE);
if (memnodes[i] == OBP_NONODE) {
for (; nid != OBP_NONODE && nid != OBP_BADNODE;
while (nodeid != OBP_NONODE) {
if ((node == OBP_NONODE) || (node == OBP_BADNODE)) {
if ((node == OBP_NONODE) || (node == OBP_BADNODE) ||
if (node == OBP_NONODE || node == OBP_BADNODE) {
if ((np = prom_childnode(np)) == OBP_NONODE)
while (np != OBP_NONODE) {
if (np == OBP_NONODE)
return (OBP_NONODE);
return (OBP_NONODE);
if (pnp && (nodeid == OBP_NONODE))
return (OBP_NONODE);
if (nodeid == OBP_NONODE)
promif_root = pnp = create_node(OBP_NONODE, node);