Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
nv50_evo.h File Reference

Go to the source code of this file.

Macros

#define NV50_EVO_UPDATE   0x00000080
 
#define NV50_EVO_UNK84   0x00000084
 
#define NV50_EVO_UNK84_NOTIFY   0x40000000
 
#define NV50_EVO_UNK84_NOTIFY_DISABLED   0x00000000
 
#define NV50_EVO_UNK84_NOTIFY_ENABLED   0x40000000
 
#define NV50_EVO_DMA_NOTIFY   0x00000088
 
#define NV50_EVO_DMA_NOTIFY_HANDLE   0xffffffff
 
#define NV50_EVO_DMA_NOTIFY_HANDLE_NONE   0x00000000
 
#define NV50_EVO_UNK8C   0x0000008C
 
#define NV50_EVO_DAC(n, r)   ((n) * 0x80 + NV50_EVO_DAC_##r)
 
#define NV50_EVO_DAC_MODE_CTRL   0x00000400
 
#define NV50_EVO_DAC_MODE_CTRL_CRTC0   0x00000001
 
#define NV50_EVO_DAC_MODE_CTRL_CRTC1   0x00000002
 
#define NV50_EVO_DAC_MODE_CTRL2   0x00000404
 
#define NV50_EVO_DAC_MODE_CTRL2_NHSYNC   0x00000001
 
#define NV50_EVO_DAC_MODE_CTRL2_NVSYNC   0x00000002
 
#define NV50_EVO_SOR(n, r)   ((n) * 0x40 + NV50_EVO_SOR_##r)
 
#define NV50_EVO_SOR_MODE_CTRL   0x00000600
 
#define NV50_EVO_SOR_MODE_CTRL_CRTC0   0x00000001
 
#define NV50_EVO_SOR_MODE_CTRL_CRTC1   0x00000002
 
#define NV50_EVO_SOR_MODE_CTRL_TMDS   0x00000100
 
#define NV50_EVO_SOR_MODE_CTRL_TMDS_DUAL_LINK   0x00000400
 
#define NV50_EVO_SOR_MODE_CTRL_NHSYNC   0x00001000
 
#define NV50_EVO_SOR_MODE_CTRL_NVSYNC   0x00002000
 
#define NV50_EVO_CRTC(n, r)   ((n) * 0x400 + NV50_EVO_CRTC_##r)
 
#define NV84_EVO_CRTC(n, r)   ((n) * 0x400 + NV84_EVO_CRTC_##r)
 
#define NV50_EVO_CRTC_UNK0800   0x00000800
 
#define NV50_EVO_CRTC_CLOCK   0x00000804
 
#define NV50_EVO_CRTC_INTERLACE   0x00000808
 
#define NV50_EVO_CRTC_DISPLAY_START   0x00000810
 
#define NV50_EVO_CRTC_DISPLAY_TOTAL   0x00000814
 
#define NV50_EVO_CRTC_SYNC_DURATION   0x00000818
 
#define NV50_EVO_CRTC_SYNC_START_TO_BLANK_END   0x0000081c
 
#define NV50_EVO_CRTC_UNK0820   0x00000820
 
#define NV50_EVO_CRTC_UNK0824   0x00000824
 
#define NV50_EVO_CRTC_UNK082C   0x0000082c
 
#define NV50_EVO_CRTC_CLUT_MODE   0x00000840
 
#define NV50_EVO_CRTC_CLUT_MODE_BLANK   0x00000000
 
#define NV50_EVO_CRTC_CLUT_MODE_OFF   0x80000000
 
#define NV50_EVO_CRTC_CLUT_MODE_ON   0xC0000000
 
#define NV50_EVO_CRTC_CLUT_OFFSET   0x00000844
 
#define NV84_EVO_CRTC_CLUT_DMA   0x0000085C
 
#define NV84_EVO_CRTC_CLUT_DMA_HANDLE   0xffffffff
 
#define NV84_EVO_CRTC_CLUT_DMA_HANDLE_NONE   0x00000000
 
#define NV50_EVO_CRTC_FB_OFFSET   0x00000860
 
#define NV50_EVO_CRTC_FB_SIZE   0x00000868
 
#define NV50_EVO_CRTC_FB_CONFIG   0x0000086c
 
#define NV50_EVO_CRTC_FB_CONFIG_MODE   0x00100000
 
#define NV50_EVO_CRTC_FB_CONFIG_MODE_TILE   0x00000000
 
#define NV50_EVO_CRTC_FB_CONFIG_MODE_PITCH   0x00100000
 
#define NV50_EVO_CRTC_FB_DEPTH   0x00000870
 
#define NV50_EVO_CRTC_FB_DEPTH_8   0x00001e00
 
#define NV50_EVO_CRTC_FB_DEPTH_15   0x0000e900
 
