Lines Matching refs:PhysPortIndex

78 	PhysPortIndex);
80 PhysPortIndex);
84 unsigned int PhysPortIndex, unsigned int StatIndex);
995 unsigned int PhysPortIndex; in SkPnmiEvent() local
1034 PhysPortIndex = (int)Param.Para32[0]; in SkPnmiEvent()
1037 if (PhysPortIndex >= SK_MAX_MACS) { in SkPnmiEvent()
1042 PhysPortIndex)); in SkPnmiEvent()
1051 if ((pAC->GIni.GIFunc.pFnMacOverflow(pAC, IoC, PhysPortIndex, in SkPnmiEvent()
1077 XM_IN16(IoC, PhysPortIndex, XM_TX_CMD, &Register); in SkPnmiEvent()
1079 XM_OUT16(IoC, PhysPortIndex, XM_TX_CMD, Register); in SkPnmiEvent()
1086 XM_IN16(IoC, PhysPortIndex, XM_RX_CMD, &Register); in SkPnmiEvent()
1088 XM_OUT16(IoC, PhysPortIndex, XM_RX_CMD, Register); in SkPnmiEvent()
1109 pAC->Pnmi.Port[PhysPortIndex]. in SkPnmiEvent()
1115 pAC->Pnmi.Port[PhysPortIndex]. in SkPnmiEvent()
1312 PhysPortIndex = (unsigned int)Param.Para64; in SkPnmiEvent()
1337 pAC->Pnmi.Port[PhysPortIndex].CounterOffset[CounterIndex] = in SkPnmiEvent()
1338 GetPhysStatVal(pAC, IoC, PhysPortIndex, CounterIndex); in SkPnmiEvent()
1340 pAC->Pnmi.Port[PhysPortIndex].CounterHigh[CounterIndex] = 0; in SkPnmiEvent()
1347 PhysPortIndex = (unsigned int)Param.Para32[0]; in SkPnmiEvent()
1349 if (PhysPortIndex >= SK_MAX_MACS) { in SkPnmiEvent()
1353 " wrong, PhysPortIndex=%d\n", PhysPortIndex)); in SkPnmiEvent()
1363 QueueRlmtPortTrap(pAC, OID_SKGE_TRAP_RLMT_PORT_UP, PhysPortIndex); in SkPnmiEvent()
1369 (void)pAC->GIni.GIFunc.pFnMacStatistic(pAC, IoC, PhysPortIndex, in SkPnmiEvent()
1372 Value = (((SK_U64)pAC->Pnmi.Port[PhysPortIndex]. in SkPnmiEvent()
1374 pAC->Pnmi.Port[PhysPortIndex].CounterOffset[SK_PNMI_HRX_SHORTS] += in SkPnmiEvent()
1375 Value - pAC->Pnmi.Port[PhysPortIndex].RxShortZeroMark; in SkPnmiEvent()
1379 pAC->Pnmi.VctStatus[PhysPortIndex] |= SK_PNMI_VCT_LINK; in SkPnmiEvent()
1383 PhysPortIndex = (unsigned int)Param.Para32[0]; in SkPnmiEvent()
1386 if (PhysPortIndex >= SK_MAX_MACS) { in SkPnmiEvent()
1390 " wrong, PhysPortIndex=%d\n", PhysPortIndex)); in SkPnmiEvent()
1400 QueueRlmtPortTrap(pAC, OID_SKGE_TRAP_RLMT_PORT_DOWN, PhysPortIndex); in SkPnmiEvent()
1406 (void)pAC->GIni.GIFunc.pFnMacStatistic(pAC, IoC, PhysPortIndex, in SkPnmiEvent()
1409 pAC->Pnmi.Port[PhysPortIndex].RxShortZeroMark = in SkPnmiEvent()
1410 (((SK_U64)pAC->Pnmi.Port[PhysPortIndex]. in SkPnmiEvent()
1416 PhysPortIndex = (unsigned int)Param.Para32[0]; in SkPnmiEvent()
1420 if (PhysPortIndex >= SK_MAX_MACS) { in SkPnmiEvent()
1424 PhysPortIndex)); in SkPnmiEvent()
1446 if (!pAC->Pnmi.Port[PhysPortIndex].ActiveFlag) { in SkPnmiEvent()
1480 Value = GetPhysStatVal(pAC, IoC, PhysPortIndex, CounterIndex); in SkPnmiEvent()
1488 pAC->Pnmi.Port[PhysPortIndex].ActiveFlag = SK_FALSE; in SkPnmiEvent()
1494 PhysPortIndex = (unsigned int)Param.Para32[0]; in SkPnmiEvent()
1498 if (PhysPortIndex >= SK_MAX_MACS) { in SkPnmiEvent()
1502 PhysPortIndex)); in SkPnmiEvent()
1524 if (pAC->Pnmi.Port[PhysPortIndex].ActiveFlag) { in SkPnmiEvent()
1539 QueueRlmtNewMacTrap(pAC, PhysPortIndex); in SkPnmiEvent()
1569 Value = GetPhysStatVal(pAC, IoC, PhysPortIndex, CounterIndex); in SkPnmiEvent()
1575 pAC->Pnmi.Port[PhysPortIndex].ActiveFlag = SK_TRUE; in SkPnmiEvent()
1616 PhysPortIndex = Param.Para32[0]; in SkPnmiEvent()
1617 pPrt = &pAC->GIni.GP[PhysPortIndex]; in SkPnmiEvent()
1618 pVctBackupData = &pAC->Pnmi.VctBackup[PhysPortIndex]; in SkPnmiEvent()
1620 if (pAC->Pnmi.VctStatus[PhysPortIndex] & SK_PNMI_VCT_PENDING) { in SkPnmiEvent()
1621 RetCode = SkGmCableDiagStatus(pAC, IoC, PhysPortIndex, SK_FALSE); in SkPnmiEvent()
1628 Param.Para32[0] = PhysPortIndex; in SkPnmiEvent()
1631 &pAC->Pnmi.VctTimeout[PhysPortIndex].VctTimer, in SkPnmiEvent()
1635 pAC->Pnmi.VctStatus[PhysPortIndex] &= ~SK_PNMI_VCT_PENDING; in SkPnmiEvent()
1636 pAC->Pnmi.VctStatus[PhysPortIndex] |= in SkPnmiEvent()
1659 Param.Para32[0] = PhysPortIndex; in SkPnmiEvent()
2463 unsigned int PhysPortIndex; in Addr() local
2518 PhysPortIndex = SK_PNMI_PORT_LOG2PHYS(pAC, LogPortIndex); in Addr()
2521 &pAC->Addr.Port[PhysPortIndex].CurrentMacAddress); in Addr()
2532 PhysPortIndex = SK_PNMI_PORT_LOG2PHYS( in Addr()
2536 &pAC->Addr.Port[PhysPortIndex].PermanentMacAddress); in Addr()
2611 PhysPortIndex = SK_PNMI_PORT_LOG2PHYS(pAC, in Addr()
2614 Ret = SkAddrOverride(pAC, IoC, PhysPortIndex, in Addr()
4494 unsigned int PhysPortIndex; in Rlmt() local
4598 for (PhysPortIndex = 0; PhysPortIndex < PhysPortMax; in Rlmt()
4599 PhysPortIndex ++) { in Rlmt()
4601 if (pAC->Pnmi.Port[PhysPortIndex].ActiveFlag) { in Rlmt()
4603 *pBuf = (char)SK_PNMI_PORT_PHYS2LOG(PhysPortIndex); in Rlmt()
4799 unsigned int PhysPortIndex; in RlmtStat() local
4820 PhysPortIndex = Instance - 1; in RlmtStat()
4824 PhysPortIndex = NetIndex; in RlmtStat()
4828 Limit = PhysPortIndex + 1; in RlmtStat()
4832 PhysPortIndex = 0; in RlmtStat()
4837 PhysPortIndex = NetIndex; in RlmtStat()
4838 Limit = PhysPortIndex + 1; in RlmtStat()
4858 if (*pLen < (Limit - PhysPortIndex) * sizeof(SK_U32)) { in RlmtStat()
4860 *pLen = (Limit - PhysPortIndex) * sizeof(SK_U32); in RlmtStat()
4869 if (*pLen < (Limit - PhysPortIndex) * sizeof(SK_U64)) { in RlmtStat()
4871 *pLen = (Limit - PhysPortIndex) * sizeof(SK_U64); in RlmtStat()
4900 for (; PhysPortIndex < Limit; PhysPortIndex ++) { in RlmtStat()
4905 Val32 = PhysPortIndex; in RlmtStat()
4911 if (pAC->Rlmt.Port[PhysPortIndex].PortState == in RlmtStat()
4913 pAC->Rlmt.Port[PhysPortIndex].PortState == in RlmtStat()
4918 else if (pAC->Pnmi.Port[PhysPortIndex].ActiveFlag) { in RlmtStat()
4930 Val64 = pAC->Rlmt.Port[PhysPortIndex].TxHelloCts; in RlmtStat()
4936 Val64 = pAC->Rlmt.Port[PhysPortIndex].RxHelloCts; in RlmtStat()
4942 Val64 = pAC->Rlmt.Port[PhysPortIndex].TxSpHelloReqCts; in RlmtStat()
4948 Val64 = pAC->Rlmt.Port[PhysPortIndex].RxSpHelloCts; in RlmtStat()
5001 unsigned int PhysPortIndex; in MacPrivateConf() local
5126 PhysPortIndex = SK_PNMI_PORT_LOG2PHYS( in MacPrivateConf()
5128 Val32 = pAC->GIni.GP[PhysPortIndex].PhyType; in MacPrivateConf()
5148 PhysPortIndex = SK_PNMI_PORT_LOG2PHYS(pAC, LogPortIndex); in MacPrivateConf()
5149 Val8 = (SK_U8) pAC->GIni.GP[PhysPortIndex].PPhyPowerState; in MacPrivateConf()
5155 Val8 = (SK_U8) pAC->GIni.GP[PhysPortIndex].PPhyPowerState; in MacPrivateConf()
5170 PhysPortIndex = SK_PNMI_PORT_LOG2PHYS( in MacPrivateConf()
5173 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PLinkCap; in MacPrivateConf()
5191 PhysPortIndex = SK_PNMI_PORT_LOG2PHYS( in MacPrivateConf()
5194 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PLinkModeConf; in MacPrivateConf()
5212 PhysPortIndex = SK_PNMI_PORT_LOG2PHYS( in MacPrivateConf()
5216 CalculateLinkModeStatus(pAC, IoC, PhysPortIndex); in MacPrivateConf()
5234 PhysPortIndex = SK_PNMI_PORT_LOG2PHYS( in MacPrivateConf()
5237 *pBufPtr = CalculateLinkStatus(pAC, IoC, PhysPortIndex); in MacPrivateConf()
5255 PhysPortIndex = SK_PNMI_PORT_LOG2PHYS( in MacPrivateConf()
5258 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PFlowCtrlCap; in MacPrivateConf()
5276 PhysPortIndex = SK_PNMI_PORT_LOG2PHYS( in MacPrivateConf()
5279 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PFlowCtrlMode; in MacPrivateConf()
5297 PhysPortIndex = SK_PNMI_PORT_LOG2PHYS( in MacPrivateConf()
5300 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PFlowCtrlStatus; in MacPrivateConf()
5318 PhysPortIndex = SK_PNMI_PORT_LOG2PHYS( in MacPrivateConf()
5321 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PMSCap; in MacPrivateConf()
5339 PhysPortIndex = SK_PNMI_PORT_LOG2PHYS( in MacPrivateConf()
5342 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PMSMode; in MacPrivateConf()
5360 PhysPortIndex = SK_PNMI_PORT_LOG2PHYS( in MacPrivateConf()
5363 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PMSStatus; in MacPrivateConf()
5381 PhysPortIndex = SK_PNMI_PORT_LOG2PHYS( in MacPrivateConf()
5384 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PLinkSpeedCap; in MacPrivateConf()
5402 PhysPortIndex = SK_PNMI_PORT_LOG2PHYS( in MacPrivateConf()
5405 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PLinkSpeed; in MacPrivateConf()
5423 PhysPortIndex = SK_PNMI_PORT_LOG2PHYS( in MacPrivateConf()
5426 *pBufPtr = pAC->GIni.GP[PhysPortIndex].PLinkSpeedUsed; in MacPrivateConf()
5543 for (PhysPortIndex = 0; in MacPrivateConf()
5544 PhysPortIndex < PhysPortMax; in MacPrivateConf()
5545 PhysPortIndex ++) { in MacPrivateConf()
5547 if (!pAC->Pnmi.Port[PhysPortIndex]. in MacPrivateConf()
5553 EventParam.Para32[0] = PhysPortIndex; in MacPrivateConf()
5619 for (PhysPortIndex = 0; in MacPrivateConf()
5620 PhysPortIndex < PhysPortMax; in MacPrivateConf()
5621 PhysPortIndex ++) { in MacPrivateConf()
5623 if (!pAC->Pnmi.Port[PhysPortIndex]. in MacPrivateConf()
5629 EventParam.Para32[0] = PhysPortIndex; in MacPrivateConf()
5696 for (PhysPortIndex = 0; in MacPrivateConf()
5697 PhysPortIndex < PhysPortMax; in MacPrivateConf()
5698 PhysPortIndex ++) { in MacPrivateConf()
5700 if (!pAC->Pnmi.Port[PhysPortIndex]. in MacPrivateConf()
5706 EventParam.Para32[0] = PhysPortIndex; in MacPrivateConf()
5773 for (PhysPortIndex = 0; in MacPrivateConf()
5774 PhysPortIndex < PhysPortMax; in MacPrivateConf()
5775 PhysPortIndex ++) { in MacPrivateConf()
5777 if (!pAC->Pnmi.Port[PhysPortIndex].ActiveFlag) { in MacPrivateConf()
5782 EventParam.Para32[0] = PhysPortIndex; in MacPrivateConf()
5860 PhysPortIndex = SK_PNMI_PORT_LOG2PHYS(pAC, LogPortIndex); in MacPrivateConf()
5865 if (pAC->GIni.GP[PhysPortIndex].PPhyPowerState) { in MacPrivateConf()
5867 Val32 = SkGmLeaveLowPowerMode(pAC, IoC, PhysPortIndex); in MacPrivateConf()
5869 if (pAC->GIni.GP[PhysPortIndex].PPhyPowerState < 3) { in MacPrivateConf()
5884 if (!pAC->GIni.GP[PhysPortIndex].PPhyPowerState) { in MacPrivateConf()
5891 Val32 = SkGmEnterLowPowerMode(pAC, IoC, PhysPortIndex, *pBuf); in MacPrivateConf()
5909 if (pAC->GIni.GP[PhysPortIndex].PPhyPowerState) { in MacPrivateConf()
5911 Val32 = SkGmLeaveLowPowerMode(pAC, IoC, PhysPortIndex); in MacPrivateConf()
5913 if (pAC->GIni.GP[PhysPortIndex].PPhyPowerState < 3) { in MacPrivateConf()
5929 if (!pAC->GIni.GP[PhysPortIndex].PPhyPowerState) { in MacPrivateConf()
5937 Val32 = SkGmEnterLowPowerMode(pAC, IoC, PhysPortIndex, *pBuf); in MacPrivateConf()
6110 unsigned int PhysPortIndex; in VirtualConf() local
6120 for (PhysPortIndex = 0; PhysPortIndex < PhysPortMax; in VirtualConf()
6121 PhysPortIndex ++) { in VirtualConf()
6123 pPrt = &pAC->GIni.GP[PhysPortIndex]; in VirtualConf()
6126 if (!pAC->Pnmi.Port[PhysPortIndex].ActiveFlag) { in VirtualConf()
6175 Val8 = CalculateLinkModeStatus(pAC, IoC, PhysPortIndex); in VirtualConf()
6198 Val8 = CalculateLinkStatus(pAC, IoC, PhysPortIndex); in VirtualConf()
6444 unsigned int PhysPortIndex) /* Physical port index */ in CalculateLinkStatus() argument
6448 if (!pAC->GIni.GP[PhysPortIndex].PHWLinkUp) { in CalculateLinkStatus()
6452 else if (pAC->GIni.GP[PhysPortIndex].PAutoNegFail > 0) { in CalculateLinkStatus()
6456 else if (!pAC->Rlmt.Port[PhysPortIndex].PortDown) { in CalculateLinkStatus()
6483 unsigned int PhysPortIndex) /* Physical port index */ in CalculateLinkModeStatus() argument
6488 Result = pAC->GIni.GP[PhysPortIndex].PLinkModeStatus; in CalculateLinkModeStatus()
6495 else if (pAC->GIni.GP[PhysPortIndex].PLinkMode >= SK_LMODE_AUTOHALF) { in CalculateLinkModeStatus()
6767 unsigned int PhysPortIndex; in GetStatVal() local
6774 PhysPortIndex = NetIndex; in GetStatVal()
6776 Val = GetPhysStatVal(pAC, IoC, PhysPortIndex, StatIndex); in GetStatVal()
6785 for (PhysPortIndex = 0; PhysPortIndex < PhysPortMax; in GetStatVal()
6786 PhysPortIndex ++) { in GetStatVal()
6788 if (pAC->Pnmi.Port[PhysPortIndex].ActiveFlag) { in GetStatVal()
6790 Val += GetPhysStatVal(pAC, IoC, PhysPortIndex, StatIndex); in GetStatVal()
6799 PhysPortIndex = SK_PNMI_PORT_LOG2PHYS(pAC, LogPortIndex); in GetStatVal()
6801 Val = GetPhysStatVal(pAC, IoC, PhysPortIndex, StatIndex); in GetStatVal()
6826 unsigned int PhysPortIndex, /* Index of the logical Port to be processed */ in GetPhysStatVal() argument
6840 pPrt = &pAC->GIni.GP[PhysPortIndex]; in GetPhysStatVal()
6846 pPnmiPrt = &pAC->Pnmi.BufPort[PhysPortIndex]; in GetPhysStatVal()
6849 pPnmiPrt = &pAC->Pnmi.Port[PhysPortIndex]; in GetPhysStatVal()
6857 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
6860 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
6864 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
6870 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
6879 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
6882 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
6886 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
6892 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
6901 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
6904 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
6917 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
6932 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
6946 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
6972 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
6985 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
6988 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
7004 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
7011 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
7051 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
7078 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
7090 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
7116 SkXmPhyRead(pAC, IoC, PhysPortIndex, PHY_BCOM_RE_CTR, &Word); in GetPhysStatVal()
7123 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
7131 (void)pFnMac->pFnMacStatistic(pAC, IoC, PhysPortIndex, in GetPhysStatVal()
7162 unsigned int PhysPortIndex; in ResetCounter() local
7189 for (PhysPortIndex = 0; PhysPortIndex < in ResetCounter()
7190 (unsigned int)pAC->GIni.GIMacsFound; PhysPortIndex ++) { in ResetCounter()
7192 (void)pAC->GIni.GIFunc.pFnMacResetCounter(pAC, IoC, PhysPortIndex); in ResetCounter()
7194 SK_MEMSET((char *)&pAC->Pnmi.Port[PhysPortIndex].CounterHigh, in ResetCounter()
7195 0, sizeof(pAC->Pnmi.Port[PhysPortIndex].CounterHigh)); in ResetCounter()
7196 SK_MEMSET((char *)&pAC->Pnmi.Port[PhysPortIndex]. in ResetCounter()
7198 PhysPortIndex].CounterOffset)); in ResetCounter()
7199 SK_MEMSET((char *)&pAC->Pnmi.Port[PhysPortIndex].StatSyncCts, in ResetCounter()
7200 0, sizeof(pAC->Pnmi.Port[PhysPortIndex].StatSyncCts)); in ResetCounter()
7201 SK_MEMSET((char *)&pAC->Pnmi.Port[PhysPortIndex]. in ResetCounter()
7203 PhysPortIndex].StatSyncOctetsCts)); in ResetCounter()
7204 SK_MEMSET((char *)&pAC->Pnmi.Port[PhysPortIndex]. in ResetCounter()
7206 PhysPortIndex].StatRxLongFrameCts)); in ResetCounter()
7207 SK_MEMSET((char *)&pAC->Pnmi.Port[PhysPortIndex]. in ResetCounter()
7209 PhysPortIndex].StatRxFrameTooLongCts)); in ResetCounter()
7210 SK_MEMSET((char *)&pAC->Pnmi.Port[PhysPortIndex]. in ResetCounter()
7212 PhysPortIndex].StatRxPMaccErr)); in ResetCounter()
7979 SK_U32 PhysPortIndex; in Vct() local
8007 PhysPortIndex = NetIndex; in Vct()
8010 PhysPortIndex = Instance - 2; in Vct()
8012 Limit = PhysPortIndex + 1; in Vct()
8020 PhysPortIndex = 0; in Vct()
8024 pPrt = &pAC->GIni.GP[PhysPortIndex]; in Vct()
8039 pVctBackupData = &pAC->Pnmi.VctBackup[PhysPortIndex]; in Vct()
8047 if (*pLen < (Limit - PhysPortIndex) * sizeof(SK_PNMI_VCT)) { in Vct()
8048 *pLen = (Limit - PhysPortIndex) * sizeof(SK_PNMI_VCT); in Vct()
8054 if (*pLen < (Limit - PhysPortIndex) * sizeof(SK_U8)) { in Vct()
8055 *pLen = (Limit - PhysPortIndex) * sizeof(SK_U8); in Vct()
8067 for (; PhysPortIndex < Limit; PhysPortIndex++) { in Vct()
8072 (pAC->Pnmi.VctStatus[PhysPortIndex] & SK_PNMI_VCT_PENDING)) { in Vct()
8073 RetCode = SkGmCableDiagStatus(pAC, IoC, PhysPortIndex, SK_FALSE); in Vct()
8075 pAC->Pnmi.VctStatus[PhysPortIndex] &= ~SK_PNMI_VCT_PENDING; in Vct()
8076 pAC->Pnmi.VctStatus[PhysPortIndex] |= in Vct()
8096 Para.Para32[0] = PhysPortIndex; in Vct()
8107 CheckVctStatus(pAC, IoC, pBuf, Offset, PhysPortIndex); in Vct()
8124 CheckVctStatus(pAC, IoC, pBuf, Offset, PhysPortIndex); in Vct()
8147 if (*pLen < (Limit - PhysPortIndex) * sizeof(SK_U32)) { in Vct()
8148 *pLen = (Limit - PhysPortIndex) * sizeof(SK_U32); in Vct()
8168 for (; PhysPortIndex < Limit; PhysPortIndex++) { in Vct()
8172 SkGeStopPort(pAC, IoC, PhysPortIndex, SK_STOP_ALL, SK_SOFT_RST); in Vct()
8174 RetCode = SkGmCableDiagStatus(pAC, IoC, PhysPortIndex, SK_TRUE); in Vct()
8176 pAC->Pnmi.VctStatus[PhysPortIndex] |= SK_PNMI_VCT_PENDING; in Vct()
8177 pAC->Pnmi.VctStatus[PhysPortIndex] &= ~SK_PNMI_VCT_NEW_VCT_DATA; in Vct()
8178 pAC->Pnmi.VctStatus[PhysPortIndex] &= ~SK_PNMI_VCT_LINK; in Vct()
8184 Para.Para32[0] = PhysPortIndex; in Vct()
8186 SkTimerStart(pAC, IoC, &pAC->Pnmi.VctTimeout[PhysPortIndex].VctTimer, in Vct()
8220 SK_U32 PhysPortIndex) in CheckVctStatus() argument
8226 pPrt = &pAC->GIni.GP[PhysPortIndex]; in CheckVctStatus()
8234 if (pAC->Pnmi.VctStatus[PhysPortIndex] & SK_PNMI_VCT_TEST_DONE) { in CheckVctStatus()
8235 if ((pAC->Pnmi.VctStatus[PhysPortIndex] & SK_PNMI_VCT_LINK)) { in CheckVctStatus()
8244 RetCode = SkGmCableDiagStatus(pAC,IoC, PhysPortIndex, SK_FALSE); in CheckVctStatus()
8249 if (pAC->Pnmi.VctStatus[PhysPortIndex] & SK_PNMI_VCT_PENDING) { in CheckVctStatus()
8261 if (pAC->Pnmi.VctStatus[PhysPortIndex] & SK_PNMI_VCT_TEST_DONE) { in CheckVctStatus()
8267 if (pAC->GIni.GP[PhysPortIndex].PLinkSpeedUsed != in CheckVctStatus()