Lines Matching refs:GIni
462 if ((pAC->GIni.GIMacsFound == 2 ) && (pAC->RlmtNets == 2)) { in skge_probe()
516 pAC->HWRevision = (((pAC->GIni.GIPciHwRev >> 4) & 0x0F)*10) + in skge_probe()
517 (pAC->GIni.GIPciHwRev & 0x0F); in skge_probe()
837 if ((pAC->GIni.GIMacsFound == 2) && pAC->RlmtNets == 2){ in skge_cleanup_module()
944 if ((pAC->GIni.GIChipId == CHIP_ID_YUKON) || in SkGeBoardInit()
945 (pAC->GIni.GIChipId == CHIP_ID_YUKON_LITE)) { in SkGeBoardInit()
951 pAC->GIni.GIPortUsage = SK_MUL_LINK; in SkGeBoardInit()
957 if (pAC->GIni.GIMacsFound == 2) { in SkGeBoardInit()
959 } else if (pAC->GIni.GIMacsFound == 1) { in SkGeBoardInit()
964 pAC->GIni.GIMacsFound); in SkGeBoardInit()
1038 AllocLength = (RX_RING_SIZE + TX_RING_SIZE) * pAC->GIni.GIMacsFound + 8; in BoardAllocMem()
1040 AllocLength = (RX_RING_SIZE + TX_RING_SIZE) * pAC->GIni.GIMacsFound in BoardAllocMem()
1056 for (i=0; i<pAC->GIni.GIMacsFound; i++) { in BoardAllocMem()
1098 AllocLength = (RX_RING_SIZE + TX_RING_SIZE) * pAC->GIni.GIMacsFound + 8; in BoardFreeMem()
1100 AllocLength = (RX_RING_SIZE + TX_RING_SIZE) * pAC->GIni.GIMacsFound in BoardFreeMem()
1135 for (i=0; i<pAC->GIni.GIMacsFound; i++) { in BoardInitMem()
1378 IntSrc &= pAC->GIni.GIValIrqMask; in SkGeIsr()
1411 SK_OUT32(pAC->IoBase, B0_IMSK, pAC->GIni.GIValIrqMask); in SkGeIsr()
1497 IntSrc &= pAC->GIni.GIValIrqMask; in SkGeIsrOnePort()
1522 SK_OUT32(pAC->IoBase, B0_IMSK, pAC->GIni.GIValIrqMask); in SkGeIsrOnePort()
1570 pAC->GIni.GILedBlinkCtrl = OEM_CONFIG_VALUE; in SkGeOpen()
1602 for (i=0; i<pAC->GIni.GIMacsFound; i++) { in SkGeOpen()
1613 pAC->GIni.GIValIrqMask &= IRQ_MASK; in SkGeOpen()
1616 SK_OUT32(pAC->IoBase, B0_IMSK, pAC->GIni.GIValIrqMask); in SkGeOpen()
1751 for (i=0; i<pAC->GIni.GIMacsFound; i++) { in SkGeClose()
1803 (pAC->GIni.GIChipId == CHIP_ID_GENESIS)) { in SkGeXmit()
1952 (pAC->GIni.GIChipRev == 0) && in XmitFrame()
1953 (pAC->GIni.GIChipId == CHIP_ID_YUKON)) { in XmitFrame()
2082 (pAC->GIni.GIChipRev == 0) && in XmitFrameSG()
2083 (pAC->GIni.GIChipId == CHIP_ID_YUKON)) { in XmitFrameSG()
2134 (pAC->GIni.GIChipRev == 0) && in XmitFrameSG()
2135 (pAC->GIni.GIChipId == CHIP_ID_YUKON)) { in XmitFrameSG()
2471 if (pAC->GIni.GIChipId == CHIP_ID_GENESIS) {
2493 if (pAC->GIni.GIChipId == CHIP_ID_GENESIS) {
2599 (pAC->GIni.GIChipId == CHIP_ID_GENESIS)) ||
3070 if ((pAC->GIni.GIMacsFound == 2 ) && (pAC->RlmtNets == 2)) {
3084 for (i=0; i<pAC->GIni.GIMacsFound; i++) {
3099 for (i=0; i<pAC->GIni.GIMacsFound; i++) {
3100 if ((pAC->GIni.GIMacsFound == 2 ) && (pAC->RlmtNets == 2)) {
3117 for (i=0; i<pAC->GIni.GIMacsFound; i++) {
3118 if ((pAC->GIni.GIMacsFound == 2 ) && (pAC->RlmtNets == 2)) {
3138 pAC->GIni.GIPortUsage = SK_JUMBO_LINK;
3140 if ((pAC->GIni.GIMacsFound == 2 ) && (pAC->RlmtNets == 2)) {
3141 pAC->GIni.GIPortUsage = SK_MUL_LINK;
3143 pAC->GIni.GIPortUsage = SK_RED_LINK;
3172 for (i=0; i<pAC->GIni.GIMacsFound; i++) {
3189 for (i=pAC->GIni.GIMacsFound-1; i>=0; i--) {
3196 SK_OUT32(pAC->IoBase, B0_IMSK, pAC->GIni.GIValIrqMask);
3205 if ((pAC->GIni.GIMacsFound == 2 ) && (pAC->RlmtNets == 2)) {
3295 if (pAC->GIni.GP[0].PhyType == SK_PHY_XMAC && pAC->HWRevision < 12)
3560 #define M_CurrPort pAC->GIni.GP[Port]
3685 if (((!pAC->ChipsetType) || (pAC->GIni.GICopperType != SK_TRUE)) &&
3699 pAC->GIni.GP[0].PLinkSpeed = LinkSpeed;
3783 pAC->GIni.GP[0].PLinkModeConf = Capabilities[AutoNeg][DuplexCap];
3817 pAC->GIni.GP[0].PFlowCtrlMode = FlowCtrl;
3843 pAC->GIni.GP[0].PMSMode = MSMode;
3882 if (((!pAC->ChipsetType) || (pAC->GIni.GICopperType != SK_TRUE)) &&
3896 pAC->GIni.GP[1].PLinkSpeed = LinkSpeed;
3981 pAC->GIni.GP[1].PLinkModeConf = Capabilities[AutoNeg][DuplexCap];
4015 pAC->GIni.GP[1].PFlowCtrlMode = FlowCtrl;
4041 pAC->GIni.GP[1].PMSMode = MSMode;
4067 if (pAC->GIni.GIMacsFound == 1) {
4101 (pAC->GIni.GIMacsFound == 2)) {
4629 Stat = pAC->GIni.GP[FromPort].PLinkSpeedUsed;
4641 Stat = pAC->GIni.GP[FromPort].PLinkModeStatus;
4656 Stat = pAC->GIni.GP[FromPort].PFlowCtrlStatus;
4671 if ((pAC->GIni.GICopperType == SK_TRUE) &&
4672 (pAC->GIni.GP[FromPort].PLinkSpeedUsed ==
4674 Stat = pAC->GIni.GP[FromPort].PMSStatus;
4860 if (pAC->GIni.GIMacsFound == 2) {