#define NV50_EVO_CRTC_FB_DEPTH_16   0x0000e800
 
#define NV50_EVO_CRTC_FB_DEPTH_24   0x0000cf00
 
#define NV50_EVO_CRTC_FB_DEPTH_30   0x0000d100
 
#define NV50_EVO_CRTC_FB_DMA   0x00000874
 
#define NV50_EVO_CRTC_FB_DMA_HANDLE   0xffffffff
 
#define NV50_EVO_CRTC_FB_DMA_HANDLE_NONE   0x00000000
 
#define NV50_EVO_CRTC_CURSOR_CTRL   0x00000880
 
#define NV50_EVO_CRTC_CURSOR_CTRL_HIDE   0x05000000
 
#define NV50_EVO_CRTC_CURSOR_CTRL_SHOW   0x85000000
 
#define NV50_EVO_CRTC_CURSOR_OFFSET   0x00000884
 
#define NV84_EVO_CRTC_CURSOR_DMA   0x0000089c
 
#define NV84_EVO_CRTC_CURSOR_DMA_HANDLE   0xffffffff
 
#define NV84_EVO_CRTC_CURSOR_DMA_HANDLE_NONE   0x00000000
 
#define NV50_EVO_CRTC_DITHER_CTRL   0x000008a0
 
#define NV50_EVO_CRTC_DITHER_CTRL_OFF   0x00000000
 
#define NV50_EVO_CRTC_DITHER_CTRL_ON   0x00000011
 
#define NV50_EVO_CRTC_SCALE_CTRL   0x000008a4
 
#define NV50_EVO_CRTC_SCALE_CTRL_INACTIVE   0x00000000
 
#define NV50_EVO_CRTC_SCALE_CTRL_ACTIVE   0x00000009
 
#define NV50_EVO_CRTC_COLOR_CTRL   0x000008a8
 
#define NV50_EVO_CRTC_COLOR_CTRL_VIBRANCE   0x000fff00
 
#define NV50_EVO_CRTC_COLOR_CTRL_HUE   0xfff00000
 
#define NV50_EVO_CRTC_FB_POS   0x000008c0
 
#define NV50_EVO_CRTC_REAL_RES   0x000008c8
 
#define NV50_EVO_CRTC_SCALE_CENTER_OFFSET   0x000008d4
 
#define NV50_EVO_CRTC_SCALE_CENTER_OFFSET_VAL(x, y)   ((((unsigned)y << 16) & 0xFFFF0000) | (((unsigned)x) & 0x0000FFFF))
 
#define NV50_EVO_CRTC_SCALE_RES1   0x000008d8
 
#define NV50_EVO_CRTC_SCALE_RES2   0x000008dc
 
#define NV50_EVO_CRTC_UNK900   0x00000900
 
#define NV50_EVO_CRTC_UNK904   0x00000904
 

Macro Definition Documentation

