Lines Matching refs:ch_anafanum
120 node->ch_slotnum, node->ch_anafanum); in ibnd_get_chassis_slot_str()
490 n->ch_anafanum = anafa_spine4_slot_2_slb[lineport->portnum]; in get_sfb_slot()
494 n->ch_anafanum = anafa_spine12_slot_2_slb[lineport->portnum]; in get_sfb_slot()
498 n->ch_anafanum = anafa_spine12_slot_2_slb[lineport->portnum]; in get_sfb_slot()
502 n->ch_anafanum = anafa_spine4_slot_2_slb[lineport->portnum]; in get_sfb_slot()
506 n->ch_anafanum = anafa_spine18_slot_2_slb[lineport->portnum]; in get_sfb_slot()
510 n->ch_anafanum = anafa_spine18x2_slot_2_slb[lineport->portnum]; in get_sfb_slot()
514 n->ch_anafanum = anafa_sfb4200_slot_2_slb[lineport->portnum]; in get_sfb_slot()
532 n->ch_anafanum = ipr_slot_2_sfb4_port[spineport->portnum]; in get_router_slot()
541 n->ch_anafanum = (guessnum == 3 ? 1 : (guessnum == 1 ? 3 : 2)); in get_router_slot()
550 n->ch_anafanum = (guessnum == 3 ? 1 : (guessnum == 1 ? 3 : 2)); in get_router_slot()
554 n->ch_anafanum = ipr_slot_2_sfb4_port[spineport->portnum]; in get_router_slot()
568 n->ch_anafanum = anafa_line_slot_2_sfb4[spineport->portnum]; in get_slb_slot()
572 n->ch_anafanum = anafa_line_slot_2_sfb12[spineport->portnum]; in get_slb_slot()
576 n->ch_anafanum = anafa_line_slot_2_sfb12[spineport->portnum]; in get_slb_slot()
580 n->ch_anafanum = anafa_line_slot_2_sfb4[spineport->portnum]; in get_slb_slot()
584 n->ch_anafanum = anafa_line_slot_2_sfb18[spineport->portnum]; in get_slb_slot()
588 n->ch_anafanum = anafa_line_slot_2_sfb18x2[spineport->portnum]; in get_slb_slot()
592 n->ch_anafanum = anafa_line_slot_2_sfb4200[spineport->portnum]; in get_slb_slot()
691 node->ch_anafanum = (unsigned char) atoi(&node_index[1]); in fill_mellanox_chassis_record()
692 if(node->ch_anafanum != 1){ in fill_mellanox_chassis_record()
693 IBND_DEBUG("Unexpected Chip number:%d \n",node->ch_anafanum); in fill_mellanox_chassis_record()
851 retval = 3 * (node->ch_slotnum - 1) + node->ch_anafanum; in get_line_index()
866 retval = 3 * (node->ch_slotnum - 1) + node->ch_anafanum; in get_spine_index()
868 retval = 2 * (node->ch_slotnum - 1) + node->ch_anafanum; in get_spine_index()
1179 if (port->node->ch_anafanum < 1 || port->node->ch_anafanum > 2) { in voltaire_portmap()
1184 chipnum = port->node->ch_anafanum - 1; in voltaire_portmap()