Functions
SERDES RESTORE

Functions

CSL_IDEF_INLINE void CSL_SerDes_CMU_Restore_Default (uint32_t base_addr)
CSL_IDEF_INLINE void CSL_SerDes_COMLANE_Restore_Default (uint32_t base_addr)
CSL_IDEF_INLINE void CSL_SerDes_Lane_Restore_Default (uint32_t base_addr, uint32_t lane_num)

Detailed Description

File csl_serdes_restore_default.h

Brief Autogenerated SERDES CONFIG Functions.

It restores the serdes to its default values

============================================================================
(C) Copyright 2013, 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. ============================================================================

Introduction

Overview

This module deals with setting up SERDES restore configuration after a shutdown is initiated. The API flow should be as follows:

CSL_SerDes_COMLANE_Restore_Default (base_addr);

CSL_SerDes_Lane_Restore_Default (base_addr, lane_num);

CSL_SerDes_CMU_Restore_Default (base_addr);

References

============================================================================


Function Documentation

CSL_IDEF_INLINE void CSL_SerDes_CMU_Restore_Default ( uint32_t  base_addr)

============================================================================
CSL_SerDes_CMU_Restore_Default

Description
This API restores the Serdes CMU registers.

Arguments base_addr

Return Value None

Pre Condition
None

Post Condition
None

Reads
None

Usage Constraints:
Should be called after CSL_SerDes_COMLANE_Restore_Default and CSL_SerDes_Lane_Restore_Default APIs

Example

 
    CSL_SerDes_CMU_Restore_Default(CSL_PCIE_SERDES_CFG_REGS);

    

===========================================================================

CSL_IDEF_INLINE void CSL_SerDes_COMLANE_Restore_Default ( uint32_t  base_addr)

============================================================================
CSL_SerDes_COMLANE_Restore_Default

Description
This API restores the Serdes COMLANE registers.

Arguments base_addr

Return Value None

Pre Condition
None

Post Condition
None

Reads
None

Usage Constraints:
Should be called after Lanes have been disabled and TX CMU PLL is disabled. (Available in each IP serdes shutdown APIs)

Example

 
    CSL_SerDes_COMLANE_Restore_Default(CSL_PCIE_SERDES_CFG_REGS);

    

===========================================================================

CSL_IDEF_INLINE void CSL_SerDes_Lane_Restore_Default ( uint32_t  base_addr,
uint32_t  lane_num 
)

============================================================================
CSL_SerDes_Lane_Restore_Default

Description
This API restores the Serdes Lane registers.

Arguments base_addr, lane_num

Return Value None

Pre Condition
None

Post Condition
None

Reads
None

Usage Constraints:
Should be called after CSL_SerDes_COMLANE_Restore_Default

Example

 
    CSL_SerDes_Lane_Restore_Default(CSL_PCIE_SERDES_CFG_REGS);

    

===========================================================================


Copyright 2014, Texas Instruments Incorporated