Functions | |
| static void | CSL_CPGMAC_SL_getMacVersionInfo (Uint32 portNum, CSL_CPGMAC_SL_VERSION *pVersionInfo) |
| static Uint32 | CSL_CPGMAC_SL_isFullDuplexEnabled (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_enableFullDuplex (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_disableFullDuplex (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_isLoopbackModeEnabled (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_enableLoopback (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_disableLoopback (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_isRxFlowControlEnabled (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_enableRxFlowControl (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_disableRxFlowControl (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_isTxFlowControlEnabled (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_enableTxFlowControl (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_disableTxFlowControl (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_isGMIIEnabled (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_enableGMII (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_disableGMII (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_isTxPaceEnabled (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_enableTxPace (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_disableTxPace (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_isGigabitEnabled (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_enableGigabit (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_disableGigabit (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_isTxShortGapEnabled (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_enableTxShortGap (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_disableTxShortGap (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_isIdleModeEnabled (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_enableIdleMode (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_disableIdleMode (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_isIFCTLAEnabled (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_enableIFCTLA (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_disableIFCTLA (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_isIFCTLBEnabled (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_enableIFCTLB (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_disableIFCTLB (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_isGigForceModeEnabled (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_enableGigForceMode (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_disableGigForceMode (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_isExtControlEnabled (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_enableExtControl (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_disableExtControl (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_isRxCEFEnabled (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_enableRxCEF (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_disableRxCEF (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_isRxCSFEnabled (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_enableRxCSF (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_disableRxCSF (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_isRxCMFEnabled (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_enableRxCMF (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_disableRxCMF (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_getMacControlReg (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_setMacControlReg (Uint32 portNum, Uint32 macControlRegVal) |
| static void | CSL_CPGMAC_SL_getMacStatusReg (Uint32 portNum, CSL_CPGMAC_SL_MACSTATUS *pMacStatus) |
| static void | CSL_CPGMAC_SL_resetMac (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_isMACResetDone (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_getRxMaxLen (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_setRxMaxLen (Uint32 portNum, Uint32 rxMaxLen) |
| static Uint32 | CSL_CPGMAC_SL_getRxPauseTimerReg (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_setRxPauseTimerReg (Uint32 portNum, Uint32 rxPauseTimer) |
| static Uint32 | CSL_CPGMAC_SL_getTxPauseTimerReg (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_setTxPauseTimerReg (Uint32 portNum, Uint32 txPauseTimer) |
| static void | CSL_CPGMAC_SL_getEmulControlReg (Uint32 portNum, Uint32 *pEmulFreeBit, Uint32 *pEmulSoftBit) |
| static void | CSL_CPGMAC_SL_setEmulControlReg (Uint32 portNum, Uint32 emulFreeBit, Uint32 emulSoftBit) |
| static void | CSL_CPGMAC_SL_getMacRxPriMapReg (Uint32 portNum, Uint32 *pMacRxPriMap) |
| static void | CSL_CPGMAC_SL_setMacRxPriMapReg (Uint32 portNum, Uint32 *pMacRxPriMap) |
| static Uint32 | CSL_CPGMAC_SL_isCastagnoliCRCEnabled (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_enableCastagnoliCRC (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_disableCastagnoliCRC (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_isExtRxFlowEnabled (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_enableExtRxFlow (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_disableExtRxFlow (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_isExtTxFlowEnabled (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_enableExtTxFlow (Uint32 portNum) |
| static void | CSL_CPGMAC_SL_disableExtTxFlow (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_getTxGap (Uint32 portNum) |
| static Uint32 | CSL_CPGMAC_SL_setTxGap (Uint32 portNum, Uint32 txGap) |
| static void | CSL_CPGMAC_SL_getMacVersionInfo (CSL_cpgmacSlHandle hCpgmacSlRegs, CSL_CPGMAC_SL_VERSION *pVersionInfo) |
| static Uint32 | CSL_CPGMAC_SL_isFullDuplexEnabled (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_enableFullDuplex (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_disableFullDuplex (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_isLoopbackModeEnabled (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_enableLoopback (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_disableLoopback (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_isRxFlowControlEnabled (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_enableRxFlowControl (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_disableRxFlowControl (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_isTxFlowControlEnabled (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_enableTxFlowControl (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_disableTxFlowControl (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_isGMIIEnabled (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_enableGMII (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_disableGMII (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_isTxPaceEnabled (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_enableTxPace (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_disableTxPace (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_isGigabitEnabled (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_enableGigabit (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_disableGigabit (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_isTxShortGapEnabled (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_enableTxShortGap (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_disableTxShortGap (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_isIdleModeEnabled (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_enableIdleMode (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_disableIdleMode (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_isIFCTLAEnabled (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_enableIFCTLA (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_disableIFCTLA (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_isIFCTLBEnabled (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_enableIFCTLB (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_disableIFCTLB (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_isGigForceModeEnabled (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_enableGigForceMode (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_disableGigForceMode (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_isExtControlEnabled (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_enableExtControl (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_disableExtControl (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_isRxCEFEnabled (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_enableRxCEF (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_disableRxCEF (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_isRxCSFEnabled (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_enableRxCSF (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_disableRxCSF (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_isRxCMFEnabled (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_enableRxCMF (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_disableRxCMF (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_getMacControlReg (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static void | CSL_CPGMAC_SL_setMacControlReg (CSL_cpgmacSlHandle hCpgmacSlRegs, Uint32 macControlRegVal) |
| static void | CSL_CPGMAC_SL_getMacStatusReg (CSL_cpgmacSlHandle hCpgmacSlRegs, CSL_CPGMAC_SL_MACSTATUS *pMacStatus) |
| static void | CSL_CPGMAC_SL_resetMac (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_isMACResetDone (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_getRxMaxLen (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_setRxMaxLen (CSL_cpgmacSlHandle hCpgmacSlRegs, Uint32 rxMaxLen) |
| static Uint32 | CSL_CPGMAC_SL_getRxPauseTimerReg (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_setRxPauseTimerReg (CSL_cpgmacSlHandle hCpgmacSlRegs, Uint32 rxPauseTimer) |
| static Uint32 | CSL_CPGMAC_SL_getTxPauseTimerReg (CSL_cpgmacSlHandle hCpgmacSlRegs) |
| static Uint32 | CSL_CPGMAC_SL_setTxPauseTimerReg (CSL_cpgmacSlHandle hCpgmacSlRegs, Uint32 txPauseTimer) |
| static void | CSL_CPGMAC_SL_getEmulControlReg (CSL_cpgmacSlHandle hCpgmacSlRegs, Uint32 *pEmulFreeBit, Uint32 *pEmulSoftBit) |
| static void | CSL_CPGMAC_SL_setEmulControlReg (CSL_cpgmacSlHandle hCpgmacSlRegs, Uint32 emulFreeBit, Uint32 emulSoftBit) |
| static void | CSL_CPGMAC_SL_getMacRxPriMapReg (CSL_cpgmacSlHandle hCpgmacSlRegs, Uint32 *pMacRxPriMap) |
| static void | CSL_CPGMAC_SL_setMacRxPriMapReg (CSL_cpgmacSlHandle hCpgmacSlRegs, Uint32 *pMacRxPriMap) |
| Uint32 | CSL_CPGMAC_SL_isFullDuplexEnabled (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_enableFullDuplex (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_disableFullDuplex (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_isLoopbackModeEnabled (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_enableLoopback (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_disableLoopback (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_isRxFlowControlEnabled (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_enableRxFlowControl (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_disableRxFlowControl (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_isTxFlowControlEnabled (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_enableTxFlowControl (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_disableTxFlowControl (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_isGMIIEnabled (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_enableGMII (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_disableGMII (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_isTxPaceEnabled (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_enableTxPace (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_disableTxPace (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_isGigabitEnabled (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_enableGigabit (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_disableGigabit (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_isTxShortGapEnabled (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_enableTxShortGap (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_disableTxShortGap (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_isIdleModeEnabled (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_enableIdleMode (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_disableIdleMode (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_isCastagnoliCRCEnabled (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_enableCastagnoliCRC (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_disableCastagnoliCRC (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_isIFCTLAEnabled (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_enableIFCTLA (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_disableIFCTLA (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_isIFCTLBEnabled (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_enableIFCTLB (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_disableIFCTLB (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_isGigForceModeEnabled (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_enableGigForceMode (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_disableGigForceMode (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_isExtControlEnabled (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_enableExtControl (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_disableExtControl (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_isExtRxFlowEnabled (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_enableExtRxFlow (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_disableExtRxFlow (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_isExtTxFlowEnabled (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_enableExtTxFlow (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_disableExtTxFlow (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_isRxCEFEnabled (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_enableRxCEF (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_disableRxCEF (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_isRxCSFEnabled (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_enableRxCSF (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_disableRxCSF (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_isRxCMFEnabled (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_enableRxCMF (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_disableRxCMF (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_getMacControlReg (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_setMacControlReg (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 macControlRegVal) |
| void | CSL_CPGMAC_SL_getMacStatusReg (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, CSL_CPGMAC_SL_MACSTATUS *pMacStatus) |
| void | CSL_CPGMAC_SL_resetMac (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_isMACResetDone (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_getRxMaxLen (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_setRxMaxLen (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 rxMaxLen) |
| Uint32 | CSL_CPGMAC_SL_getTxGap (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_setTxGap (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 txGap) |
| Uint32 | CSL_CPGMAC_SL_getRxPauseTimerReg (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_setRxPauseTimerReg (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 rxPauseTimer) |
| Uint32 | CSL_CPGMAC_SL_getTxPauseTimerReg (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| Uint32 | CSL_CPGMAC_SL_setTxPauseTimerReg (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 txPauseTimer) |
| void | CSL_CPGMAC_SL_getEmulControlReg (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 *pEmulFreeBit, Uint32 *pEmulSoftBit) |
| void | CSL_CPGMAC_SL_setEmulControlReg (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 emulFreeBit, Uint32 emulSoftBit) |
| void | CSL_CPGMAC_SL_getMacRxPriMapReg (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 *pMacRxPriMap) |
| void | CSL_CPGMAC_SL_setMacRxPriMapReg (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 *pMacRxPriMap) |
| void | CSL_CPGMAC_SL_clearMacStatusTorf (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_clearMacStatusTorfPri (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_getInterVLANCfg (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 routeIndex, CSL_CPSW_INTERVLANCFG *pInterVLANCfg) |
| void | CSL_CPGMAC_SL_setInterVLANCfg (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 routeIndex, CSL_CPSW_INTERVLANCFG *pInterVLANCfg) |
| void | CSL_CPGMAC_SL_getFifoStatus (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, CSL_CPGMAC_SL_FIFOSTATUS *pFifoStatus) |
| Uint32 | CSL_CPGMAC_SL_isTxShortGapLimitEnabled (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_enableTxShortGapLimit (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void | CSL_CPGMAC_SL_disableTxShortGapLimit (CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum) |
| void CSL_CPGMAC_SL_clearMacStatusTorf | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_clearMacStatusTorf
Description
This function clears Top of receive FIFO flow control trigger bit in PN_MAC_STATUS register
Arguments
portNum MAC port number *
Return Value
None
Pre Condition
None
Post Condition
None
| void CSL_CPGMAC_SL_clearMacStatusTorfPri | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_clearMacStatusTorf
Description
This function clears Top of receive FIFO flow control Priority field in PN_MAC_STATUS register
Arguments
portNum MAC port number *
Return Value
None
Pre Condition
None
Post Condition
None
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableCastagnoliCRC
Description
This function configures the MAC control register to disable Castagnoli CRC for MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_CRC_TYPE=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableCastagnoliCRC (portNum);
| void CSL_CPGMAC_SL_disableCastagnoliCRC | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_disableCastagnoliCRC
Description
This function configures the MAC control register to disable Castagnoli CRC for MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_CRC_TYPE=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableCastagnoliCRC (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableExtControl
Description
This function configures the MAC control register to disable external control of the Gigabit and full duplex settings.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_CTL_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableExtControl (portNum);
| void CSL_CPGMAC_SL_disableExtControl | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_disableExtControl
Description
This function configures the MAC control register to disable external control of the Gigabit and full duplex settings.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_EXT_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableExtControl (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableExtControl
Description
This function configures the MAC control register to disable external control of the Gigabit and full duplex settings.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_CTL_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableExtControl (portNum);
| void CSL_CPGMAC_SL_disableExtRxFlow | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_disableExtRxFlow
Description
This function configures the MAC control register to disable external control of the Receive Flow Control settings.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_EXT_RX_FLOW_EN=0
Example
Uint32 portNum = 0; CSL_CPGMAC_SL_disableExtRxFlow (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableExtRxFlow
Description
This function configures the MAC control register to disable external control of the Receive Flow Control settings.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_EXT_RX_FLOW_EN=0
Example
Uint32 portNum = 0; CSL_CPGMAC_SL_disableExtRxFlow (portNum);
| void CSL_CPGMAC_SL_disableExtTxFlow | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_disableExtTxFlow
Description
This function configures the MAC control register to disable external control of the Transmit Flow Control settings.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_EXT_TX_FLOW_EN=0
Example
Uint32 portNum = 0; CSL_CPGMAC_SL_disableExtTxFlow (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableExtTxFlow
Description
This function configures the MAC control register to disable external control of the Transmit Flow Control settings.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_EXT_TX_FLOW_EN=0
Example
Uint32 portNum = 0; CSL_CPGMAC_SL_disableExtTxFlow (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableFullDuplex
Description
This function configures the MAC control register to disable full duplex mode for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_FULLDUPLEX=0
Example
* Uint32 portNum = 1; CSL_CPGMAC_SL_disableFullDuplex (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableFullDuplex
Description
This function configures the MAC control register to disable full duplex mode for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_FULLDUPLEX=0
Example
* Uint32 portNum = 1; CSL_CPGMAC_SL_disableFullDuplex (portNum);
| void CSL_CPGMAC_SL_disableFullDuplex | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_disableFullDuplex
Description
This function configures the MAC control register to disable full duplex mode for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_FULLDUPLEX=0
Example
* Uint32 portNum = 1; CSL_CPGMAC_SL_disableFullDuplex (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableGigabit
Description
This function configures the MAC control register to disable Gigabit mode for MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_GIG=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableGigabit (portNum);
| void CSL_CPGMAC_SL_disableGigabit | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_disableGigabit
Description
This function configures the MAC control register to disable Gigabit mode for MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_GIG=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableGigabit (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableGigabit
Description
This function configures the MAC control register to disable Gigabit mode for MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_GIG=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableGigabit (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableGigForceMode
Description
This function configures the MAC control register to disable Gigabit force mode for the MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_GIG_FORCE=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableGigForceMode (portNum);
| void CSL_CPGMAC_SL_disableGigForceMode | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_disableGigForceMode
Description
This function configures the MAC control register to disable Gigabit force mode for the MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_GIG_FORCE=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableGigForceMode (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableGigForceMode
Description
This function configures the MAC control register to disable Gigabit force mode for the MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_GIG_FORCE=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableGigForceMode (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableGMII
Description
This function configures the MAC control register to disable GMII for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_GMII_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableGMII (portNum);
| void CSL_CPGMAC_SL_disableGMII | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_disableGMII
Description
This function configures the MAC control register to disable GMII for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_GMII_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableGMII (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableGMII
Description
This function configures the MAC control register to disable GMII for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_GMII_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableGMII (portNum);
| void CSL_CPGMAC_SL_disableIdleMode | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_disableIdleMode
Description
This function configures the MAC control register to disable Idle mode for MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_CMD_IDLE=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableIdleMode (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableIdleMode
Description
This function configures the MAC control register to disable Idle mode for MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_CMD_IDLE=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableIdleMode (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableIdleMode
Description
This function configures the MAC control register to disable Idle mode for MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_CMD_IDLE=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableIdleMode (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableIFCTLA
Description
This function configures the MAC control register to clear the IFCTL_A bit for MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_IFCTL_A=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableIFCTLA (portNum);
| void CSL_CPGMAC_SL_disableIFCTLA | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_disableIFCTLA
Description
This function configures the MAC control register to clear the IFCTL_A bit for MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_IFCTL_A=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableIFCTLA (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableIFCTLA
Description
This function configures the MAC control register to clear the IFCTL_A bit for MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_IFCTL_A=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableIFCTLA (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableIFCTLB
Description
This function configures the MAC control register to clear the IFCTL_B bit for the MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_IFCTL_B=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableIFCTLB (portNum);
| void CSL_CPGMAC_SL_disableIFCTLB | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_disableIFCTLB
Description
This function configures the MAC control register to clear the IFCTL_B bit for the MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_IFCTL_B=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableIFCTLB (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableIFCTLB
Description
This function configures the MAC control register to clear the IFCTL_B bit for the MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_IFCTL_B=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableIFCTLB (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableLoopback
Description
This function configures the MAC control register to disable loopback mode for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_LOOPBACK=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableLoopback (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableLoopback
Description
This function configures the MAC control register to disable loopback mode for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_LOOPBACK=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableLoopback (portNum);
| void CSL_CPGMAC_SL_disableLoopback | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_disableLoopback
Description
This function configures the MAC control register to disable loopback mode for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_LOOPBACK=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableLoopback (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableRxCEF
Description
This function configures the MAC control register to disable any error frames being transferred to the memory.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_RX_CEF_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableRxCEF (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableRxCEF
Description
This function configures the MAC control register to disable any error frames being transferred to the memory.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_RX_CEF_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableRxCEF (portNum);
| void CSL_CPGMAC_SL_disableRxCEF | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_disableRxCEF
Description
This function configures the MAC control register to disable any error frames being transferred to the memory.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_RX_CEF_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableRxCEF (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableRxCMF
Description
This function configures the MAC control register to disable any MAC control frames being transferred to the memory.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_RX_CMF_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableRxCMF (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableRxCMF
Description
This function configures the MAC control register to disable any MAC control frames being transferred to the memory.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_RX_CMF_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableRxCMF (portNum);
| void CSL_CPGMAC_SL_disableRxCMF | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_disableRxCMF
Description
This function configures the MAC control register to disable any MAC control frames being transferred to the memory.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_RX_CMF_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableRxCMF (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableRxCSF
Description
This function configures the MAC control register to disable any short frames being transferred to the memory.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_RX_CSF_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableRxCSF (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableRxCSF
Description
This function configures the MAC control register to disable any short frames being transferred to the memory.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_RX_CSF_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableRxCSF (portNum);
| void CSL_CPGMAC_SL_disableRxCSF | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_disableRxCSF
Description
This function configures the MAC control register to disable any short frames being transferred to the memory.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_RX_CSF_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableRxCSF (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableRxFlowControl
Description
This function configures the MAC control register to disable Receive flow control mode for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_RX_FLOW_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableRxFlowControl (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableRxFlowControl
Description
This function configures the MAC control register to disable Receive flow control mode for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_RX_FLOW_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableRxFlowControl (portNum);
| void CSL_CPGMAC_SL_disableRxFlowControl | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_disableRxFlowControl
Description
This function configures the MAC control register to disable Receive flow control mode for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_RX_FLOW_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableRxFlowControl (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableTxFlowControl
Description
This function configures the MAC control register to disable Transmit flow control for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_TX_FLOW_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableTxFlowControl (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableTxFlowControl
Description
This function configures the MAC control register to disable Transmit flow control for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_TX_FLOW_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableTxFlowControl (portNum);
| void CSL_CPGMAC_SL_disableTxFlowControl | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_disableTxFlowControl
Description
This function configures the MAC control register to disable Transmit flow control for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_TX_FLOW_EN=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableTxFlowControl (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableTxPace
Description
This function configures the MAC control register to disable transmit pacing for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_TX_PACE=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableTxPace (portNum);
| void CSL_CPGMAC_SL_disableTxPace | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_disableTxPace
Description
This function configures the MAC control register to disable transmit pacing for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_TX_PACE=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableTxPace (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableTxPace
Description
This function configures the MAC control register to disable transmit pacing for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_TX_PACE=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableTxPace (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableTxShortGap
Description
This function configures the MAC control register to disable transmit short gap for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_TX_SHORT_GAP_ENABLE=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableTxShortGap (portNum);
| void CSL_CPGMAC_SL_disableTxShortGap | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_disableTxShortGap
Description
This function configures the MAC control register to disable transmit short gap for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_TX_SHORT_GAP_ENABLE=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableTxShortGap (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_disableTxShortGap
Description
This function configures the MAC control register to disable transmit short gap for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_TX_SHORT_GAP_ENABLE=0
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_disableTxShortGap (portNum);
| void CSL_CPGMAC_SL_disableTxShortGapLimit | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_disableTxShortGapLimit
Description
This function configures the MAC control register to disable transmit short gap limit for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableCastagnoliCRC
Description
This function configures the MAC control register to enable Castagnoli CRC for MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_CRC_TYPE=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableCastagnoliCRC (portNum);
| void CSL_CPGMAC_SL_enableCastagnoliCRC | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_enableCastagnoliCRC
Description
This function configures the MAC control register to enable Castagnoli CRC for MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_CRC_TYPE=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableCastagnoliCRC (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableExtControl
Description
This function configures the MAC control register to enable external control of the Gigabit and full duplex mode settings.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_CTL_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableExtControl (portNum);
| void CSL_CPGMAC_SL_enableExtControl | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_enableExtControl
Description
This function configures the MAC control register to enable external control of the Gigabit and full duplex mode settings.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_EXT_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableExtControl (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableExtControl
Description
This function configures the MAC control register to enable external control of the Gigabit and full duplex mode settings.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_CTL_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableExtControl (portNum);
| void CSL_CPGMAC_SL_enableExtRxFlow | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_enableExtRxFlow
Description
This function configures the MAC control register to enable external control of the Receive Flow Control settings.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_EXT_RX_FLOW_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableExtRxFlow (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableExtRxFlow
Description
This function configures the MAC control register to enable external control of the Receive Flow Control settings.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_EXT_RX_FLOW_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableExtRxFlow (portNum);
| void CSL_CPGMAC_SL_enableExtTxFlow | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_enableExtTxFlow
Description
This function configures the MAC control register to enable external control of the Transmit Flow Control settings.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_EXT_TX_FLOW_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableExtTxFlow (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableExtTxFlow
Description
This function configures the MAC control register to enable external control of the Transmit Flow Control settings.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_EXT_TX_FLOW_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableExtTxFlow (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableFullDuplex
Description
This function configures the MAC control register to enable full duplex mode for the MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_FULLDUPLEX=1
Example
* Uint32 portNum = 1; CSL_CPGMAC_SL_enableFullDuplex (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableFullDuplex
Description
This function configures the MAC control register to enable full duplex mode for the MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_FULLDUPLEX=1
Example
* Uint32 portNum = 1; CSL_CPGMAC_SL_enableFullDuplex (portNum);
| void CSL_CPGMAC_SL_enableFullDuplex | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_enableFullDuplex
Description
This function configures the MAC control register to enable full duplex mode for the MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_FULLDUPLEX=1
Example
* Uint32 portNum = 1; CSL_CPGMAC_SL_enableFullDuplex (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableGigabit
Description
This function configures the MAC control register to enable Gigabit mode (full duplex only) for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_GIG=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableGigabit (portNum);
| void CSL_CPGMAC_SL_enableGigabit | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_enableGigabit
Description
This function configures the MAC control register to enable Gigabit mode (full duplex only) for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_GIG=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableGigabit (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableGigabit
Description
This function configures the MAC control register to enable Gigabit mode (full duplex only) for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_GIG=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableGigabit (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableGigForceMode
Description
This function configures the MAC control register to enable Gigabit force mode for the MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_GIG_FORCE=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableGigForceMode (portNum);
| void CSL_CPGMAC_SL_enableGigForceMode | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_enableGigForceMode
Description
This function configures the MAC control register to enable Gigabit force mode for the MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_GIG_FORCE=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableGigForceMode (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableGigForceMode
Description
This function configures the MAC control register to enable Gigabit force mode for the MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_GIG_FORCE=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableGigForceMode (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableGMII
Description
This function configures the MAC control register to enable GMII for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_GMII_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableGMII (portNum);
| void CSL_CPGMAC_SL_enableGMII | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_enableGMII
Description
This function configures the MAC control register to enable GMII for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_GMII_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableGMII (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableGMII
Description
This function configures the MAC control register to enable GMII for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_GMII_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableGMII (portNum);
| void CSL_CPGMAC_SL_enableIdleMode | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_enableIdleMode
Description
This function configures the MAC control register to enable Idle mode for MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_CMD_IDLE=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableIdleMode (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableIdleMode
Description
This function configures the MAC control register to enable Idle mode for MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_CMD_IDLE=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableIdleMode (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableIdleMode
Description
This function configures the MAC control register to enable Idle mode for MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_CMD_IDLE=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableIdleMode (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableIFCTLA
Description
This function enables the IFCTL_A bit in the MAC control register for MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_IFCTL_A=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableIFCTLA (portNum);
| void CSL_CPGMAC_SL_enableIFCTLA | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_enableIFCTLA
Description
This function enables the IFCTL_A bit in the MAC control register for MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_IFCTL_A=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableIFCTLA (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableIFCTLA
Description
This function enables the IFCTL_A bit in the MAC control register for MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_IFCTL_A=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableIFCTLA (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableIFCTLB
Description
This function enables the IFCTL_B bit in the MAC control register for the MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_IFCTL_B=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableIFCTLB (portNum);
| void CSL_CPGMAC_SL_enableIFCTLB | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_enableIFCTLB
Description
This function enables the IFCTL_B bit in the MAC control register for the MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_IFCTL_B=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableIFCTLB (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableIFCTLB
Description
This function enables the IFCTL_B bit in the MAC control register for the MAC port number specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_IFCTL_B=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableIFCTLB (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableLoopback
Description
This function configures the MAC control register to enable lopback mode for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_LOOPBACK=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableLoopback (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableLoopback
Description
This function configures the MAC control register to enable lopback mode for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_LOOPBACK=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableLoopback (portNum);
| void CSL_CPGMAC_SL_enableLoopback | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_enableLoopback
Description
This function configures the MAC control register to enable lopback mode for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_LOOPBACK=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableLoopback (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableRxCEF
Description
This function configures the MAC control register to enable transfer of frames containing errors.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_RX_CEF_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableRxCEF (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableRxCEF
Description
This function configures the MAC control register to enable transfer of frames containing errors.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_RX_CEF_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableRxCEF (portNum);
| void CSL_CPGMAC_SL_enableRxCEF | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_enableRxCEF
Description
This function configures the MAC control register to enable transfer of frames containing errors.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_RX_CEF_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableRxCEF (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableRxCMF
Description
This function configures the MAC control register to enable transfer of MAC control frames.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_RX_CMF_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableRxCMF (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableRxCMF
Description
This function configures the MAC control register to enable transfer of MAC control frames.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_RX_CMF_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableRxCMF (portNum);
| void CSL_CPGMAC_SL_enableRxCMF | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_enableRxCMF
Description
This function configures the MAC control register to enable transfer of MAC control frames.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_RX_CMF_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableRxCMF (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableRxCSF
Description
This function configures the MAC control register to enable transfer of frames that are shorter than 64 bytes.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_RX_CSF_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableRxCSF (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableRxCSF
Description
This function configures the MAC control register to enable transfer of frames that are shorter than 64 bytes.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_RX_CSF_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableRxCSF (portNum);
| void CSL_CPGMAC_SL_enableRxCSF | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_enableRxCSF
Description
This function configures the MAC control register to enable transfer of frames that are shorter than 64 bytes.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_RX_CSF_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableRxCSF (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableRxFlowControl
Description
This function configures the MAC control register to enable receive flow control for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_RX_FLOW_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableRxFlowControl (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableRxFlowControl
Description
This function configures the MAC control register to enable receive flow control for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_RX_FLOW_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableRxFlowControl (portNum);
| void CSL_CPGMAC_SL_enableRxFlowControl | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_enableRxFlowControl
Description
This function configures the MAC control register to enable receive flow control for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_RX_FLOW_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableRxFlowControl (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableTxFlowControl
Description
This function configures the MAC control register to enable transmit flow control for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_TX_FLOW_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableTxFlowControl (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableTxFlowControl
Description
This function configures the MAC control register to enable transmit flow control for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_TX_FLOW_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableTxFlowControl (portNum);
| void CSL_CPGMAC_SL_enableTxFlowControl | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_enableTxFlowControl
Description
This function configures the MAC control register to enable transmit flow control for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_TX_FLOW_EN=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableTxFlowControl (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableTxPace
Description
This function configures the MAC control register to enable transmit pacing for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_TX_PACE=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableTxPace (portNum);
| void CSL_CPGMAC_SL_enableTxPace | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_enableTxPace
Description
This function configures the MAC control register to enable transmit pacing for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_TX_PACE=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableTxPace (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableTxPace
Description
This function configures the MAC control register to enable transmit pacing for the MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_TX_PACE=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableTxPace (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableTxShortGap
Description
This function configures the MAC control register to enable transmit short gap for MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_TX_SHORT_GAP_ENABLE=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableTxShortGap (portNum);
| void CSL_CPGMAC_SL_enableTxShortGap | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_enableTxShortGap
Description
This function configures the MAC control register to enable transmit short gap for MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XGE_CPSW_PN_MAC_CONTROL_REG_TX_SHORT_GAP_ENABLE=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableTxShortGap (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_enableTxShortGap
Description
This function configures the MAC control register to enable transmit short gap for MAC port specified.
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
Pre Condition
None
Post Condition
None
Writes
CPGMAC_SL_MACCONTROL_REG_TX_SHORT_GAP_ENABLE=1
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_enableTxShortGap (portNum);
| void CSL_CPGMAC_SL_enableTxShortGapLimit | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_enableTxShortGap
Description
This function configures the MAC control register to enable transmit short gap limiting for MAC port specified. When set this bit limits the number of short gap packets transmitted to 100ppm. Each time a short gap packet is sent, a counter is loaded with 10,000 and decremented on each wireside clock. Another short gap packet will not be sent out until the counter decrements to zero. This mode is included to preclude the host from filling up the FIFO and sending every packet out with short gap which would violate the maximum number of packets per second allowed. This bit is used only with GMII (not XGMII).
Arguments
portNum MAC port number for which settings must be configured. *
Return Value
None
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_getEmulControlReg
Description
This function retrieves the contents of Emulation control register for the MAC port number specified.
Arguments
portNum MAC port number for which the API should retrieve emulation settings for. pEmulFreeBit Emulation free bit. pEmulSoftBit Emulation soft bit. *
Return Value
None
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_EMCONTROL_REG_FREE, CPGMAC_SL_EMCONTROL_REG_SOFT
Example
Uint32 emulSoftBit, emulFreeBit, portNum = 1; CSL_CPGMAC_SL_getEmulControlReg (portNum, &emulFreeBit, &emulSoftBit);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_getEmulControlReg
Description
This function retrieves the contents of Emulation control register for the MAC port number specified.
Arguments
portNum MAC port number for which the API should retrieve emulation settings for. pEmulFreeBit Emulation free bit. pEmulSoftBit Emulation soft bit. *
Return Value
None
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_EMCONTROL_REG_FREE, CPGMAC_SL_EMCONTROL_REG_SOFT
Example
Uint32 emulSoftBit, emulFreeBit, portNum = 1; CSL_CPGMAC_SL_getEmulControlReg (portNum, &emulFreeBit, &emulSoftBit);
| void CSL_CPGMAC_SL_getEmulControlReg | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum, | ||
| Uint32 * | pEmulFreeBit, | ||
| Uint32 * | pEmulSoftBit | ||
| ) |
============================================================================
CSL_CPGMAC_SL_getEmulControlReg
Description
This function retrieves the contents of Emulation control register for the MAC port number specified.
Arguments
portNum MAC port number for which the API should retrieve emulation settings for. pEmulFreeBit Emulation free bit. pEmulSoftBit Emulation soft bit. *
Return Value
None
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_EMCONTROL_REG_FREE, XGE_CPSW_PN_MAC_EMCONTROL_REG_SOFT
Example
Uint32 emulSoftBit, emulFreeBit, portNum = 1; CSL_CPGMAC_SL_getEmulControlReg (portNum, &emulFreeBit, &emulSoftBit);
| void CSL_CPGMAC_SL_getFifoStatus | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum, | ||
| CSL_CPGMAC_SL_FIFOSTATUS * | pFifoStatus | ||
| ) |
============================================================================
CSL_CPGMAC_SL_getFifoStatus
Description
This function gets the Enet_Pn_FIFO_Status register contents
Arguments
* portNum Port number for which the intervlan configuration is queried * pFifoStatus Fifo status structure to be populated *
Return Value
none
| void CSL_CPGMAC_SL_getInterVLANCfg | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum, | ||
| Uint32 | routeIndex, | ||
| CSL_CPSW_INTERVLANCFG * | pInterVLANCfg | ||
| ) |
============================================================================
CSL_CPGMAC_SL_getInterVLANCfg
Description
This function gets the intervlan configuration for the given port and route index
Arguments
* portNum Port number for which the intervlan configuration is queried * routeIndex Intervlan route index.Valid pointer locations are 1 to x * (where x is the number of locations - pointer location zero * is unused). * pInterVLANCfg Intervlan configuration structure to be populated *
Return Value
none
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_getMacControlReg
Description
This function retrieves the contents of MAC control register in entirety.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
>=0 MAC control register contents.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG
Example
Uint32 macControlVal, portNum = 1; macControlVal = CSL_CPGMAC_SL_getMacControlReg (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_getMacControlReg
Description
This function retrieves the contents of MAC control register in entirety.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
>=0 MAC control register contents.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG
Example
Uint32 macControlVal, portNum = 1; macControlVal = CSL_CPGMAC_SL_getMacControlReg (portNum);
| Uint32 CSL_CPGMAC_SL_getMacControlReg | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_getMacControlReg
Description
This function retrieves the contents of MAC control register in entirety.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
>=0 MAC control register contents.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG
Example
Uint32 macControlVal, portNum = 1; macControlVal = CSL_CPGMAC_SL_getMacControlReg (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_getMacRxPriMapReg
Description
This function retrieves the contents of the MAC Receive Packet Priority to Header Priority Mapping Register for the MAC port specified.
Arguments
portNum MAC port number for which the API should retrieve settings for. pMacRxPriMap Array of MAC Rx packet priority map priority values read from the register. *
Return Value
None
Pre Condition
The input parameter 'pMacRxPriMap' must be large enough to hold all the 8 priority values read from the register.
Post Condition
None
Reads
CPGMAC_SL_PRI_MAP_REG_PRI0, CPGMAC_SL_PRI_MAP_REG_PRI1, CPGMAC_SL_PRI_MAP_REG_PRI2, CPGMAC_SL_PRI_MAP_REG_PRI3, CPGMAC_SL_PRI_MAP_REG_PRI4, CPGMAC_SL_PRI_MAP_REG_PRI5, CPGMAC_SL_PRI_MAP_REG_PRI6, CPGMAC_SL_PRI_MAP_REG_PRI7
Example
* Uint32 pPortRxPriMap [8], portNum = 1; CSL_CPGMAC_SL_getMacRxPriMapReg (portNum, pPortRxPriMap);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_getMacRxPriMapReg
Description
This function retrieves the contents of the MAC Receive Packet Priority to Header Priority Mapping Register for the MAC port specified.
Arguments
portNum MAC port number for which the API should retrieve settings for. pMacRxPriMap Array of MAC Rx packet priority map priority values read from the register. *
Return Value
None
Pre Condition
The input parameter 'pMacRxPriMap' must be large enough to hold all the 8 priority values read from the register.
Post Condition
None
Reads
CPGMAC_SL_PRI_MAP_REG_PRI0, CPGMAC_SL_PRI_MAP_REG_PRI1, CPGMAC_SL_PRI_MAP_REG_PRI2, CPGMAC_SL_PRI_MAP_REG_PRI3, CPGMAC_SL_PRI_MAP_REG_PRI4, CPGMAC_SL_PRI_MAP_REG_PRI5, CPGMAC_SL_PRI_MAP_REG_PRI6, CPGMAC_SL_PRI_MAP_REG_PRI7
Example
* Uint32 pPortRxPriMap [8], portNum = 1; CSL_CPGMAC_SL_getMacRxPriMapReg (portNum, pPortRxPriMap);
| void CSL_CPGMAC_SL_getMacRxPriMapReg | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum, | ||
| Uint32 * | pMacRxPriMap | ||
| ) |
============================================================================
CSL_CPGMAC_SL_getMacRxPriMapReg
Description
This function retrieves the contents of the MAC Receive Packet Priority to Header Priority Mapping Register for the MAC port specified.
Arguments
portNum MAC port number for which the API should retrieve settings for. pMacRxPriMap Array of MAC Rx packet priority map priority values read from the register. *
Return Value
None
Pre Condition
The input parameter 'pMacRxPriMap' must be large enough to hold all the 8 priority values read from the register.
Post Condition
None
Reads
XGE_CPSW_PN_RX_PRI_MAP_REG_PRI0, XGE_CPSW_PN_RX_PRI_MAP_REG_PRI1, XGE_CPSW_PN_RX_PRI_MAP_REG_PRI2, XGE_CPSW_PN_RX_PRI_MAP_REG_PRI3, XGE_CPSW_PN_RX_PRI_MAP_REG_PRI4, XGE_CPSW_PN_RX_PRI_MAP_REG_PRI5, XGE_CPSW_PN_RX_PRI_MAP_REG_PRI6, XGE_CPSW_PN_RX_PRI_MAP_REG_PRI7
Example
* Uint32 pPortRxPriMap [8], portNum = 1; CSL_CPGMAC_SL_getMacRxPriMapReg (portNum, pPortRxPriMap);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_getMacStatusReg
Description
This function retrieves the contents of MAC status register.
Arguments
portNum MAC port number for which the API must retrieve the settings. pMacStatus CSL_CPGMAC_SL_MACSTATUS structure to be populated with the contents of MAC status register. *
Return Value
None
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACSTATUS_REG_TX_FLOW_ACT, CPGMAC_SL_MACSTATUS_REG_RX_FLOW_ACT, CPGMAC_SL_MACSTATUS_REG_EXT_FULLDUPLEX, CPGMAC_SL_MACSTATUS_REG_EXT_GIG, CPGMAC_SL_MACSTATUS_REG_IDLE
Example
CSL_CPGMAC_SL_MACSTATUS macStatus; Uint32 portNum = 1; CSL_CPGMAC_SL_getMacStatusReg (portNum, &macStatus);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_getMacStatusReg
Description
This function retrieves the contents of MAC status register.
Arguments
portNum MAC port number for which the API must retrieve the settings. pMacStatus CSL_CPGMAC_SL_MACSTATUS structure to be populated with the contents of MAC status register. *
Return Value
None
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACSTATUS_REG_TX_FLOW_ACT, CPGMAC_SL_MACSTATUS_REG_RX_FLOW_ACT, CPGMAC_SL_MACSTATUS_REG_EXT_FULLDUPLEX, CPGMAC_SL_MACSTATUS_REG_EXT_GIG, CPGMAC_SL_MACSTATUS_REG_IDLE
Example
CSL_CPGMAC_SL_MACSTATUS macStatus; Uint32 portNum = 1; CSL_CPGMAC_SL_getMacStatusReg (portNum, &macStatus);
| void CSL_CPGMAC_SL_getMacStatusReg | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum, | ||
| CSL_CPGMAC_SL_MACSTATUS * | pMacStatus | ||
| ) |
============================================================================
CSL_CPGMAC_SL_getMacStatusReg
Description
This function retrieves the contents of MAC status register.
Arguments
portNum MAC port number for which the API must retrieve the settings. pMacStatus CSL_CPGMAC_SL_MACSTATUS structure to be populated with the contents of MAC status register. *
Return Value
None
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_STATUS_REG_TX_FLOW_ACT, XGE_CPSW_PN_MAC_STATUS_REG_RX_FLOW_ACT, XGE_CPSW_PN_MAC_STATUS_REG_EXT_FULLDUPLEX, XGE_CPSW_PN_MAC_STATUS_REG_EXT_GIG, XGE_CPSW_PN_MAC_STATUS_REG_EXT_TX_FLOW_EN, XGE_CPSW_PN_MAC_STATUS_REG_EXT_TX_FLOW_EN, XGE_CPSW_PN_MAC_STATUS_REG_IDLE
Example
CSL_CPGMAC_SL_MACSTATUS macStatus; Uint32 portNum = 1; CSL_CPGMAC_SL_getMacStatusReg (portNum, &macStatus);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_getMacVersionInfo
Description
This function retrieves the MAC submodule identification and version information for the MAC port specified.
Arguments
portNum MAC port number for which the source MAC address must be read and returned. pVersionInfo CSL_CPGMAC_SL_VERSION structure that needs to be populated with the version info read from the hardware. *
Return Value
None
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_IDVER_REG_Y, CPGMAC_SL_IDVER_REG_X, CPGMAC_SL_IDVER_REG_Z, CPGMAC_SL_IDVER_REG_IDENT
Example
CSL_CPGMAC_SL_VERSION versionInfo, portNum; portNum = 1; CSL_CPGMAC_SL_getMacVersionInfo (portNum, &versionInfo);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_getMacVersionInfo
Description
This function retrieves the MAC submodule identification and version information for the MAC port specified.
Arguments
portNum MAC port number for which the source MAC address must be read and returned. pVersionInfo CSL_CPGMAC_SL_VERSION structure that needs to be populated with the version info read from the hardware. *
Return Value
None
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_IDVER_REG_Y, CPGMAC_SL_IDVER_REG_X, CPGMAC_SL_IDVER_REG_Z, CPGMAC_SL_IDVER_REG_IDENT
Example
CSL_CPGMAC_SL_VERSION versionInfo, portNum; portNum = 1; CSL_CPGMAC_SL_getMacVersionInfo (portNum, &versionInfo);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_getRxMaxLen
Description
This function retrieves the Receive maximum frame length configured in Receive Maximum length register for the MAC port number specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
>=0 Receive maximum frame length read.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_RX_MAXLEN_REG_RX_MAXLEN
Example
Uint32 mtu, portNum = 1; mtu = CSL_CPGMAC_SL_getRxMaxLen (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_getRxMaxLen
Description
This function retrieves the Receive maximum frame length configured in Receive Maximum length register for the MAC port number specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
>=0 Receive maximum frame length read.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_RX_MAXLEN_REG_RX_MAXLEN
Example
Uint32 mtu, portNum = 1; mtu = CSL_CPGMAC_SL_getRxMaxLen (portNum);
| Uint32 CSL_CPGMAC_SL_getRxMaxLen | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_getRxMaxLen
Description
This function retrieves the Receive maximum frame length configured in Receive Maximum length register for the MAC port number specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
>=0 Receive maximum frame length read.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_RX_MAXLEN_REG_RX_MAXLEN
Example
Uint32 mtu, portNum = 1; mtu = CSL_CPGMAC_SL_getRxMaxLen (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_getRxPauseTimerReg
Description
This function retrieves the Receive pause timer value configured in Receive pause timer register for the MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
>=0 Receive pause timer value read.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_RX_PAUSE_REG_RX_PAUSETIMER
Example
Uint32 rxPauseTimer, portNum = 1; rxPauseTimer = CSL_CPGMAC_SL_getRxPauseTimerReg (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_getRxPauseTimerReg
Description
This function retrieves the Receive pause timer value configured in Receive pause timer register for the MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
>=0 Receive pause timer value read.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_RX_PAUSE_REG_RX_PAUSETIMER
Example
Uint32 rxPauseTimer, portNum = 1; rxPauseTimer = CSL_CPGMAC_SL_getRxPauseTimerReg (portNum);
| Uint32 CSL_CPGMAC_SL_getRxPauseTimerReg | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_getRxPauseTimerReg
Description
This function retrieves the Receive pause timer value configured in Receive pause timer register for the MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
>=0 Receive pause timer value read.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_RX_PAUSETIMER_REG_RX_PAUSETIMER
Example
Uint32 rxPauseTimer, portNum = 1; rxPauseTimer = CSL_CPGMAC_SL_getRxPauseTimerReg (portNum);
| Uint32 CSL_CPGMAC_SL_getTxGap | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_getTxGap
Description
This function retrieves the Transmit inter-packet gap configured in Transmit Gap register for the MAC port number specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
>=0 Transmit inter-packet gap read.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_TX_GAP_REG_TX_GAP
Example
Uint32 txGap, portNum = 0; txGap = CSL_CPGMAC_SL_getTxGap (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_getTxGap
Description
This function retrieves the Transmit inter-packet gap configured in Transmit Gap register for the MAC port number specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
>=0 Transmit inter-packet gap read.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_TX_GAP_REG_TX_GAP
Example
Uint32 txGap, portNum = 0; txGap = CSL_CPGMAC_SL_getTxGap (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_getTxPauseTimerReg
Description
This function retrieves the Transmit pause timer value configured in Transmit pause timer register for the MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
>=0 Transmit pause timer value read.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_TX_PAUSE_REG_TX_PAUSETIMER
Example
Uint32 txPauseTimer, portNum = 1; txPauseTimer = CSL_CPGMAC_SL_getTxPauseTimerReg (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_getTxPauseTimerReg
Description
This function retrieves the Transmit pause timer value configured in Transmit pause timer register for the MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
>=0 Transmit pause timer value read.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_TX_PAUSE_REG_TX_PAUSETIMER
Example
Uint32 txPauseTimer, portNum = 1; txPauseTimer = CSL_CPGMAC_SL_getTxPauseTimerReg (portNum);
| Uint32 CSL_CPGMAC_SL_getTxPauseTimerReg | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_getTxPauseTimerReg
Description
This function retrieves the Transmit pause timer value configured in Transmit pause timer register for the MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
>=0 Transmit pause timer value read.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_TX_PAUSETIMER_REG_TX_PAUSETIMER
Example
Uint32 txPauseTimer, portNum = 1; txPauseTimer = CSL_CPGMAC_SL_getTxPauseTimerReg (portNum);
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isCastagnoliCRCEnabled
Description
This function indicates if Castagnoli CRC is enabled in the MAC control register for MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Castagnoli CRC enabled
FALSE Castagnoli CRC disabled.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_CONTROL_REG_CRC_TYPE
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isTxShortGapEnabled (portNum) == TRUE) { // idle mode enabled } else { // idle mode disabled }
| Uint32 CSL_CPGMAC_SL_isCastagnoliCRCEnabled | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_isCastagnoliCRCEnabled
Description
This function indicates if Castagnoli CRC is enabled in the MAC control register for MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Castagnoli CRC enabled
FALSE Castagnoli CRC disabled.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_CONTROL_REG_CRC_TYPE
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isTxShortGapEnabled (portNum) == TRUE) { // idle mode enabled } else { // idle mode disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isExtControlEnabled
Description
This function indicates if EXT_EN bit is enabled in the MAC control register for the MAC port specified. When this bit is set to 1, the Gigabit and Full duplex mode input is taken from an external source and not from the settings configured in this register.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE External control mode enabled.
FALSE External control mode disabled.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_CTL_EN
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isExtControlEnabled (portNum) == TRUE) { // external control mode enabled } else { // external control mode disabled }
| Uint32 CSL_CPGMAC_SL_isExtControlEnabled | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_isExtControlEnabled
Description
This function indicates if EXT_EN bit is enabled in the MAC control register for the MAC port specified. When this bit is set to 1, the Gigabit and Full duplex mode input is taken from an external source and not from the settings configured in this register.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE External control mode enabled.
FALSE External control mode disabled.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_CONTROL_REG_EXT_EN
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isExtControlEnabled (portNum) == TRUE) { // external control mode enabled } else { // external control mode disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isExtControlEnabled
Description
This function indicates if EXT_EN bit is enabled in the MAC control register for the MAC port specified. When this bit is set to 1, the Gigabit and Full duplex mode input is taken from an external source and not from the settings configured in this register.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE External control mode enabled.
FALSE External control mode disabled.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_CTL_EN
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isExtControlEnabled (portNum) == TRUE) { // external control mode enabled } else { // external control mode disabled }
| Uint32 CSL_CPGMAC_SL_isExtRxFlowEnabled | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_isExtRxFlowEnabled
Description
This function indicates if EXT_RX_FLOW_EN bit is enabled in the MAC control register for the MAC port specified. When this bit is set to 1, the Rx Flow control enable input is taken from an external source and not from the rx_flow_en setting configured in this register.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE External Receive Flow control mode enabled.
FALSE External Receive Flow control mode disabled.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_CONTROL_REG_EXT_RX_FLOW_EN
Example
* Uint32 portNum = 0; if (CSL_CPGMAC_SL_isExtRxFlowEnabled (portNum) == TRUE) { // external control mode enabled } else { // external control mode disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isExtRxFlowEnabled
Description
This function indicates if EXT_RX_FLOW_EN bit is enabled in the MAC control register for the MAC port specified. When this bit is set to 1, the Rx Flow control enable input is taken from an external source and not from the rx_flow_en setting configured in this register.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE External Receive Flow control mode enabled.
FALSE External Receive Flow control mode disabled.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_CONTROL_REG_EXT_RX_FLOW_EN
Example
* Uint32 portNum = 0; if (CSL_CPGMAC_SL_isExtRxFlowEnabled (portNum) == TRUE) { // external control mode enabled } else { // external control mode disabled }
| Uint32 CSL_CPGMAC_SL_isExtTxFlowEnabled | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_isExtTxFlowEnabled
Description
This function indicates if EXT_TX_FLOW_EN bit is enabled in the MAC control register for the MAC port specified. When this bit is set to 1, the Tx Flow control enable input is taken from an external source and not from the rx_flow_en setting configured in this register.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE External Transmit Flow control mode enabled.
FALSE External Transmit Flow control mode disabled.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_CONTROL_REG_EXT_TX_FLOW_EN
Example
* Uint32 portNum = 0; if (CSL_CPGMAC_SL_isExtTxFlowEnabled (portNum) == TRUE) { // external control mode enabled } else { // external control mode disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isExtTxFlowEnabled
Description
This function indicates if EXT_TX_FLOW_EN bit is enabled in the MAC control register for the MAC port specified. When this bit is set to 1, the Tx Flow control enable input is taken from an external source and not from the rx_flow_en setting configured in this register.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE External Transmit Flow control mode enabled.
FALSE External Transmit Flow control mode disabled.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_CONTROL_REG_EXT_TX_FLOW_EN
Example
* Uint32 portNum = 0; if (CSL_CPGMAC_SL_isExtTxFlowEnabled (portNum) == TRUE) { // external control mode enabled } else { // external control mode disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isFullDuplexEnabled
Description
This function indicates if Full duplex mode is enabled in the MAC control register for the MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Full duplex mode enabled
FALSE Half duplex mode enabled.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_FULLDUPLEX
Example
Uint32 portNum; portNum = 1; if (CSL_CPGMAC_SL_isFullDuplexEnabled (portNum) == TRUE) { // full duplex mode enabled } else { // full duplex mode disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isFullDuplexEnabled
Description
This function indicates if Full duplex mode is enabled in the MAC control register for the MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Full duplex mode enabled
FALSE Half duplex mode enabled.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_FULLDUPLEX
Example
Uint32 portNum; portNum = 1; if (CSL_CPGMAC_SL_isFullDuplexEnabled (portNum) == TRUE) { // full duplex mode enabled } else { // full duplex mode disabled }
| Uint32 CSL_CPGMAC_SL_isFullDuplexEnabled | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_isFullDuplexEnabled
Description
This function indicates if Full duplex mode is enabled in the MAC control register for the MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Full duplex mode enabled
FALSE Half duplex mode enabled.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_CONTROL_REG_FULLDUPLEX
Example
Uint32 portNum; portNum = 1; if (CSL_CPGMAC_SL_isFullDuplexEnabled (portNum) == TRUE) { // full duplex mode enabled } else { // full duplex mode disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isGigabitEnabled
Description
This function indicates if Gigabit mode is enabled in the MAC control register for the MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Gigabit mode enabled
FALSE Gigabit disabled. 10/100 mode enabled.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_GIG
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isGigabitEnabled (portNum) == TRUE) { // gig enabled } else { // gig disabled }
| Uint32 CSL_CPGMAC_SL_isGigabitEnabled | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_isGigabitEnabled
Description
This function indicates if Gigabit mode is enabled in the MAC control register for the MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Gigabit mode enabled
FALSE Gigabit disabled. 10/100 mode enabled.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_CONTROL_REG_GIG
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isGigabitEnabled (portNum) == TRUE) { // gig enabled } else { // gig disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isGigabitEnabled
Description
This function indicates if Gigabit mode is enabled in the MAC control register for the MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Gigabit mode enabled
FALSE Gigabit disabled. 10/100 mode enabled.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_GIG
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isGigabitEnabled (portNum) == TRUE) { // gig enabled } else { // gig disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isGigForceModeEnabled
Description
This function indicates if Gigabit mode force bit is enabled in the MAC control register for the MAC port number specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Gigabit mode force enabled.
FALSE Gigabit mode force disabled.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_GIG_FORCE
Example
Uint32 portNum = 1; if (CSL_CPGMAC_SL_isGigForceModeEnabled (portNum) == TRUE) { // gig mode force enabled } else { // gig mode force disabled }
| Uint32 CSL_CPGMAC_SL_isGigForceModeEnabled | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_isGigForceModeEnabled
Description
This function indicates if Gigabit mode force bit is enabled in the MAC control register for the MAC port number specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Gigabit mode force enabled.
FALSE Gigabit mode force disabled.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_CONTROL_REG_GIG_FORCE
Example
Uint32 portNum = 1; if (CSL_CPGMAC_SL_isGigForceModeEnabled (portNum) == TRUE) { // gig mode force enabled } else { // gig mode force disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isGigForceModeEnabled
Description
This function indicates if Gigabit mode force bit is enabled in the MAC control register for the MAC port number specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Gigabit mode force enabled.
FALSE Gigabit mode force disabled.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_GIG_FORCE
Example
Uint32 portNum = 1; if (CSL_CPGMAC_SL_isGigForceModeEnabled (portNum) == TRUE) { // gig mode force enabled } else { // gig mode force disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isGMIIEnabled
Description
This function indicates if GMII is enabled in the MAC control register for the MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE GMII enabled
FALSE GMII disabled
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_GMII_EN
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isGMIIEnabled (portNum) == TRUE) { // gmii enabled } else { // gmii disabled }
| Uint32 CSL_CPGMAC_SL_isGMIIEnabled | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_isGMIIEnabled
Description
This function indicates if GMII is enabled in the MAC control register for the MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE GMII enabled
FALSE GMII disabled
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_CONTROL_REG_GMII_EN
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isGMIIEnabled (portNum) == TRUE) { // gmii enabled } else { // gmii disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isGMIIEnabled
Description
This function indicates if GMII is enabled in the MAC control register for the MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE GMII enabled
FALSE GMII disabled
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_GMII_EN
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isGMIIEnabled (portNum) == TRUE) { // gmii enabled } else { // gmii disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isIdleModeEnabled
Description
This function indicates if Idle mode is enabled in the MAC control register for MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Idle mode enabled
FALSE Idle mode disabled.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_CMD_IDLE
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isTxShortGapEnabled (portNum) == TRUE) { // idle mode enabled } else { // idle mode disabled }
| Uint32 CSL_CPGMAC_SL_isIdleModeEnabled | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_isIdleModeEnabled
Description
This function indicates if Idle mode is enabled in the MAC control register for MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Idle mode enabled
FALSE Idle mode disabled.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_CONTROL_REG_CMD_IDLE
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isTxShortGapEnabled (portNum) == TRUE) { // idle mode enabled } else { // idle mode disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isIdleModeEnabled
Description
This function indicates if Idle mode is enabled in the MAC control register for MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Idle mode enabled
FALSE Idle mode disabled.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_CMD_IDLE
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isTxShortGapEnabled (portNum) == TRUE) { // idle mode enabled } else { // idle mode disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isIFCTLAEnabled
Description
This function indicates if IFCTL_A bit is set in the MAC control register for MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE IFCTL_A bit in MAC control register is set to 1.
FALSE IFCTL_A bit in MAC control register reads 0.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_IFCTL_A
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isIFCTLAEnabled (portNum) == TRUE) { // IFCTL_A bit set } else { // IFCTL_A bit cleared }
| Uint32 CSL_CPGMAC_SL_isIFCTLAEnabled | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_isIFCTLAEnabled
Description
This function indicates if IFCTL_A bit is set in the MAC control register for MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE IFCTL_A bit in MAC control register is set to 1.
FALSE IFCTL_A bit in MAC control register reads 0.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_CONTROL_REG_IFCTL_A
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isIFCTLAEnabled (portNum) == TRUE) { // IFCTL_A bit set } else { // IFCTL_A bit cleared }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isIFCTLAEnabled
Description
This function indicates if IFCTL_A bit is set in the MAC control register for MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE IFCTL_A bit in MAC control register is set to 1.
FALSE IFCTL_A bit in MAC control register reads 0.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_IFCTL_A
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isIFCTLAEnabled (portNum) == TRUE) { // IFCTL_A bit set } else { // IFCTL_A bit cleared }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isIFCTLBEnabled
Description
This function indicates if IFCTL_B bit is set in the MAC control register for the MAC port number specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE IFCTL_B bit in MAC control register is set to 1.
FALSE IFCTL_B bit in MAC control register reads 0.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_IFCTL_B
Example
Uint32 portNum = 1; if (CSL_CPGMAC_SL_isIFCTLBEnabled (portNum) == TRUE) { // IFCTL_B bit set } else { // IFCTL_B bit cleared }
| Uint32 CSL_CPGMAC_SL_isIFCTLBEnabled | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_isIFCTLBEnabled
Description
This function indicates if IFCTL_B bit is set in the MAC control register for the MAC port number specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE IFCTL_B bit in MAC control register is set to 1.
FALSE IFCTL_B bit in MAC control register reads 0.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_CONTROL_REG_IFCTL_B
Example
Uint32 portNum = 1; if (CSL_CPGMAC_SL_isIFCTLBEnabled (portNum) == TRUE) { // IFCTL_B bit set } else { // IFCTL_B bit cleared }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isIFCTLBEnabled
Description
This function indicates if IFCTL_B bit is set in the MAC control register for the MAC port number specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE IFCTL_B bit in MAC control register is set to 1.
FALSE IFCTL_B bit in MAC control register reads 0.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_IFCTL_B
Example
Uint32 portNum = 1; if (CSL_CPGMAC_SL_isIFCTLBEnabled (portNum) == TRUE) { // IFCTL_B bit set } else { // IFCTL_B bit cleared }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isLoopbackModeEnabled
Description
This function indicates if loopback mode is enabled in the MAC control register for the MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Internal full duplex lopoback mode enabled
FALSE Loopback mode disabled.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_LOOPBACK
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isLoopbackModeEnabled (portNum) == TRUE) { // loopback mode enabled } else { // loopback mode disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isLoopbackModeEnabled
Description
This function indicates if loopback mode is enabled in the MAC control register for the MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Internal full duplex lopoback mode enabled
FALSE Loopback mode disabled.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_LOOPBACK
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isLoopbackModeEnabled (portNum) == TRUE) { // loopback mode enabled } else { // loopback mode disabled }
| Uint32 CSL_CPGMAC_SL_isLoopbackModeEnabled | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_isLoopbackModeEnabled
Description
This function indicates if loopback mode is enabled in the MAC control register for the MAC port specified.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Internal full duplex lopoback mode enabled
FALSE Loopback mode disabled.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_CONTROL_REG_LOOPBACK
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isLoopbackModeEnabled (portNum) == TRUE) { // loopback mode enabled } else { // loopback mode disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isMACResetDone
Description
This function reads the MAC Soft Reset register to check if the software reset operation has completed.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE MAC Soft reset done.
FALSE MAC Soft reset not yet completed.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_SOFT_RESET_REG_SOFT_RESET
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_resetMac (portNum); // Wait until MAC software reset completes while (!CSL_CPGMAC_SL_isMACResetDone (portNum));
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isMACResetDone
Description
This function reads the MAC Soft Reset register to check if the software reset operation has completed.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE MAC Soft reset done.
FALSE MAC Soft reset not yet completed.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_SOFT_RESET_REG_SOFT_RESET
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_resetMac (portNum); // Wait until MAC software reset completes while (!CSL_CPGMAC_SL_isMACResetDone (portNum));
| Uint32 CSL_CPGMAC_SL_isMACResetDone | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_isMACResetDone
Description
This function reads the MAC Soft Reset register to check if the software reset operation has completed.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE MAC Soft reset done.
FALSE MAC Soft reset not yet completed.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_SOFT_RESET_REG_SOFT_RESET
Example
Uint32 portNum = 1; CSL_CPGMAC_SL_resetMac (portNum); // Wait until MAC software reset completes while (!CSL_CPGMAC_SL_isMACResetDone (portNum));
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isRxCEFEnabled
Description
This function indicates if MAC control register is programmed to copy frames containing errors to its memory.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Copy Error frames mode enabled. Error frames will be transferred to memory.
FALSE Copy Error frames mode disabled. Error frames will be filtered.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_RX_CEF_EN
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isRxCEFEnabled (portNum) == TRUE) { // Rx CEF enabled } else { // Rx CEF disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isRxCEFEnabled
Description
This function indicates if MAC control register is programmed to copy frames containing errors to its memory.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Copy Error frames mode enabled. Error frames will be transferred to memory.
FALSE Copy Error frames mode disabled. Error frames will be filtered.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_RX_CEF_EN
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isRxCEFEnabled (portNum) == TRUE) { // Rx CEF enabled } else { // Rx CEF disabled }
| Uint32 CSL_CPGMAC_SL_isRxCEFEnabled | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_isRxCEFEnabled
Description
This function indicates if MAC control register is programmed to copy frames containing errors to its memory.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Copy Error frames mode enabled. Error frames will be transferred to memory.
FALSE Copy Error frames mode disabled. Error frames will be filtered.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_CONTROL_REG_RX_CEF_EN
Example
* Uint32 portNum = 1; if (CSL_CPGMAC_SL_isRxCEFEnabled (portNum) == TRUE) { // Rx CEF enabled } else { // Rx CEF disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isRxCMFEnabled
Description
This function indicates if MAC control register is programmed to copy MAC Control Frames to its memory.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Copy MAC control frames mode enabled. MAC control frames will be transferred to memory.
FALSE Copy MAC control frames mode disabled. MAC control frames will be filtered.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_RX_CMF_EN
Example
Uint32 portNum = 1; if (CSL_CPGMAC_SL_isRxCMFEnabled (portNum) == TRUE) { // Rx CMF enabled } else { // Rx CMF disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isRxCMFEnabled
Description
This function indicates if MAC control register is programmed to copy MAC Control Frames to its memory.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Copy MAC control frames mode enabled. MAC control frames will be transferred to memory.
FALSE Copy MAC control frames mode disabled. MAC control frames will be filtered.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_RX_CMF_EN
Example
Uint32 portNum = 1; if (CSL_CPGMAC_SL_isRxCMFEnabled (portNum) == TRUE) { // Rx CMF enabled } else { // Rx CMF disabled }
| Uint32 CSL_CPGMAC_SL_isRxCMFEnabled | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_isRxCMFEnabled
Description
This function indicates if MAC control register is programmed to copy MAC Control Frames to its memory.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Copy MAC control frames mode enabled. MAC control frames will be transferred to memory.
FALSE Copy MAC control frames mode disabled. MAC control frames will be filtered.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_CONTROL_REG_RX_CMF_EN
Example
Uint32 portNum = 1; if (CSL_CPGMAC_SL_isRxCMFEnabled (portNum) == TRUE) { // Rx CMF enabled } else { // Rx CMF disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isRxCSFEnabled
Description
This function indicates if MAC control register is programmed to copy short frames (frames shorter than 64 bytes) to its memory.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Copy Short frames mode enabled. Short frames will be transferred to memory.
FALSE Copy Short frames mode disabled. Short frames will be filtered.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_RX_CSF_EN
Example
Uint32 portNum = 1; if (CSL_CPGMAC_SL_isRxCSFEnabled (portNum) == TRUE) { // Rx CSF enabled } else { // Rx CSF disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isRxCSFEnabled
Description
This function indicates if MAC control register is programmed to copy short frames (frames shorter than 64 bytes) to its memory.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Copy Short frames mode enabled. Short frames will be transferred to memory.
FALSE Copy Short frames mode disabled. Short frames will be filtered.
Pre Condition
None
Post Condition
None
Reads
CPGMAC_SL_MACCONTROL_REG_RX_CSF_EN
Example
Uint32 portNum = 1; if (CSL_CPGMAC_SL_isRxCSFEnabled (portNum) == TRUE) { // Rx CSF enabled } else { // Rx CSF disabled }
| Uint32 CSL_CPGMAC_SL_isRxCSFEnabled | ( | CSL_Xge_cpswRegs * | hCpswRegs, |
| Uint32 | portNum | ||
| ) |
============================================================================
CSL_CPGMAC_SL_isRxCSFEnabled
Description
This function indicates if MAC control register is programmed to copy short frames (frames shorter than 64 bytes) to its memory.
Arguments
portNum MAC port number for which the API must retrieve the settings. *
Return Value
TRUE Copy Short frames mode enabled. Short frames will be transferred to memory.
FALSE Copy Short frames mode disabled. Short frames will be filtered.
Pre Condition
None
Post Condition
None
Reads
XGE_CPSW_PN_MAC_CONTROL_REG_RX_CSF_EN
Example
Uint32 portNum = 1; if (CSL_CPGMAC_SL_isRxCSFEnabled (portNum) == TRUE) { // Rx CSF enabled } else { // Rx CSF disabled }
|
inlinestatic |
============================================================================
CSL_CPGMAC_SL_isRxFlowControlEnabled
Description