PDK API Guide for AM64x
csl_cpsgmii.h
Go to the documentation of this file.
1 
41 #ifndef CSL_CPSGMII_V4_H_
42 #define CSL_CPSGMII_V4_H_
43 
44 #ifdef __cplusplus
45 extern "C" {
46 #endif
47 
48 #include <ti/csl/cslr_cpsgmii.h>
49 #include <ti/csl/csl_cpsgmii_def.h>
50 
94 (CSL_CpsgmiiRegs * hCpSgmiiRegs,
95  Uint32 portNum,
96  CSL_SGMII_VERSION* sgmiiVersionInfo
97 );
98 
138 (CSL_CpsgmiiRegs * hCpSgmiiRegs,
139  Uint32 portNum
140 );
141 
179 (CSL_CpsgmiiRegs * hCpSgmiiRegs,
180  Uint32 portNum
181 );
182 
219 (CSL_CpsgmiiRegs * hCpSgmiiRegs,
220  Uint32 portNum
221 );
222 
260 (CSL_CpsgmiiRegs * hCpSgmiiRegs,
261  Uint32 portNum
262 );
263 
301 (CSL_CpsgmiiRegs * hCpSgmiiRegs,
302  Uint32 portNum
303 );
304 
338 Uint32 CSL_SGMII_getSerdesPLLLockStatus(CSL_CpsgmiiRegs *hCpSgmiiRegs,
339  Uint32 portNum);
340 
376 ( CSL_CpsgmiiRegs * hCpSgmiiRegs,
377  Uint32 portNum
378 );
379 
414 ( CSL_CpsgmiiRegs * hCpSgmiiRegs,
415  Uint32 portNum
416 );
417 
452 (CSL_CpsgmiiRegs * hCpSgmiiRegs,
453  Uint32 portNum
454 );
455 
490 (CSL_CpsgmiiRegs * hCpSgmiiRegs,
491  Uint32 portNum
492 );
493 
535 (CSL_CpsgmiiRegs * hCpSgmiiRegs,
536  Uint32 portNum
537 );
538 
573 (CSL_CpsgmiiRegs * hCpSgmiiRegs,
574  Uint32 portNum
575 );
576 
610 (CSL_CpsgmiiRegs * hCpSgmiiRegs,
611  Uint32 portNum
612 );
613 
651 (CSL_CpsgmiiRegs * hCpSgmiiRegs,
652  Uint32 portNum
653 );
654 
691 (CSL_CpsgmiiRegs * hCpSgmiiRegs,
692  Uint32 portNum
693 );
694 
729 (CSL_CpsgmiiRegs * hCpSgmiiRegs,
730  Uint32 portNum
731 );
732 
768 (CSL_CpsgmiiRegs * hCpSgmiiRegs,
769  Uint32 portNum
770 );
771 
809 (CSL_CpsgmiiRegs * hCpSgmiiRegs,
810  Uint32 portNum
811 );
812 
855 (CSL_CpsgmiiRegs * hCpSgmiiRegs,
856  Uint32 portNum,
857  CSL_SGMII_STATUS* pSgmiiStatus
858 );
859 
902 void CSL_SGMII_setAdvAbility (CSL_CpsgmiiRegs * hCpSgmiiRegs,
903  Uint32 portNum,
904  CSL_SGMII_ADVABILITY* pSgmiiAdvAbility
905 );
906 
945 void CSL_SGMII_getAdvAbility (CSL_CpsgmiiRegs * hCpSgmiiRegs,
946  Uint32 portNum,
947  CSL_SGMII_ADVABILITY* pSgmiiAdvAbility
948 );
949 
987 void CSL_SGMII_getLinkPartnerAdvAbility (CSL_CpsgmiiRegs * hCpSgmiiRegs,
988  Uint32 portNum,
989  CSL_SGMII_ADVABILITY* pSgmiiAdvAbility
990 );
991 
992 
993 #ifdef __cplusplus
994 }
995 #endif
996 
997 #endif
998 
void CSL_SGMII_enableLoopback(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum)
void CSL_SGMII_doSoftReset(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum)
Uint32 CSL_SGMII_getSoftResetStatus(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum)
void CSL_SGMII_enableMasterMode(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum)
Uint32 CSL_SGMII_isAutoNegotiationEnabled(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum)
Uint32 CSL_SGMII_isLoopbackModeEnabled(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum)
void CSL_SGMII_startRxTxSoftReset(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum)
void CSL_SGMII_getLinkPartnerAdvAbility(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum, CSL_SGMII_ADVABILITY *pSgmiiAdvAbility)
void CSL_SGMII_restartAutoNegotiation(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum)
void CSL_SGMII_DisableTestPattern(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum)
void CSL_SGMII_disableMasterMode(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum)
Uint32 CSL_SGMII_getRxTxSoftResetStatus(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum)
void CSL_SGMII_disableAutoNegotiation(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum)
void CSL_SGMII_disableLoopback(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum)
void CSL_SGMII_getStatus(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum, CSL_SGMII_STATUS *pSgmiiStatus)
void CSL_SGMII_getAdvAbility(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum, CSL_SGMII_ADVABILITY *pSgmiiAdvAbility)
void CSL_SGMII_setAdvAbility(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum, CSL_SGMII_ADVABILITY *pSgmiiAdvAbility)
void CSL_SGMII_enableTestPattern(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum)
void CSL_SGMII_enableAutoNegotiation(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum)
Uint32 CSL_SGMII_getSerdesPLLLockStatus(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum)
void CSL_SGMII_endRxTxSoftReset(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum)
void CSL_SGMII_getVersionInfo(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum, CSL_SGMII_VERSION *sgmiiVersionInfo)
Uint32 CSL_SGMII_isMasterModeEnabled(CSL_CpsgmiiRegs *hCpSgmiiRegs, Uint32 portNum)