[processor-sdk/performance-audio-sr.git] / psdk_cust / pdk_k2g_1_0_1_1_eng / packages / ti / csl / csl_cpsw.h
1 /**
2 * @file csl_cpsw.h
3 *
4 * @brief
5 * Header file for CSL functional layer of 3 Port Ethernet Switch Subsystem.
6 *
7 * It contains the various enumerations, structure definitions and function
8 * declarations
9 *
10 * \par
11 * ============================================================================
12 * @n (C) Copyright 2011-2015, Texas Instruments, Inc.
13 *
14 * Redistribution and use in source and binary forms, with or without
15 * modification, are permitted provided that the following conditions
16 * are met:
17 *
18 * Redistributions of source code must retain the above copyright
19 * notice, this list of conditions and the following disclaimer.
20 *
21 * Redistributions in binary form must reproduce the above copyright
22 * notice, this list of conditions and the following disclaimer in the
23 * documentation and/or other materials provided with the
24 * distribution.
25 *
26 * Neither the name of Texas Instruments Incorporated nor the names of
27 * its contributors may be used to endorse or promote products derived
28 * from this software without specific prior written permission.
29 *
30 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
31 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
32 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
33 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
34 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
35 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
36 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
37 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
38 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
39 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
40 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41 *
42 */
44 #ifndef _CSL_CPSW_TOP_H_
45 #define _CSL_CPSW_TOP_H_
47 #ifdef __cplusplus
48 extern "C" {
49 #endif
51 /** ============================================================================
52 *
53 * @defgroup CSL_CPSW_API CPSW
54 *
55 * @section Introduction
56 *
57 * @subsection xxx Overview
58 *
59 * @subsection References
60 * -# Ethernet Media Access Controller User Guide
61 * ============================================================================
62 */
63 #include <ti/csl/csl.h>
64 #include <ti/csl/tistdtypes.h>
65 #include <ti/csl/csl_cpsw_ssAux.h>
66 #include <ti/csl/csl_cpswAux.h>
67 #include <ti/csl/csl_cpgmac_slAux.h>
68 #include <ti/csl/csl_cptsAux.h>
70 #if defined(SOC_K2K) || defined(SOC_K2H)
71 #include <ti/csl/src/ip/cpsw/V0/csl_cpsw_5gfssAux.h>
72 #include <ti/csl/src/ip/cpsw/V0/csl_cpsw_5gfAux.h>
73 #elif defined(SOC_C6678)
74 #include <ti/csl/src/ip/cpsw/V4/csl_cpsw_3gfssAux.h>
75 #include <ti/csl/src/ip/cpsw/V4/csl_cpsw_3gfAux.h>
76 #endif
78 #ifdef __cplusplus
79 }
80 #endif
82 #endif /* _CSL_CPSW_H */