nv4ref.h
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:185k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  1. #define NV_PGRAPH_FFINTFC_ST2_D                          0x00400758 /* RW-4R */
  2. #define NV_PGRAPH_FFINTFC_ST2_D_ARGUMENT                       31:0 /* RWIVF */
  3. #define NV_PGRAPH_FFINTFC_ST2_D_ARGUMENT_0               0x00000000 /* RWI-V */
  4. #define NV_PGRAPH_STATUS                                 0x00400700 /* R--4R */
  5. #define NV_PGRAPH_STATUS_STATE                                  0:0 /* R-IVF */
  6. #define NV_PGRAPH_STATUS_STATE_IDLE                      0x00000000 /* R-I-V */
  7. #define NV_PGRAPH_STATUS_STATE_BUSY                      0x00000001 /* R---V */
  8. #define NV_PGRAPH_STATUS_XY_LOGIC                               4:4 /* R-IVF */
  9. #define NV_PGRAPH_STATUS_XY_LOGIC_IDLE                   0x00000000 /* R-I-V */
  10. #define NV_PGRAPH_STATUS_XY_LOGIC_BUSY                   0x00000001 /* R---V */
  11. #define NV_PGRAPH_STATUS_FE                                     5:5 /* R-IVF */
  12. #define NV_PGRAPH_STATUS_FE_IDLE                         0x00000000 /* R-I-V */
  13. #define NV_PGRAPH_STATUS_FE_BUSY                         0x00000001 /* R---V */
  14. #define NV_PGRAPH_STATUS_RASTERIZER                             6:6 /* R-IVF */
  15. #define NV_PGRAPH_STATUS_RASTERIZER_IDLE                 0x00000000 /* R-I-V */
  16. #define NV_PGRAPH_STATUS_RASTERIZER_BUSY                 0x00000001 /* R---V */
  17. #define NV_PGRAPH_STATUS_PORT_NOTIFY                            8:8 /* R-IVF */
  18. #define NV_PGRAPH_STATUS_PORT_NOTIFY_IDLE                0x00000000 /* R-I-V */
  19. #define NV_PGRAPH_STATUS_PORT_NOTIFY_BUSY                0x00000001 /* R---V */
  20. #define NV_PGRAPH_STATUS_PORT_REGISTER                        12:12 /* R-IVF */
  21. #define NV_PGRAPH_STATUS_PORT_REGISTER_IDLE              0x00000000 /* R-I-V */
  22. #define NV_PGRAPH_STATUS_PORT_REGISTER_BUSY              0x00000001 /* R---V */
  23. #define NV_PGRAPH_STATUS_PORT_DMA                             16:16 /* R-IVF */
  24. #define NV_PGRAPH_STATUS_PORT_DMA_IDLE                   0x00000000 /* R-I-V */
  25. #define NV_PGRAPH_STATUS_PORT_DMA_BUSY                   0x00000001 /* R---V */
  26. #define NV_PGRAPH_STATUS_DMA_ENGINE                           17:17 /* R-IVF */
  27. #define NV_PGRAPH_STATUS_DMA_ENGINE_IDLE                 0x00000000 /* R-I-V */
  28. #define NV_PGRAPH_STATUS_DMA_ENGINE_BUSY                 0x00000001 /* R---V */
  29. #define NV_PGRAPH_STATUS_DMA_NOTIFY                           20:20 /* R-IVF */
  30. #define NV_PGRAPH_STATUS_DMA_NOTIFY_IDLE                 0x00000000 /* R-I-V */
  31. #define NV_PGRAPH_STATUS_DMA_NOTIFY_BUSY                 0x00000001 /* R---V */
  32. #define NV_PGRAPH_STATUS_DMA_BUFFER_NOTIFY                    21:21 /* R-IVF */
  33. #define NV_PGRAPH_STATUS_DMA_BUFFER_NOTIFY_IDLE          0x00000000 /* R-I-V */
  34. #define NV_PGRAPH_STATUS_DMA_BUFFER_NOTIFY_BUSY          0x00000001 /* R---V */
  35. #define NV_PGRAPH_STATUS_D3D                                  24:24 /* R-IVF */
  36. #define NV_PGRAPH_STATUS_D3D_IDLE                        0x00000000 /* R-I-V */
  37. #define NV_PGRAPH_STATUS_D3D_BUSY                        0x00000001 /* R---V */
  38. #define NV_PGRAPH_STATUS_CACHE                                25:25 /* R-IVF */
  39. #define NV_PGRAPH_STATUS_CACHE_IDLE                      0x00000000 /* R-I-V */
  40. #define NV_PGRAPH_STATUS_CACHE_BUSY                      0x00000001 /* R---V */
  41. #define NV_PGRAPH_STATUS_LIGHTING                             26:26 /* R-IVF */
  42. #define NV_PGRAPH_STATUS_LIGHTING_IDLE                   0x00000000 /* R-I-V */
  43. #define NV_PGRAPH_STATUS_LIGHTING_BUSY                   0x00000001 /* R---V */
  44. #define NV_PGRAPH_STATUS_PREROP                               27:27 /* R-IVF */
  45. #define NV_PGRAPH_STATUS_PREROP_IDLE                     0x00000000 /* R-I-V */
  46. #define NV_PGRAPH_STATUS_PREROP_BUSY                     0x00000001 /* R---V */
  47. #define NV_PGRAPH_STATUS_ROP                                  28:28 /* R-IVF */
  48. #define NV_PGRAPH_STATUS_ROP_IDLE                        0x00000000 /* R-I-V */
  49. #define NV_PGRAPH_STATUS_ROP_BUSY                        0x00000001 /* R---V */
  50. #define NV_PGRAPH_STATUS_PORT_USER                            29:29 /* R-IVF */
  51. #define NV_PGRAPH_STATUS_PORT_USER_IDLE                  0x00000000 /* R-I-V */
  52. #define NV_PGRAPH_STATUS_PORT_USER_BUSY                  0x00000001 /* R---V */
  53. #define NV_PGRAPH_TRAPPED_ADDR                           0x00400704 /* R--4R */
  54. #define NV_PGRAPH_TRAPPED_ADDR_MTHD                            12:2 /* R-XUF */
  55. #define NV_PGRAPH_TRAPPED_ADDR_SUBCH                          15:13 /* R-XUF */
  56. #define NV_PGRAPH_TRAPPED_ADDR_CHID                           27:24 /* R-XUF */
  57. #define NV_PGRAPH_TRAPPED_DATA                           0x00400708 /* R--4R */
  58. #define NV_PGRAPH_TRAPPED_DATA_VALUE                           31:0 /* R-XVF */
  59. #define NV_PGRAPH_SURFACE                                0x0040070C /* RW-4R */
  60. #define NV_PGRAPH_SURFACE_TYPE                                  1:0 /* RWIVF */
  61. #define NV_PGRAPH_SURFACE_TYPE_INVALID                   0x00000000 /* RWI-V */
  62. #define NV_PGRAPH_SURFACE_TYPE_NON_SWIZZLE               0x00000001 /* RW--V */
  63. #define NV_PGRAPH_SURFACE_TYPE_SWIZZLE                   0x00000002 /* RW--V */
  64. #define NV_PGRAPH_NOTIFY                                 0x00400714 /* RW-4R */
  65. #define NV_PGRAPH_NOTIFY_BUFFER_REQ                             0:0 /* RWIVF */
  66. #define NV_PGRAPH_NOTIFY_BUFFER_REQ_NOT_PENDING          0x00000000 /* RWI-V */
  67. #define NV_PGRAPH_NOTIFY_BUFFER_REQ_PENDING              0x00000001 /* RW--V */
  68. #define NV_PGRAPH_NOTIFY_BUFFER_STYLE                           8:8 /* RWIVF */
  69. #define NV_PGRAPH_NOTIFY_BUFFER_STYLE_WRITE_ONLY         0x00000000 /* RWI-V */
  70. #define NV_PGRAPH_NOTIFY_BUFFER_STYLE_WRITE_THEN_AWAKEN  0x00000001 /* RW--V */
  71. #define NV_PGRAPH_NOTIFY_REQ                                  16:16 /* RWIVF */
  72. #define NV_PGRAPH_NOTIFY_REQ_NOT_PENDING                 0x00000000 /* RWI-V */
  73. #define NV_PGRAPH_NOTIFY_REQ_PENDING                     0x00000001 /* RW--V */
  74. #define NV_PGRAPH_NOTIFY_STYLE                                20:20 /* RWIVF */
  75. #define NV_PGRAPH_NOTIFY_STYLE_WRITE_ONLY                0x00000000 /* RWI-V */
  76. #define NV_PGRAPH_NOTIFY_STYLE_WRITE_THEN_AWAKEN         0x00000001 /* RW--V */
  77. #define NV_PGRAPH_BOFFSET(i)                     (0x00400640+(i)*4) /* RW-4A */
  78. #define NV_PGRAPH_BOFFSET__SIZE_1                                 6 /*       */
  79. #define NV_PGRAPH_BOFFSET_LINADRS                              23:0 /* RWIUF */
  80. #define NV_PGRAPH_BOFFSET_LINADRS_0                      0x00000000 /* RWI-V */
  81. #define NV_PGRAPH_BOFFSET0                               0x00400640 /* RW-4R */
  82. #define NV_PGRAPH_BOFFSET0__ALIAS_1            NV_PGRAPH_BOFFSET(0) /*       */
  83. #define NV_PGRAPH_BOFFSET0_LINADRS                             23:0 /* RWIUF */
  84. #define NV_PGRAPH_BOFFSET0_LINADRS_0                     0x00000000 /* RWI-V */
  85. #define NV_PGRAPH_BOFFSET1                               0x00400644 /* RW-4R */
  86. #define NV_PGRAPH_BOFFSET1__ALIAS_1            NV_PGRAPH_BOFFSET(1) /*       */
  87. #define NV_PGRAPH_BOFFSET1_LINADRS                             23:0 /* RWIUF */
  88. #define NV_PGRAPH_BOFFSET1_LINADRS_0                     0x00000000 /* RWI-V */
  89. #define NV_PGRAPH_BOFFSET2                               0x00400648 /* RW-4R */
  90. #define NV_PGRAPH_BOFFSET2__ALIAS_1            NV_PGRAPH_BOFFSET(2) /*       */
  91. #define NV_PGRAPH_BOFFSET2_LINADRS                             23:0 /* RWIUF */
  92. #define NV_PGRAPH_BOFFSET2_LINADRS_0                     0x00000000 /* RWI-V */
  93. #define NV_PGRAPH_BOFFSET3                               0x0040064C /* RW-4R */
  94. #define NV_PGRAPH_BOFFSET3__ALIAS_1            NV_PGRAPH_BOFFSET(3) /*       */
  95. #define NV_PGRAPH_BOFFSET3_LINADRS                             23:0 /* RWIUF */
  96. #define NV_PGRAPH_BOFFSET3_LINADRS_0                     0x00000000 /* RWI-V */
  97. #define NV_PGRAPH_BOFFSET4                               0x00400650 /* RW-4R */
  98. #define NV_PGRAPH_BOFFSET4__ALIAS_1            NV_PGRAPH_BOFFSET(4) /*       */
  99. #define NV_PGRAPH_BOFFSET4_LINADRS                             23:0 /* RWIUF */
  100. #define NV_PGRAPH_BOFFSET4_LINADRS_0                     0x00000000 /* RWI-V */
  101. #define NV_PGRAPH_BOFFSET5                               0x00400654 /* RW-4R */
  102. #define NV_PGRAPH_BOFFSET5__ALIAS_1            NV_PGRAPH_BOFFSET(5) /*       */
  103. #define NV_PGRAPH_BOFFSET5_LINADRS                             23:0 /* RWIUF */
  104. #define NV_PGRAPH_BOFFSET5_LINADRS_0                     0x00000000 /* RWI-V */
  105. #define NV_PGRAPH_BBASE(i)                       (0x00400658+(i)*4) /* RW-4A */
  106. #define NV_PGRAPH_BBASE__SIZE_1                                   6 /*       */
  107. #define NV_PGRAPH_BBASE_LINADRS                                23:0 /* RWIUF */
  108. #define NV_PGRAPH_BBASE_LINADRS_0                        0x00000000 /* RWI-V */
  109. #define NV_PGRAPH_BBASE0                                 0x00400658 /* RW-4R */
  110. #define NV_PGRAPH_BBASE0__ALIAS_1                NV_PGRAPH_BBASE(0) /*       */
  111. #define NV_PGRAPH_BBASE0_LINADRS                               23:0 /* RWIUF */
  112. #define NV_PGRAPH_BBASE0_LINADRS_0                       0x00000000 /* RWI-V */
  113. #define NV_PGRAPH_BBASE1                                 0x0040065c /* RW-4R */
  114. #define NV_PGRAPH_BBASE1__ALIAS_1                NV_PGRAPH_BBASE(1) /*       */
  115. #define NV_PGRAPH_BBASE1_LINADRS                               23:0 /* RWIUF */
  116. #define NV_PGRAPH_BBASE1_LINADRS_0                       0x00000000 /* RWI-V */
  117. #define NV_PGRAPH_BBASE2                                 0x00400660 /* RW-4R */
  118. #define NV_PGRAPH_BBASE2__ALIAS_1                NV_PGRAPH_BBASE(2) /*       */
  119. #define NV_PGRAPH_BBASE2_LINADRS                               23:0 /* RWIUF */
  120. #define NV_PGRAPH_BBASE2_LINADRS_0                       0x00000000 /* RWI-V */
  121. #define NV_PGRAPH_BBASE3                                 0x00400664 /* RW-4R */
  122. #define NV_PGRAPH_BBASE3__ALIAS_1                NV_PGRAPH_BBASE(3) /*       */
  123. #define NV_PGRAPH_BBASE3_LINADRS                               23:0 /* RWIUF */
  124. #define NV_PGRAPH_BBASE3_LINADRS_0                       0x00000000 /* RWI-V */
  125. #define NV_PGRAPH_BBASE4                                 0x00400668 /* RW-4R */
  126. #define NV_PGRAPH_BBASE4__ALIAS_1                NV_PGRAPH_BBASE(4) /*       */
  127. #define NV_PGRAPH_BBASE4_LINADRS                               23:0 /* RWIUF */
  128. #define NV_PGRAPH_BBASE4_LINADRS_0                       0x00000000 /* RWI-V */
  129. #define NV_PGRAPH_BBASE5                                 0x0040066C /* RW-4R */
  130. #define NV_PGRAPH_BBASE5__ALIAS_1                NV_PGRAPH_BBASE(5) /*       */
  131. #define NV_PGRAPH_BBASE5_LINADRS                               23:0 /* RWIUF */
  132. #define NV_PGRAPH_BBASE5_LINADRS_0                       0x00000000 /* RWI-V */
  133. #define NV_PGRAPH_BPITCH(i)                      (0x00400670+(i)*4) /* RW-4A */
  134. #define NV_PGRAPH_BPITCH__SIZE_1                                  5 /*       */
  135. #define NV_PGRAPH_BPITCH_VALUE                                 12:0 /* RWIUF */
  136. #define NV_PGRAPH_BPITCH_VALUE_0                         0x00000000 /* RWI-V */
  137. #define NV_PGRAPH_BPITCH0                                0x00400670 /* RW-4R */
  138. #define NV_PGRAPH_BPITCH0__ALIAS_1              NV_PGRAPH_BPITCH(0) /*       */
  139. #define NV_PGRAPH_BPITCH0_VALUE                                12:0 /* RWIUF */
  140. #define NV_PGRAPH_BPITCH0_VALUE_0                        0x00000000 /* RWI-V */
  141. #define NV_PGRAPH_BPITCH1                                0x00400674 /* RW-4R */
  142. #define NV_PGRAPH_BPITCH1__ALIAS_1              NV_PGRAPH_BPITCH(1) /*       */
  143. #define NV_PGRAPH_BPITCH1_VALUE                                12:0 /* RWIUF */
  144. #define NV_PGRAPH_BPITCH1_VALUE_0                        0x00000000 /* RWI-V */
  145. #define NV_PGRAPH_BPITCH2                                0x00400678 /* RW-4R */
  146. #define NV_PGRAPH_BPITCH2__ALIAS_1              NV_PGRAPH_BPITCH(2) /*       */
  147. #define NV_PGRAPH_BPITCH2_VALUE                                12:0 /* RWIUF */
  148. #define NV_PGRAPH_BPITCH2_VALUE_0                        0x00000000 /* RWI-V */
  149. #define NV_PGRAPH_BPITCH3                                0x0040067C /* RW-4R */
  150. #define NV_PGRAPH_BPITCH3__ALIAS_1              NV_PGRAPH_BPITCH(3) /*       */
  151. #define NV_PGRAPH_BPITCH3_VALUE                                12:0 /* RWIUF */
  152. #define NV_PGRAPH_BPITCH3_VALUE_0                        0x00000000 /* RWI-V */
  153. #define NV_PGRAPH_BPITCH4                                0x00400680 /* RW-4R */
  154. #define NV_PGRAPH_BPITCH4__ALIAS_1              NV_PGRAPH_BPITCH(4) /*       */
  155. #define NV_PGRAPH_BPITCH4_VALUE                                12:0 /* RWIUF */
  156. #define NV_PGRAPH_BPITCH4_VALUE_0                        0x00000000 /* RWI-V */
  157. #define NV_PGRAPH_BLIMIT(i)                      (0x00400684+(i)*4) /* RW-4A */
  158. #define NV_PGRAPH_BLIMIT__SIZE_1                                  6 /*       */
  159. #define NV_PGRAPH_BLIMIT_VALUE                                 23:0 /* RWXUF */
  160. #define NV_PGRAPH_BLIMIT_TYPE                                 31:31 /* RWIVF */
  161. #define NV_PGRAPH_BLIMIT_TYPE_IN_MEMORY                  0x00000000 /* RW--V */
  162. #define NV_PGRAPH_BLIMIT_TYPE_NULL                       0x00000001 /* RWI-V */
  163. #define NV_PGRAPH_BLIMIT0                                0x00400684 /* RW-4R */
  164. #define NV_PGRAPH_BLIMIT0__ALIAS_1              NV_PGRAPH_BLIMIT(0) /*       */
  165. #define NV_PGRAPH_BLIMIT0_VALUE                                23:0 /* RWXUF */
  166. #define NV_PGRAPH_BLIMIT0_TYPE                                31:31 /* RWIVF */
  167. #define NV_PGRAPH_BLIMIT0_TYPE_IN_MEMORY                 0x00000000 /* RW--V */
  168. #define NV_PGRAPH_BLIMIT0_TYPE_NULL                      0x00000001 /* RWI-V */
  169. #define NV_PGRAPH_BLIMIT1                                0x00400688 /* RW-4R */
  170. #define NV_PGRAPH_BLIMIT1__ALIAS_1              NV_PGRAPH_BLIMIT(1) /*       */
  171. #define NV_PGRAPH_BLIMIT1_VALUE                                23:0 /* RWXUF */
  172. #define NV_PGRAPH_BLIMIT1_TYPE                                31:31 /* RWIVF */
  173. #define NV_PGRAPH_BLIMIT1_TYPE_IN_MEMORY                 0x00000000 /* RW--V */
  174. #define NV_PGRAPH_BLIMIT1_TYPE_NULL                      0x00000001 /* RWI-V */
  175. #define NV_PGRAPH_BLIMIT2                                0x0040068c /* RW-4R */
  176. #define NV_PGRAPH_BLIMIT2__ALIAS_1              NV_PGRAPH_BLIMIT(2) /*       */
  177. #define NV_PGRAPH_BLIMIT2_VALUE                                23:0 /* RWXUF */
  178. #define NV_PGRAPH_BLIMIT2_TYPE                                31:31 /* RWIVF */
  179. #define NV_PGRAPH_BLIMIT2_TYPE_IN_MEMORY                 0x00000000 /* RW--V */
  180. #define NV_PGRAPH_BLIMIT2_TYPE_NULL                      0x00000001 /* RWI-V */
  181. #define NV_PGRAPH_BLIMIT3                                0x00400690 /* RW-4R */
  182. #define NV_PGRAPH_BLIMIT3__ALIAS_1              NV_PGRAPH_BLIMIT(3) /*       */
  183. #define NV_PGRAPH_BLIMIT3_VALUE                                23:0 /* RWXUF */
  184. #define NV_PGRAPH_BLIMIT3_TYPE                                31:31 /* RWIVF */
  185. #define NV_PGRAPH_BLIMIT3_TYPE_IN_MEMORY                 0x00000000 /* RW--V */
  186. #define NV_PGRAPH_BLIMIT3_TYPE_NULL                      0x00000001 /* RWI-V */
  187. #define NV_PGRAPH_BLIMIT4                                0x00400694 /* RW-4R */
  188. #define NV_PGRAPH_BLIMIT4__ALIAS_1              NV_PGRAPH_BLIMIT(4) /*       */
  189. #define NV_PGRAPH_BLIMIT4_VALUE                                23:0 /* RWXUF */
  190. #define NV_PGRAPH_BLIMIT4_TYPE                                31:31 /* RWIVF */
  191. #define NV_PGRAPH_BLIMIT4_TYPE_IN_MEMORY                 0x00000000 /* RW--V */
  192. #define NV_PGRAPH_BLIMIT4_TYPE_NULL                      0x00000001 /* RWI-V */
  193. #define NV_PGRAPH_BLIMIT5                                0x00400698 /* RW-4R */
  194. #define NV_PGRAPH_BLIMIT5__ALIAS_1              NV_PGRAPH_BLIMIT(5) /*       */
  195. #define NV_PGRAPH_BLIMIT5_VALUE                                23:0 /* RWXUF */
  196. #define NV_PGRAPH_BLIMIT5_TYPE                                31:31 /* RWIVF */
  197. #define NV_PGRAPH_BLIMIT5_TYPE_IN_MEMORY                 0x00000000 /* RW--V */
  198. #define NV_PGRAPH_BLIMIT5_TYPE_NULL                      0x00000001 /* RWI-V */
  199. #define NV_PGRAPH_BSWIZZLE2                              0x0040069c /* RW-4R */
  200. #define NV_PGRAPH_BSWIZZLE2_WIDTH                             19:16 /* RWIUF */
  201. #define NV_PGRAPH_BSWIZZLE2_WIDTH_0                      0x00000000 /* RWI-V */
  202. #define NV_PGRAPH_BSWIZZLE2_HEIGHT                            27:24 /* RWIUF */
  203. #define NV_PGRAPH_BSWIZZLE2_HEIGHT_0                     0x00000000 /* RWI-V */
  204. #define NV_PGRAPH_BSWIZZLE5                              0x004006a0 /* RW-4R */
  205. #define NV_PGRAPH_BSWIZZLE5_WIDTH                             19:16 /* RWIUF */
  206. #define NV_PGRAPH_BSWIZZLE5_WIDTH_0                      0x00000000 /* RWI-V */
  207. #define NV_PGRAPH_BSWIZZLE5_HEIGHT                            27:24 /* RWIUF */
  208. #define NV_PGRAPH_BSWIZZLE5_HEIGHT_0                     0x00000000 /* RWI-V */
  209. #define NV_PGRAPH_BPIXEL                                 0x00400724 /* RW-4R */
  210. #define NV_PGRAPH_BPIXEL_DEPTH0                                 3:0 /* RWIVF */
  211. #define NV_PGRAPH_BPIXEL_DEPTH0_INVALID                  0x00000000 /* RWI-V */
  212. #define NV_PGRAPH_BPIXEL_DEPTH0_Y8                       0x00000001 /* RW--V */
  213. #define NV_PGRAPH_BPIXEL_DEPTH0_X1R5G5B5_Z1R5G5B5        0x00000002 /* RW--V */
  214. #define NV_PGRAPH_BPIXEL_DEPTH0_X1R5G5B5_O1R5G5B5        0x00000003 /* RW--V */
  215. #define NV_PGRAPH_BPIXEL_DEPTH0_A1R5G5B5                 0x00000004 /* RW--V */
  216. #define NV_PGRAPH_BPIXEL_DEPTH0_R5G6B5                   0x00000005 /* RW--V */
  217. #define NV_PGRAPH_BPIXEL_DEPTH0_Y16                      0x00000006 /* RW--V */
  218. #define NV_PGRAPH_BPIXEL_DEPTH0_X8R8G8B8_Z8R8G8B8        0x00000007 /* RW--V */
  219. #define NV_PGRAPH_BPIXEL_DEPTH0_X8R8G8B8_O1Z7R8G8B8      0x00000008 /* RW--V */
  220. #define NV_PGRAPH_BPIXEL_DEPTH0_X1A7R8G8B8_Z1A7R8G8B8    0x00000009 /* RW--V */
  221. #define NV_PGRAPH_BPIXEL_DEPTH0_X1A7R8G8B8_O1A7R8G8B8    0x0000000a /* RW--V */
  222. #define NV_PGRAPH_BPIXEL_DEPTH0_X8R8G8B8_O8R8G8B8        0x0000000b /* RW--V */
  223. #define NV_PGRAPH_BPIXEL_DEPTH0_A8R8G8B8                 0x0000000c /* RW--V */
  224. #define NV_PGRAPH_BPIXEL_DEPTH0_Y32                      0x0000000d /* RW--V */
  225. #define NV_PGRAPH_BPIXEL_DEPTH0_V8YB8U8YA8               0x0000000e /* RW--V */
  226. #define NV_PGRAPH_BPIXEL_DEPTH0_YB8V8YA8U8               0x0000000f /* RW--V */ 
  227. #define NV_PGRAPH_BPIXEL_DEPTH1                                 7:4 /* RWIVF */
  228. #define NV_PGRAPH_BPIXEL_DEPTH1_INVALID                  0x00000000 /* RWI-V */
  229. #define NV_PGRAPH_BPIXEL_DEPTH1_Y8                       0x00000001 /* RW--V */
  230. #define NV_PGRAPH_BPIXEL_DEPTH1_X1R5G5B5_Z1R5G5B5        0x00000002 /* RW--V */
  231. #define NV_PGRAPH_BPIXEL_DEPTH1_X1R5G5B5_O1R5G5B5        0x00000003 /* RW--V */
  232. #define NV_PGRAPH_BPIXEL_DEPTH1_A1R5G5B5                 0x00000004 /* RW--V */
  233. #define NV_PGRAPH_BPIXEL_DEPTH1_R5G6B5                   0x00000005 /* RW--V */
  234. #define NV_PGRAPH_BPIXEL_DEPTH1_Y16                      0x00000006 /* RW--V */
  235. #define NV_PGRAPH_BPIXEL_DEPTH1_X8R8G8B8_Z8R8G8B8        0x00000007 /* RW--V */
  236. #define NV_PGRAPH_BPIXEL_DEPTH1_X8R8G8B8_O1Z7R8G8B8      0x00000008 /* RW--V */
  237. #define NV_PGRAPH_BPIXEL_DEPTH1_X1A7R8G8B8_Z1A7R8G8B8    0x00000009 /* RW--V */
  238. #define NV_PGRAPH_BPIXEL_DEPTH1_X1A7R8G8B8_O1A7R8G8B8    0x0000000a /* RW--V */
  239. #define NV_PGRAPH_BPIXEL_DEPTH1_X8R8G8B8_O8R8G8B8        0x0000000b /* RW--V */
  240. #define NV_PGRAPH_BPIXEL_DEPTH1_A8R8G8B8                 0x0000000c /* RW--V */
  241. #define NV_PGRAPH_BPIXEL_DEPTH1_Y32                      0x0000000d /* RW--V */
  242. #define NV_PGRAPH_BPIXEL_DEPTH1_V8YB8U8YA8               0x0000000e /* RW--V */
  243. #define NV_PGRAPH_BPIXEL_DEPTH1_YB8V8YA8U8               0x0000000f /* RW--V */ 
  244. #define NV_PGRAPH_BPIXEL_DEPTH2                                11:8 /* RWIVF */
  245. #define NV_PGRAPH_BPIXEL_DEPTH2_INVALID                  0x00000000 /* RWI-V */
  246. #define NV_PGRAPH_BPIXEL_DEPTH2_Y8                       0x00000001 /* RW--V */
  247. #define NV_PGRAPH_BPIXEL_DEPTH2_X1R5G5B5_Z1R5G5B5        0x00000002 /* RW--V */
  248. #define NV_PGRAPH_BPIXEL_DEPTH2_X1R5G5B5_O1R5G5B5        0x00000003 /* RW--V */
  249. #define NV_PGRAPH_BPIXEL_DEPTH2_A1R5G5B5                 0x00000004 /* RW--V */
  250. #define NV_PGRAPH_BPIXEL_DEPTH2_R5G6B5                   0x00000005 /* RW--V */
  251. #define NV_PGRAPH_BPIXEL_DEPTH2_Y16                      0x00000006 /* RW--V */
  252. #define NV_PGRAPH_BPIXEL_DEPTH2_X8R8G8B8_Z8R8G8B8        0x00000007 /* RW--V */
  253. #define NV_PGRAPH_BPIXEL_DEPTH2_X8R8G8B8_O1Z7R8G8B8      0x00000008 /* RW--V */
  254. #define NV_PGRAPH_BPIXEL_DEPTH2_X1A7R8G8B8_Z1A7R8G8B8    0x00000009 /* RW--V */
  255. #define NV_PGRAPH_BPIXEL_DEPTH2_X1A7R8G8B8_O1A7R8G8B8    0x0000000a /* RW--V */
  256. #define NV_PGRAPH_BPIXEL_DEPTH2_X8R8G8B8_O8R8G8B8        0x0000000b /* RW--V */
  257. #define NV_PGRAPH_BPIXEL_DEPTH2_A8R8G8B8                 0x0000000c /* RW--V */
  258. #define NV_PGRAPH_BPIXEL_DEPTH2_Y32                      0x0000000d /* RW--V */
  259. #define NV_PGRAPH_BPIXEL_DEPTH2_V8YB8U8YA8               0x0000000e /* RW--V */
  260. #define NV_PGRAPH_BPIXEL_DEPTH2_YB8V8YA8U8               0x0000000f /* RW--V */ 
  261. #define NV_PGRAPH_BPIXEL_DEPTH3                               15:12 /* RWIVF */
  262. #define NV_PGRAPH_BPIXEL_DEPTH3_INVALID                  0x00000000 /* RWI-V */
  263. #define NV_PGRAPH_BPIXEL_DEPTH3_Y8                       0x00000001 /* RW--V */
  264. #define NV_PGRAPH_BPIXEL_DEPTH3_X1R5G5B5_Z1R5G5B5        0x00000002 /* RW--V */
  265. #define NV_PGRAPH_BPIXEL_DEPTH3_X1R5G5B5_O1R5G5B5        0x00000003 /* RW--V */
  266. #define NV_PGRAPH_BPIXEL_DEPTH3_A1R5G5B5                 0x00000004 /* RW--V */
  267. #define NV_PGRAPH_BPIXEL_DEPTH3_R5G6B5                   0x00000005 /* RW--V */
  268. #define NV_PGRAPH_BPIXEL_DEPTH3_Y16                      0x00000006 /* RW--V */
  269. #define NV_PGRAPH_BPIXEL_DEPTH3_X8R8G8B8_Z8R8G8B8        0x00000007 /* RW--V */
  270. #define NV_PGRAPH_BPIXEL_DEPTH3_X8R8G8B8_O1Z7R8G8B8      0x00000008 /* RW--V */
  271. #define NV_PGRAPH_BPIXEL_DEPTH3_X1A7R8G8B8_Z1A7R8G8B8    0x00000009 /* RW--V */
  272. #define NV_PGRAPH_BPIXEL_DEPTH3_X1A7R8G8B8_O1A7R8G8B8    0x0000000a /* RW--V */
  273. #define NV_PGRAPH_BPIXEL_DEPTH3_X8R8G8B8_O8R8G8B8        0x0000000b /* RW--V */
  274. #define NV_PGRAPH_BPIXEL_DEPTH3_A8R8G8B8                 0x0000000c /* RW--V */
  275. #define NV_PGRAPH_BPIXEL_DEPTH3_Y32                      0x0000000d /* RW--V */
  276. #define NV_PGRAPH_BPIXEL_DEPTH3_V8YB8U8YA8               0x0000000e /* RW--V */
  277. #define NV_PGRAPH_BPIXEL_DEPTH3_YB8V8YA8U8               0x0000000f /* RW--V */ 
  278. #define NV_PGRAPH_BPIXEL_DEPTH4                               19:16 /* RWIVF */
  279. #define NV_PGRAPH_BPIXEL_DEPTH4_INVALID                  0x00000000 /* RWI-V */
  280. #define NV_PGRAPH_BPIXEL_DEPTH4_Y8                       0x00000001 /* RW--V */
  281. #define NV_PGRAPH_BPIXEL_DEPTH4_X1R5G5B5_Z1R5G5B5        0x00000002 /* RW--V */
  282. #define NV_PGRAPH_BPIXEL_DEPTH4_X1R5G5B5_O1R5G5B5        0x00000003 /* RW--V */
  283. #define NV_PGRAPH_BPIXEL_DEPTH4_A1R5G5B5                 0x00000004 /* RW--V */
  284. #define NV_PGRAPH_BPIXEL_DEPTH4_R5G6B5                   0x00000005 /* RW--V */
  285. #define NV_PGRAPH_BPIXEL_DEPTH4_Y16                      0x00000006 /* RW--V */
  286. #define NV_PGRAPH_BPIXEL_DEPTH4_X8R8G8B8_Z8R8G8B8        0x00000007 /* RW--V */
  287. #define NV_PGRAPH_BPIXEL_DEPTH4_X8R8G8B8_O1Z7R8G8B8      0x00000008 /* RW--V */
  288. #define NV_PGRAPH_BPIXEL_DEPTH4_X1A7R8G8B8_Z1A7R8G8B8    0x00000009 /* RW--V */
  289. #define NV_PGRAPH_BPIXEL_DEPTH4_X1A7R8G8B8_O1A7R8G8B8    0x0000000a /* RW--V */
  290. #define NV_PGRAPH_BPIXEL_DEPTH4_X8R8G8B8_O8R8G8B8        0x0000000b /* RW--V */
  291. #define NV_PGRAPH_BPIXEL_DEPTH4_A8R8G8B8                 0x0000000c /* RW--V */
  292. #define NV_PGRAPH_BPIXEL_DEPTH4_Y32                      0x0000000d /* RW--V */
  293. #define NV_PGRAPH_BPIXEL_DEPTH4_V8YB8U8YA8               0x0000000e /* RW--V */
  294. #define NV_PGRAPH_BPIXEL_DEPTH4_YB8V8YA8U8               0x0000000f /* RW--V */ 
  295. #define NV_PGRAPH_BPIXEL_DEPTH5                               23:20 /* RWIVF */
  296. #define NV_PGRAPH_BPIXEL_DEPTH5_INVALID                  0x00000000 /* RWI-V */
  297. #define NV_PGRAPH_BPIXEL_DEPTH5_Y8                       0x00000001 /* RW--V */
  298. #define NV_PGRAPH_BPIXEL_DEPTH5_X1R5G5B5_Z1R5G5B5        0x00000002 /* RW--V */
  299. #define NV_PGRAPH_BPIXEL_DEPTH5_X1R5G5B5_O1R5G5B5        0x00000003 /* RW--V */
  300. #define NV_PGRAPH_BPIXEL_DEPTH5_A1R5G5B5                 0x00000004 /* RW--V */
  301. #define NV_PGRAPH_BPIXEL_DEPTH5_R5G6B5                   0x00000005 /* RW--V */
  302. #define NV_PGRAPH_BPIXEL_DEPTH5_Y16                      0x00000006 /* RW--V */
  303. #define NV_PGRAPH_BPIXEL_DEPTH5_X8R8G8B8_Z8R8G8B8        0x00000007 /* RW--V */
  304. #define NV_PGRAPH_BPIXEL_DEPTH5_X8R8G8B8_O1Z7R8G8B8      0x00000008 /* RW--V */
  305. #define NV_PGRAPH_BPIXEL_DEPTH5_X1A7R8G8B8_Z1A7R8G8B8    0x00000009 /* RW--V */
  306. #define NV_PGRAPH_BPIXEL_DEPTH5_X1A7R8G8B8_O1A7R8G8B8    0x0000000a /* RW--V */
  307. #define NV_PGRAPH_BPIXEL_DEPTH5_X8R8G8B8_O8R8G8B8        0x0000000b /* RW--V */
  308. #define NV_PGRAPH_BPIXEL_DEPTH5_A8R8G8B8                 0x0000000c /* RW--V */
  309. #define NV_PGRAPH_BPIXEL_DEPTH5_Y32                      0x0000000d /* RW--V */
  310. #define NV_PGRAPH_BPIXEL_DEPTH5_V8YB8U8YA8               0x0000000e /* RW--V */
  311. #define NV_PGRAPH_BPIXEL_DEPTH5_YB8V8YA8U8               0x0000000f /* RW--V */ 
  312. #define NV_PGRAPH_LIMIT_VIOL_PIX                         0x00400610 /* RW-4R */
  313. #define NV_PGRAPH_LIMIT_VIOL_PIX_ADRS                          23:0 /* RWIVF */
  314. #define NV_PGRAPH_LIMIT_VIOL_PIX_ADRS_0                  0x00000000 /* RWI-V */
  315. #define NV_PGRAPH_LIMIT_VIOL_PIX_BLIT                         29:29 /* RWIVF */
  316. #define NV_PGRAPH_LIMIT_VIOL_PIX_BLIT_NO_VIOL            0x00000000 /* RWI-V */
  317. #define NV_PGRAPH_LIMIT_VIOL_PIX_BLIT_VIOL               0x00000001 /* RW--V */
  318. #define NV_PGRAPH_LIMIT_VIOL_PIX_LIMIT                        30:30 /* RWIVF */
  319. #define NV_PGRAPH_LIMIT_VIOL_PIX_LIMIT_NO_VIOL           0x00000000 /* RWI-V */
  320. #define NV_PGRAPH_LIMIT_VIOL_PIX_LIMIT_VIOL              0x00000001 /* RW--V */
  321. #define NV_PGRAPH_LIMIT_VIOL_PIX_OVRFLW                       31:31 /* RWIVF */
  322. #define NV_PGRAPH_LIMIT_VIOL_PIX_OVRFLW_NO_VIOL          0x00000000 /* RWI-V */
  323. #define NV_PGRAPH_LIMIT_VIOL_PIX_OVRFLW_VIOL             0x00000001 /* RW--V */
  324. #define NV_PGRAPH_LIMIT_VIOL_Z                           0x00400614 /* RW-4R */
  325. #define NV_PGRAPH_LIMIT_VIOL_Z_ADRS                            23:0 /* RWIVF */
  326. #define NV_PGRAPH_LIMIT_VIOL_Z_ADRS_0                    0x00000000 /* RWI-V */
  327. #define NV_PGRAPH_LIMIT_VIOL_Z_LIMIT                          30:30 /* RWIVF */
  328. #define NV_PGRAPH_LIMIT_VIOL_Z_LIMIT_NO_VIOL             0x00000000 /* RWI-V */
  329. #define NV_PGRAPH_LIMIT_VIOL_Z_LIMIT_VIOL                0x00000001 /* RW--V */
  330. #define NV_PGRAPH_LIMIT_VIOL_Z_OVRFLW                         31:31 /* RWIVF */
  331. #define NV_PGRAPH_LIMIT_VIOL_Z_OVRFLW_NO_VIOL            0x00000000 /* RWI-V */
  332. #define NV_PGRAPH_LIMIT_VIOL_Z_OVRFLW_VIOL               0x00000001 /* RW--V */
  333. #define NV_PGRAPH_STATE                                  0x00400710 /* RW-4R */
  334. #define NV_PGRAPH_STATE_BUFFER_0                                0:0 /* RWIVF */
  335. #define NV_PGRAPH_STATE_BUFFER_0_INVALID                 0x00000000 /* RWI-V */
  336. #define NV_PGRAPH_STATE_BUFFER_0_VALID                   0x00000001 /* RW--V */
  337. #define NV_PGRAPH_STATE_BUFFER_1                                1:1 /* RWIVF */
  338. #define NV_PGRAPH_STATE_BUFFER_1_INVALID                 0x00000000 /* RWI-V */
  339. #define NV_PGRAPH_STATE_BUFFER_1_VALID                   0x00000001 /* RW--V */
  340. #define NV_PGRAPH_STATE_BUFFER_2                                2:2 /* RWIVF */
  341. #define NV_PGRAPH_STATE_BUFFER_2_INVALID                 0x00000000 /* RWI-V */
  342. #define NV_PGRAPH_STATE_BUFFER_2_VALID                   0x00000001 /* RW--V */
  343. #define NV_PGRAPH_STATE_BUFFER_3                                3:3 /* RWIVF */
  344. #define NV_PGRAPH_STATE_BUFFER_3_INVALID                 0x00000000 /* RWI-V */
  345. #define NV_PGRAPH_STATE_BUFFER_3_VALID                   0x00000001 /* RW--V */
  346. #define NV_PGRAPH_STATE_BUFFER_4                                4:4 /* RWIVF */
  347. #define NV_PGRAPH_STATE_BUFFER_4_INVALID                 0x00000000 /* RWI-V */
  348. #define NV_PGRAPH_STATE_BUFFER_4_VALID                   0x00000001 /* RW--V */
  349. #define NV_PGRAPH_STATE_BUFFER_5                                5:5 /* RWIVF */
  350. #define NV_PGRAPH_STATE_BUFFER_5_INVALID                 0x00000000 /* RWI-V */
  351. #define NV_PGRAPH_STATE_BUFFER_5_VALID                   0x00000001 /* RW--V */
  352. #define NV_PGRAPH_STATE_PITCH_0                                 8:8 /* RWIVF */
  353. #define NV_PGRAPH_STATE_PITCH_0_INVALID                  0x00000000 /* RWI-V */
  354. #define NV_PGRAPH_STATE_PITCH_0_VALID                    0x00000001 /* RW--V */
  355. #define NV_PGRAPH_STATE_PITCH_1                                 9:9 /* RWIVF */
  356. #define NV_PGRAPH_STATE_PITCH_1_INVALID                  0x00000000 /* RWI-V */
  357. #define NV_PGRAPH_STATE_PITCH_1_VALID                    0x00000001 /* RW--V */
  358. #define NV_PGRAPH_STATE_PITCH_2                               10:10 /* RWIVF */
  359. #define NV_PGRAPH_STATE_PITCH_2_INVALID                  0x00000000 /* RWI-V */
  360. #define NV_PGRAPH_STATE_PITCH_2_VALID                    0x00000001 /* RW--V */
  361. #define NV_PGRAPH_STATE_PITCH_3                               11:11 /* RWIVF */
  362. #define NV_PGRAPH_STATE_PITCH_3_INVALID                  0x00000000 /* RWI-V */
  363. #define NV_PGRAPH_STATE_PITCH_3_VALID                    0x00000001 /* RW--V */
  364. #define NV_PGRAPH_STATE_PITCH_4                               12:12 /* RWIVF */
  365. #define NV_PGRAPH_STATE_PITCH_4_INVALID                  0x00000000 /* RWI-V */
  366. #define NV_PGRAPH_STATE_PITCH_4_VALID                    0x00000001 /* RW--V */
  367. #define NV_PGRAPH_STATE_CHROMA_COLOR                          16:16 /* RWIVF */
  368. #define NV_PGRAPH_STATE_CHROMA_COLOR_INVALID             0x00000000 /* RWI-V */
  369. #define NV_PGRAPH_STATE_CHROMA_COLOR_VALID               0x00000001 /* RW--V */
  370. #define NV_PGRAPH_STATE_CHROMA_COLORFMT                       17:17 /* RWIVF */
  371. #define NV_PGRAPH_STATE_CHROMA_COLORFMT_INVALID          0x00000000 /* RWI-V */
  372. #define NV_PGRAPH_STATE_CHROMA_COLORFMT_VALID            0x00000001 /* RW--V */
  373. #define NV_PGRAPH_STATE_CPATTERN_COLORFMT                     20:20 /* RWIVF */
  374. #define NV_PGRAPH_STATE_CPATTERN_COLORFMT_INVALID        0x00000000 /* RWI-V */
  375. #define NV_PGRAPH_STATE_CPATTERN_COLORFMT_VALID          0x00000001 /* RW--V */
  376. #define NV_PGRAPH_STATE_CPATTERN_MONOFMT                      21:21 /* RWIVF */
  377. #define NV_PGRAPH_STATE_CPATTERN_MONOFMT_INVALID         0x00000000 /* RWI-V */
  378. #define NV_PGRAPH_STATE_CPATTERN_MONOFMT_VALID           0x00000001 /* RW--V */
  379. #define NV_PGRAPH_STATE_CPATTERN_SELECT                       22:22 /* RWIVF */
  380. #define NV_PGRAPH_STATE_CPATTERN_SELECT_INVALID          0x00000000 /* RWI-V */
  381. #define NV_PGRAPH_STATE_CPATTERN_SELECT_VALID            0x00000001 /* RW--V */
  382. #define NV_PGRAPH_STATE_PATTERN_COLOR0                        24:24 /* RWIVF */
  383. #define NV_PGRAPH_STATE_PATTERN_COLOR0_INVALID           0x00000000 /* RWI-V */
  384. #define NV_PGRAPH_STATE_PATTERN_COLOR0_VALID             0x00000001 /* RW--V */
  385. #define NV_PGRAPH_STATE_PATTERN_COLOR1                        25:25 /* RWIVF */
  386. #define NV_PGRAPH_STATE_PATTERN_COLOR1_INVALID           0x00000000 /* RWI-V */
  387. #define NV_PGRAPH_STATE_PATTERN_COLOR1_VALID             0x00000001 /* RW--V */
  388. #define NV_PGRAPH_STATE_PATTERN_PATT0                         26:26 /* RWIVF */
  389. #define NV_PGRAPH_STATE_PATTERN_PATT0_INVALID            0x00000000 /* RWI-V */
  390. #define NV_PGRAPH_STATE_PATTERN_PATT0_VALID              0x00000001 /* RW--V */
  391. #define NV_PGRAPH_STATE_PATTERN_PATT1                         27:27 /* RWIVF */
  392. #define NV_PGRAPH_STATE_PATTERN_PATT1_INVALID            0x00000000 /* RWI-V */
  393. #define NV_PGRAPH_STATE_PATTERN_PATT1_VALID              0x00000001 /* RW--V */
  394. #define NV_PGRAPH_CACHE_INDEX                            0x00400728 /* RW-4R */
  395. #define NV_PGRAPH_CACHE_INDEX_BANK                              2:2 /* RWXVF */
  396. #define NV_PGRAPH_CACHE_INDEX_BANK_10                    0x00000000 /* RW--V */
  397. #define NV_PGRAPH_CACHE_INDEX_BANK_32                    0x00000001 /* RW--V */
  398. #define NV_PGRAPH_CACHE_INDEX_ADRS                             12:3 /* RWXVF */
  399. #define NV_PGRAPH_CACHE_INDEX_ADRS_0                     0x00000000 /* RW--V */
  400. #define NV_PGRAPH_CACHE_INDEX_ADRS_1024                  0x00000400 /* RW--V */
  401. #define NV_PGRAPH_CACHE_INDEX_OP                              14:13 /* RWXVF */
  402. #define NV_PGRAPH_CACHE_INDEX_OP_WR_CACHE                0x00000000 /* RW--V */
  403. #define NV_PGRAPH_CACHE_INDEX_OP_RD_CACHE                0x00000001 /* RW--V */
  404. #define NV_PGRAPH_CACHE_INDEX_OP_RD_INDEX                0x00000002 /* RW--V */
  405. #define NV_PGRAPH_CACHE_RAM                              0x0040072c /* RW-4R */
  406. #define NV_PGRAPH_CACHE_RAM_VALUE                              31:0 /* RWXVF */
  407. #define NV_PGRAPH_DMA_PITCH                              0x00400760 /* RW-4R */
  408. #define NV_PGRAPH_DMA_PITCH_S0                                 15:0 /* RWXSF */
  409. #define NV_PGRAPH_DMA_PITCH_S1                                31:16 /* RWXSF */
  410. #define NV_PGRAPH_DVD_COLORFMT                           0x00400764 /* RW-4R */
  411. #define NV_PGRAPH_DVD_COLORFMT_IMAGE                            5:0 /* RWNVF */
  412. #define NV_PGRAPH_DVD_COLORFMT_IMAGE_FORMAT_INVALID            0x00 /* RWN-V */
  413. #define NV_PGRAPH_DVD_COLORFMT_IMAGE_FORMAT_LE_V8YB8U8YA8      0x12 /* RW--V */
  414. #define NV_PGRAPH_DVD_COLORFMT_IMAGE_FORMAT_LE_YB8V8YA8U8      0x13 /* RW--V */
  415. #define NV_PGRAPH_DVD_COLORFMT_OVLY                             9:8 /* RWNVF */
  416. #define NV_PGRAPH_DVD_COLORFMT_OVLY_FORMAT_INVALID             0x00 /* RWN-V */
  417. #define NV_PGRAPH_DVD_COLORFMT_OVLY_FORMAT_LE_A8Y8U8V8         0x01 /* RW--V */
  418. #define NV_PGRAPH_DVD_COLORFMT_OVLY_FORMAT_LE_A4V6YB6A4U6YA6   0x02 /* RW--V */
  419. #define NV_PGRAPH_DVD_COLORFMT_OVLY_FORMAT_TRANSPARENT         0x03 /* RW--V */
  420. #define NV_PGRAPH_SCALED_FORMAT                          0x00400768 /* RW-4R */
  421. #define NV_PGRAPH_SCALED_FORMAT_ORIGIN                        17:16 /* RWIVF */
  422. #define NV_PGRAPH_SCALED_FORMAT_ORIGIN_INVALID           0x00000000 /* RWI-V */
  423. #define NV_PGRAPH_SCALED_FORMAT_ORIGIN_CENTER            0x00000001 /* RW--V */
  424. #define NV_PGRAPH_SCALED_FORMAT_ORIGIN_CORNER            0x00000002 /* RW--V */
  425. #define NV_PGRAPH_SCALED_FORMAT_INTERPOLATOR                  24:24 /* RWIVF */
  426. #define NV_PGRAPH_SCALED_FORMAT_INTERPOLATOR_ZOH         0x00000000 /* RWI-V */
  427. #define NV_PGRAPH_SCALED_FORMAT_INTERPOLATOR_FOH         0x00000001 /* RW--V */
  428. #define NV_PGRAPH_PATT_COLOR0                            0x00400800 /* RW-4R */
  429. #define NV_PGRAPH_PATT_COLOR0_VALUE                            31:0 /* RWXUF */
  430. #define NV_PGRAPH_PATT_COLOR1                            0x00400804 /* RW-4R */
  431. #define NV_PGRAPH_PATT_COLOR1_VALUE                            31:0 /* RWXUF */
  432. #define NV_PGRAPH_PATT_COLORRAM(i)               (0x00400900+(i)*4) /* R--4A */
  433. #define NV_PGRAPH_PATT_COLORRAM__SIZE_1                          64 /*       */
  434. #define NV_PGRAPH_PATT_COLORRAM_VALUE                          23:0 /* R--UF */
  435. #define NV_PGRAPH_PATTERN(i)                     (0x00400808+(i)*4) /* RW-4A */
  436. #define NV_PGRAPH_PATTERN__SIZE_1                                 2 /*       */
  437. #define NV_PGRAPH_PATTERN_BITMAP                               31:0 /* RWXVF */
  438. #define NV_PGRAPH_PATTERN_SHAPE                          0x00400810 /* RW-4R */
  439. #define NV_PGRAPH_PATTERN_SHAPE_VALUE                           1:0 /* RWXVF */
  440. #define NV_PGRAPH_PATTERN_SHAPE_VALUE_8X_8Y              0x00000000 /* RW--V */
  441. #define NV_PGRAPH_PATTERN_SHAPE_VALUE_64X_1Y             0x00000001 /* RW--V */
  442. #define NV_PGRAPH_PATTERN_SHAPE_VALUE_1X_64Y             0x00000002 /* RW--V */
  443. #define NV_PGRAPH_PATTERN_SHAPE_SELECT                          4:4 /* RWXVF */
  444. #define NV_PGRAPH_PATTERN_SHAPE_SELECT_2COLOR            0x00000000 /* RW--V */
  445. #define NV_PGRAPH_PATTERN_SHAPE_SELECT_FULLCOLOR         0x00000001 /* RW--V */
  446. #define NV_PGRAPH_MONO_COLOR0                            0x00400600 /* RW-4R */
  447. #define NV_PGRAPH_MONO_COLOR0_VALUE                            31:0 /* RWXUF */
  448. #define NV_PGRAPH_ROP3                                   0x00400604 /* RW-4R */
  449. #define NV_PGRAPH_ROP3_VALUE                                    7:0 /* RWXVF */
  450. #define NV_PGRAPH_CHROMA                                 0x00400814 /* RW-4R */
  451. #define NV_PGRAPH_CHROMA_VALUE                                 31:0 /* RWXUF */
  452. #define NV_PGRAPH_BETA_AND                               0x00400608 /* RW-4R */
  453. #define NV_PGRAPH_BETA_AND_VALUE_FRACTION                     30:23 /* RWXUF */
  454. #define NV_PGRAPH_BETA_PREMULT                           0x0040060c /* RW-4R */
  455. #define NV_PGRAPH_BETA_PREMULT_VALUE                           31:0 /* RWXUF */
  456. #define NV_PGRAPH_CONTROL0                               0x00400818 /* RW-4R */
  457. #define NV_PGRAPH_CONTROL1                               0x0040081c /* RW-4R */
  458. #define NV_PGRAPH_CONTROL2                               0x00400820 /* RW-4R */
  459. #define NV_PGRAPH_BLEND                                  0x00400824 /* RW-4R */
  460. #define NV_PGRAPH_DPRAM_INDEX                            0x00400828 /* RW-4R */
  461. #define NV_PGRAPH_DPRAM_INDEX_ADRS                              6:0 /* RWIVF */
  462. #define NV_PGRAPH_DPRAM_INDEX_ADRS_0                     0x00000000 /* RWI-V */
  463. #define NV_PGRAPH_DPRAM_INDEX_SELECT                           10:8 /* RWIVF */
  464. #define NV_PGRAPH_DPRAM_INDEX_SELECT_ADRS_0              0x00000000 /* RWI-V */
  465. #define NV_PGRAPH_DPRAM_INDEX_SELECT_ADRS_1              0x00000001 /* RW--V */
  466. #define NV_PGRAPH_DPRAM_INDEX_SELECT_DATA_0              0x00000002 /* RW--V */
  467. #define NV_PGRAPH_DPRAM_INDEX_SELECT_DATA_1              0x00000003 /* RW--V */
  468. #define NV_PGRAPH_DPRAM_INDEX_SELECT_WE_0                0x00000004 /* RW--V */
  469. #define NV_PGRAPH_DPRAM_INDEX_SELECT_WE_1                0x00000005 /* RW--V */
  470. #define NV_PGRAPH_DPRAM_INDEX_SELECT_ALPHA_0             0x00000006 /* RW--V */
  471. #define NV_PGRAPH_DPRAM_INDEX_SELECT_ALPHA_1             0x00000007 /* RW--V */
  472. #define NV_PGRAPH_DPRAM_DATA                             0x0040082c /* RW-4R */
  473. #define NV_PGRAPH_DPRAM_DATA_VALUE                             31:0 /* RWXVF */
  474. #define NV_PGRAPH_DPRAM_ADRS_0                           0x0040082c /* RW-4R */
  475. #define NV_PGRAPH_DPRAM_ADRS_0__ALIAS_1        NV_PGRAPH_DPRAM_DATA /*       */
  476. #define NV_PGRAPH_DPRAM_ADRS_0_VALUE                           19:0 /* RWXVF */
  477. #define NV_PGRAPH_DPRAM_ADRS_1                           0x0040082c /* RW-4R */
  478. #define NV_PGRAPH_DPRAM_ADRS_1__ALIAS_1        NV_PGRAPH_DPRAM_DATA /*       */
  479. #define NV_PGRAPH_DPRAM_ADRS_1_VALUE                           19:0 /* RWXVF */
  480. #define NV_PGRAPH_DPRAM_DATA_0                           0x0040082c /* RW-4R */
  481. #define NV_PGRAPH_DPRAM_DATA_0__ALIAS_1        NV_PGRAPH_DPRAM_DATA /*       */
  482. #define NV_PGRAPH_DPRAM_DATA_0_VALUE                           31:0 /* RWXVF */
  483. #define NV_PGRAPH_DPRAM_DATA_1                           0x0040082c /* RW-4R */
  484. #define NV_PGRAPH_DPRAM_DATA_1__ALIAS_1        NV_PGRAPH_DPRAM_DATA /*       */
  485. #define NV_PGRAPH_DPRAM_DATA_1_VALUE                           31:0 /* RWXVF */
  486. #define NV_PGRAPH_DPRAM_WE_0                             0x0040082c /* RW-4R */
  487. #define NV_PGRAPH_DPRAM_WE_0__ALIAS_1          NV_PGRAPH_DPRAM_DATA /*       */
  488. #define NV_PGRAPH_DPRAM_WE_0_VALUE                             23:0 /* RWXVF */
  489. #define NV_PGRAPH_DPRAM_WE_1                             0x0040082c /* RW-4R */
  490. #define NV_PGRAPH_DPRAM_WE_1__ALIAS_1          NV_PGRAPH_DPRAM_DATA /*       */
  491. #define NV_PGRAPH_DPRAM_WE_1_VALUE                             23:0 /* RWXVF */
  492. #define NV_PGRAPH_DPRAM_ALPHA_0                          0x0040082c /* RW-4R */
  493. #define NV_PGRAPH_DPRAM_ALPHA_0__ALIAS_1       NV_PGRAPH_DPRAM_DATA /*       */
  494. #define NV_PGRAPH_DPRAM_ALPHA_0_VALUE                          31:0 /* RWXVF */
  495. #define NV_PGRAPH_DPRAM_ALPHA_1                          0x0040082c /* RW-4R */
  496. #define NV_PGRAPH_DPRAM_ALPHA_1__ALIAS_1       NV_PGRAPH_DPRAM_DATA /*       */
  497. #define NV_PGRAPH_DPRAM_ALPHA_1_VALUE                          31:0 /* RWXVF */
  498. #define NV_PGRAPH_STORED_FMT                             0x00400830 /* RW-4R */
  499. #define NV_PGRAPH_STORED_FMT_MONO0                              5:0 /* RWXVF */
  500. #define NV_PGRAPH_STORED_FMT_PATT0                             13:8 /* RWXVF */
  501. #define NV_PGRAPH_STORED_FMT_PATT1                            21:16 /* RWXVF */
  502. #define NV_PGRAPH_STORED_FMT_CHROMA                           29:24 /* RWXVF */
  503. #define NV_PGRAPH_FORMATS                                0x00400618 /* RW-4R */
  504. #define NV_PGRAPH_FORMATS_ROP                                   2:0 /* R-XVF */
  505. #define NV_PGRAPH_FORMATS_ROP_Y8                         0x00000000 /* -W--V */
  506. #define NV_PGRAPH_FORMATS_ROP_RGB15                      0x00000001 /* -W--V */
  507. #define NV_PGRAPH_FORMATS_ROP_RGB16                      0x00000002 /* -W--V */
  508. #define NV_PGRAPH_FORMATS_ROP_Y16                        0x00000003 /* -W--V */
  509. #define NV_PGRAPH_FORMATS_ROP_INVALID                    0x00000004 /* -W--V */
  510. #define NV_PGRAPH_FORMATS_ROP_RGB24                      0x00000005 /* -W--V */
  511. #define NV_PGRAPH_FORMATS_ROP_RGB30                      0x00000006 /* -W--V */
  512. #define NV_PGRAPH_FORMATS_ROP_Y32                        0x00000007 /* -W--V */
  513. #define NV_PGRAPH_FORMATS_SRC                                   9:4 /* R-XVF */
  514. #define NV_PGRAPH_FORMATS_SRC_INVALID                    0x00000000 /* RW--V */
  515. #define NV_PGRAPH_FORMATS_SRC_LE_Y8                      0x00000001 /* RW--V */
  516. #define NV_PGRAPH_FORMATS_SRC_LE_X16A8Y8                 0x00000002 /* RW--V */
  517. #define NV_PGRAPH_FORMATS_SRC_LE_X24Y8                   0x00000003 /* RW--V */
  518. #define NV_PGRAPH_FORMATS_SRC_LE_A1R5G5B5                0x00000006 /* RW--V */
  519. #define NV_PGRAPH_FORMATS_SRC_LE_X1R5G5B5                0x00000007 /* RW--V */
  520. #define NV_PGRAPH_FORMATS_SRC_LE_X16A1R5G5B5             0x00000008 /* RW--V */
  521. #define NV_PGRAPH_FORMATS_SRC_LE_X17R5G5B5               0x00000009 /* RW--V */
  522. #define NV_PGRAPH_FORMATS_SRC_LE_R5G6B5                  0x0000000A /* RW--V */
  523. #define NV_PGRAPH_FORMATS_SRC_LE_A16R5G6B5               0x0000000B /* RW--V */
  524. #define NV_PGRAPH_FORMATS_SRC_LE_X16R5G6B5               0x0000000C /* RW--V */
  525. #define NV_PGRAPH_FORMATS_SRC_LE_A8R8G8B8                0x0000000D /* RW--V */
  526. #define NV_PGRAPH_FORMATS_SRC_LE_X8R8G8B8                0x0000000E /* RW--V */
  527. #define NV_PGRAPH_FORMATS_SRC_LE_Y16                     0x0000000F /* RW--V */
  528. #define NV_PGRAPH_FORMATS_SRC_LE_A16Y16                  0x00000010 /* RW--V */
  529. #define NV_PGRAPH_FORMATS_SRC_LE_X16Y16                  0x00000011 /* RW--V */
  530. #define NV_PGRAPH_FORMATS_SRC_LE_V8YB8U8YA8              0x00000012 /* RW--V */
  531. #define NV_PGRAPH_FORMATS_SRC_LE_YB8V8YA8U8              0x00000013 /* RW--V */
  532. #define NV_PGRAPH_FORMATS_SRC_LE_Y32                     0x00000014 /* RW--V */
  533. #define NV_PGRAPH_FORMATS_FB                                  15:12 /* R-XVF */
  534. #define NV_PGRAPH_FORMATS_FB_INVALID                     0x00000000 /* RWI-V */
  535. #define NV_PGRAPH_FORMATS_FB_Y8                          0x00000001 /* RW--V */
  536. #define NV_PGRAPH_FORMATS_FB_X1R5G5B5_Z1R5G5B5           0x00000002 /* RW--V */
  537. #define NV_PGRAPH_FORMATS_FB_X1R5G5B5_O1R5G5B5           0x00000003 /* RW--V */
  538. #define NV_PGRAPH_FORMATS_FB_A1R5G5B5                    0x00000004 /* RW--V */
  539. #define NV_PGRAPH_FORMATS_FB_R5G6B5                      0x00000005 /* RW--V */
  540. #define NV_PGRAPH_FORMATS_FB_Y16                         0x00000006 /* RW--V */
  541. #define NV_PGRAPH_FORMATS_FB_X8R8G8B8_Z8R8G8B8           0x00000007 /* RW--V */
  542. #define NV_PGRAPH_FORMATS_FB_X8R8G8B8_O1Z7R8G8B8         0x00000008 /* RW--V */
  543. #define NV_PGRAPH_FORMATS_FB_X1A7R8G8B8_Z1A7R8G8B8       0x00000009 /* RW--V */
  544. #define NV_PGRAPH_FORMATS_FB_X1A7R8G8B8_O1A7R8G8B8       0x0000000a /* RW--V */
  545. #define NV_PGRAPH_FORMATS_FB_X8R8G8B8_O8R8G8B8           0x0000000b /* RW--V */
  546. #define NV_PGRAPH_FORMATS_FB_A8R8G8B8                    0x0000000c /* RW--V */
  547. #define NV_PGRAPH_FORMATS_FB_Y32                         0x0000000d /* RW--V */
  548. #define NV_PGRAPH_FORMATS_FB_V8YB8U8YA8                  0x0000000e /* RW--V */
  549. #define NV_PGRAPH_FORMATS_FB_YB8V8YA8U8                  0x0000000f /* RW--V */ 
  550. #define NV_PGRAPH_ABS_X_RAM(i)                   (0x00400400+(i)*4) /* RW-4A */
  551. #define NV_PGRAPH_ABS_X_RAM__SIZE_1                              32 /*       */
  552. #define NV_PGRAPH_ABS_X_RAM_VALUE                              31:0 /* RWXUF */
  553. #define NV_PGRAPH_X_RAM_BPORT(i)                 (0x00400c00+(i)*4) /* R--4A */
  554. #define NV_PGRAPH_X_RAM_BPORT__SIZE_1                            32 /*       */
  555. #define NV_PGRAPH_X_RAM_BPORT_VALUE                            31:0 /* R--UF */
  556. #define NV_PGRAPH_ABS_Y_RAM(i)                   (0x00400480+(i)*4) /* RW-4A */
  557. #define NV_PGRAPH_ABS_Y_RAM__SIZE_1                              32 /*       */
  558. #define NV_PGRAPH_ABS_Y_RAM_VALUE                              31:0 /* RWXUF */
  559. #define NV_PGRAPH_Y_RAM_BPORT(i)                 (0x00400c80+(i)*4) /* R--4A */
  560. #define NV_PGRAPH_Y_RAM_BPORT__SIZE_1                            32 /*       */
  561. #define NV_PGRAPH_Y_RAM_BPORT_VALUE                            31:0 /* R--UF */
  562. #define NV_PGRAPH_XY_LOGIC_MISC0                         0x00400514 /* RW-4R */
  563. #define NV_PGRAPH_XY_LOGIC_MISC0_COUNTER                       17:0 /* RWBUF */
  564. #define NV_PGRAPH_XY_LOGIC_MISC0_COUNTER_0               0x00000000 /* RWB-V */
  565. #define NV_PGRAPH_XY_LOGIC_MISC0_DIMENSION                    20:20 /* RWVVF */
  566. #define NV_PGRAPH_XY_LOGIC_MISC0_DIMENSION_NONZERO       0x00000000 /* RWV-V */
  567. #define NV_PGRAPH_XY_LOGIC_MISC0_DIMENSION_ZERO          0x00000001 /* RW--V */
  568. #define NV_PGRAPH_XY_LOGIC_MISC0_INDEX                        31:28 /* RWBUF */
  569. #define NV_PGRAPH_XY_LOGIC_MISC0_INDEX_0                 0x00000000 /* RWB-V */
  570. #define NV_PGRAPH_XY_LOGIC_MISC1                         0x00400518 /* RW-4R */
  571. #define NV_PGRAPH_XY_LOGIC_MISC1_INITIAL                        0:0 /* RWNVF */
  572. #define NV_PGRAPH_XY_LOGIC_MISC1_INITIAL_NEEDED          0x00000000 /* RWN-V */
  573. #define NV_PGRAPH_XY_LOGIC_MISC1_INITIAL_DONE            0x00000001 /* RW--V */
  574. #define NV_PGRAPH_XY_LOGIC_MISC1_XTRACLIPX                      4:4 /* RWIVF */
  575. #define NV_PGRAPH_XY_LOGIC_MISC1_XTRACLIPX_NOTNULL       0x00000000 /* RWI-V */
  576. #define NV_PGRAPH_XY_LOGIC_MISC1_XTRACLIPX_NULL          0x00000001 /* RW--V */
  577. #define NV_PGRAPH_XY_LOGIC_MISC1_XTRACLIPY                      5:5 /* RWIVF */
  578. #define NV_PGRAPH_XY_LOGIC_MISC1_XTRACLIPY_NOTNULL       0x00000000 /* RWI-V */
  579. #define NV_PGRAPH_XY_LOGIC_MISC1_XTRACLIPY_NULL          0x00000001 /* RW--V */
  580. #define NV_PGRAPH_XY_LOGIC_MISC1_SEL_XIMAX                    12:12 /* RWIVF */
  581. #define NV_PGRAPH_XY_LOGIC_MISC1_SEL_XIMAX_UUMAX         0x00000000 /* RWI-V */
  582. #define NV_PGRAPH_XY_LOGIC_MISC1_SEL_XIMAX_IMAGEMAX      0x00000001 /* RW--V */
  583. #define NV_PGRAPH_XY_LOGIC_MISC1_SEL_YIMAX                    16:16 /* RWIVF */
  584. #define NV_PGRAPH_XY_LOGIC_MISC1_SEL_YIMAX_UUMAX         0x00000000 /* RWI-V */
  585. #define NV_PGRAPH_XY_LOGIC_MISC1_SEL_YIMAX_IMAGEMAX      0x00000001 /* RW--V */
  586. #define NV_PGRAPH_XY_LOGIC_MISC1_SEL_XXTRA                    20:20 /* RWIVF */
  587. #define NV_PGRAPH_XY_LOGIC_MISC1_SEL_XXTRA_CLIPMAX       0x00000000 /* RWI-V */
  588. #define NV_PGRAPH_XY_LOGIC_MISC1_SEL_XXTRA_IMAGEMAX      0x00000001 /* RW--V */
  589. #define NV_PGRAPH_XY_LOGIC_MISC2                         0x0040051C /* RW-4R */
  590. #define NV_PGRAPH_XY_LOGIC_MISC2_HANDOFF                        0:0 /* RWIVF */
  591. #define NV_PGRAPH_XY_LOGIC_MISC2_HANDOFF_DISABLE         0x00000000 /* RWI-V */
  592. #define NV_PGRAPH_XY_LOGIC_MISC2_HANDOFF_ENABLE          0x00000001 /* RW--V */
  593. #define NV_PGRAPH_XY_LOGIC_MISC2_XTRACLIPX                      4:4 /* RWIVF */
  594. #define NV_PGRAPH_XY_LOGIC_MISC2_XTRACLIPX_NOTNULL       0x00000000 /* RWI-V */
  595. #define NV_PGRAPH_XY_LOGIC_MISC2_XTRACLIPX_NULL          0x00000001 /* RW--V */
  596. #define NV_PGRAPH_XY_LOGIC_MISC2_XTRACLIPY                      5:5 /* RWIVF */
  597. #define NV_PGRAPH_XY_LOGIC_MISC2_XTRACLIPY_NOTNULL       0x00000000 /* RWI-V */
  598. #define NV_PGRAPH_XY_LOGIC_MISC2_XTRACLIPY_NULL          0x00000001 /* RW--V */
  599. #define NV_PGRAPH_XY_LOGIC_MISC2_SEL_XIMAX                    12:12 /* RWIVF */
  600. #define NV_PGRAPH_XY_LOGIC_MISC2_SEL_XIMAX_UCMAX         0x00000000 /* RWI-V */
  601. #define NV_PGRAPH_XY_LOGIC_MISC2_SEL_XIMAX_IMAGEMAX      0x00000001 /* RW--V */
  602. #define NV_PGRAPH_XY_LOGIC_MISC2_SEL_YIMAX                    16:16 /* RWIVF */
  603. #define NV_PGRAPH_XY_LOGIC_MISC2_SEL_YIMAX_UCMAX         0x00000000 /* RWI-V */
  604. #define NV_PGRAPH_XY_LOGIC_MISC2_SEL_YIMAX_IMAGEMAX      0x00000001 /* RW--V */
  605. #define NV_PGRAPH_XY_LOGIC_MISC2_SEL_XXTRA                    20:20 /* RWIVF */
  606. #define NV_PGRAPH_XY_LOGIC_MISC2_SEL_XXTRA_CLIPMAX       0x00000000 /* RWI-V */
  607. #define NV_PGRAPH_XY_LOGIC_MISC2_SEL_XXTRA_IMAGEMAX      0x00000001 /* RW--V */
  608. #define NV_PGRAPH_XY_LOGIC_MISC3                         0x00400520 /* RW-4R */
  609. #define NV_PGRAPH_XY_LOGIC_MISC3_WDIMY_EQ_0                     0:0 /* RWXVF */
  610. #define NV_PGRAPH_XY_LOGIC_MISC3_WDIMY_EQ_0_NULL         0x00000000 /* RW--V */
  611. #define NV_PGRAPH_XY_LOGIC_MISC3_WDIMY_EQ_0_TRUE         0x00000001 /* RW--V */
  612. #define NV_PGRAPH_XY_LOGIC_MISC3_RELOAD_WDIMY                   4:4 /* RWXVF */
  613. #define NV_PGRAPH_XY_LOGIC_MISC3_RELOAD_WDIMY_NULL       0x00000000 /* RW--V */
  614. #define NV_PGRAPH_XY_LOGIC_MISC3_RELOAD_WDIMY_TRUE       0x00000001 /* RW--V */
  615. #define NV_PGRAPH_XY_LOGIC_MISC3_RELOAD_WX                      8:8 /* RWIVF */
  616. #define NV_PGRAPH_XY_LOGIC_MISC3_RELOAD_WX_NULL          0x00000000 /* RWI-V */
  617. #define NV_PGRAPH_XY_LOGIC_MISC3_RELOAD_WX_TRUE          0x00000001 /* RW--V */
  618. #define NV_PGRAPH_XY_LOGIC_MISC3_TEXT_ALG                     12:12 /* RWIVF */
  619. #define NV_PGRAPH_XY_LOGIC_MISC3_TEXT_ALG_NULL           0x00000000 /* RWI-V */
  620. #define NV_PGRAPH_XY_LOGIC_MISC3_TEXT_ALG_TRUE           0x00000001 /* RW--V */
  621. #define NV_PGRAPH_XY_LOGIC_MISC3_TEXT_DIMX                    22:16 /* RWXUF */
  622. #define NV_PGRAPH_XY_LOGIC_MISC3_TEXT_DIMX_0             0x00000000 /* RW--V */
  623. #define NV_PGRAPH_XY_LOGIC_MISC3_TEXT_WDIMX                   30:24 /* RWXUF */
  624. #define NV_PGRAPH_XY_LOGIC_MISC3_TEXT_WDIMX_0            0x00000000 /* RW--V */
  625. #define NV_PGRAPH_X_MISC                                 0x00400500 /* RW-4R */
  626. #define NV_PGRAPH_X_MISC_BIT33_0                                0:0 /* RWNVF */
  627. #define NV_PGRAPH_X_MISC_BIT33_0_0                       0x00000000 /* RWN-V */
  628. #define NV_PGRAPH_X_MISC_BIT33_1                                1:1 /* RWNVF */
  629. #define NV_PGRAPH_X_MISC_BIT33_1_0                       0x00000000 /* RWN-V */
  630. #define NV_PGRAPH_X_MISC_BIT33_2                                2:2 /* RWNVF */
  631. #define NV_PGRAPH_X_MISC_BIT33_2_0                       0x00000000 /* RWN-V */
  632. #define NV_PGRAPH_X_MISC_BIT33_3                                3:3 /* RWNVF */
  633. #define NV_PGRAPH_X_MISC_BIT33_3_0                       0x00000000 /* RWN-V */
  634. #define NV_PGRAPH_X_MISC_RANGE_0                                4:4 /* RWNVF */
  635. #define NV_PGRAPH_X_MISC_RANGE_0_0                       0x00000000 /* RWN-V */
  636. #define NV_PGRAPH_X_MISC_RANGE_1                                5:5 /* RWNVF */
  637. #define NV_PGRAPH_X_MISC_RANGE_1_0                       0x00000000 /* RWN-V */
  638. #define NV_PGRAPH_X_MISC_RANGE_2                                6:6 /* RWNVF */
  639. #define NV_PGRAPH_X_MISC_RANGE_2_0                       0x00000000 /* RWN-V */
  640. #define NV_PGRAPH_X_MISC_RANGE_3                                7:7 /* RWNVF */
  641. #define NV_PGRAPH_X_MISC_RANGE_3_0                       0x00000000 /* RWN-V */
  642. #define NV_PGRAPH_X_MISC_ADDER_OUTPUT                         29:28 /* RWXVF */
  643. #define NV_PGRAPH_X_MISC_ADDER_OUTPUT_EQ_0               0x00000000 /* RW--V */
  644. #define NV_PGRAPH_X_MISC_ADDER_OUTPUT_LT_0               0x00000001 /* RW--V */
  645. #define NV_PGRAPH_X_MISC_ADDER_OUTPUT_GT_0               0x00000002 /* RW--V */
  646. #define NV_PGRAPH_Y_MISC                                 0x00400504 /* RW-4R */
  647. #define NV_PGRAPH_Y_MISC_BIT33_0                                0:0 /* RWNVF */
  648. #define NV_PGRAPH_Y_MISC_BIT33_0_0                       0x00000000 /* RWN-V */
  649. #define NV_PGRAPH_Y_MISC_BIT33_1                                1:1 /* RWNVF */
  650. #define NV_PGRAPH_Y_MISC_BIT33_1_0                       0x00000000 /* RWN-V */
  651. #define NV_PGRAPH_Y_MISC_BIT33_2                                2:2 /* RWNVF */
  652. #define NV_PGRAPH_Y_MISC_BIT33_2_0                       0x00000000 /* RWN-V */
  653. #define NV_PGRAPH_Y_MISC_BIT33_3                                3:3 /* RWNVF */
  654. #define NV_PGRAPH_Y_MISC_BIT33_3_0                       0x00000000 /* RWN-V */
  655. #define NV_PGRAPH_Y_MISC_RANGE_0                                4:4 /* RWNVF */
  656. #define NV_PGRAPH_Y_MISC_RANGE_0_0                       0x00000000 /* RWN-V */
  657. #define NV_PGRAPH_Y_MISC_RANGE_1                                5:5 /* RWNVF */
  658. #define NV_PGRAPH_Y_MISC_RANGE_1_0                       0x00000000 /* RWN-V */
  659. #define NV_PGRAPH_Y_MISC_RANGE_2                                6:6 /* RWNVF */
  660. #define NV_PGRAPH_Y_MISC_RANGE_2_0                       0x00000000 /* RWN-V */
  661. #define NV_PGRAPH_Y_MISC_RANGE_3                                7:7 /* RWNVF */
  662. #define NV_PGRAPH_Y_MISC_RANGE_3_0                       0x00000000 /* RWN-V */
  663. #define NV_PGRAPH_Y_MISC_ADDER_OUTPUT                         29:28 /* RWXVF */
  664. #define NV_PGRAPH_Y_MISC_ADDER_OUTPUT_EQ_0               0x00000000 /* RW--V */
  665. #define NV_PGRAPH_Y_MISC_ADDER_OUTPUT_LT_0               0x00000001 /* RW--V */
  666. #define NV_PGRAPH_Y_MISC_ADDER_OUTPUT_GT_0               0x00000002 /* RW--V */
  667. #define NV_PGRAPH_ABS_UCLIP_XMIN                         0x0040053C /* RW-4R */
  668. #define NV_PGRAPH_ABS_UCLIP_XMIN_VALUE                         15:0 /* RWXSF */
  669. #define NV_PGRAPH_ABS_UCLIP_XMAX                         0x00400544 /* RW-4R */
  670. #define NV_PGRAPH_ABS_UCLIP_XMAX_VALUE                         17:0 /* RWXSF */
  671. #define NV_PGRAPH_ABS_UCLIP_YMIN                         0x00400540 /* RW-4R */
  672. #define NV_PGRAPH_ABS_UCLIP_YMIN_VALUE                         15:0 /* RWXSF */
  673. #define NV_PGRAPH_ABS_UCLIP_YMAX                         0x00400548 /* RW-4R */
  674. #define NV_PGRAPH_ABS_UCLIP_YMAX_VALUE                         17:0 /* RWXSF */
  675. #define NV_PGRAPH_ABS_UCLIPA_XMIN                        0x00400560 /* RW-4R */
  676. #define NV_PGRAPH_ABS_UCLIPA_XMIN_VALUE                        15:0 /* RWXSF */
  677. #define NV_PGRAPH_ABS_UCLIPA_XMAX                        0x00400568 /* RW-4R */
  678. #define NV_PGRAPH_ABS_UCLIPA_XMAX_VALUE                        17:0 /* RWXSF */
  679. #define NV_PGRAPH_ABS_UCLIPA_YMIN                        0x00400564 /* RW-4R */
  680. #define NV_PGRAPH_ABS_UCLIPA_YMIN_VALUE                        15:0 /* RWXSF */
  681. #define NV_PGRAPH_ABS_UCLIPA_YMAX                        0x0040056C /* RW-4R */
  682. #define NV_PGRAPH_ABS_UCLIPA_YMAX_VALUE                        17:0 /* RWXSF */
  683. #define NV_PGRAPH_SOURCE_COLOR                           0x0040050C /* RW-4R */
  684. #define NV_PGRAPH_SOURCE_COLOR_VALUE                           31:0 /* RWNVF */
  685. #define NV_PGRAPH_SOURCE_COLOR_VALUE_0                   0x00000000 /* RWN-V */
  686. #define NV_PGRAPH_VALID1                                 0x00400508 /* RW-4R */
  687. #define NV_PGRAPH_VALID1_VLD                                   22:0 /* RWNVF */
  688. #define NV_PGRAPH_VALID1_VLD_0                           0x00000000 /* RWN-V */
  689. #define NV_PGRAPH_VALID1_CLIP_MIN                             28:28 /* RWIVF */
  690. #define NV_PGRAPH_VALID1_CLIP_MIN_NO_ERROR               0x00000000 /* RWI-V */
  691. #define NV_PGRAPH_VALID1_CLIP_MIN_ONLY                   0x00000001 /* RW--V */
  692. #define NV_PGRAPH_VALID1_CLIPA_MIN                            29:29 /* RWIVF */
  693. #define NV_PGRAPH_VALID1_CLIPA_MIN_NO_ERROR              0x00000000 /* RWI-V */
  694. #define NV_PGRAPH_VALID1_CLIPA_MIN_ONLY                  0x00000001 /* RW--V */
  695. #define NV_PGRAPH_VALID1_CLIP_MAX                             30:30 /* RWIVF */
  696. #define NV_PGRAPH_VALID1_CLIP_MAX_NO_ERROR               0x00000000 /* RWI-V */
  697. #define NV_PGRAPH_VALID1_CLIP_MAX_ONLY                   0x00000001 /* RW--V */
  698. #define NV_PGRAPH_VALID1_CLIPA_MAX                            31:31 /* RWIVF */
  699. #define NV_PGRAPH_VALID1_CLIPA_MAX_NO_ERROR              0x00000000 /* RWI-V */
  700. #define NV_PGRAPH_VALID1_CLIPA_MAX_ONLY                  0x00000001 /* RW--V */
  701. #define NV_PGRAPH_VALID2                                 0x00400578 /* RW-4R */
  702. #define NV_PGRAPH_VALID2_VLD2                                  28:0 /* RWNVF */
  703. #define NV_PGRAPH_VALID2_VLD2_0                          0x00000000 /* RWN-V */
  704. #define NV_PGRAPH_ABS_ICLIP_XMAX                         0x00400534 /* RW-4R */
  705. #define NV_PGRAPH_ABS_ICLIP_XMAX_VALUE                         17:0 /* RWXSF */
  706. #define NV_PGRAPH_ABS_ICLIP_YMAX                         0x00400538 /* RW-4R */
  707. #define NV_PGRAPH_ABS_ICLIP_YMAX_VALUE                         17:0 /* RWXSF */
  708. #define NV_PGRAPH_CLIPX_0                                0x00400524 /* RW-4R */
  709. #define NV_PGRAPH_CLIPX_0_CLIP0_MIN                             1:0 /* RWNVF */
  710. #define NV_PGRAPH_CLIPX_0_CLIP0_MIN_GT                   0x00000000 /* RW--V */
  711. #define NV_PGRAPH_CLIPX_0_CLIP0_MIN_LT                   0x00000001 /* RWN-V */
  712. #define NV_PGRAPH_CLIPX_0_CLIP0_MIN_EQ                   0x00000002 /* RW--V */
  713. #define NV_PGRAPH_CLIPX_0_CLIP0_MAX                             3:2 /* RWNVF */
  714. #define NV_PGRAPH_CLIPX_0_CLIP0_MAX_LT                   0x00000000 /* RW--V */
  715. #define NV_PGRAPH_CLIPX_0_CLIP0_MAX_GT                   0x00000001 /* RWN-V */
  716. #define NV_PGRAPH_CLIPX_0_CLIP0_MAX_EQ                   0x00000002 /* RW--V */
  717. #define NV_PGRAPH_CLIPX_0_CLIP1_MIN                             5:4 /* RWNVF */
  718. #define NV_PGRAPH_CLIPX_0_CLIP1_MIN_GT                   0x00000000 /* RW--V */
  719. #define NV_PGRAPH_CLIPX_0_CLIP1_MIN_LT                   0x00000001 /* RWN-V */
  720. #define NV_PGRAPH_CLIPX_0_CLIP1_MIN_EQ                   0x00000002 /* RW--V */
  721. #define NV_PGRAPH_CLIPX_0_CLIP1_MAX                             7:6 /* RWNVF */
  722. #define NV_PGRAPH_CLIPX_0_CLIP1_MAX_LT                   0x00000000 /* RW--V */
  723. #define NV_PGRAPH_CLIPX_0_CLIP1_MAX_GT                   0x00000001 /* RWN-V */
  724. #define NV_PGRAPH_CLIPX_0_CLIP1_MAX_EQ                   0x00000002 /* RW--V */
  725. #define NV_PGRAPH_CLIPX_0_CLIP2_MIN                             9:8 /* RWNVF */
  726. #define NV_PGRAPH_CLIPX_0_CLIP2_MIN_GT                   0x00000000 /* RW--V */
  727. #define NV_PGRAPH_CLIPX_0_CLIP2_MIN_LT                   0x00000001 /* RWN-V */
  728. #define NV_PGRAPH_CLIPX_0_CLIP2_MIN_EQ                   0x00000002 /* RW--V */
  729. #define NV_PGRAPH_CLIPX_0_CLIP2_MAX                           11:10 /* RWNVF */
  730. #define NV_PGRAPH_CLIPX_0_CLIP2_MAX_LT                   0x00000000 /* RW--V */
  731. #define NV_PGRAPH_CLIPX_0_CLIP2_MAX_GT                   0x00000001 /* RWN-V */
  732. #define NV_PGRAPH_CLIPX_0_CLIP2_MAX_EQ                   0x00000002 /* RW--V */
  733. #define NV_PGRAPH_CLIPX_0_CLIP3_MIN                           13:12 /* RWNVF */
  734. #define NV_PGRAPH_CLIPX_0_CLIP3_MIN_GT                   0x00000000 /* RW--V */
  735. #define NV_PGRAPH_CLIPX_0_CLIP3_MIN_LT                   0x00000001 /* RWN-V */
  736. #define NV_PGRAPH_CLIPX_0_CLIP3_MIN_EQ                   0x00000002 /* RW--V */
  737. #define NV_PGRAPH_CLIPX_0_CLIP3_MAX                           15:14 /* RWNVF */
  738. #define NV_PGRAPH_CLIPX_0_CLIP3_MAX_LT                   0x00000000 /* RW--V */
  739. #define NV_PGRAPH_CLIPX_0_CLIP3_MAX_GT                   0x00000001 /* RWN-V */
  740. #define NV_PGRAPH_CLIPX_0_CLIP3_MAX_EQ                   0x00000002 /* RW--V */
  741. #define NV_PGRAPH_CLIPX_0_CLIP4_MIN                           17:16 /* RWNVF */
  742. #define NV_PGRAPH_CLIPX_0_CLIP4_MIN_GT                   0x00000000 /* RW--V */
  743. #define NV_PGRAPH_CLIPX_0_CLIP4_MIN_LT                   0x00000001 /* RWN-V */
  744. #define NV_PGRAPH_CLIPX_0_CLIP4_MIN_EQ                   0x00000002 /* RW--V */
  745. #define NV_PGRAPH_CLIPX_0_CLIP4_MAX                           19:18 /* RWNVF */
  746. #define NV_PGRAPH_CLIPX_0_CLIP4_MAX_LT                   0x00000000 /* RW--V */
  747. #define NV_PGRAPH_CLIPX_0_CLIP4_MAX_GT                   0x00000001 /* RWN-V */
  748. #define NV_PGRAPH_CLIPX_0_CLIP4_MAX_EQ                   0x00000002 /* RW--V */
  749. #define NV_PGRAPH_CLIPX_0_CLIP5_MIN                           21:20 /* RWNVF */
  750. #define NV_PGRAPH_CLIPX_0_CLIP5_MIN_GT                   0x00000000 /* RW--V */
  751. #define NV_PGRAPH_CLIPX_0_CLIP5_MIN_LT                   0x00000001 /* RWN-V */
  752. #define NV_PGRAPH_CLIPX_0_CLIP5_MIN_EQ                   0x00000002 /* RW--V */
  753. #define NV_PGRAPH_CLIPX_0_CLIP5_MAX                           23:22 /* RWNVF */
  754. #define NV_PGRAPH_CLIPX_0_CLIP5_MAX_LT                   0x00000000 /* RW--V */
  755. #define NV_PGRAPH_CLIPX_0_CLIP5_MAX_GT                   0x00000001 /* RWN-V */
  756. #define NV_PGRAPH_CLIPX_0_CLIP5_MAX_EQ                   0x00000002 /* RW--V */
  757. #define NV_PGRAPH_CLIPX_0_CLIP6_MIN                           25:24 /* RWNVF */
  758. #define NV_PGRAPH_CLIPX_0_CLIP6_MIN_GT                   0x00000000 /* RW--V */
  759. #define NV_PGRAPH_CLIPX_0_CLIP6_MIN_LT                   0x00000001 /* RWN-V */
  760. #define NV_PGRAPH_CLIPX_0_CLIP6_MIN_EQ                   0x00000002 /* RW--V */
  761. #define NV_PGRAPH_CLIPX_0_CLIP6_MAX                           27:26 /* RWNVF */
  762. #define NV_PGRAPH_CLIPX_0_CLIP6_MAX_LT                   0x00000000 /* RW--V */
  763. #define NV_PGRAPH_CLIPX_0_CLIP6_MAX_GT                   0x00000001 /* RWN-V */
  764. #define NV_PGRAPH_CLIPX_0_CLIP6_MAX_EQ                   0x00000002 /* RW--V */
  765. #define NV_PGRAPH_CLIPX_0_CLIP7_MIN                           29:28 /* RWNVF */
  766. #define NV_PGRAPH_CLIPX_0_CLIP7_MIN_GT                   0x00000000 /* RW--V */
  767. #define NV_PGRAPH_CLIPX_0_CLIP7_MIN_LT                   0x00000001 /* RWN-V */
  768. #define NV_PGRAPH_CLIPX_0_CLIP7_MIN_EQ                   0x00000002 /* RW--V */
  769. #define NV_PGRAPH_CLIPX_0_CLIP7_MAX                           31:30 /* RWNVF */
  770. #define NV_PGRAPH_CLIPX_0_CLIP7_MAX_LT                   0x00000000 /* RW--V */
  771. #define NV_PGRAPH_CLIPX_0_CLIP7_MAX_GT                   0x00000001 /* RWN-V */
  772. #define NV_PGRAPH_CLIPX_0_CLIP7_MAX_EQ                   0x00000002 /* RW--V */
  773. #define NV_PGRAPH_CLIPX_1                                0x00400528 /* RW-4R */
  774. #define NV_PGRAPH_CLIPX_1_CLIP8_MIN                             1:0 /* RWNVF */
  775. #define NV_PGRAPH_CLIPX_1_CLIP8_MIN_GT                   0x00000000 /* RW--V */
  776. #define NV_PGRAPH_CLIPX_1_CLIP8_MIN_LT                   0x00000001 /* RWN-V */
  777. #define NV_PGRAPH_CLIPX_1_CLIP8_MIN_EQ                   0x00000002 /* RW--V */
  778. #define NV_PGRAPH_CLIPX_1_CLIP8_MAX                             3:2 /* RWNVF */
  779. #define NV_PGRAPH_CLIPX_1_CLIP8_MAX_LT                   0x00000000 /* RW--V */
  780. #define NV_PGRAPH_CLIPX_1_CLIP8_MAX_GT                   0x00000001 /* RWN-V */
  781. #define NV_PGRAPH_CLIPX_1_CLIP8_MAX_EQ                   0x00000002 /* RW--V */
  782. #define NV_PGRAPH_CLIPX_1_CLIP9_MIN                             5:4 /* RWNVF */
  783. #define NV_PGRAPH_CLIPX_1_CLIP9_MIN_GT                   0x00000000 /* RW--V */
  784. #define NV_PGRAPH_CLIPX_1_CLIP9_MIN_LT                   0x00000001 /* RWN-V */
  785. #define NV_PGRAPH_CLIPX_1_CLIP9_MIN_EQ                   0x00000002 /* RW--V */
  786. #define NV_PGRAPH_CLIPX_1_CLIP9_MAX                             7:6 /* RWNVF */
  787. #define NV_PGRAPH_CLIPX_1_CLIP9_MAX_LT                   0x00000000 /* RW--V */
  788. #define NV_PGRAPH_CLIPX_1_CLIP9_MAX_GT                   0x00000001 /* RWN-V */
  789. #define NV_PGRAPH_CLIPX_1_CLIP9_MAX_EQ                   0x00000002 /* RW--V */
  790. #define NV_PGRAPH_CLIPX_1_CLIP10_MIN                            9:8 /* RWNVF */
  791. #define NV_PGRAPH_CLIPX_1_CLIP10_MIN_GT                  0x00000000 /* RW--V */
  792. #define NV_PGRAPH_CLIPX_1_CLIP10_MIN_LT                  0x00000001 /* RWN-V */
  793. #define NV_PGRAPH_CLIPX_1_CLIP10_MIN_EQ                  0x00000002 /* RW--V */
  794. #define NV_PGRAPH_CLIPX_1_CLIP10_MAX                          11:10 /* RWNVF */
  795. #define NV_PGRAPH_CLIPX_1_CLIP10_MAX_LT                  0x00000000 /* RW--V */
  796. #define NV_PGRAPH_CLIPX_1_CLIP10_MAX_GT                  0x00000001 /* RWN-V */
  797. #define NV_PGRAPH_CLIPX_1_CLIP10_MAX_EQ                  0x00000002 /* RW--V */
  798. #define NV_PGRAPH_CLIPX_1_CLIP11_MIN                          13:12 /* RWNVF */
  799. #define NV_PGRAPH_CLIPX_1_CLIP11_MIN_GT                  0x00000000 /* RW--V */
  800. #define NV_PGRAPH_CLIPX_1_CLIP11_MIN_LT                  0x00000001 /* RWN-V */
  801. #define NV_PGRAPH_CLIPX_1_CLIP11MIN_EQ                   0x00000002 /* RW--V */
  802. #define NV_PGRAPH_CLIPX_1_CLIP11_MAX                          15:14 /* RWNVF */
  803. #define NV_PGRAPH_CLIPX_1_CLIP11_MAX_LT                  0x00000000 /* RW--V */
  804. #define NV_PGRAPH_CLIPX_1_CLIP11_MAX_GT                  0x00000001 /* RWN-V */
  805. #define NV_PGRAPH_CLIPX_1_CLIP11_MAX_EQ                  0x00000002 /* RW--V */
  806. #define NV_PGRAPH_CLIPX_1_CLIP12_MIN                          17:16 /* RWNVF */
  807. #define NV_PGRAPH_CLIPX_1_CLIP12_MIN_GT                  0x00000000 /* RW--V */
  808. #define NV_PGRAPH_CLIPX_1_CLIP12_MIN_LT                  0x00000001 /* RWN-V */
  809. #define NV_PGRAPH_CLIPX_1_CLIP12_MIN_EQ                  0x00000002 /* RW--V */
  810. #define NV_PGRAPH_CLIPX_1_CLIP12_MAX                          19:18 /* RWNVF */
  811. #define NV_PGRAPH_CLIPX_1_CLIP12_MAX_LT                  0x00000000 /* RW--V */
  812. #define NV_PGRAPH_CLIPX_1_CLIP12_MAX_GT                  0x00000001 /* RWN-V */
  813. #define NV_PGRAPH_CLIPX_1_CLIP12_MAX_EQ                  0x00000002 /* RW--V */
  814. #define NV_PGRAPH_CLIPX_1_CLIP13_MIN                          21:20 /* RWNVF */
  815. #define NV_PGRAPH_CLIPX_1_CLIP13_MIN_GT                  0x00000000 /* RW--V */
  816. #define NV_PGRAPH_CLIPX_1_CLIP13_MIN_LT                  0x00000001 /* RWN-V */
  817. #define NV_PGRAPH_CLIPX_1_CLIP13_MIN_EQ                  0x00000002 /* RW--V */
  818. #define NV_PGRAPH_CLIPX_1_CLIP13_MAX                          23:22 /* RWNVF */
  819. #define NV_PGRAPH_CLIPX_1_CLIP13_MAX_LT                  0x00000000 /* RW--V */
  820. #define NV_PGRAPH_CLIPX_1_CLIP13_MAX_GT                  0x00000001 /* RWN-V */
  821. #define NV_PGRAPH_CLIPX_1_CLIP13_MAX_EQ                  0x00000002 /* RW--V */
  822. #define NV_PGRAPH_CLIPX_1_CLIP14_MIN                          25:24 /* RWNVF */
  823. #define NV_PGRAPH_CLIPX_1_CLIP14_MIN_GT                  0x00000000 /* RW--V */
  824. #define NV_PGRAPH_CLIPX_1_CLIP14_MIN_LT                  0x00000001 /* RWN-V */
  825. #define NV_PGRAPH_CLIPX_1_CLIP14_MIN_EQ                  0x00000002 /* RW--V */
  826. #define NV_PGRAPH_CLIPX_1_CLIP14_MAX                          27:26 /* RWNVF */
  827. #define NV_PGRAPH_CLIPX_1_CLIP14_MAX_LT                  0x00000000 /* RW--V */
  828. #define NV_PGRAPH_CLIPX_1_CLIP14_MAX_GT                  0x00000001 /* RWN-V */
  829. #define NV_PGRAPH_CLIPX_1_CLIP14_MAX_EQ                  0x00000002 /* RW--V */
  830. #define NV_PGRAPH_CLIPX_1_CLIP15_MIN                          29:28 /* RWNVF */
  831. #define NV_PGRAPH_CLIPX_1_CLIP15_MIN_GT                  0x00000000 /* RW--V */
  832. #define NV_PGRAPH_CLIPX_1_CLIP15_MIN_LT                  0x00000001 /* RWN-V */
  833. #define NV_PGRAPH_CLIPX_1_CLIP15_MIN_EQ                  0x00000002 /* RW--V */
  834. #define NV_PGRAPH_CLIPX_1_CLIP15_MAX                          31:30 /* RWNVF */
  835. #define NV_PGRAPH_CLIPX_1_CLIP15_MAX_LT                  0x00000000 /* RW--V */
  836. #define NV_PGRAPH_CLIPX_1_CLIP15_MAX_GT                  0x00000001 /* RWN-V */
  837. #define NV_PGRAPH_CLIPX_1_CLIP15_MAX_EQ                  0x00000002 /* RW--V */
  838. #define NV_PGRAPH_CLIPY_0                                0x0040052c /* RW-4R */
  839. #define NV_PGRAPH_CLIPY_0_CLIP0_MIN                             1:0 /* RWNVF */
  840. #define NV_PGRAPH_CLIPY_0_CLIP0_MIN_GT                   0x00000000 /* RW--V */
  841. #define NV_PGRAPH_CLIPY_0_CLIP0_MIN_LT                   0x00000001 /* RWN-V */
  842. #define NV_PGRAPH_CLIPY_0_CLIP0_MIN_EQ                   0x00000002 /* RW--V */
  843. #define NV_PGRAPH_CLIPY_0_CLIP0_MAX                             3:2 /* RWNVF */
  844. #define NV_PGRAPH_CLIPY_0_CLIP0_MAX_LT                   0x00000000 /* RW--V */
  845. #define NV_PGRAPH_CLIPY_0_CLIP0_MAX_GT                   0x00000001 /* RWN-V */
  846. #define NV_PGRAPH_CLIPY_0_CLIP0_MAX_EQ                   0x00000002 /* RW--V */
  847. #define NV_PGRAPH_CLIPY_0_CLIP1_MIN                             5:4 /* RWNVF */
  848. #define NV_PGRAPH_CLIPY_0_CLIP1_MIN_GT                   0x00000000 /* RW--V */
  849. #define NV_PGRAPH_CLIPY_0_CLIP1_MIN_LT                   0x00000001 /* RWN-V */
  850. #define NV_PGRAPH_CLIPY_0_CLIP1_MIN_EQ                   0x00000002 /* RW--V */
  851. #define NV_PGRAPH_CLIPY_0_CLIP1_MAX                             7:6 /* RWNVF */
  852. #define NV_PGRAPH_CLIPY_0_CLIP1_MAX_LT                   0x00000000 /* RW--V */
  853. #define NV_PGRAPH_CLIPY_0_CLIP1_MAX_GT                   0x00000001 /* RWN-V */
  854. #define NV_PGRAPH_CLIPY_0_CLIP1_MAX_EQ                   0x00000002 /* RW--V */
  855. #define NV_PGRAPH_CLIPY_0_CLIP2_MIN                             9:8 /* RWNVF */
  856. #define NV_PGRAPH_CLIPY_0_CLIP2_MIN_GT                   0x00000000 /* RW--V */
  857. #define NV_PGRAPH_CLIPY_0_CLIP2_MIN_LT                   0x00000001 /* RWN-V */
  858. #define NV_PGRAPH_CLIPY_0_CLIP2_MIN_EQ                   0x00000002 /* RW--V */
  859. #define NV_PGRAPH_CLIPY_0_CLIP2_MAX                           11:10 /* RWNVF */
  860. #define NV_PGRAPH_CLIPY_0_CLIP2_MAX_LT                   0x00000000 /* RW--V */
  861. #define NV_PGRAPH_CLIPY_0_CLIP2_MAX_GT                   0x00000001 /* RWN-V */
  862. #define NV_PGRAPH_CLIPY_0_CLIP2_MAX_EQ                   0x00000002 /* RW--V */
  863. #define NV_PGRAPH_CLIPY_0_CLIP3_MIN                           13:12 /* RWNVF */
  864. #define NV_PGRAPH_CLIPY_0_CLIP3_MIN_GT                   0x00000000 /* RW--V */
  865. #define NV_PGRAPH_CLIPY_0_CLIP3_MIN_LT                   0x00000001 /* RWN-V */
  866. #define NV_PGRAPH_CLIPY_0_CLIP3_MIN_EQ                   0x00000002 /* RW--V */
  867. #define NV_PGRAPH_CLIPY_0_CLIP3_MAX                           15:14 /* RWNVF */
  868. #define NV_PGRAPH_CLIPY_0_CLIP3_MAX_LT                   0x00000000 /* RW--V */
  869. #define NV_PGRAPH_CLIPY_0_CLIP3_MAX_GT                   0x00000001 /* RWN-V */
  870. #define NV_PGRAPH_CLIPY_0_CLIP3_MAX_EQ                   0x00000002 /* RW--V */
  871. #define NV_PGRAPH_CLIPY_0_CLIP4_MIN                           17:16 /* RWNVF */
  872. #define NV_PGRAPH_CLIPY_0_CLIP4_MIN_GT                   0x00000000 /* RW--V */
  873. #define NV_PGRAPH_CLIPY_0_CLIP4_MIN_LT                   0x00000001 /* RWN-V */
  874. #define NV_PGRAPH_CLIPY_0_CLIP4_MIN_EQ                   0x00000002 /* RW--V */
  875. #define NV_PGRAPH_CLIPY_0_CLIP4_MAX                           19:18 /* RWNVF */
  876. #define NV_PGRAPH_CLIPY_0_CLIP4_MAX_LT                   0x00000000 /* RW--V */
  877. #define NV_PGRAPH_CLIPY_0_CLIP4_MAX_GT                   0x00000001 /* RWN-V */
  878. #define NV_PGRAPH_CLIPY_0_CLIP4_MAX_EQ                   0x00000002 /* RW--V */
  879. #define NV_PGRAPH_CLIPY_0_CLIP5_MIN                           21:20 /* RWNVF */
  880. #define NV_PGRAPH_CLIPY_0_CLIP5_MIN_GT                   0x00000000 /* RW--V */
  881. #define NV_PGRAPH_CLIPY_0_CLIP5_MIN_LT                   0x00000001 /* RWN-V */
  882. #define NV_PGRAPH_CLIPY_0_CLIP5_MIN_EQ                   0x00000002 /* RW--V */
  883. #define NV_PGRAPH_CLIPY_0_CLIP5_MAX                           23:22 /* RWNVF */
  884. #define NV_PGRAPH_CLIPY_0_CLIP5_MAX_LT                   0x00000000 /* RW--V */
  885. #define NV_PGRAPH_CLIPY_0_CLIP5_MAX_GT                   0x00000001 /* RWN-V */
  886. #define NV_PGRAPH_CLIPY_0_CLIP5_MAX_EQ                   0x00000002 /* RW--V */
  887. #define NV_PGRAPH_CLIPY_0_CLIP6_MIN                           25:24 /* RWNVF */
  888. #define NV_PGRAPH_CLIPY_0_CLIP6_MIN_GT                   0x00000000 /* RW--V */
  889. #define NV_PGRAPH_CLIPY_0_CLIP6_MIN_LT                   0x00000001 /* RWN-V */
  890. #define NV_PGRAPH_CLIPY_0_CLIP6_MIN_EQ                   0x00000002 /* RW--V */
  891. #define NV_PGRAPH_CLIPY_0_CLIP6_MAX                           27:26 /* RWNVF */
  892. #define NV_PGRAPH_CLIPY_0_CLIP6_MAX_LT                   0x00000000 /* RW--V */
  893. #define NV_PGRAPH_CLIPY_0_CLIP6_MAX_GT                   0x00000001 /* RWN-V */
  894. #define NV_PGRAPH_CLIPY_0_CLIP6_MAX_EQ                   0x00000002 /* RW--V */
  895. #define NV_PGRAPH_CLIPY_0_CLIP7_MIN                           29:28 /* RWNVF */
  896. #define NV_PGRAPH_CLIPY_0_CLIP7_MIN_GT                   0x00000000 /* RW--V */
  897. #define NV_PGRAPH_CLIPY_0_CLIP7_MIN_LT                   0x00000001 /* RWN-V */
  898. #define NV_PGRAPH_CLIPY_0_CLIP7_MIN_EQ                   0x00000002 /* RW--V */
  899. #define NV_PGRAPH_CLIPY_0_CLIP7_MAX                           31:30 /* RWNVF */
  900. #define NV_PGRAPH_CLIPY_0_CLIP7_MAX_LT                   0x00000000 /* RW--V */
  901. #define NV_PGRAPH_CLIPY_0_CLIP7_MAX_GT                   0x00000001 /* RWN-V */
  902. #define NV_PGRAPH_CLIPY_0_CLIP7_MAX_EQ                   0x00000002 /* RW--V */
  903. #define NV_PGRAPH_CLIPY_1                                0x00400530 /* RW-4R */
  904. #define NV_PGRAPH_CLIPY_1_CLIP8_MIN                             1:0 /* RWNVF */
  905. #define NV_PGRAPH_CLIPY_1_CLIP8_MIN_GT                   0x00000000 /* RW--V */
  906. #define NV_PGRAPH_CLIPY_1_CLIP8_MIN_LT                   0x00000001 /* RWN-V */
  907. #define NV_PGRAPH_CLIPY_1_CLIP8_MIN_EQ                   0x00000002 /* RW--V */
  908. #define NV_PGRAPH_CLIPY_1_CLIP8_MAX                             3:2 /* RWNVF */
  909. #define NV_PGRAPH_CLIPY_1_CLIP8_MAX_LT                   0x00000000 /* RW--V */
  910. #define NV_PGRAPH_CLIPY_1_CLIP8_MAX_GT                   0x00000001 /* RWN-V */
  911. #define NV_PGRAPH_CLIPY_1_CLIP8_MAX_EQ                   0x00000002 /* RW--V */
  912. #define NV_PGRAPH_CLIPY_1_CLIP9_MIN                             5:4 /* RWNVF */
  913. #define NV_PGRAPH_CLIPY_1_CLIP9_MIN_GT                   0x00000000 /* RW--V */
  914. #define NV_PGRAPH_CLIPY_1_CLIP9_MIN_LT                   0x00000001 /* RWN-V */
  915. #define NV_PGRAPH_CLIPY_1_CLIP9_MIN_EQ                   0x00000002 /* RW--V */
  916. #define NV_PGRAPH_CLIPY_1_CLIP9_MAX                             7:6 /* RWNVF */
  917. #define NV_PGRAPH_CLIPY_1_CLIP9_MAX_LT                   0x00000000 /* RW--V */
  918. #define NV_PGRAPH_CLIPY_1_CLIP9_MAX_GT                   0x00000001 /* RWN-V */
  919. #define NV_PGRAPH_CLIPY_1_CLIP9_MAX_EQ                   0x00000002 /* RW--V */
  920. #define NV_PGRAPH_CLIPY_1_CLIP10_MIN                            9:8 /* RWNVF */
  921. #define NV_PGRAPH_CLIPY_1_CLIP10_MIN_GT                  0x00000000 /* RW--V */
  922. #define NV_PGRAPH_CLIPY_1_CLIP10_MIN_LT                  0x00000001 /* RWN-V */
  923. #define NV_PGRAPH_CLIPY_1_CLIP10_MIN_EQ                  0x00000002 /* RW--V */
  924. #define NV_PGRAPH_CLIPY_1_CLIP10_MAX                          11:10 /* RWNVF */
  925. #define NV_PGRAPH_CLIPY_1_CLIP10_MAX_LT                  0x00000000 /* RW--V */
  926. #define NV_PGRAPH_CLIPY_1_CLIP10_MAX_GT                  0x00000001 /* RWN-V */
  927. #define NV_PGRAPH_CLIPY_1_CLIP10_MAX_EQ                  0x00000002 /* RW--V */
  928. #define NV_PGRAPH_CLIPY_1_CLIP11_MIN                          13:12 /* RWNVF */
  929. #define NV_PGRAPH_CLIPY_1_CLIP11_MIN_GT                  0x00000000 /* RW--V */
  930. #define NV_PGRAPH_CLIPY_1_CLIP11_MIN_LT                  0x00000001 /* RWN-V */
  931. #define NV_PGRAPH_CLIPY_1_CLIP11MIN_EQ                   0x00000002 /* RW--V */
  932. #define NV_PGRAPH_CLIPY_1_CLIP11_MAX                          15:14 /* RWNVF */
  933. #define NV_PGRAPH_CLIPY_1_CLIP11_MAX_LT                  0x00000000 /* RW--V */
  934. #define NV_PGRAPH_CLIPY_1_CLIP11_MAX_GT                  0x00000001 /* RWN-V */
  935. #define NV_PGRAPH_CLIPY_1_CLIP11_MAX_EQ                  0x00000002 /* RW--V */
  936. #define NV_PGRAPH_CLIPY_1_CLIP12_MIN                          17:16 /* RWNVF */
  937. #define NV_PGRAPH_CLIPY_1_CLIP12_MIN_GT                  0x00000000 /* RW--V */
  938. #define NV_PGRAPH_CLIPY_1_CLIP12_MIN_LT                  0x00000001 /* RWN-V */
  939. #define NV_PGRAPH_CLIPY_1_CLIP12_MIN_EQ                  0x00000002 /* RW--V */
  940. #define NV_PGRAPH_CLIPY_1_CLIP12_MAX                          19:18 /* RWNVF */
  941. #define NV_PGRAPH_CLIPY_1_CLIP12_MAX_LT                  0x00000000 /* RW--V */
  942. #define NV_PGRAPH_CLIPY_1_CLIP12_MAX_GT                  0x00000001 /* RWN-V */
  943. #define NV_PGRAPH_CLIPY_1_CLIP12_MAX_EQ                  0x00000002 /* RW--V */
  944. #define NV_PGRAPH_CLIPY_1_CLIP13_MIN                          21:20 /* RWNVF */
  945. #define NV_PGRAPH_CLIPY_1_CLIP13_MIN_GT                  0x00000000 /* RW--V */
  946. #define NV_PGRAPH_CLIPY_1_CLIP13_MIN_LT                  0x00000001 /* RWN-V */
  947. #define NV_PGRAPH_CLIPY_1_CLIP13_MIN_EQ                  0x00000002 /* RW--V */
  948. #define NV_PGRAPH_CLIPY_1_CLIP13_MAX                          23:22 /* RWNVF */
  949. #define NV_PGRAPH_CLIPY_1_CLIP13_MAX_LT                  0x00000000 /* RW--V */
  950. #define NV_PGRAPH_CLIPY_1_CLIP13_MAX_GT                  0x00000001 /* RWN-V */
  951. #define NV_PGRAPH_CLIPY_1_CLIP13_MAX_EQ                  0x00000002 /* RW--V */
  952. #define NV_PGRAPH_CLIPY_1_CLIP14_MIN                          25:24 /* RWNVF */
  953. #define NV_PGRAPH_CLIPY_1_CLIP14_MIN_GT                  0x00000000 /* RW--V */
  954. #define NV_PGRAPH_CLIPY_1_CLIP14_MIN_LT                  0x00000001 /* RWN-V */
  955. #define NV_PGRAPH_CLIPY_1_CLIP14_MIN_EQ                  0x00000002 /* RW--V */
  956. #define NV_PGRAPH_CLIPY_1_CLIP14_MAX                          27:26 /* RWNVF */
  957. #define NV_PGRAPH_CLIPY_1_CLIP14_MAX_LT                  0x00000000 /* RW--V */
  958. #define NV_PGRAPH_CLIPY_1_CLIP14_MAX_GT                  0x00000001 /* RWN-V */
  959. #define NV_PGRAPH_CLIPY_1_CLIP14_MAX_EQ                  0x00000002 /* RW--V */
  960. #define NV_PGRAPH_CLIPY_1_CLIP15_MIN                          29:28 /* RWNVF */
  961. #define NV_PGRAPH_CLIPY_1_CLIP15_MIN_GT                  0x00000000 /* RW--V */
  962. #define NV_PGRAPH_CLIPY_1_CLIP15_MIN_LT                  0x00000001 /* RWN-V */
  963. #define NV_PGRAPH_CLIPY_1_CLIP15_MIN_EQ                  0x00000002 /* RW--V */
  964. #define NV_PGRAPH_CLIPY_1_CLIP15_MAX                          31:30 /* RWNVF */
  965. #define NV_PGRAPH_CLIPY_1_CLIP15_MAX_LT                  0x00000000 /* RW--V */
  966. #define NV_PGRAPH_CLIPY_1_CLIP15_MAX_GT                  0x00000001 /* RWN-V */
  967. #define NV_PGRAPH_CLIPY_1_CLIP15_MAX_EQ                  0x00000002 /* RW--V */
  968. #define NV_PGRAPH_MISC24_0                               0x00400510 /* RW-4R */
  969. #define NV_PGRAPH_MISC24_0_VALUE                               23:0 /* RWXUF */
  970. #define NV_PGRAPH_MISC24_1                               0x00400570 /* RW-4R */
  971. #define NV_PGRAPH_MISC24_1_VALUE                               23:0 /* RWXUF */
  972. #define NV_PGRAPH_MISC24_2                               0x00400574 /* RW-4R */
  973. #define NV_PGRAPH_MISC24_2_VALUE                               23:0 /* RWXUF */
  974. #define NV_PGRAPH_PASSTHRU_0                             0x0040057C /* RW-4R */
  975. #define NV_PGRAPH_PASSTHRU_0_VALUE                             31:0 /* RWXUF */
  976. #define NV_PGRAPH_PASSTHRU_1                             0x00400580 /* RW-4R */
  977. #define NV_PGRAPH_PASSTHRU_1_VALUE                             31:0 /* RWXUF */
  978. #define NV_PGRAPH_PASSTHRU_2                             0x00400584 /* RW-4R */
  979. #define NV_PGRAPH_PASSTHRU_2_VALUE                             31:0 /* RWXUF */
  980. #define NV_PGRAPH_U_RAM(i)                       (0x00400d00+(i)*4) /* RW-4A */
  981. #define NV_PGRAPH_U_RAM__SIZE_1                                  16 /*       */
  982. #define NV_PGRAPH_U_RAM_VALUE                                  31:6 /* RWXFF */
  983. #define NV_PGRAPH_V_RAM(i)                       (0x00400d40+(i)*4) /* RW-4A */
  984. #define NV_PGRAPH_V_RAM__SIZE_1                                  16 /*       */
  985. #define NV_PGRAPH_V_RAM_VALUE                                  31:6 /* RWXFF */
  986. #define NV_PGRAPH_M_RAM(i)                       (0x00400d80+(i)*4) /* RW-4A */
  987. #define NV_PGRAPH_M_RAM__SIZE_1                                  16 /*       */
  988. #define NV_PGRAPH_M_RAM_VALUE                                  31:6 /* RWXFF */
  989. #define NV_PGRAPH_DMA_START_0                            0x00401000 /* RW-4R */
  990. #define NV_PGRAPH_DMA_START_0_VALUE                            31:0 /* RWXUF */
  991. #define NV_PGRAPH_DMA_START_1                            0x00401004 /* RW-4R */
  992. #define NV_PGRAPH_DMA_START_1_VALUE                            31:0 /* RWXUF */
  993. #define NV_PGRAPH_DMA_LENGTH                             0x00401008 /* RW-4R */
  994. #define NV_PGRAPH_DMA_LENGTH_VALUE                             21:0 /* RWXUF */
  995. #define NV_PGRAPH_DMA_MISC                               0x0040100C /* RW-4R */
  996. #define NV_PGRAPH_DMA_MISC_COUNT                               15:0 /* RWXUF */
  997. #define NV_PGRAPH_DMA_MISC_FMT_SRC                            18:16 /* RWXVF */
  998. #define NV_PGRAPH_DMA_MISC_FMT_DST                            22:20 /* RWXVF */
  999. #define NV_PGRAPH_DMA_DATA_0                             0x00401020 /* RW-4R */
  1000. #define NV_PGRAPH_DMA_DATA_0_VALUE                             31:0 /* RWXUF */
  1001. #define NV_PGRAPH_DMA_DATA_1                             0x00401024 /* RW-4R */
  1002. #define NV_PGRAPH_DMA_DATA_1_VALUE                             31:0 /* RWXUF */
  1003. #define NV_PGRAPH_DMA_RM                                 0x00401030 /* RW-4R */
  1004. #define NV_PGRAPH_DMA_RM_ASSIST_A                               0:0 /* RWIVF */
  1005. #define NV_PGRAPH_DMA_RM_ASSIST_A_NOT_PENDING            0x00000000 /* R-I-V */
  1006. #define NV_PGRAPH_DMA_RM_ASSIST_A_PENDING                0x00000001 /* R---V */
  1007. #define NV_PGRAPH_DMA_RM_ASSIST_A_RESET                  0x00000001 /* -W--C */
  1008. #define NV_PGRAPH_DMA_RM_ASSIST_B                               1:1 /* RWIVF */
  1009. #define NV_PGRAPH_DMA_RM_ASSIST_B_NOT_PENDING            0x00000000 /* R-I-V */
  1010. #define NV_PGRAPH_DMA_RM_ASSIST_B_PENDING                0x00000001 /* R---V */
  1011. #define NV_PGRAPH_DMA_RM_ASSIST_B_RESET                  0x00000001 /* -W--C */
  1012. #define NV_PGRAPH_DMA_RM_WRITE_REQ                              4:4 /* CWIVF */
  1013. #define NV_PGRAPH_DMA_RM_WRITE_REQ_NOT_PENDING           0x00000000 /* CWI-V */
  1014. #define NV_PGRAPH_DMA_RM_WRITE_REQ_PENDING               0x00000001 /* -W--T */
  1015. #define NV_PGRAPH_DMA_A_XLATE_INST                       0x00401040 /* RW-4R */
  1016. #define NV_PGRAPH_DMA_A_XLATE_INST_VALUE                       15:0 /* RWXUF */
  1017. #define NV_PGRAPH_DMA_A_CONTROL                          0x00401044 /* RW-4R */
  1018. #define NV_PGRAPH_DMA_A_CONTROL_PAGE_TABLE                    12:12 /* RWIVF */
  1019. #define NV_PGRAPH_DMA_A_CONTROL_PAGE_TABLE_NOT_PRESENT   0x00000000 /* RWI-V */
  1020. #define NV_PGRAPH_DMA_A_CONTROL_PAGE_TABLE_PRESENT       0x00000001 /* RW--V */
  1021. #define NV_PGRAPH_DMA_A_CONTROL_PAGE_ENTRY                    13:13 /* RWXVF */
  1022. #define NV_PGRAPH_DMA_A_CONTROL_PAGE_ENTRY_NOT_LINEAR    0x00000000 /* RW--V */
  1023. #define NV_PGRAPH_DMA_A_CONTROL_PAGE_ENTRY_LINEAR        0x00000001 /* RW--V */
  1024. #define NV_PGRAPH_DMA_A_CONTROL_TARGET_NODE                   17:16 /* RWXUF */
  1025. #define NV_PGRAPH_DMA_A_CONTROL_TARGET_NODE_NVM          0x00000000 /* RW--V */
  1026. #define NV_PGRAPH_DMA_A_CONTROL_TARGET_NODE_PCI          0x00000002 /* RW--V */
  1027. #define NV_PGRAPH_DMA_A_CONTROL_TARGET_NODE_AGP          0x00000003 /* RW--V */
  1028. #define NV_PGRAPH_DMA_A_CONTROL_ADJUST                        31:20 /* RWXUF */
  1029. #define NV_PGRAPH_DMA_A_LIMIT                            0x00401048 /* RW-4R */
  1030. #define NV_PGRAPH_DMA_A_LIMIT_OFFSET                           31:0 /* RWXUF */
  1031. #define NV_PGRAPH_DMA_A_TLB_PTE                          0x0040104C /* RW-4R */
  1032. #define NV_PGRAPH_DMA_A_TLB_PTE_ACCESS                          1:1 /* RWXVF */
  1033. #define NV_PGRAPH_DMA_A_TLB_PTE_ACCESS_READ_ONLY         0x00000000 /* RW--V */
  1034. #define NV_PGRAPH_DMA_A_TLB_PTE_ACCESS_READ_WRITE        0x00000001 /* RW--V */
  1035. #define NV_PGRAPH_DMA_A_TLB_PTE_FRAME_ADDRESS                 31:12 /* RWXUF */
  1036. #define NV_PGRAPH_DMA_A_TLB_TAG                          0x00401050 /* RW-4R */
  1037. #define NV_PGRAPH_DMA_A_TLB_TAG_ADDRESS                       31:12 /* RWXUF */
  1038. #define NV_PGRAPH_DMA_A_ADJ_OFFSET                       0x00401054 /* RW-4R */
  1039. #define NV_PGRAPH_DMA_A_ADJ_OFFSET_VALUE                       31:0 /* RWXUF */
  1040. #define NV_PGRAPH_DMA_A_OFFSET                           0x00401058 /* RW-4R */
  1041. #define NV_PGRAPH_DMA_A_OFFSET_VALUE                           31:0 /* RWXUF */
  1042. #define NV_PGRAPH_DMA_A_SIZE                             0x0040105C /* RW-4R */
  1043. #define NV_PGRAPH_DMA_A_SIZE_VALUE                             24:0 /* RWXUF */
  1044. #define NV_PGRAPH_DMA_A_Y_SIZE                           0x00401060 /* RW-4R */
  1045. #define NV_PGRAPH_DMA_A_Y_SIZE_VALUE                           10:0 /* RWXUF */
  1046. #define NV_PGRAPH_DMA_B_XLATE_INST                       0x00401080 /* RW-4R */
  1047. #define NV_PGRAPH_DMA_B_XLATE_INST_VALUE                       15:0 /* RWXUF */
  1048. #define NV_PGRAPH_DMA_B_CONTROL                          0x00401084 /* RW-4R */
  1049. #define NV_PGRAPH_DMA_B_CONTROL_PAGE_TABLE                    12:12 /* RWIVF */
  1050. #define NV_PGRAPH_DMA_B_CONTROL_PAGE_TABLE_NOT_PRESENT   0x00000000 /* RWI-V */
  1051. #define NV_PGRAPH_DMA_B_CONTROL_PAGE_TABLE_PRESENT       0x00000001 /* RW--V */
  1052. #define NV_PGRAPH_DMA_B_CONTROL_PAGE_ENTRY                    13:13 /* RWXVF */
  1053. #define NV_PGRAPH_DMA_B_CONTROL_PAGE_ENTRY_NOT_LINEAR    0x00000000 /* RW--V */
  1054. #define NV_PGRAPH_DMA_B_CONTROL_PAGE_ENTRY_LINEAR        0x00000001 /* RW--V */
  1055. #define NV_PGRAPH_DMA_B_CONTROL_TARGET_NODE                   17:16 /* RWXUF */
  1056. #define NV_PGRAPH_DMA_B_CONTROL_TARGET_NODE_NVM          0x00000000 /* RW--V */
  1057. #define NV_PGRAPH_DMA_B_CONTROL_TARGET_NODE_PCI          0x00000002 /* RW--V */
  1058. #define NV_PGRAPH_DMA_B_CONTROL_TARGET_NODE_AGP          0x00000003 /* RW--V */
  1059. #define NV_PGRAPH_DMA_B_CONTROL_ADJUST                        31:20 /* RWXUF */
  1060. #define NV_PGRAPH_DMA_B_LIMIT                            0x00401088 /* RW-4R */
  1061. #define NV_PGRAPH_DMA_B_LIMIT_OFFSET                           31:0 /* RWXUF */
  1062. #define NV_PGRAPH_DMA_B_TLB_PTE                          0x0040108C /* RW-4R */
  1063. #define NV_PGRAPH_DMA_B_TLB_PTE_ACCESS                          1:1 /* RWXVF */
  1064. #define NV_PGRAPH_DMA_B_TLB_PTE_ACCESS_READ_ONLY         0x00000000 /* RW--V */
  1065. #define NV_PGRAPH_DMA_B_TLB_PTE_ACCESS_READ_WRITE        0x00000001 /* RW--V */
  1066. #define NV_PGRAPH_DMA_B_TLB_PTE_FRAME_ADDRESS                 31:12 /* RWXUF */
  1067. #define NV_PGRAPH_DMA_B_TLB_TAG                          0x00401090 /* RW-4R */
  1068. #define NV_PGRAPH_DMA_B_TLB_TAG_ADDRESS                       31:12 /* RWXUF */
  1069. #define NV_PGRAPH_DMA_B_ADJ_OFFSET                       0x00401094 /* RW-4R */
  1070. #define NV_PGRAPH_DMA_B_ADJ_OFFSET_VALUE                       31:0 /* RWXUF */
  1071. #define NV_PGRAPH_DMA_B_OFFSET                           0x00401098 /* RW-4R */
  1072. #define NV_PGRAPH_DMA_B_OFFSET_VALUE                           31:0 /* RWXUF */
  1073. #define NV_PGRAPH_DMA_B_SIZE                             0x0040109C /* RW-4R */
  1074. #define NV_PGRAPH_DMA_B_SIZE_VALUE                             24:0 /* RWXUF */
  1075. #define NV_PGRAPH_DMA_B_Y_SIZE                           0x004010A0 /* RW-4R */
  1076. #define NV_PGRAPH_DMA_B_Y_SIZE_VALUE                           10:0 /* RWXUF */
  1077. /* Framebuffer registers */
  1078. #define NV_PFB                                0x00100FFF:0x00100000 /* RW--D */
  1079. #define NV_PFB_BOOT_0                                    0x00100000 /* RW-4R */
  1080. #define NV_PFB_BOOT_0_RAM_AMOUNT                                1:0 /* RW-VF */
  1081. #define NV_PFB_BOOT_0_RAM_AMOUNT_32MB                    0x00000000 /* RW--V */
  1082. #define NV_PFB_BOOT_0_RAM_AMOUNT_4MB                     0x00000001 /* RW--V */
  1083. #define NV_PFB_BOOT_0_RAM_AMOUNT_8MB                     0x00000002 /* RW--V */
  1084. #define NV_PFB_BOOT_0_RAM_AMOUNT_16MB                    0x00000003 /* RW--V */
  1085. #define NV_PFB_BOOT_0_RAM_WIDTH_128                             2:2 /* RW-VF */
  1086. #define NV_PFB_BOOT_0_RAM_WIDTH_128_OFF                  0x00000000 /* RW--V */
  1087. #define NV_PFB_BOOT_0_RAM_WIDTH_128_ON                   0x00000001 /* RW--V */
  1088. #define NV_PFB_BOOT_0_RAM_TYPE                                  4:3 /* RW-VF */
  1089. #define NV_PFB_BOOT_0_RAM_TYPE_256K                      0x00000000 /* RW--V */
  1090. #define NV_PFB_BOOT_0_RAM_TYPE_512K_2BANK                0x00000001 /* RW--V */
  1091. #define NV_PFB_BOOT_0_RAM_TYPE_512K_4BANK                0x00000002 /* RW--V */
  1092. #define NV_PFB_BOOT_0_RAM_TYPE_1024K_2BANK               0x00000003 /* RW--V */
  1093. #define NV_PFB_CONFIG_0                                  0x00100200 /* RW-4R */
  1094. #define NV_PFB_CONFIG_0_TYPE                                   14:0 /* RWIVF */
  1095. #define NV_PFB_CONFIG_0_TYPE_OLD1024_FIXED_8BPP          0x00000120 /* RW--V */
  1096. #define NV_PFB_CONFIG_0_TYPE_OLD1024_FIXED_16BPP         0x00000220 /* RW--V */
  1097. #define NV_PFB_CONFIG_0_TYPE_OLD1024_FIXED_32BPP         0x00000320 /* RW--V */
  1098. #define NV_PFB_CONFIG_0_TYPE_OLD1024_VAR_8BPP            0x00004120 /* RW--V */
  1099. #define NV_PFB_CONFIG_0_TYPE_OLD1024_VAR_16BPP           0x00004220 /* RW--V */
  1100. #define NV_PFB_CONFIG_0_TYPE_OLD1024_VAR_32BPP           0x00004320 /* RW--V */
  1101. #define NV_PFB_CONFIG_0_TYPE_TETRIS                      0x00002000 /* RW--V */
  1102. #define NV_PFB_CONFIG_0_TYPE_NOTILING                    0x00001114 /* RWI-V */
  1103. #define NV_PFB_CONFIG_0_TETRIS_MODE                           17:15 /* RWI-F */
  1104. #define NV_PFB_CONFIG_0_TETRIS_MODE_PASS                 0x00000000 /* RWI-V */
  1105. #define NV_PFB_CONFIG_0_TETRIS_MODE_1                    0x00000001 /* RW--V */
  1106. #define NV_PFB_CONFIG_0_TETRIS_MODE_2                    0x00000002 /* RW--V */
  1107. #define NV_PFB_CONFIG_0_TETRIS_MODE_3                    0x00000003 /* RW--V */
  1108. #define NV_PFB_CONFIG_0_TETRIS_MODE_4                    0x00000004 /* RW--V */
  1109. #define NV_PFB_CONFIG_0_TETRIS_MODE_5                    0x00000005 /* RW--V */
  1110. #define NV_PFB_CONFIG_0_TETRIS_MODE_6                    0x00000006 /* RW--V */
  1111. #define NV_PFB_CONFIG_0_TETRIS_MODE_7                    0x00000007 /* RW--V */
  1112. #define NV_PFB_CONFIG_0_TETRIS_SHIFT                          19:18 /* RWI-F */
  1113. #define NV_PFB_CONFIG_0_TETRIS_SHIFT_0                   0x00000000 /* RWI-V */
  1114. #define NV_PFB_CONFIG_0_TETRIS_SHIFT_1                   0x00000001 /* RW--V */
  1115. #define NV_PFB_CONFIG_0_TETRIS_SHIFT_2                   0x00000002 /* RW--V */
  1116. #define NV_PFB_CONFIG_0_BANK_SWAP                             22:20 /* RWI-F */
  1117. #define NV_PFB_CONFIG_0_BANK_SWAP_OFF                    0x00000000 /* RWI-V */
  1118. #define NV_PFB_CONFIG_0_BANK_SWAP_1M                     0x00000001 /* RW--V */
  1119. #define NV_PFB_CONFIG_0_BANK_SWAP_2M                     0x00000005 /* RW--V */
  1120. #define NV_PFB_CONFIG_0_BANK_SWAP_4M                     0x00000007 /* RW--V */
  1121. #define NV_PFB_CONFIG_0_UNUSED                                23:23 /* RW-VF */
  1122. #define NV_PFB_CONFIG_0_SCRAMBLE_EN                           29:29 /* RWIVF */
  1123. #define NV_PFB_CONFIG_0_SCRAMBLE_EN_INIT                 0x00000000 /* RW--V */
  1124. #define NV_PFB_CONFIG_0_SCRAMBLE_ACTIVE                  0x00000001 /* RW--V */
  1125. #define NV_PFB_CONFIG_0_PRAMIN_WR                             28:28 /* RWIVF */
  1126. #define NV_PFB_CONFIG_0_PRAMIN_WR_INIT                   0x00000000 /* RW--V */
  1127. #define NV_PFB_CONFIG_0_PRAMIN_WR_DISABLED               0x00000001 /* RW--V */
  1128. #define NV_PFB_CONFIG_0_PRAMIN_WR_MASK                        27:24 /* RWIVF */
  1129. #define NV_PFB_CONFIG_0_PRAMIN_WR_MASK_INIT              0x00000000 /* RWI-V */
  1130. #define NV_PFB_CONFIG_0_PRAMIN_WR_MASK_CLEAR             0x0000000f /* RWI-V */
  1131. #define NV_PFB_CONFIG_1                                  0x00100204 /* RW-4R */
  1132. #define NV_PFB_RTL                                       0x00100300 /* RW-4R */
  1133. #define NV_PFB_RTL_H                                            0:0 /* RWIUF */
  1134. #define NV_PFB_RTL_H_DEFAULT                             0x00000000 /* RWI-V */
  1135. #define NV_PFB_RTL_MC                                           1:1 /* RWIUF */
  1136. #define NV_PFB_RTL_MC_DEFAULT                            0x00000000 /* RWI-V */
  1137. #define NV_PFB_RTL_V                                            2:2 /* RWIUF */
  1138. #define NV_PFB_RTL_V_DEFAULT                             0x00000000 /* RWI-V */
  1139. #define NV_PFB_RTL_G                                            3:3 /* RWIUF */
  1140. #define NV_PFB_RTL_G_DEFAULT                             0x00000000 /* RWI-V */
  1141. #define NV_PFB_RTL_GB                                           4:4 /* RWIUF */
  1142. #define NV_PFB_RTL_GB_DEFAULT                            0x00000000 /* RWI-V */
  1143. #define NV_PFB_CONFIG_0_RESOLUTION                              5:0 /* RWIVF */
  1144. #define NV_PFB_CONFIG_0_RESOLUTION_320_PIXELS            0x0000000a /* RW--V */
  1145. #define NV_PFB_CONFIG_0_RESOLUTION_400_PIXELS            0x0000000d /* RW--V */
  1146. #define NV_PFB_CONFIG_0_RESOLUTION_480_PIXELS            0x0000000f /* RW--V */
  1147. #define NV_PFB_CONFIG_0_RESOLUTION_512_PIXELS            0x00000010 /* RW--V */
  1148. #define NV_PFB_CONFIG_0_RESOLUTION_640_PIXELS            0x00000014 /* RW--V */
  1149. #define NV_PFB_CONFIG_0_RESOLUTION_800_PIXELS            0x00000019 /* RW--V */
  1150. #define NV_PFB_CONFIG_0_RESOLUTION_960_PIXELS            0x0000001e /* RW--V */
  1151. #define NV_PFB_CONFIG_0_RESOLUTION_1024_PIXELS           0x00000020 /* RW--V */
  1152. #define NV_PFB_CONFIG_0_RESOLUTION_1152_PIXELS           0x00000024 /* RW--V */
  1153. #define NV_PFB_CONFIG_0_RESOLUTION_1280_PIXELS           0x00000028 /* RW--V */
  1154. #define NV_PFB_CONFIG_0_RESOLUTION_1600_PIXELS           0x00000032 /* RW--V */
  1155. #define NV_PFB_CONFIG_0_RESOLUTION_DEFAULT               0x00000014 /* RWI-V */
  1156. #define NV_PFB_CONFIG_0_PIXEL_DEPTH                             9:8 /* RWIVF */
  1157. #define NV_PFB_CONFIG_0_PIXEL_DEPTH_8_BITS               0x00000001 /* RW--V */
  1158. #define NV_PFB_CONFIG_0_PIXEL_DEPTH_16_BITS              0x00000002 /* RW--V */
  1159. #define NV_PFB_CONFIG_0_PIXEL_DEPTH_32_BITS              0x00000003 /* RW--V */
  1160. #define NV_PFB_CONFIG_0_PIXEL_DEPTH_DEFAULT              0x00000001 /* RWI-V */
  1161. #define NV_PFB_CONFIG_0_TILING                                12:12 /* RWIVF */
  1162. #define NV_PFB_CONFIG_0_TILING_ENABLED                   0x00000000 /* RW--V */
  1163. #define NV_PFB_CONFIG_0_TILING_DISABLED                  0x00000001 /* RWI-V */
  1164. #define NV_PFB_CONFIG_1_SGRAM100                                3:3 /* RWIVF */
  1165. #define NV_PFB_CONFIG_1_SGRAM100_ENABLED                 0x00000000 /* RWI-V */
  1166. #define NV_PFB_CONFIG_1_SGRAM100_DISABLED                0x00000001 /* RW--V */
  1167. #define NV_PFB_DEBUG_0_CKE_ALWAYSON                           29:29 /* RWIVF */
  1168. #define NV_PFB_DEBUG_0_CKE_ALWAYSON_OFF                  0x00000000 /* RW--V */
  1169. #define NV_PFB_DEBUG_0_CKE_ALWAYSON_ON                   0x00000001 /* RWI-V */
  1170. #define NV_PEXTDEV                            0x00101FFF:0x00101000 /* RW--D */
  1171. #define NV_PEXTDEV_BOOT_0                                0x00101000 /* R--4R */
  1172. #define NV_PEXTDEV_BOOT_0_STRAP_BUS_SPEED                       0:0 /* R-XVF */
  1173. #define NV_PEXTDEV_BOOT_0_STRAP_BUS_SPEED_33MHZ          0x00000000 /* R---V */
  1174. #define NV_PEXTDEV_BOOT_0_STRAP_BUS_SPEED_66MHZ          0x00000001 /* R---V */
  1175. #define NV_PEXTDEV_BOOT_0_STRAP_SUB_VENDOR                      1:1 /* R-XVF */
  1176. #define NV_PEXTDEV_BOOT_0_STRAP_SUB_VENDOR_NO_BIOS       0x00000000 /* R---V */
  1177. #define NV_PEXTDEV_BOOT_0_STRAP_SUB_VENDOR_BIOS          0x00000001 /* R---V */
  1178. #define NV_PEXTDEV_BOOT_0_STRAP_RAM_TYPE                        3:2 /* R-XVF */
  1179. #define NV_PEXTDEV_BOOT_0_STRAP_RAM_TYPE_SGRAM_256K      0x00000000 /* R---V */
  1180. #define NV_PEXTDEV_BOOT_0_STRAP_RAM_TYPE_SGRAM_512K_2BANK 0x00000001 /* R---V */
  1181. #define NV_PEXTDEV_BOOT_0_STRAP_RAM_TYPE_SGRAM_512K_4BANK 0x00000002 /* R---V */
  1182. #define NV_PEXTDEV_BOOT_0_STRAP_RAM_TYPE_1024K_2BANK     0x00000003 /* R---V */
  1183. #define NV_PEXTDEV_BOOT_0_STRAP_RAM_WIDTH                       4:4 /* R-XVF */
  1184. #define NV_PEXTDEV_BOOT_0_STRAP_RAM_WIDTH_64             0x00000000 /* R---V */
  1185. #define NV_PEXTDEV_BOOT_0_STRAP_RAM_WIDTH_128            0x00000001 /* R---V */
  1186. #define NV_PEXTDEV_BOOT_0_STRAP_BUS_TYPE                        5:5 /* R-XVF */
  1187. #define NV_PEXTDEV_BOOT_0_STRAP_BUS_TYPE_PCI             0x00000000 /* R---V */
  1188. #define NV_PEXTDEV_BOOT_0_STRAP_BUS_TYPE_AGP             0x00000001 /* R---V */
  1189. #define NV_PEXTDEV_BOOT_0_STRAP_CRYSTAL                         6:6 /* R-XVF */
  1190. #define NV_PEXTDEV_BOOT_0_STRAP_CRYSTAL_13500K           0x00000000 /* R---V */
  1191. #define NV_PEXTDEV_BOOT_0_STRAP_CRYSTAL_14318180         0x00000001 /* R---V */
  1192. #define NV_PEXTDEV_BOOT_0_STRAP_TVMODE                          8:7 /* R-XVF */
  1193. #define NV_PEXTDEV_BOOT_0_STRAP_TVMODE_SECAM             0x00000000 /* R---V */
  1194. #define NV_PEXTDEV_BOOT_0_STRAP_TVMODE_NTSC              0x00000001 /* R---V */
  1195. #define NV_PEXTDEV_BOOT_0_STRAP_TVMODE_PAL               0x00000002 /* R---V */
  1196. #define NV_PEXTDEV_BOOT_0_STRAP_TVMODE_DISABLED          0x00000003 /* R---V */
  1197. #define NV_PEXTDEV_BOOT_0_STRAP_OVERWRITE                     11:11 /* RWIVF */
  1198. #define NV_PEXTDEV_BOOT_0_STRAP_OVERWRITE_DISABLED       0x00000000 /* RWI-V */
  1199. #define NV_PEXTDEV_BOOT_0_STRAP_OVERWRITE_ENABLED        0x00000001 /* RW--V */
  1200. /* Extras */
  1201. #define NV_PRAMIN                             0x007FFFFF:0x00700000 /* RW--M */
  1202. /*#define NV_PRAMIN                             0x00FFFFFF:0x00C00000*/
  1203. #define NV_PNVM                               0x01FFFFFF:0x01000000 /* RW--M */
  1204. /*#define NV_PNVM                               0x00BFFFFF:0x00800000*/
  1205. #define NV_CHAN0                              0x0080ffff:0x00800000
  1206. /* FIFO subchannels */
  1207. #define NV_UROP                               0x43
  1208. #define NV_UCHROMA                            0x57
  1209. #define NV_UCLIP                              0x19
  1210. #define NV_UPATT                              0x18
  1211. #define NV_ULIN                               0x5C
  1212. #define NV_UTRI                               0x5D
  1213. #define NV_URECT                              0x5E
  1214. #define NV_UBLIT                              0x5F
  1215. #define NV_UGLYPH                             0x4B
  1216. #endif /*__NV4REF_H__*/