#define NV50_EVO_CRTC (   n,
  r 
)    ((n) * 0x400 + NV50_EVO_CRTC_##r)

Definition at line 57 of file nv50_evo.h.

#define NV50_EVO_CRTC_CLOCK   0x00000804

Definition at line 60 of file nv50_evo.h.

#define NV50_EVO_CRTC_CLUT_MODE   0x00000840

Definition at line 69 of file nv50_evo.h.

#define NV50_EVO_CRTC_CLUT_MODE_BLANK   0x00000000

Definition at line 71 of file nv50_evo.h.

#define NV50_EVO_CRTC_CLUT_MODE_OFF   0x80000000

Definition at line 72 of file nv50_evo.h.

#define NV50_EVO_CRTC_CLUT_MODE_ON   0xC0000000

Definition at line 73 of file nv50_evo.h.

#define NV50_EVO_CRTC_CLUT_OFFSET   0x00000844

Definition at line 74 of file nv50_evo.h.

#define NV50_EVO_CRTC_COLOR_CTRL   0x000008a8

Definition at line 106 of file nv50_evo.h.

#define NV50_EVO_CRTC_COLOR_CTRL_HUE   0xfff00000

Definition at line 108 of file nv50_evo.h.

#define NV50_EVO_CRTC_COLOR_CTRL_VIBRANCE   0x000fff00

Definition at line 107 of file nv50_evo.h.

#define NV50_EVO_CRTC_CURSOR_CTRL   0x00000880

Definition at line 93 of file nv50_evo.h.

#define NV50_EVO_CRTC_CURSOR_CTRL_HIDE   0x05000000

Definition at line 94 of file nv50_evo.h.

#define NV50_EVO_CRTC_CURSOR_CTRL_SHOW   0x85000000

Definition at line 95 of file nv50_evo.h.

#define NV50_EVO_CRTC_CURSOR_OFFSET   0x00000884

Definition at line 96 of file nv50_evo.h.

#define NV50_EVO_CRTC_DISPLAY_START   0x00000810

Definition at line 62 of file nv50_evo.h.

#define NV50_EVO_CRTC_DISPLAY_TOTAL   0x00000814

Definition at line 63 of file nv50_evo.h.

#define NV50_EVO_CRTC_DITHER_CTRL   0x000008a0

Definition at line 100 of file nv50_evo.h.

#define NV50_EVO_CRTC_DITHER_CTRL_OFF   0x00000000

Definition at line 101 of file nv50_evo.h.

#define NV50_EVO_CRTC_DITHER_CTRL_ON   0x00000011

Definition at line 102 of file nv50_evo.h.

#define NV50_EVO_CRTC_FB_CONFIG   0x0000086c

Definition at line 80 of file nv50_evo.h.

#define NV50_EVO_CRTC_FB_CONFIG_MODE   0x00100000

Definition at line 81 of file nv50_evo.h.

#define NV50_EVO_CRTC_FB_CONFIG_MODE_PITCH   0x00100000

Definition at line 83 of file nv50_evo.h.

#define NV50_EVO_CRTC_FB_CONFIG_MODE_TILE   0x00000000

Definition at line 82 of file nv50_evo.h.

#define NV50_EVO_CRTC_FB_DEPTH   0x00000870

Definition at line 84 of file nv50_evo.h.

#define NV50_EVO_CRTC_FB_DEPTH_15   0x0000e900

Definition at line 86 of file nv50_evo.h.

#define NV50_EVO_CRTC_FB_DEPTH_16   0x0000e800

Definition at line 87 of file nv50_evo.h.

#define NV50_EVO_CRTC_FB_DEPTH_24   0x0000cf00

Definition at line 88 of file nv50_evo.h.

#define NV50_EVO_CRTC_FB_DEPTH_30   0x0000d100

Definition at line 89 of file nv50_evo.h.

#define NV50_EVO_CRTC_FB_DEPTH_8   0x00001e00

Definition at line 85 of file nv50_evo.h.

#define NV50_EVO_CRTC_FB_DMA   0x00000874

Definition at line 90 of file nv50_evo.h.

#define NV50_EVO_CRTC_FB_DMA_HANDLE   0xffffffff

Definition at line 91 of file nv50_evo.h.

#define NV50_EVO_CRTC_FB_DMA_HANDLE_NONE   0x00000000

Definition at line 92 of file nv50_evo.h.

#define NV50_EVO_CRTC_FB_OFFSET   0x00000860

Definition at line 78 of file nv50_evo.h.

#define NV50_EVO_CRTC_FB_POS   0x000008c0

Definition at line 109 of file nv50_evo.h.

#define NV50_EVO_CRTC_FB_SIZE   0x00000868

Definition at line 79 of file nv50_evo.h.

#define NV50_EVO_CRTC_INTERLACE   0x00000808

Definition at line 61 of file nv50_evo.h.

#define NV50_EVO_CRTC_REAL_RES   0x000008c8

Definition at line 110 of file nv50_evo.h.

#define NV50_EVO_CRTC_SCALE_CENTER_OFFSET   0x000008d4

Definition at line 111 of file nv50_evo.h.

#define NV50_EVO_CRTC_SCALE_CENTER_OFFSET_VAL (   x,
  y 
)    ((((unsigned)y << 16) & 0xFFFF0000) | (((unsigned)x) & 0x0000FFFF))

Definition at line 112 of file nv50_evo.h.

#define NV50_EVO_CRTC_SCALE_CTRL   0x000008a4

Definition at line 103 of file nv50_evo.h.

#define NV50_EVO_CRTC_SCALE_CTRL_ACTIVE   0x00000009

Definition at line 105 of file nv50_evo.h.

#define NV50_EVO_CRTC_SCALE_CTRL_INACTIVE   0x00000000

Definition at line 104 of file nv50_evo.h.

#define NV50_EVO_CRTC_SCALE_RES1   0x000008d8

Definition at line 115 of file nv50_evo.h.

#define NV50_EVO_CRTC_SCALE_RES2   0x000008dc

Definition at line 116 of file nv50_evo.h.

#define NV50_EVO_CRTC_SYNC_DURATION   0x00000818

Definition at line 64 of file nv50_evo.h.

#define NV50_EVO_CRTC_SYNC_START_TO_BLANK_END   0x0000081c

Definition at line 65 of file nv50_evo.h.

#define NV50_EVO_CRTC_UNK0800   0x00000800

Definition at line 59 of file nv50_evo.h.

#define NV50_EVO_CRTC_UNK0820   0x00000820

Definition at line 66 of file nv50_evo.h.

