Lines Matching refs:NetIndex
57 unsigned int *pLen, SK_U32 Instance, SK_U32 NetIndex);
59 unsigned int *pLen, SK_U32 Instance, SK_U32 NetIndex);
61 unsigned int *pLen, SK_U32 Instance, SK_U32 NetIndex);
63 unsigned int *pLen, SK_U32 NetIndex);
65 unsigned int *pLen, SK_U32 NetIndex);
67 unsigned int *pLen, SK_U32 NetIndex);
70 unsigned int * pLen, SK_U32 NetIndex);
86 unsigned int StatIndex, SK_U32 NetIndex);
96 unsigned int *pLen, SK_U32 NetIndex);
98 char *pBuf, unsigned int *pLen, SK_U32 Instance, SK_U32 NetIndex);
105 PNMI_STATIC void ResetCounter(SK_AC *pAC, SK_IOC IoC, SK_U32 NetIndex);
106 PNMI_STATIC int RlmtUpdate(SK_AC *pAC, SK_IOC IoC, SK_U32 NetIndex);
110 unsigned int *pLen, SK_U32 Instance, unsigned int TableIndex, SK_U32 NetIndex);
594 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in SkPnmiGetVar() argument
598 Id, *pLen, Instance, NetIndex)); in SkPnmiGetVar()
601 Instance, NetIndex)); in SkPnmiGetVar()
636 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in SkPnmiPreSetVar() argument
640 Id, *pLen, Instance, NetIndex)); in SkPnmiPreSetVar()
644 Instance, NetIndex)); in SkPnmiPreSetVar()
679 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in SkPnmiSetVar() argument
683 Id, *pLen, Instance, NetIndex)); in SkPnmiSetVar()
686 Instance, NetIndex)); in SkPnmiSetVar()
713 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in SkPnmiGetStruct() argument
727 *pLen, NetIndex)); in SkPnmiGetStruct()
744 if (NetIndex >= pAC->Rlmt.NumNets) { in SkPnmiGetStruct()
759 if ((Ret = RlmtUpdate(pAC, IoC, NetIndex)) != SK_PNMI_ERR_OK) { in SkPnmiGetStruct()
826 DstOffset, &TmpLen, Instance, TableIndex, NetIndex); in SkPnmiGetStruct()
891 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in SkPnmiPreSetStruct() argument
895 *pLen, NetIndex)); in SkPnmiPreSetStruct()
898 pLen, NetIndex)); in SkPnmiPreSetStruct()
929 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in SkPnmiSetStruct() argument
933 *pLen, NetIndex)); in SkPnmiSetStruct()
936 pLen, NetIndex)); in SkPnmiSetStruct()
1011 SK_U32 NetIndex; in SkPnmiEvent() local
1276 NetIndex = (SK_U32)Param.Para32[0]; in SkPnmiEvent()
1279 if (NetIndex >= pAC->Rlmt.NumNets) { in SkPnmiEvent()
1283 NetIndex)); in SkPnmiEvent()
1294 ResetCounter(pAC, IoC, NetIndex); in SkPnmiEvent()
1417 NetIndex = (SK_U32)Param.Para32[1]; in SkPnmiEvent()
1427 if (NetIndex >= pAC->Rlmt.NumNets) { in SkPnmiEvent()
1431 NetIndex)); in SkPnmiEvent()
1495 NetIndex = (SK_U32)Param.Para32[1]; in SkPnmiEvent()
1505 if (NetIndex >= pAC->Rlmt.NumNets) { in SkPnmiEvent()
1509 NetIndex)); in SkPnmiEvent()
1705 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in PnmiVar() argument
1718 if (NetIndex >= pAC->Rlmt.NumNets) { in PnmiVar()
1725 Instance, TableIndex, NetIndex); in PnmiVar()
1756 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in PnmiStruct() argument
1783 if (NetIndex >= pAC->Rlmt.NumNets) { in PnmiStruct()
1793 if ((Ret = RlmtUpdate(pAC, IoC, NetIndex)) != SK_PNMI_ERR_OK) { in PnmiStruct()
1843 NULL, &Len, Instance, TableIndex, NetIndex); in PnmiStruct()
1881 &Len, Instance, TableIndex, NetIndex); in PnmiStruct()
1961 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in OidStruct() argument
1984 return (SkPnmiGetStruct(pAC, IoC, pBuf, pLen, NetIndex)); in OidStruct()
1987 return (SkPnmiPreSetStruct(pAC, IoC, pBuf, pLen, NetIndex)); in OidStruct()
1990 return (SkPnmiSetStruct(pAC, IoC, pBuf, pLen, NetIndex)); in OidStruct()
2028 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in Perform() argument
2117 ResetCounter(pAC, IoC, NetIndex); in Perform()
2159 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in Mac8023Stat() argument
2239 CopyMac(pBuf, &pAC->Addr.Net[NetIndex].PermanentMacAddress); in Mac8023Stat()
2244 CopyMac(pBuf, &pAC->Addr.Net[NetIndex].CurrentMacAddress); in Mac8023Stat()
2249 StatVal = GetStatVal(pAC, IoC, 0, IdTable[TableIndex].Param, NetIndex); in Mac8023Stat()
2295 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in MacPrivateStat() argument
2379 SK_PNMI_HRX_BROADCAST, NetIndex) + in MacPrivateStat()
2381 SK_PNMI_HRX_MULTICAST, NetIndex) + in MacPrivateStat()
2383 SK_PNMI_HRX_UNICAST, NetIndex) + in MacPrivateStat()
2385 SK_PNMI_HRX_UNDERSIZE, NetIndex); in MacPrivateStat()
2389 IdTable[TableIndex].Param, NetIndex); in MacPrivateStat()
2397 SK_PNMI_HTX_BROADCAST, NetIndex) + in MacPrivateStat()
2399 SK_PNMI_HTX_MULTICAST, NetIndex) + in MacPrivateStat()
2401 SK_PNMI_HTX_UNICAST, NetIndex); in MacPrivateStat()
2405 IdTable[TableIndex].Param, NetIndex); in MacPrivateStat()
2411 IdTable[TableIndex].Param, NetIndex); in MacPrivateStat()
2457 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in Addr() argument
2515 CopyMac(pBuf + Offset, &pAC->Addr.Net[NetIndex].CurrentMacAddress); in Addr()
2529 &pAC->Addr.Net[NetIndex].PermanentMacAddress); in Addr()
2658 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in CsumStat() argument
2708 StatVal = pAC->Csum.ProtoStats[NetIndex][Index].RxOkCts; in CsumStat()
2712 StatVal = pAC->Csum.ProtoStats[NetIndex][Index].RxUnableCts; in CsumStat()
2716 StatVal = pAC->Csum.ProtoStats[NetIndex][Index].RxErrCts; in CsumStat()
2720 StatVal = pAC->Csum.ProtoStats[NetIndex][Index].TxOkCts; in CsumStat()
2724 StatVal = pAC->Csum.ProtoStats[NetIndex][Index].TxUnableCts; in CsumStat()
2774 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in SensorStat() argument
3019 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in Vpd() argument
3493 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in General() argument
3659 GetStatVal(pAC, IoC, 0, SK_PNMI_HRX_MISSED, NetIndex) + in General()
3660 GetStatVal(pAC, IoC, 0, SK_PNMI_HRX_FRAMING, NetIndex) + in General()
3661 GetStatVal(pAC, IoC, 0, SK_PNMI_HRX_OVERFLOW, NetIndex) + in General()
3662 GetStatVal(pAC, IoC, 0, SK_PNMI_HRX_JABBER, NetIndex) + in General()
3663 GetStatVal(pAC, IoC, 0, SK_PNMI_HRX_CARRIER, NetIndex) + in General()
3664 GetStatVal(pAC, IoC, 0, SK_PNMI_HRX_IRLENGTH, NetIndex) + in General()
3665 GetStatVal(pAC, IoC, 0, SK_PNMI_HRX_SYMBOL, NetIndex) + in General()
3666 GetStatVal(pAC, IoC, 0, SK_PNMI_HRX_SHORTS, NetIndex) + in General()
3667 GetStatVal(pAC, IoC, 0, SK_PNMI_HRX_RUNT, NetIndex) + in General()
3668 GetStatVal(pAC, IoC, 0, SK_PNMI_HRX_TOO_LONG, NetIndex) + in General()
3669 GetStatVal(pAC, IoC, 0, SK_PNMI_HRX_FCS, NetIndex) + in General()
3670 GetStatVal(pAC, IoC, 0, SK_PNMI_HRX_CEXT, NetIndex); in General()
3677 GetStatVal(pAC, IoC, 0, SK_PNMI_HTX_EXCESS_COL, NetIndex) + in General()
3678 GetStatVal(pAC, IoC, 0, SK_PNMI_HTX_LATE_COL, NetIndex) + in General()
3679 GetStatVal(pAC, IoC, 0, SK_PNMI_HTX_UNDERRUN, NetIndex) + in General()
3680 GetStatVal(pAC, IoC, 0, SK_PNMI_HTX_CARRIER, NetIndex); in General()
3979 Val64 = pAC->Pnmi.BufPort[NetIndex].TxSwQueueLen; in General()
3990 Val64 = pAC->Pnmi.Port[NetIndex].TxSwQueueLen; in General()
4008 Val64 = pAC->Pnmi.BufPort[NetIndex].TxSwQueueMax; in General()
4019 Val64 = pAC->Pnmi.Port[NetIndex].TxSwQueueMax; in General()
4036 Val64 = pAC->Pnmi.BufPort[NetIndex].TxRetryCts; in General()
4047 Val64 = pAC->Pnmi.Port[NetIndex].TxRetryCts; in General()
4064 Val64 = pAC->Pnmi.BufPort[NetIndex].RxIntrCts; in General()
4075 Val64 = pAC->Pnmi.Port[NetIndex].RxIntrCts; in General()
4092 Val64 = pAC->Pnmi.BufPort[NetIndex].TxIntrCts; in General()
4103 Val64 = pAC->Pnmi.Port[NetIndex].TxIntrCts; in General()
4120 Val64 = pAC->Pnmi.BufPort[NetIndex].RxNoBufCts; in General()
4131 Val64 = pAC->Pnmi.Port[NetIndex].RxNoBufCts; in General()
4148 Val64 = pAC->Pnmi.BufPort[NetIndex].TxNoBufCts; in General()
4159 Val64 = pAC->Pnmi.Port[NetIndex].TxNoBufCts; in General()
4176 Val64 = pAC->Pnmi.BufPort[NetIndex].TxUsedDescrNo; in General()
4187 Val64 = pAC->Pnmi.Port[NetIndex].TxUsedDescrNo; in General()
4204 Val64 = pAC->Pnmi.BufPort[NetIndex].RxDeliveredCts; in General()
4215 Val64 = pAC->Pnmi.Port[NetIndex].RxDeliveredCts; in General()
4232 Val64 = pAC->Pnmi.BufPort[NetIndex].RxOctetsDeliveredCts; in General()
4243 Val64 = pAC->Pnmi.Port[NetIndex].RxOctetsDeliveredCts; in General()
4270 Val64 = Val64RxHwErrs + pAC->Pnmi.BufPort[NetIndex].RxNoBufCts; in General()
4282 Val64 = Val64RxHwErrs + pAC->Pnmi.Port[NetIndex].RxNoBufCts; in General()
4300 Val64 = Val64TxHwErrs + pAC->Pnmi.BufPort[NetIndex].TxNoBufCts; in General()
4312 Val64 = Val64TxHwErrs + pAC->Pnmi.Port[NetIndex].TxNoBufCts; in General()
4330 Val64 = pAC->Pnmi.BufPort[NetIndex].ErrRecoveryCts; in General()
4341 Val64 = pAC->Pnmi.Port[NetIndex].ErrRecoveryCts; in General()
4369 Val64 = Val64RxHwErrs + pAC->Pnmi.BufPort[NetIndex].RxNoBufCts; in General()
4372 Val64 = Val64RxHwErrs + pAC->Pnmi.Port[NetIndex].RxNoBufCts; in General()
4392 Val64 = Val64TxHwErrs + pAC->Pnmi.BufPort[NetIndex].TxNoBufCts; in General()
4395 Val64 = Val64TxHwErrs + pAC->Pnmi.Port[NetIndex].TxNoBufCts; in General()
4415 Val64 = pAC->Pnmi.BufPort[NetIndex].RxNoBufCts; in General()
4418 Val64 = pAC->Pnmi.Port[NetIndex].RxNoBufCts; in General()
4436 Val32 = (SK_U32)pAC->Pnmi.Port[NetIndex].TxSwQueueLen; in General()
4491 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in Rlmt() argument
4564 if ((Ret = RlmtUpdate(pAC, IoC, NetIndex)) != SK_PNMI_ERR_OK) { in Rlmt()
4611 *pBuf = (char)SK_PNMI_PORT_PHYS2LOG(pAC->Rlmt.Net[NetIndex].Preference); in Rlmt()
4718 EventParam.Para32[1] = NetIndex; in Rlmt()
4796 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in RlmtStat() argument
4824 PhysPortIndex = NetIndex; in RlmtStat()
4837 PhysPortIndex = NetIndex; in RlmtStat()
4889 if ((Ret = RlmtUpdate(pAC, IoC, NetIndex)) != SK_PNMI_ERR_OK) { in RlmtStat()
4998 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in MacPrivateConf() argument
5134 Val32 = pAC->GIni.GP[NetIndex].PhyType; in MacPrivateConf()
5178 *pBufPtr = pAC->GIni.GP[NetIndex].PLinkCap; in MacPrivateConf()
5199 *pBufPtr = pAC->GIni.GP[NetIndex].PLinkModeConf; in MacPrivateConf()
5221 *pBufPtr = CalculateLinkModeStatus(pAC, IoC, NetIndex); in MacPrivateConf()
5242 *pBufPtr = CalculateLinkStatus(pAC, IoC, NetIndex); in MacPrivateConf()
5263 *pBufPtr = pAC->GIni.GP[NetIndex].PFlowCtrlCap; in MacPrivateConf()
5284 *pBufPtr = pAC->GIni.GP[NetIndex].PFlowCtrlMode; in MacPrivateConf()
5305 *pBufPtr = pAC->GIni.GP[NetIndex].PFlowCtrlStatus; in MacPrivateConf()
5326 *pBufPtr = pAC->GIni.GP[NetIndex].PMSCap; in MacPrivateConf()
5347 *pBufPtr = pAC->GIni.GP[NetIndex].PMSMode; in MacPrivateConf()
5368 *pBufPtr = pAC->GIni.GP[NetIndex].PMSStatus; in MacPrivateConf()
5389 *pBufPtr = pAC->GIni.GP[NetIndex].PLinkSpeedCap; in MacPrivateConf()
5410 *pBufPtr = pAC->GIni.GP[NetIndex].PLinkSpeed; in MacPrivateConf()
5431 *pBufPtr = pAC->GIni.GP[NetIndex].PLinkSpeedUsed; in MacPrivateConf()
5437 Val32 = SK_DRIVER_GET_MTU(pAC, IoC, NetIndex); in MacPrivateConf()
5828 if (SK_DRIVER_PRESET_MTU(pAC, IoC, NetIndex, Val32) != 0) { in MacPrivateConf()
5838 if (SK_DRIVER_SET_MTU(pAC, IoC, NetIndex, Val32) != 0) { in MacPrivateConf()
5997 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in Monitor() argument
6665 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode allways zero */ in RlmtUpdate() argument
6678 EventParam.Para32[0] = NetIndex; in RlmtUpdate()
6765 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode allways zero */ in GetStatVal() argument
6774 PhysPortIndex = NetIndex; in GetStatVal()
7160 SK_U32 NetIndex) in ResetCounter() argument
7172 EventParam.Para32[0] = NetIndex; in ResetCounter()
7182 EventParam.Para32[0] = NetIndex; in ResetCounter()
7226 pAC->Pnmi.Port[NetIndex].TxSwQueueMax = 0; in ResetCounter()
7227 pAC->Pnmi.Port[NetIndex].TxRetryCts = 0; in ResetCounter()
7228 pAC->Pnmi.Port[NetIndex].RxIntrCts = 0; in ResetCounter()
7229 pAC->Pnmi.Port[NetIndex].TxIntrCts = 0; in ResetCounter()
7230 pAC->Pnmi.Port[NetIndex].RxNoBufCts = 0; in ResetCounter()
7231 pAC->Pnmi.Port[NetIndex].TxNoBufCts = 0; in ResetCounter()
7232 pAC->Pnmi.Port[NetIndex].TxUsedDescrNo = 0; in ResetCounter()
7233 pAC->Pnmi.Port[NetIndex].RxDeliveredCts = 0; in ResetCounter()
7234 pAC->Pnmi.Port[NetIndex].RxOctetsDeliveredCts = 0; in ResetCounter()
7235 pAC->Pnmi.Port[NetIndex].ErrRecoveryCts = 0; in ResetCounter()
7611 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode allways zero */ in PowerManagement() argument
7774 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in DiagActions() argument
7973 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in Vct() argument
8007 PhysPortIndex = NetIndex; in Vct()
8304 SK_U32 NetIndex) /* NetIndex (0..n), in single net mode always zero */ in SkPnmiGenIoctl() argument
8323 ((SK_U32) (-1)), NetIndex); in SkPnmiGenIoctl()
8330 ((SK_U32) (-1)), NetIndex); in SkPnmiGenIoctl()
8337 ((SK_U32) (-1)), NetIndex); in SkPnmiGenIoctl()
8342 ReturnCode = SkPnmiGetStruct(pAC, IoC, pBuf, pLen, NetIndex); in SkPnmiGenIoctl()
8345 ReturnCode = SkPnmiPreSetStruct(pAC, IoC, pBuf, pLen, NetIndex); in SkPnmiGenIoctl()
8348 ReturnCode = SkPnmiSetStruct(pAC, IoC, pBuf, pLen, NetIndex); in SkPnmiGenIoctl()