Lines Matching refs:pAC
538 #define SK_PNMI_SET_DRIVER_DESCR(pAC,v) ((pAC)->Pnmi.pDriverDescription = \ argument
541 #define SK_PNMI_SET_DRIVER_VER(pAC,v) ((pAC)->Pnmi.pDriverVersion = \ argument
544 #define SK_PNMI_SET_DRIVER_RELDATE(pAC,v) ((pAC)->Pnmi.pDriverReleaseDate = \ argument
547 #define SK_PNMI_SET_DRIVER_FILENAME(pAC,v) ((pAC)->Pnmi.pDriverFileName = \ argument
550 #define SK_PNMI_CNT_TX_QUEUE_LEN(pAC,v,p) \ argument
552 (pAC)->Pnmi.Port[p].TxSwQueueLen = (SK_U64)(v); \
553 if ((pAC)->Pnmi.Port[p].TxSwQueueLen > (pAC)->Pnmi.Port[p].TxSwQueueMax) { \
554 (pAC)->Pnmi.Port[p].TxSwQueueMax = (pAC)->Pnmi.Port[p].TxSwQueueLen; \
557 #define SK_PNMI_CNT_TX_RETRY(pAC,p) (((pAC)->Pnmi.Port[p].TxRetryCts)++) argument
558 #define SK_PNMI_CNT_RX_INTR(pAC,p) (((pAC)->Pnmi.Port[p].RxIntrCts)++) argument
559 #define SK_PNMI_CNT_TX_INTR(pAC,p) (((pAC)->Pnmi.Port[p].TxIntrCts)++) argument
560 #define SK_PNMI_CNT_NO_RX_BUF(pAC,p) (((pAC)->Pnmi.Port[p].RxNoBufCts)++) argument
561 #define SK_PNMI_CNT_NO_TX_BUF(pAC,p) (((pAC)->Pnmi.Port[p].TxNoBufCts)++) argument
562 #define SK_PNMI_CNT_USED_TX_DESCR(pAC,v,p) \ argument
563 ((pAC)->Pnmi.Port[p].TxUsedDescrNo=(SK_U64)(v));
564 #define SK_PNMI_CNT_RX_OCTETS_DELIVERED(pAC,v,p) \ argument
566 ((pAC)->Pnmi.Port[p].RxDeliveredCts)++; \
567 (pAC)->Pnmi.Port[p].RxOctetsDeliveredCts += (SK_U64)(v); \
569 #define SK_PNMI_CNT_ERR_RECOVERY(pAC,p) (((pAC)->Pnmi.Port[p].ErrRecoveryCts)++); argument
571 #define SK_PNMI_CNT_SYNC_OCTETS(pAC,p,v) \ argument
574 ((pAC)->Pnmi.Port[p].StatSyncCts)++; \
575 (pAC)->Pnmi.Port[p].StatSyncOctetsCts += (SK_U64)(v); \
579 #define SK_PNMI_CNT_RX_LONGFRAMES(pAC,p) \ argument
582 ((pAC)->Pnmi.Port[p].StatRxLongFrameCts++); \
586 #define SK_PNMI_CNT_RX_FRAMETOOLONG(pAC,p) \ argument
589 ((pAC)->Pnmi.Port[p].StatRxFrameTooLongCts++); \
593 #define SK_PNMI_CNT_RX_PMACC_ERR(pAC,p) \ argument
596 ((pAC)->Pnmi.Port[p].StatRxPMaccErr++); \
606 #define SK_PNMI_PORT_LOG2PHYS(pAC,l) ((unsigned int)(l) - 1) argument
607 #define SK_PNMI_PORT_PHYS2INST(pAC,p) \ argument
608 (pAC->Pnmi.DualNetActiveFlag ? 2 : ((unsigned int)(p) + 2))
609 #define SK_PNMI_PORT_INST2PHYS(pAC,i) ((unsigned int)(i) - 2) argument
946 extern int SkPnmiInit(SK_AC *pAC, SK_IOC IoC, int Level);
947 extern int SkPnmiGetVar(SK_AC *pAC, SK_IOC IoC, SK_U32 Id, void* pBuf,
949 extern int SkPnmiPreSetVar(SK_AC *pAC, SK_IOC IoC, SK_U32 Id,
951 extern int SkPnmiSetVar(SK_AC *pAC, SK_IOC IoC, SK_U32 Id, void* pBuf,
953 extern int SkPnmiGetStruct(SK_AC *pAC, SK_IOC IoC, void* pBuf,
955 extern int SkPnmiPreSetStruct(SK_AC *pAC, SK_IOC IoC, void* pBuf,
957 extern int SkPnmiSetStruct(SK_AC *pAC, SK_IOC IoC, void* pBuf,
959 extern int SkPnmiEvent(SK_AC *pAC, SK_IOC IoC, SK_U32 Event,
961 extern int SkPnmiGenIoctl(SK_AC *pAC, SK_IOC IoC, void * pBuf,