Lines Matching refs:GIni
411 PortMax = pAC->GIni.GIMacsFound; in SkPnmiInit()
415 pAC->GIni.GIFunc.pFnMacResetCounter(pAC, IoC, PortIndex); in SkPnmiInit()
420 pAC->GIni.GP[PortIndex].PCableLen = 0xff; in SkPnmiInit()
452 switch (pAC->GIni.GIChipId) { in SkPnmiInit()
472 if (pAC->GIni.GIMacsFound > 1) { in SkPnmiInit()
483 if (pAC->GIni.GIMacsFound > 1) { in SkPnmiInit()
494 if (pAC->GIni.GIMacsFound > 1) { in SkPnmiInit()
505 if (pAC->GIni.GIMacsFound > 1) { in SkPnmiInit()
751 if ((Ret = MacUpdate(pAC, IoC, 0, pAC->GIni.GIMacsFound - 1)) != in SkPnmiGetStruct()
1029 MacType = pAC->GIni.GIMacType; in SkPnmiEvent()
1051 if ((pAC->GIni.GIFunc.pFnMacOverflow(pAC, IoC, PhysPortIndex, in SkPnmiEvent()
1317 Ret = MacUpdate(pAC, IoC, 0, pAC->GIni.GIMacsFound - 1); in SkPnmiEvent()
1369 (void)pAC->GIni.GIFunc.pFnMacStatistic(pAC, IoC, PhysPortIndex, in SkPnmiEvent()
1406 (void)pAC->GIni.GIFunc.pFnMacStatistic(pAC, IoC, PhysPortIndex, in SkPnmiEvent()
1456 if (MacUpdate(pAC, IoC, 0, pAC->GIni.GIMacsFound - 1) != in SkPnmiEvent()
1547 if (MacUpdate(pAC, IoC, 0, pAC->GIni.GIMacsFound - 1) != in SkPnmiEvent()
1601 MaxNetNumber = pAC->GIni.GIMacsFound; in SkPnmiEvent()
1617 pPrt = &pAC->GIni.GP[PhysPortIndex]; in SkPnmiEvent()
2225 Ret = MacUpdate(pAC, IoC, 0, pAC->GIni.GIMacsFound - 1); in Mac8023Stat()
2309 PhysPortMax = pAC->GIni.GIMacsFound; in MacPrivateStat()
2312 MacType = pAC->GIni.GIMacType; in MacPrivateStat()
2353 Ret = MacUpdate(pAC, IoC, 0, pAC->GIni.GIMacsFound - 1); in MacPrivateStat()
2471 PhysPortMax = pAC->GIni.GIMacsFound; in Addr()
3528 MacType = pAC->GIni.GIMacType; in General()
3640 Ret = MacUpdate(pAC, IoC, 0, pAC->GIni.GIMacsFound - 1); in General()
3707 Val32 = (SK_U32)pAC->GIni.GILevel; in General()
3713 Val32 = (SK_U32)pAC->GIni.GIMacsFound; in General()
3886 Val8 = (SK_U8)pAC->GIni.GIPciHwRev; in General()
3902 Val32 = pAC->GIni.GIChipId; in General()
3908 Val32 = pAC->GIni.GIRamSize; in General()
3914 *pBuf = (char) pAC->GIni.GIVauxAvail; in General()
4582 Val32 = (SK_U32)pAC->GIni.GIMacsFound; in Rlmt()
4596 PhysPortMax = pAC->GIni.GIMacsFound; in Rlmt()
4699 (SK_U8)pAC->GIni.GIMacsFound) { in Rlmt()
4809 PhysPortMax = pAC->GIni.GIMacsFound; in RlmtStat()
5015 PhysPortMax = pAC->GIni.GIMacsFound; in MacPrivateConf()
5128 Val32 = pAC->GIni.GP[PhysPortIndex].PhyType; in MacPrivateConf()
5134 Val32 = pAC->GIni.GP[NetIndex].PhyType; in MacPrivateConf()
5149 Val8 = (SK_U8) pAC->GIni.GP[PhysPortIndex].PPhyPowerState; in MacPrivateConf()
5155 Val8 = (SK_U8) pAC->GIni.GP[PhysPortIndex].PPhyPowerState; in MacPrivateConf()
5173 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PLinkCap; in MacPrivateConf()
5178 *pBufPtr = pAC->GIni.GP[NetIndex].PLinkCap; in MacPrivateConf()
5194 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PLinkModeConf; in MacPrivateConf()
5199 *pBufPtr = pAC->GIni.GP[NetIndex].PLinkModeConf; in MacPrivateConf()
5258 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PFlowCtrlCap; in MacPrivateConf()
5263 *pBufPtr = pAC->GIni.GP[NetIndex].PFlowCtrlCap; in MacPrivateConf()
5279 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PFlowCtrlMode; in MacPrivateConf()
5284 *pBufPtr = pAC->GIni.GP[NetIndex].PFlowCtrlMode; in MacPrivateConf()
5300 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PFlowCtrlStatus; in MacPrivateConf()
5305 *pBufPtr = pAC->GIni.GP[NetIndex].PFlowCtrlStatus; in MacPrivateConf()
5321 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PMSCap; in MacPrivateConf()
5326 *pBufPtr = pAC->GIni.GP[NetIndex].PMSCap; in MacPrivateConf()
5342 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PMSMode; in MacPrivateConf()
5347 *pBufPtr = pAC->GIni.GP[NetIndex].PMSMode; in MacPrivateConf()
5363 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PMSStatus; in MacPrivateConf()
5368 *pBufPtr = pAC->GIni.GP[NetIndex].PMSStatus; in MacPrivateConf()
5384 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PLinkSpeedCap; in MacPrivateConf()
5389 *pBufPtr = pAC->GIni.GP[NetIndex].PLinkSpeedCap; in MacPrivateConf()
5405 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PLinkSpeed; in MacPrivateConf()
5410 *pBufPtr = pAC->GIni.GP[NetIndex].PLinkSpeed; in MacPrivateConf()
5426 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PLinkSpeedUsed; in MacPrivateConf()
5431 *pBufPtr = pAC->GIni.GP[NetIndex].PLinkSpeedUsed; in MacPrivateConf()
5865 if (pAC->GIni.GP[PhysPortIndex].PPhyPowerState) { in MacPrivateConf()
5869 if (pAC->GIni.GP[PhysPortIndex].PPhyPowerState < 3) { in MacPrivateConf()
5884 if (!pAC->GIni.GP[PhysPortIndex].PPhyPowerState) { in MacPrivateConf()
5909 if (pAC->GIni.GP[PhysPortIndex].PPhyPowerState) { in MacPrivateConf()
5913 if (pAC->GIni.GP[PhysPortIndex].PPhyPowerState < 3) { in MacPrivateConf()
5929 if (!pAC->GIni.GP[PhysPortIndex].PPhyPowerState) { in MacPrivateConf()
6118 PhysPortMax = pAC->GIni.GIMacsFound; in VirtualConf()
6123 pPrt = &pAC->GIni.GP[PhysPortIndex]; in VirtualConf()
6448 if (!pAC->GIni.GP[PhysPortIndex].PHWLinkUp) { in CalculateLinkStatus()
6452 else if (pAC->GIni.GP[PhysPortIndex].PAutoNegFail > 0) { in CalculateLinkStatus()
6488 Result = pAC->GIni.GP[PhysPortIndex].PLinkModeStatus; in CalculateLinkModeStatus()
6495 else if (pAC->GIni.GP[PhysPortIndex].PLinkMode >= SK_LMODE_AUTOHALF) { in CalculateLinkModeStatus()
6730 if (pAC->GIni.GIMacType == SK_MAC_XMAC) { in MacUpdate()
6735 if (pAC->GIni.GIFunc.pFnMacUpdateStats(pAC, IoC, MacIndex) != 0) { in MacUpdate()
6782 PhysPortMax = pAC->GIni.GIMacsFound; in GetStatVal()
6840 pPrt = &pAC->GIni.GP[PhysPortIndex]; in GetPhysStatVal()
6842 MacType = pAC->GIni.GIMacType; in GetPhysStatVal()
6852 pFnMac = &pAC->GIni.GIFunc; in GetPhysStatVal()
7190 (unsigned int)pAC->GIni.GIMacsFound; PhysPortIndex ++) { in ResetCounter()
7192 (void)pAC->GIni.GIFunc.pFnMacResetCounter(pAC, IoC, PhysPortIndex); in ResetCounter()
7991 PhysPortMax = pAC->GIni.GIMacsFound; in Vct()
8024 pPrt = &pAC->GIni.GP[PhysPortIndex]; in Vct()
8226 pPrt = &pAC->GIni.GP[PhysPortIndex]; in CheckVctStatus()
8267 if (pAC->GIni.GP[PhysPortIndex].PLinkSpeedUsed != in CheckVctStatus()