Lines Matching defs:wnode

95  * the appropriate info.  When a new wnode is created a whole entry is added
98 sbdp_wnode_t *first_node = NULL; /* first wnode. Entry to the link list */
182 sbdp_get_bd_and_wnode_num(pnode_t nodeid, int *bd, int *wnode)
200 *wnode = SG_PORTID_TO_NODEID(portid);
211 int bd, wnode;
228 if (sbdp_get_bd_and_wnode_num(nodeid, &bd, &wnode) < 0)
404 apktp->node = bdp->wnode;
428 hp->h_wnode = bdp->wnode;
460 sbdp_bd_init(sbdp_bd_t *bdp, int bd, int wnode)
467 bdp->wnode = wnode;
491 sbdp_cleanup_bd(bdp->wnode, bdp->bd);
501 * A new wnode has arrived. Initialize the struct and create
505 sbdp_wnode_init(sbdp_wnode_t *wnodep, int wnode, int boards)
512 wnodep->wnode = wnode;
518 sbdp_bd_init(&wnodep->bds[i], i, wnode);
547 sbdp_add_new_bd_info(int wnode, int board)
554 cur = sbdp_get_wnodep(wnode);
566 sbdp_cleanup_bd(int wnode, int board)
576 cur = sbdp_get_wnodep(wnode);
599 hp->h_wnode = bdp->wnode;
608 sbdp_cpu_in_reset(wnode, bdp->bd, SBDP_ALL_CPUS, 0);
616 * Traverse the list looking for wnode. Return it when found
619 sbdp_get_wnodep(int wnode)
630 if (cur->wnode == wnode) {
645 sbdp_insert_wnode(int wnode, int max_boards)
665 sbdp_wnode_init(wnodep, wnode, max_boards);
708 int wnode;
720 wnode = sbdp_info->wnode;
723 SBDP_DBG_MISC("sbdp_setup_instance: instance %d wnode %d\n", instance,
724 sbdp_info->wnode);
726 if (sbdp_get_wnodep(wnode) == NULL) {
731 sbdp_insert_wnode(wnode, max_boards);
746 int wnode;
758 wnode = sbdp_info->wnode;
760 SBDP_DBG_MISC("sbdp_teardown_instance: instance %d wnode %d\n",
761 instance, wnode);
766 if ((wnodep = sbdp_get_wnodep(wnode)) != NULL) {
889 sbdp_get_bd_info(int wnode, int board)
898 wnodep = sbdp_get_wnodep(wnode);