Lines Matching refs:current_id
74 pnode_t current_id; /* node we're fetching props from */ member
272 st->current_id = (pnode_t)0; in opromopen()
379 if ((st->current_id != OBP_NONODE) && in opromioctl_cb()
380 (st->current_id != OBP_BADNODE)) { in opromioctl_cb()
381 if (oprom_checknodeid(st->current_id, OBP_NONODE) == 0) in opromioctl_cb()
382 st->current_id = OBP_BADNODE; in opromioctl_cb()
478 node_id = st->current_id; in opromioctl_cb()
668 if (oprom_checknodeid(node_id, st->current_id) == 0) { in opromioctl_cb()
676 st->current_id = prom_nextnode(node_id); in opromioctl_cb()
678 st->current_id = prom_childnode(node_id); in opromioctl_cb()
681 st->current_id = node_id; in opromioctl_cb()
686 *(pnode_t *)opp->oprom_array = st->current_id; in opromioctl_cb()
1138 oprom_checknodeid(pnode_t node_id, pnode_t current_id) in oprom_checknodeid() argument
1152 if ((current_id != OBP_BADNODE) && ((node_id == current_id) || in oprom_checknodeid()
1153 (node_id == prom_nextnode(current_id)) || in oprom_checknodeid()
1154 (node_id == prom_childnode(current_id)))) { in oprom_checknodeid()