#define NV50_EVO_CRTC_UNK0824   0x00000824

Definition at line 67 of file nv50_evo.h.

#define NV50_EVO_CRTC_UNK082C   0x0000082c

Definition at line 68 of file nv50_evo.h.

#define NV50_EVO_CRTC_UNK900   0x00000900

Definition at line 117 of file nv50_evo.h.

#define NV50_EVO_CRTC_UNK904   0x00000904

Definition at line 118 of file nv50_evo.h.

#define NV50_EVO_DAC (   n,
  r 
)    ((n) * 0x80 + NV50_EVO_DAC_##r)

Definition at line 40 of file nv50_evo.h.

#define NV50_EVO_DAC_MODE_CTRL   0x00000400

Definition at line 41 of file nv50_evo.h.

#define NV50_EVO_DAC_MODE_CTRL2   0x00000404

Definition at line 44 of file nv50_evo.h.

#define NV50_EVO_DAC_MODE_CTRL2_NHSYNC   0x00000001

Definition at line 45 of file nv50_evo.h.

#define NV50_EVO_DAC_MODE_CTRL2_NVSYNC   0x00000002

Definition at line 46 of file nv50_evo.h.

#define NV50_EVO_DAC_MODE_CTRL_CRTC0   0x00000001

Definition at line 42 of file nv50_evo.h.

#define NV50_EVO_DAC_MODE_CTRL_CRTC1   0x00000002

Definition at line 43 of file nv50_evo.h.

#define NV50_EVO_DMA_NOTIFY   0x00000088

Definition at line 35 of file nv50_evo.h.

#define NV50_EVO_DMA_NOTIFY_HANDLE   0xffffffff

Definition at line 36 of file nv50_evo.h.

#define NV50_EVO_DMA_NOTIFY_HANDLE_NONE   0x00000000

Definition at line 37 of file nv50_evo.h.

#define NV50_EVO_SOR (   n,
  r 
)    ((n) * 0x40 + NV50_EVO_SOR_##r)

Definition at line 48 of file nv50_evo.h.

#define NV50_EVO_SOR_MODE_CTRL   0x00000600

Definition at line 49 of file nv50_evo.h.

#define NV50_EVO_SOR_MODE_CTRL_CRTC0   0x00000001

Definition at line 50 of file nv50_evo.h.

#define NV50_EVO_SOR_MODE_CTRL_CRTC1   0x00000002

Definition at line 51 of file nv50_evo.h.

#define NV50_EVO_SOR_MODE_CTRL_NHSYNC   0x00001000

Definition at line 54 of file nv50_evo.h.

#define NV50_EVO_SOR_MODE_CTRL_NVSYNC   0x00002000

Definition at line 55 of file nv50_evo.h.

#define NV50_EVO_SOR_MODE_CTRL_TMDS   0x00000100

Definition at line 52 of file nv50_evo.h.

#define NV50_EVO_SOR_MODE_CTRL_TMDS_DUAL_LINK   0x00000400

Definition at line 53 of file nv50_evo.h.

#define NV50_EVO_UNK84   0x00000084

Definition at line 31 of file nv50_evo.h.

#define NV50_EVO_UNK84_NOTIFY   0x40000000

Definition at line 32 of file nv50_evo.h.

#define NV50_EVO_UNK84_NOTIFY_DISABLED   0x00000000

Definition at line 33 of file nv50_evo.h.

#define NV50_EVO_UNK84_NOTIFY_ENABLED   0x40000000

Definition at line 34 of file nv50_evo.h.

#define NV50_EVO_UNK8C   0x0000008C

Definition at line 38 of file nv50_evo.h.

#define NV50_EVO_UPDATE   0x00000080

Definition at line 30 of file nv50_evo.h.

#define NV84_EVO_CRTC (   n,
  r 
)    ((n) * 0x400 + NV84_EVO_CRTC_##r)

Definition at line 58 of file nv50_evo.h.

#define NV84_EVO_CRTC_CLUT_DMA   0x0000085C

Definition at line 75 of file nv50_evo.h.

#define NV84_EVO_CRTC_CLUT_DMA_HANDLE   0xffffffff

Definition at line 76 of file nv50_evo.h.

#define NV84_EVO_CRTC_CLUT_DMA_HANDLE_NONE   0x00000000

Definition at line 77 of file nv50_evo.h.

#define NV84_EVO_CRTC_CURSOR_DMA   0x0000089c

Definition at line 97 of file nv50_evo.h.

#define NV84_EVO_CRTC_CURSOR_DMA_HANDLE   0xffffffff

Definition at line 98 of file nv50_evo.h.

#define NV84_EVO_CRTC_CURSOR_DMA_HANDLE_NONE   0x00000000

Definition at line 99 of file nv50_evo.h.