1 /* _NVRM_COPYRIGHT_BEGIN_
3 * Copyright 1993-2008 by NVIDIA Corporation. All rights reserved. All
4 * information contained herein is proprietary and confidential to NVIDIA
5 * Corporation. Any use, reproduction, or disclosure without the written
6 * permission of NVIDIA Corporation is prohibited.
17 * ---------------------------------------------------------------------------
21 * ---------------------------------------------------------------------------
24 typedef NvU32 RM_STATUS;
26 #define RM_OK 0x00000000
27 #define RM_ERROR 0xFFFFFFFF
29 #define RM_ERR_CANT_CREATE_CLASS_OBJS 0x00000001
30 #define RM_ERR_DMA_IN_USE 0x00000002
31 #define RM_ERR_DMA_MEM_NOT_LOCKED 0x00000003
32 #define RM_ERR_DMA_MEM_NOT_UNLOCKED 0x00000004
33 #define RM_ERR_DUAL_LINK_INUSE 0x00000005
34 #define RM_ERR_FIFO_BAD_ACCESS 0x00000006
35 #define RM_ERR_GPU_NOT_FULL_POWER 0x00000007
36 #define RM_ERR_ILLEGAL_ACTION 0x00000008
37 #define RM_ERR_ILLEGAL_OBJECT 0x00000009
38 #define RM_ERR_INSERT_DUPLICATE_NAME 0x0000000A
39 #define RM_ERR_INSUFFICIENT_RESOURCES 0x0000000B
40 #define RM_ERR_INVALID_ADDRESS 0x0000000C
41 #define RM_ERR_INVALID_ARGUMENT 0x0000000D
42 #define RM_ERR_INVALID_BASE 0x0000000E
43 #define RM_ERR_INVALID_CHANNEL 0x0000000F
44 #define RM_ERR_INVALID_CLASS 0x00000010
45 #define RM_ERR_INVALID_CLIENT 0x00000011
46 #define RM_ERR_INVALID_COMMAND 0x00000012
47 #define RM_ERR_INVALID_DATA 0x00000013
48 #define RM_ERR_INVALID_DEVICE 0x00000014
49 #define RM_ERR_INVALID_DMA_SPECIFIER 0x00000015
50 #define RM_ERR_INVALID_EVENT 0x00000016
51 #define RM_ERR_INVALID_FLAGS 0x00000017
52 #define RM_ERR_INVALID_FUNCTION 0x00000018
53 #define RM_ERR_INVALID_HEAP 0x00000019
54 #define RM_ERR_INVALID_INDEX 0x0000001A
55 #define RM_ERR_INVALID_LIMIT 0x0000001B
56 #define RM_ERR_INVALID_METHOD 0x0000001C
57 #define RM_ERR_INVALID_OBJECT 0x0000001D
58 #define RM_ERR_INVALID_OBJECT_BUFFER 0x0000001E
59 #define RM_ERR_INVALID_OBJECT_ERROR 0x0000001F
60 #define RM_ERR_INVALID_OBJECT_HANDLE 0x00000020
61 #define RM_ERR_INVALID_OBJECT_OLD 0x00000021
62 #define RM_ERR_INVALID_OBJECT_PARENT 0x00000022
63 #define RM_ERR_INVALID_OFFSET 0x00000023
64 #define RM_ERR_INVALID_OWNER 0x00000024
65 #define RM_ERR_INVALID_PARAM_STRUCT 0x00000025
66 #define RM_ERR_INVALID_POINTER 0x00000026
67 #define RM_ERR_INVALID_READ 0x00000027
68 #define RM_ERR_INVALID_STATE 0x00000028
69 #define RM_ERR_INVALID_WRITE 0x00000029
70 #define RM_ERR_INVALID_XLATE 0x0000002A
71 #define RM_ERR_IRQ_NOT_FIRING 0x0000002B
72 #define RM_ERR_MULTIPLE_MEMORY_TYPES 0x0000002C
73 #define RM_ERR_NO_FREE_FIFOS 0x0000002D
74 #define RM_ERR_NO_FREE_MEM 0x0000002E
75 #define RM_ERR_NOT_SUPPORTED 0x0000002F
76 #define RM_ERR_OBJECT_NOT_FOUND 0x00000030
77 #define RM_ERR_OBJECT_TYPE_MISMATCH 0x00000031
78 #define RM_ERR_OPERATING_SYSTEM 0x00000032
79 #define RM_ERR_OTHER_DEVICE_FOUND 0x00000033
80 #define RM_ERR_CALLBACK_NOT_SCHEDULED 0x00000034
81 #define RM_ERR_PAGE_TABLE_NOT_AVAIL 0x00000035
82 #define RM_ERR_PROTECTION_FAULT 0x00000036
83 #define RM_ERR_STATE_IN_USE 0x00000037
84 #define RM_ERR_TIMEOUT 0x00000038
85 #define RM_ERR_BUFFER_TOO_SMALL 0x00000039
86 #define RM_ERR_NO_SUCH_DOMAIN 0x0000003A
87 #define RM_ERR_I2C_ERROR 0x0000003B
88 #define RM_ERR_FREQ_NOT_SUPPORTED 0x0000003C
89 #define RM_ERR_INVALID_REQUEST 0x0000003C
90 #define RM_ERR_MORE_PROCESSING_REQUIRED 0x0000003D
91 #define RM_WARN_NULL_OBJECT 0x00000100
93 #endif /* _RMRETVAL_H_ */