Enumerations | Functions
csl_serdes_pcie.h File Reference

Header file for functional layer of CSL SERDES. More...

#include <ti/csl/csl_serdes.h>
#include <ti/csl/src/ip/serdes_sb/V0/csl_wiz8_sb.h>

Enumerations

enum  CSL_SERDES_PCIE_LANE_RATE { CSL_SERDES_PCIE_GEN_1 = 0, CSL_SERDES_PCIE_GEN_2 = 1 }
 PCIE SERDES LANE CTRL TX/RX RATE enumerators. More...

Functions

CSL_IDEF_INLINE CSL_SERDES_RESULT CSL_PCIeSerdesInit (uint32_t base_addr, CSL_SERDES_REF_CLOCK ref_clock, CSL_SERDES_LINK_RATE rate)
CSL_IDEF_INLINE void CSL_PCIeSerdesLaneConfig (uint32_t base_addr, CSL_SERDES_REF_CLOCK ref_clock, CSL_SERDES_LINK_RATE rate, uint32_t lane_num)
CSL_IDEF_INLINE void CSL_PCIeSerdesComEnable (uint32_t base_addr)
CSL_IDEF_INLINE void CSL_PCIeSerdesSetLoopback (uint32_t base_addr, uint32_t lane_num, CSL_SERDES_LOOPBACK loopback_mode)
CSL_IDEF_INLINE void CSL_PCIeSerdesLaneEnable (uint32_t base_addr, uint32_t num_lanes)
CSL_IDEF_INLINE void CSL_PCIeSerdesLaneDisable (uint32_t base_addr, uint32_t lane_num)
CSL_IDEF_INLINE void CSL_PCIeSerdesLaneReset (uint32_t base_addr, uint32_t lane_num)
CSL_IDEF_INLINE void CSL_PCIeSerdesSetLaneRate (uint32_t base_addr, CSL_SERDES_PCIE_LANE_RATE lane_ctrl_rate)
CSL_IDEF_INLINE CSL_SERDES_STATUS CSL_PCIeSerdesGetStatus (uint32_t base_addr, uint32_t num_lanes)
CSL_IDEF_INLINE CSL_SERDES_STATUS CSL_PCIeSerdesGetPLLStatus (uint32_t base_addr)
CSL_IDEF_INLINE CSL_SERDES_STATUS CSL_PCIeSerdesGetLaneStatus (uint32_t base_addr, uint32_t lane_num)
CSL_IDEF_INLINE void CSL_PCIeSerdesShutdown (uint32_t base_addr)

Detailed Description

Header file for functional layer of CSL SERDES.

It contains the various enumerations, structure definitions and function declarations

============================================================================
(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.


Enumeration Type Documentation

PCIE SERDES LANE CTRL TX/RX RATE enumerators.

Enumerator:
CSL_SERDES_PCIE_GEN_1 

PCIE GEN 1

CSL_SERDES_PCIE_GEN_2 

PCIE GEN 2


Copyright 2014, Texas Instruments Incorporated