csl_cpgmac_slAux.h File Reference

API Auxilary header file for Ethernet MAC submodule CSL. More...

#include <ti/csl/csl_cpgmac_sl.h>

Functions

CSL_IDEF_INLINE void CSL_CPGMAC_SL_getMacVersionInfo (Uint32 portNum, CSL_CPGMAC_SL_VERSION *pVersionInfo)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_isFullDuplexEnabled (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_enableFullDuplex (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_disableFullDuplex (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_isLoopbackModeEnabled (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_enableLoopback (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_disableLoopback (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_isRxFlowControlEnabled (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_enableRxFlowControl (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_disableRxFlowControl (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_isTxFlowControlEnabled (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_enableTxFlowControl (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_disableTxFlowControl (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_isGMIIEnabled (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_enableGMII (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_disableGMII (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_isTxPaceEnabled (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_enableTxPace (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_disableTxPace (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_isGigabitEnabled (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_enableGigabit (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_disableGigabit (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_isTxShortGapEnabled (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_enableTxShortGap (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_disableTxShortGap (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_isIdleModeEnabled (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_enableIdleMode (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_disableIdleMode (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_isIFCTLAEnabled (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_enableIFCTLA (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_disableIFCTLA (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_isIFCTLBEnabled (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_enableIFCTLB (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_disableIFCTLB (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_isGigForceModeEnabled (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_enableGigForceMode (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_disableGigForceMode (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_isExtControlEnabled (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_enableExtControl (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_disableExtControl (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_isRxCEFEnabled (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_enableRxCEF (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_disableRxCEF (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_isRxCSFEnabled (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_enableRxCSF (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_disableRxCSF (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_isRxCMFEnabled (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_enableRxCMF (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_disableRxCMF (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_getMacControlReg (Uint32 portNum)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_setMacControlReg (Uint32 portNum, Uint32 macControlRegVal)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_getMacStatusReg (Uint32 portNum, CSL_CPGMAC_SL_MACSTATUS *pMacStatus)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_resetMac (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_isMACResetDone (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_getRxMaxLen (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_setRxMaxLen (Uint32 portNum, Uint32 rxMaxLen)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_getRxPauseTimerReg (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_setRxPauseTimerReg (Uint32 portNum, Uint32 rxPauseTimer)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_getTxPauseTimerReg (Uint32 portNum)
CSL_IDEF_INLINE Uint32 CSL_CPGMAC_SL_setTxPauseTimerReg (Uint32 portNum, Uint32 txPauseTimer)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_getEmulControlReg (Uint32 portNum, Uint32 *pEmulFreeBit, Uint32 *pEmulSoftBit)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_setEmulControlReg (Uint32 portNum, Uint32 emulFreeBit, Uint32 emulSoftBit)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_getMacRxPriMapReg (Uint32 portNum, Uint32 *pMacRxPriMap)
CSL_IDEF_INLINE void CSL_CPGMAC_SL_setMacRxPriMapReg (Uint32 portNum, Uint32 *pMacRxPriMap)

Detailed Description

API Auxilary header file for Ethernet MAC submodule CSL.

Contains the different control command and status query functions definations

============================================================================
(C) Copyright 2009, Texas Instruments, Inc.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

Neither the name of Texas Instruments Incorporated nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


Copyright 2012, Texas Instruments Incorporated