PDK API Guide for J721E
csitx_structs_if.h
Go to the documentation of this file.
1 /* parasoft suppress item MISRA2012-DIR-4_8 "Consider hiding implementation of structure, DRV-4932" */
2 /**********************************************************************
3 * Copyright (C) 2012-2019 Cadence Design Systems, Inc.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 * 3. Neither the name of the copyright holder nor the names of its
14 * contributors may be used to endorse or promote products derived from
15 * this software without specific prior written permission.
16 *
17 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
21 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 * POSSIBILITY OF SUCH DAMAGE.
28 **********************************************************************
29 * WARNING: This file is auto-generated using api-generator utility.
30 * api-generator: 13.04.5beed88
31 * Do not edit it manually.
32 **********************************************************************
33 * Cadence Core Driver for MIPI CSI Host Controller
34 **********************************************************************/
44 #ifndef CSITX_STRUCTS_IF_H
45 #define CSITX_STRUCTS_IF_H
46 
47 
56 /**********************************************************************
57 * Structures and unions
58 **********************************************************************/
61 {
65 };
66 
69 {
77  uint8_t asfPresent;
79  uint8_t numDts;
81  uint8_t numVcs;
83  uint8_t datapathSize;
85  uint8_t numStreams;
87  uint8_t cdnsPhyPresent;
89  uint8_t numLanes;
90 };
91 
94 {
96  uint32_t privDataSize;
97 };
98 
101 {
120 };
121 
124 {
126  bool dphyReset;
130  uint8_t dphyClockMode;
132  uint8_t dphyMode;
143 };
144 
146 {
148  uint32_t lineCountEnable;
152  uint8_t dataType;
156  uint32_t packedEnable;
158  uint16_t maxLineNumber;
160  uint16_t bytesPerLine;
161 };
162 
164 {
168  uint16_t maxFrameNumber;
169 };
170 
172 {
177 };
178 
180 {
182  uint32_t slaveMode;
184  uint16_t fillLevel;
185 };
186 
189 {
193  bool rxMapping;
194 };
195 
197 {
199  uint32_t enable;
201  uint32_t option;
203  uint16_t spSpacers;
205  uint16_t lpSpacers;
206 };
207 
214 {
216 };
217 
220 {
222  volatile uint32_t* regBase;
223 };
224 
227 {
229  CSITX_DeviceConfig deviceConfig;
231  CSITX_Config cfg;
233  CSITX_Callbacks cb;
234 };
235 
240 #endif /* CSITX_STRUCTS_IF_H */
241 
bool diffInvertLn1
Definition: csitx_structs_if.h:113
uint8_t txClockExitTime
Definition: csitx_structs_if.h:174
uint32_t frameCountEnable
Definition: csitx_structs_if.h:166
uint16_t bytesPerLine
Definition: csitx_structs_if.h:160
uint8_t numLanes
Definition: csitx_structs_if.h:89
Definition: csitx_structs_if.h:60
bool diffInvertClock
Definition: csitx_structs_if.h:119
Definition: csitx_structs_if.h:93
bool rxMapping
Definition: csitx_structs_if.h:193
bool rxCompEnable
Definition: csitx_structs_if.h:191
uint32_t slaveMode
Definition: csitx_structs_if.h:182
bool dphyLn1Enable
Definition: csitx_structs_if.h:140
bool diffInvertLn2
Definition: csitx_structs_if.h:115
uint8_t scramblerPresent
Definition: csitx_structs_if.h:75
uint8_t dphyClockMode
Definition: csitx_structs_if.h:130
Definition: csitx_structs_if.h:213
CSITX_Callbacks cb
Definition: csitx_structs_if.h:233
uint8_t v1p3FeaturesEnable
Definition: csitx_structs_if.h:71
uint16_t maxFrameNumber
Definition: csitx_structs_if.h:168
bool dphyLn2Enable
Definition: csitx_structs_if.h:138
Definition: csitx_structs_if.h:196
uint32_t extendedDataType
Definition: csitx_structs_if.h:154
bool enableInterrupts
Definition: csitx_structs_if.h:64
Definition: csitx_structs_if.h:219
bool forceStopModeLn2
Definition: csitx_structs_if.h:107
Definition: csitx_structs_if.h:171
Definition: csitx_structs_if.h:68
bool forceStopModeLn3
Definition: csitx_structs_if.h:109
uint16_t fillLevel
Definition: csitx_structs_if.h:184
CSITX_Regs
Definition: csitx_regs.h:142
uint8_t cdnsPhyPresent
Definition: csitx_structs_if.h:87
bool dphyLn3Enable
Definition: csitx_structs_if.h:136
CSITX_Config cfg
Definition: csitx_structs_if.h:231
uint8_t rxCompatibilityMode
Definition: csitx_structs_if.h:73
volatile uint32_t * regBase
Definition: csitx_structs_if.h:222
uint8_t datapathSize
Definition: csitx_structs_if.h:83
bool dphyClkEnable
Definition: csitx_structs_if.h:134
uint32_t packedEnable
Definition: csitx_structs_if.h:156
uint8_t numDts
Definition: csitx_structs_if.h:79
Definition: csitx_structs_if.h:100
Definition: csitx_structs_if.h:188
uint32_t lineCountEnable
Definition: csitx_structs_if.h:148
uint16_t lpSpacers
Definition: csitx_structs_if.h:205
bool dphyCalEnable
Definition: csitx_structs_if.h:128
uint16_t maxLineNumber
Definition: csitx_structs_if.h:158
uint8_t numStreams
Definition: csitx_structs_if.h:85
uint8_t numVcs
Definition: csitx_structs_if.h:81
uint16_t spSpacers
Definition: csitx_structs_if.h:203
bool forceStopModeLn0
Definition: csitx_structs_if.h:103
bool forceStopModeLn1
Definition: csitx_structs_if.h:105
CSITX_DeviceConfig deviceConfig
Definition: csitx_structs_if.h:229
Definition: csitx_structs_if.h:123
CSITX_Regs * regBase
Definition: csitx_structs_if.h:63
uint32_t option
Definition: csitx_structs_if.h:201
CSITX_Event event
Definition: csitx_structs_if.h:215
Definition: csitx_structs_if.h:145
uint8_t dphyMode
Definition: csitx_structs_if.h:132
uint32_t lineStartEndEnable
Definition: csitx_structs_if.h:150
Definition: csitx_structs_if.h:179
uint32_t privDataSize
Definition: csitx_structs_if.h:96
Definition: csitx_structs_if.h:163
uint8_t waitBurstTimeCnt
Definition: csitx_structs_if.h:176
Definition: csitx_structs_if.h:226
uint8_t dataType
Definition: csitx_structs_if.h:152
uint32_t enable
Definition: csitx_structs_if.h:199
bool dphyLn0Enable
Definition: csitx_structs_if.h:142
void(* CSITX_Event)(CSITX_PrivateData *pD, uint32_t irq_event, uint32_t dphy_event)
Definition: csitx_if.h:276
uint8_t asfPresent
Definition: csitx_structs_if.h:77
bool diffInvertLn0
Definition: csitx_structs_if.h:111
bool diffInvertLn3
Definition: csitx_structs_if.h:117
bool dphyReset
Definition: csitx_structs_if.h:126