Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Side by Side Diff: arch/arm/mach-tegra/nv/include/nverrval.h

Issue 3256004: [ARM] tegra: add nvos/nvrm/nvmap drivers (Closed) Base URL: ssh://git@gitrw.chromium.org/kernel.git
Patch Set: remove ap15 headers Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « arch/arm/mach-tegra/nv/include/nverror.h ('k') | arch/arm/mach-tegra/nv/include/nvidlcmd.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2006-2009 NVIDIA Corporation.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 *
8 * Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer.
10 *
11 * Redistributions in binary form must reproduce the above copyright notice,
12 * this list of conditions and the following disclaimer in the documentation
13 * and/or other materials provided with the distribution.
14 *
15 * Neither the name of the NVIDIA Corporation nor the names of its contributors
16 * may be used to endorse or promote products derived from this software
17 * without specific prior written permission.
18 *
19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
23 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 * POSSIBILITY OF SUCH DAMAGE.
30 *
31 */
32
33 /**
34 * nverrval.h is a header used for macro expansion of the errors defined for
35 * the Nv methods & interfaces.
36 *
37 * This header is NOT protected from being included multiple times, as it is
38 * used for C pre-processor macro expansion of error codes, and the
39 * descriptions of those error codes.
40 *
41 * Each error code has a unique name, description and value to make it easier
42 * for developers to identify the source of a failure. Thus there are no
43 *generic or unknown error codes.
44 */
45
46 /**
47 * @defgroup nv_errors NVIDIA Error Codes
48 *
49 * Provides return error codes for functions.
50 *
51 * @ingroup nvodm_errors
52 * @{
53 */
54
55 /** common error codes */
56 NVERROR(Success, 0x00000000, "success")
57 NVERROR(NotImplemented, 0x00000001, "method or interface is not implemented")
58 NVERROR(NotSupported, 0x00000002, "requested operation is not supported")
59 NVERROR(NotInitialized, 0x00000003, "method or interface is not initialized")
60 NVERROR(BadParameter, 0x00000004, "bad parameter to method or interface")
61 NVERROR(Timeout, 0x00000005, "not completed in the ex pected time")
62 NVERROR(InsufficientMemory, 0x00000006, "insufficient system mem ory")
63 NVERROR(ReadOnlyAttribute, 0x00000007, "cannot write a read-onl y attribute")
64 NVERROR(InvalidState, 0x00000008, "module is in invalid st ate to perform the requested operation")
65 NVERROR(InvalidAddress, 0x00000009, "invalid address")
66 NVERROR(InvalidSize, 0x0000000A, "invalid size")
67 NVERROR(BadValue, 0x0000000B, "illegal value specified for parameter")
68 NVERROR(AlreadyAllocated, 0x0000000D, "resource has already be en allocated")
69 NVERROR(Busy, 0x0000000E, "busy, try again")
70 NVERROR(ModuleNotPresent, 0x000a000E, "hw module is not perese nt")
71 NVERROR(ResourceError, 0x0000000F, "clock, power, or pinmux resource error")
72 NVERROR(CountMismatch, 0x00000010, "Encounter Error on coun t mismatch")
73
74 /* surface specific error codes */
75 NVERROR(InsufficientVideoMemory, 0x00010000, "insufficient video memo ry")
76 NVERROR(BadSurfaceColorScheme, 0x00010001, "this surface scheme is not supported in the current controller")
77 NVERROR(InvalidSurface, 0x00010002, "invalid surface")
78 NVERROR(SurfaceNotSupported, 0x00010003, "surface is not supporte d")
79
80 /* display specific error codes */
81 NVERROR(DispInitFailed, 0x00020000, "display initialization failed")
82 NVERROR(DispAlreadyAttached, 0x00020001, "the display is already attached to a controller")
83 NVERROR(DispTooManyDisplays, 0x00020002, "the controller has too many displays attached")
84 NVERROR(DispNoDisplaysAttached, 0x00020003, "the controller does not have an attached display")
85 NVERROR(DispModeNotSupported, 0x00020004, "the mode is not support ed by the display or controller")
86 NVERROR(DispNotFound, 0x00020005, "the requested display w as not found")
87 NVERROR(DispAttachDissallowed, 0x00020006, "the display cannot atta ch to the given controller")
88 NVERROR(DispTypeNotSupported, 0x00020007, "display type not suppor ted")
89 NVERROR(DispAuthenticationFailed, 0x00020008, "display authenication f ailed")
90 NVERROR(DispNotAttached, 0x00020009, "display not attached")
91 NVERROR(DispSamePwrState, 0x0002000A, "display already in requ ested power state")
92 NVERROR(DispEdidFailure, 0x0002000B, "edid read/parsing failu re")
93
94 /* NvOs error codes */
95 NVERROR(FileWriteFailed, 0x00030000, "the file write operatio n failed")
96 NVERROR(FileReadFailed, 0x00030001, "the file read operation failed")
97 NVERROR(EndOfFile, 0x00030002, "the end of file has bee n reached")
98 NVERROR(FileOperationFailed, 0x00030003, "the file operation has failed")
99 NVERROR(DirOperationFailed, 0x00030004, "the directory operation has failed")
100 NVERROR(EndOfDirList, 0x00030005, "there are no more entri es in the directory")
101 NVERROR(ConfigVarNotFound, 0x00030006, "the configuration varia ble is not present")
102 NVERROR(InvalidConfigVar, 0x00030007, "the configuration varia ble is corrupted")
103 NVERROR(LibraryNotFound, 0x00030008, "the dynamic library was not found for open")
104 NVERROR(SymbolNotFound, 0x00030009, "the symbol in a dyanmic library was not found")
105 NVERROR(MemoryMapFailed, 0x0003000a, "the memory mapping oper ation failed")
106 NVERROR(IoctlFailed, 0x0003000f, "the ioctl failed")
107 NVERROR(AccessDenied, 0x00030010, "the pointer is invalid or require additional privileges for access")
108 NVERROR(DeviceNotFound, 0x00030011, "requested device is not found")
109 NVERROR(KernelDriverNotFound, 0x00030012, "kernel driver not found ")
110 NVERROR(FileNotFound, 0x00030013, "File or directory not f ound")
111
112 /* I/O devices */
113 NVERROR(SpiReceiveError, 0x00040000, "spi receive error" )
114 NVERROR(SpiTransmitError, 0x00040001, "spi transmit error" )
115 NVERROR(HsmmcCardNotPresent, 0x00041000, "hsmmc card not present" )
116 NVERROR(HsmmcControllerBusy, 0x00041001, "hsmmc controller is bus y")
117 NVERROR(HsmmcAutoDetectCard, 0x00041002, "auto detect the card in hsmmc slot")
118 NVERROR(SdioCardNotPresent, 0x00042000, "sdio card not present")
119 NVERROR(SdioInstanceTaken, 0x00042001, "Instance unavailable or in use")
120 NVERROR(SdioControllerBusy, 0x00042002, "controller is busy")
121 NVERROR(SdioReadFailed, 0x00042003, "read transaction has fa iled")
122 NVERROR(SdioWriteFailed, 0x00042004, "write transaction has f ailed")
123 NVERROR(SdioBadBlockSize, 0x00042005, "bad block size")
124 NVERROR(SdioClockNotConfigured, 0x00042006, "Clock is not configured ")
125 NVERROR(SdioSdhcPatternIntegrityFailed, 0x00042007, "SDHC Check pattern inte grity failed")
126 NVERROR(SdioCommandFailed, 0x00042008, "command failed to execu te")
127 NVERROR(SdioCardAlwaysPresent, 0x00042009, "sdio card is soldered")
128 NVERROR(SdioAutoDetectCard, 0x0004200a, "auto detect the sd card ")
129 NVERROR(UsbInvalidEndpoint, 0x00043000, "usb invalid endpoint")
130 NVERROR(UsbfTxfrActive, 0x00043001, "The endpoint has an act ive transfer in progress.")
131 NVERROR(UsbfTxfrComplete, 0x00043002, "The endpoint has a comp leted transfer that has not been cleared.")
132 NVERROR(UsbfTxfrFail, 0x00043003, "The endpoint transfer i s failed.")
133 NVERROR(UsbfEpStalled, 0x00043004, "The endpoint has been p laced in a halted or stalled state.")
134 NVERROR(UsbfCableDisConnected, 0x00043005, "usb cable disconnected" )
135 NVERROR(UartOverrun, 0x00044000, "overrun occurred when r eceiving the data")
136 NVERROR(UartFraming, 0x00044001, "data received had frami ng error")
137 NVERROR(UartParity, 0x00044002, "data received had parit y error")
138 NVERROR(UartBreakReceived, 0x00044004, "received break signal")
139 NVERROR(I2cReadFailed, 0x00045000, "Failed to read data thr ough I2C")
140 NVERROR(I2cWriteFailed, 0x00045001, "Failed to write data th rough I2C")
141 NVERROR(I2cDeviceNotFound, 0x00045003, "Slave Device Not Found" )
142 NVERROR(I2cInternalError, 0x00045004, "The controller reports the error during transaction like fifo overrun, underrun")
143 NVERROR(I2cArbitrationFailed, 0x00045005, "Master does not able to get the control of bus")
144 NVERROR(IdeHwError, 0x00046000, "Ide HW error")
145 NVERROR(IdeReadError, 0x00046001, "Ide read error")
146 NVERROR(IdeWriteError, 0x00046002, "Ide write error")
147
148 /* OWR error codes */
149 NVERROR(OwrReadFailed, 0x00047000, "OWR data reading failed ")
150 NVERROR(OwrWriteFailed, 0x00047001, "OWR data write failed")
151 NVERROR(OwrBitTransferFailed, 0x00047002, "OWR bit transfer failed ")
152 NVERROR(OwrInvalidOffset, 0x00047003, "OWR invalid offset")
153
154 /* Nv2D error codes */
155 NVERROR(InvalidOperation, 0x00050000, "invalid operation")
156
157 /* NvRm error codes */
158 NVERROR(RmInitFailed, 0x00060000, "rm failed to initialize ")
159 NVERROR(RmChannelInitFailure, 0x00060001, "channel init failed")
160 NVERROR(RmStreamInitFailure, 0x00060002, "stream init failed")
161 NVERROR(RmSyncPointAllocFailure, 0x00060003, "sync point alloc failed ")
162 NVERROR(ResourceAlreadyInUse, 0x00060004, "resource already in use ")
163 NVERROR(DmaBusy, 0x00061000, "the dma channel is busy and not able to take any more request")
164 NVERROR(InvalidSourceId, 0x00061001, "invalid source id")
165 NVERROR(DmaChannelNotAvailable, 0x00061002, "dma channel not availab le")
166
167 /* NvIsp error codes */
168 NVERROR(NoConnectedImager, 0x00070001, "no imager connected")
169 NVERROR(UnsupportedResolution, 0x00070002, "unsupported resolution" )
170 NVERROR(I2CCommunicationError, 0x00070003, "i2c communication faile d")
171 NVERROR(IspConfigFileParseError, 0x00070004, "isp config file parse e rror")
172 NVERROR(TooDark, 0x00070006, "image too dark for 3A o peration")
173 NVERROR(InvalidIspConfigAttribute, 0x00070007, "invalid isp config attr ibute")
174 NVERROR(InvalidIspConfigAttributeElement, 0x00070008, "invalid isp config attr ibute element")
175 NVERROR(IspConfigSyntaxError, 0x00070009, "isp config syntax error ")
176 NVERROR(ImagerVersionNotSupported, 0x0007000A, "imager version not supp orted")
177 NVERROR(CorruptedBuffer, 0x0007000B, "buffer is corrupted")
178
179
180 /* NvTest error codes */
181 NVERROR(TestApplicationFailed, 0x00080000, "the test application fa iled")
182 NVERROR(TestNoUserInput, 0x00080001, "no user input available ")
183 NVERROR(TestCommandLineError, 0x00080002, "command line parsing er ror")
184 NVERROR(TestDataVerificationFailed, 0x00080003, "Data verification faile d error")
185 NVERROR(TestServerFileReadFailed, 0x00081000, "reading the test file f ailed")
186 NVERROR(TestServerInvalidAddress, 0x00081001, "invalid connection addr ess")
187 NVERROR(TestServerMemoryLimitExceeded, 0x00081002, "target memory limit exc eeded")
188
189 /* NvCam error codes */
190 NVERROR(ColorFormatNotSupported, 0x00090006, "color format not suppor ted")
191
192 /* Transport error codes */
193 NVERROR(TransportPortAlreadyExist, 0x000A0001, "The port name already e xist.")
194 NVERROR(TransportMessageBoxEmpty, 0x000A0003, "Received Message box em pty.")
195 NVERROR(TransportMessageBoxFull, 0x000A0004, "Message box is full and not able to send the message.")
196 NVERROR(TransportConnectionFailed, 0x000A0006, "Making connection to po rt is failed.")
197 NVERROR(TransportNotConnected, 0x000A0007, "Port is not connected." )
198
199 /* Nand error codes */
200 NVERROR(NandReadFailed, 0x000B0000, "Nand Read failed")
201 NVERROR(NandProgramFailed, 0x000B0001, "Nand Program failed")
202 NVERROR(NandEraseFailed, 0x000B0002, "Nand Erase failed")
203 NVERROR(NandCopyBackFailed, 0x000B0003, "Nand Copy back failed")
204 NVERROR(NandOperationFailed, 0x000B0004, "requested Nand operatio n failed")
205 NVERROR(NandBusy, 0x000B0005, "Nand operation incomple te and is busy")
206 NVERROR(NandNotOpened, 0x000B0006, "Nand driver not opened" )
207 NVERROR(NandAlreadyOpened, 0x000B0007, "Nand driver is already opened")
208 NVERROR(NandBadOperationRequest, 0x000B0008, "status for wrong nand o peration is requested ")
209 NVERROR(NandCommandQueueError, 0x000B0009, "Command queue error occ ured ")
210 NVERROR(NandReadEccFailed, 0x000B0010, "Read with ECC resulted in uncorrectable errors")
211 NVERROR(NandFlashNotSupported, 0x000B0011, "Nand flash on board is not supported by the ddk")
212 NVERROR(NandLockFailed, 0x000B0012, "Nand flash lock feature failed")
213 NVERROR(NandErrorThresholdReached, 0x000B0013, "Ecc errors reached the threshold set")
214 NVERROR(NandWriteFailed, 0x000B0014, "Nand Write failed")
215 NVERROR(NandBadBlock, 0x000B0015, "Indicates a bad block o n media")
216 NVERROR(NandBadState, 0x000B0016, "Indicates an invalid st ate")
217 NVERROR(NandBlockIsLocked, 0x000B0017, "Indicates the block is locked")
218 NVERROR(NandNoFreeBlock, 0x000B0018, "Indicates there is no f ree block in the flash")
219 NVERROR(NandTTFailed, 0x000B0019, "Nand TT Failure")
220 NVERROR(NandTLFailed, 0x000B001A, "Nand TL Failure")
221 NVERROR(NandTLNoBlockAssigned, 0x000B001B, "Nand TL No Block Assign ed")
222
223 /* nvwinsys error codes */
224 NVERROR(WinSysBadDisplay, 0x000C0000, "bad display specified")
225 NVERROR(WinSysNoDevice, 0x000C0001, "no device found")
226 NVERROR(WinSysBadDrawable, 0x000C0002, "bad drawable")
227
228 /* nvblserver error codes */
229 NVERROR(BLServerFileReadFailed, 0x000D0000, "reading the bootloader file failed")
230 NVERROR(BLServerInvalidAddress, 0x000D0001, "invalid connection addr ess")
231 NVERROR(BLServerInvalidElfFile, 0x000D0002, "invalid elf file")
232 NVERROR(BLServerConnectionFailed, 0x000D0003, "connection with target failed")
233 NVERROR(BLServerMemoryLimitExceeded, 0x000D0005, "target memory limit exc eeded")
234
235 /* NvMM Audio Mixer error codes */
236 NVERROR(AudioMixerPinTypeNotSupported, 0x000E0000, "Pin type is not support ed")
237 NVERROR(AudioMixerDirectionNotSupported, 0x000E0001, "Pin direction is not su pported")
238 NVERROR(AudioMixerNoMorePinsAvailable, 0x000E0002, "No more pins are availa ble")
239 NVERROR(AudioMixerBadPinNumber, 0x000E0003, "Bad pin number")
240
241 /* NvMM Video Encoder error codes */
242 NVERROR(VideoEncResolutionNotSupported, 0x000E1000, "Resolution parameters m ust be multiple of 16")
243
244 /* NvMM JPEG Encoder error codes */
245 NVERROR(JPEGEncHWError, 0x000E2000, "HW encountered some err or in Encoding: either ICQ is full or MEMDMA is busy")
246
247 /* NvMM Video Decoder error codes */
248 NVERROR(VideoDecRetainLock, 0x000E3001, "Keep the HW lock wit h the decoder")
249 NVERROR(VideoDecMataDataFound, 0x000E3002, "Decoder has decoded Mata Data Information")
250 NVERROR(VideoDecFrameDecoded, 0x000E3004, "Decoder has decoded one complete Frame")
251 NVERROR(VideoDecDecodedPartialFrame, 0x000E3008, "Decoder has decoded Frame Partially")
252 NVERROR(VideoDecInsufficientBitstream, 0x000E3010, "unable to decode bec ause of unavailablity of bitstream for decoding")
253 NVERROR(VideoDecOutputSurfaceUnavailable, 0x000E3020, "Output surface is un available for storing current decoded frame")
254 NVERROR(VideoDecUnsupportedStreamFormat, 0x000E3040, "Given i/p Stream for mat is not supported by Video Decoder")
255 NVERROR(VideoDecFrameDecodedPlusVideoDecEvent, 0x000E3080, "Decoder has decoded one complete frame and need to send event to client")
256 NVERROR(VideoDecFailed, 0x000E3100, "Failed to decode")
257 NVERROR(VideoDecDecodingComplete, 0x000E3200, "Decoder has finished decoding")
258 NVERROR(VideoDecProvideNextIPBuffer, 0x000E3400, "Decoder is still usi ng current buffer,mean while provide next ip buffer")
259 NVERROR(VideoDecProvideCurrentIPBuffer, 0x000E3800, "provide Current ip b uffer again")
260
261 /* Vibrate shim error codes */
262 NVERROR(PipeNotConnected, 0x000F0000, "Indicates that there are no readers attached to the message queue")
263 NVERROR(ReadQNotCreated, 0x000F0001, "Some error creating the read message Q")
264
265 /* Content Parser, Writer, Pipe error codes */
266 NVERROR(ParserEndOfStream, 0x00100000, "the end of stream has b een reached")
267 NVERROR(ParserFailedToGetData, 0x00100001, "Could not get data beca use of some Error")
268 NVERROR(InSufficientBufferSize, 0x00100002, "InSufficientBufferSize for parser to read data")
269 NVERROR(ParserReadFailure, 0x00100003, "Encounter Error on pars er reads")
270 NVERROR(ParserOpenFailure, 0x00100004, "Encounter Error on pars er open")
271 NVERROR(UnSupportedStream, 0x00100005, "Error for Unsupported s treams")
272 NVERROR(ParserFailure, 0x00100006, "Fail to Parse the file. Or General/logical Error encounter on other parser failures")
273 NVERROR(ParserHeaderDecodeNotComplete, 0x00100007, "Could not get data beca use Header Decode is not complete")
274 NVERROR(ParserCloseFailure, 0x00100008, "Encounter Error on pars er close")
275 NVERROR(ParserMarkerHit, 0x00100009, "Parser Marker HIT")
276 NVERROR(ParserCorruptedStream, 0x0010000A, "Encounter error on corr upted Parser stream")
277 NVERROR(ParserDRMLicenseNotFound, 0x0010000B, "DRM License Not Found")
278 NVERROR(ParserDRMFailure, 0x0010000C, "DRM Functionality Faile d")
279 NVERROR(ParserSeekUnSupported, 0x0010000D, "Seek UnSupported dueto non-index rntries etc., ")
280 NVERROR(ParserTrickModeUnSupported, 0x0010000E, "Seek UnSupported dueto non-index rntries etc., ")
281 NVERROR(ParserCoreNotCreated, 0x0010000F, "Core not created ")
282 NVERROR(UnSupported_VideoStream, 0x00100010, "Error for Unsupported s treams")
283 NVERROR(UnSupported_AudioStream, 0x00100011, "Error for Unsupported s treams")
284 NVERROR(WriterOpenFailure, 0x00101001, "Encounter Error on writ er open")
285 NVERROR(WriterUnsupportedStream, 0x00101002, "Error for Unsupported s treams in writer")
286 NVERROR(WriterUnsupportedUserData, 0x00101003, "Error Unsupported user data set in writer")
287 NVERROR(WriterFileSizeLimitExceeded, 0x00101004, "File size limit exceede d in writer")
288 NVERROR(WriterInsufficientMemory, 0x00101005, "Insufficient memory in writer")
289 NVERROR(WriterFailure, 0x00101006, "General/logical Error e ncounter on other writer failures")
290 NVERROR(WriterCloseFailure, 0x00101007, "Encounter Error on writ er close")
291 NVERROR(WriterInitFailure, 0x00101008, "Writer Init Failed")
292 NVERROR(WriterFileWriteLimitExceeded, 0x00101009, "File Write limit exceed ed in writer")
293 NVERROR(ContentPipeNoData, 0x00102001, "Data not available")
294 NVERROR(ContentPipeNoFreeBuffers, 0x00102002, "No free buffers")
295 NVERROR(ContentPipeSpareAreaInUse, 0x00102003, "Spare buffer is in use" )
296 NVERROR(ContentPipeEndOfStream, 0x00102004, "End of stream reached")
297 NVERROR(ContentPipeNotReady, 0x00102005, "Not Ready")
298 NVERROR(ContentPipeInNonCachingMode, 0x00102006, "In non-caching mode")
299 NVERROR(ContentPipeInsufficientMemory, 0x00102007, "Insufficient memory in ContentPipe")
300 NVERROR(ContentPipeNotInvalidated, 0x00102008, "ContentPipe memory is n ot invalidated")
301
302 NVERROR(UnSupportedMetadata, 0x00102009, "UnSupportedMetadata")
303 NVERROR(MetadataSuccess, 0x0010200A, "Successfully Extracted the Metadata key")
304 NVERROR(MetadataFailure, 0x0010200B, "Error Encountered durin g Meta data Extraction")
305 NVERROR(NewMetaDataAvailable, 0x0010200C, "NewMetaDataAvailable")
306
307 /* TrackList error codes */
308 NVERROR(TrackListInvalidTrackIndex, 0x00110001, "Invalid track number")
309 NVERROR(TrackListError, 0x00110002, "Error encounterd in Tra ckList Operation")
310 NVERROR(TrackListItemStillPlayingError, 0x00110003, " Track list item is cur rently playing")
311 NVERROR(TrackListNotPlaying, 0x00110004, " Track list is not play ing")
312
313 /* nv3p error codes */
314 NVERROR(Nv3pUnrecoverableProtocol, 0x00120000, "unrecoverable protocol error")
315 NVERROR(Nv3pBadPacketType, 0x00120001, "bad packet type")
316 NVERROR(Nv3pPacketNacked, 0x00120002, "packet was nacked")
317 NVERROR(Nv3pBadReceiveLength, 0x00120003, "bad receive length")
318 NVERROR(Nv3pBadReturnData, 0x00120004, "bad return data")
319
320 /* AES error codes */
321 NVERROR(AesClearSbkFailed, 0x00130000, "AES clear Secure Boot K ey Failed")
322 NVERROR(AesLockSskFailed, 0x00130001, "AES Lock Secure Storage Key Failed")
323 NVERROR(AesDisableCryptoFailed, 0x00130002, "AES disable crypto fail ed")
324
325 /* Block Driver error codes */
326 /* generic error codes */
327 NVERROR(BlockDriverIllegalIoctl, 0x00140001, "Block Driver illegal IO CTL invoked")
328 NVERROR(BlockDriverOverlappedPartition, 0x00140002, "Block Driver partition overlap")
329 NVERROR(BlockDriverNoPartition, 0x00140003, "Block Driver IOCTL call needs partition create")
330 NVERROR(BlockDriverIllegalPartId, 0x00140004, "Block Driver operation using illegal partition ID")
331 NVERROR(BlockDriverWriteVerifyFailed, 0x00140005, "Block Driver write data comparison failed")
332 /* Nand specific block driver errors */
333 NVERROR(NandBlockDriverEraseFailure, 0x00140011, "Nand Block Driver erase failed")
334 NVERROR(NandBlockDriverWriteFailure, 0x00140012, "Nand Block Driver write failed")
335 NVERROR(NandBlockDriverReadFailure, 0x00140013, "Nand Block Driver read failed")
336 NVERROR(NandBlockDriverLockFailure, 0x00140014, "Nand Block Driver lock failed")
337 NVERROR(NandRegionIllegalAddress, 0x00140015, "Nand Block Driver secto r access illegal")
338 NVERROR(NandRegionTableOpFailure, 0x00140016, "Nand Block Driver regio n operation failed")
339 NVERROR(NandBlockDriverMultiInterleave, 0x00140017, "Nand Block Driver multi ple interleave modes")
340 NVERROR(NandTagAreaSearchFailure, 0x0014001c, "Nand Block Driver tag a rea search failed")
341 /* EMMC specific block driver errors */
342 NVERROR(EmmcBlockDriverLockNotSupported, 0x00140101, "EMMC Block Driver Lock operation not supported")
343 NVERROR(EmmcBlockDriverLockUnaligned, 0x00140102, "EMMC Block Driver Lock area size or location unaligned")
344 NVERROR(EmmcBlockDriverIllegalStateRead, 0x00140103, "EMMC Block Driver Read when state is not TRANS")
345 NVERROR(EmmcBlockDriverIllegalStateWrite, 0x00140104, "EMMC Block Driver Write when state is not TRANS")
346 NVERROR(EmmcCommandFailed, 0x00140105, "EMMC Block Driver comma nd failed to execute")
347 NVERROR(EmmcReadFailed, 0x00140106, "EMMC Block Driver Read failed")
348 NVERROR(EmmcWriteFailed, 0x00140107, "EMMC Block Driver Write failed")
349 NVERROR(EmmcBlockDriverEraseFailure, 0x00140108, "Emmc Block Driver erase failed")
350 NVERROR(EmmcBlockDriverIllegalAddress, 0x00140109, "Emmc Block Driver addre ss is illegal or misaligned")
351 NVERROR(EmmcBlockDriverLockFailure, 0x0014010A, "Emmc Block Driver lock failed")
352 NVERROR(EmmcBlockDriverBlockIsLocked, 0x0014010B, "Emmc Block Driver Acces sed block is locked")
353 /* Mipi Hsi error codes */
354 NVERROR(MipiHsiTxFifoEmpty, 0x00140200, "TX_FIFO_CNT in Status a nd Interrupt Identification Register is zero")
355 NVERROR(MipiHsiRxFifoEmpty, 0x00140201, "RX_FIFO_CNT in Status a nd Interrupt Identification Register is zero")
356 NVERROR(MipiHsiBusy, 0x00140202, "Mipi Hsi controller is busy")
357 NVERROR(MipiHsiHandleNotConfigured, 0x00140203, "Mipi Hsi handle is not configured")
358 NVERROR(MipiHsiTransmitError, 0x00140204, "Mipi Hsi transmit error - check the write function ")
359 NVERROR(MipiHsiReceiveError, 0x00140205, "Mipi Hsi receive error - check the read function")
360 NVERROR(MipiHsiTransferIncomplete, 0x00140206, "Mipi Hsi requested numb er of packets are not transferred")
361
362 /* Shader compiler error codes */
363 NVERROR(SCCompileFail, 0x00150000, "Source shader compilati on failed")
364
365 /* Drm error codes */
366 NVERROR(DrmFailure, 0x00160000, "Drm - Failed")
367 NVERROR(DrmInvalidArg, 0x00160001, "Drm Invalid arguments p assed")
368 NVERROR(DrmOutOfMemory, 0x00160002, "Drm-Memory insufficent" )
369 NVERROR(DrmFileNotFound, 0x00160003, "Drm - File not found")
370 NVERROR(DrmBufferTooSmall, 0x00160004, "Drm- Buffer size passed is too small")
371 NVERROR(DrmInvalidLicense, 0x00160005, "Drm - Invalid license")
372 NVERROR(DrmLicenseExpired, 0x00160006, "Drm- License expired")
373 NVERROR(DrmRightsNotAvailable, 0x00160007, "Drm-Right are not avail able")
374 NVERROR(DrmLicenseNotFound, 0x00160008, "Drm - License it not fo und")
375 NVERROR(DrmInvalidBindId, 0x00160009, "Drm - Invalid Bind Id " )
376 NVERROR(DrmVersionNotSupported, 0x0016000a, "Drm-Unsupported Version ")
377 NVERROR(DrmMeteringNotSupported, 0x0016000b, "Drm- Metering is not su pported")
378 NVERROR(DrmDecryptionFailed, 0x0016000c, "Drm- Decryption failed" )
379 /* System Update error codes */
380 NVERROR(SysUpdateInvalidBLVersion, 0x00170000, "NvSysUpdate - InvalidBL Version")
381
382 /** @} */
383 /* ^^^ ADD ALL NEW ERRORS RIGHT ABOVE HERE ^^^ */
OLDNEW
« no previous file with comments | « arch/arm/mach-tegra/nv/include/nverror.h ('k') | arch/arm/mach-tegra/nv/include/nvidlcmd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698