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

Go to the source code of this file.

Macros

#define TRIDENTFB_DEBUG   0
 
#define debug(f, a...)
 
#define output(f, a...)   pr_info("tridentfb: " f, ## a)
 
#define Kb   (1024)
 
#define Mb   (Kb*Kb)
 
#define CYBER9320   0x9320
 
#define CYBER9388   0x9388
 
#define CYBER9382   0x9382 /* the real PCI id for this is 9660 */
 
#define CYBER9385   0x9385 /* ditto */
 
#define CYBER9397   0x9397
 
#define CYBER9397DVD   0x939A
 
#define CYBER9520   0x9520
 
#define CYBER9525DVD   0x9525
 
#define TGUI9440   0x9440
 
#define TGUI9660   0x9660
 
#define PROVIDIA9685   0x9685
 
#define IMAGE975   0x9750
 
#define IMAGE985   0x9850
 
#define BLADE3D   0x9880
 
#define CYBERBLADEE4   0x9540
 
#define CYBERBLADEi7   0x8400
 
#define CYBERBLADEi7D   0x8420
 
#define CYBERBLADEi1   0x8500
 
#define CYBERBLADEi1D   0x8520
 
#define CYBERBLADEAi1   0x8600
 
#define CYBERBLADEAi1D   0x8620
 
#define CYBERBLADEXPAi1   0x8820
 
#define CYBERBLADEXPm8   0x9910
 
#define CYBERBLADEXPm16   0x9930
 
#define LCD_STRETCH   0
 
#define LCD_CENTER   1
 
#define LCD_BIOS   2
 
#define SPR   0x1F /* Software Programming Register (videoram) */
 
#define RevisionID   0x09
 
#define OldOrNew   0x0B
 
#define ConfPort1   0x0C
 
#define ConfPort2   0x0C
 
#define NewMode2   0x0D
 
#define NewMode1   0x0E
 
#define Protection   0x11
 
#define MCLKLow   0x16
 
#define MCLKHigh   0x17
 
#define ClockLow   0x18
 
#define ClockHigh   0x19
 
#define SSetup   0x20
 
#define SKey   0x37
 
#define SPKey   0x57
 
#define CRTCModuleTest   0x1E
 
#define FIFOControl   0x20
 
#define LinearAddReg   0x21
 
#define DRAMTiming   0x23
 
#define New32   0x23
 
#define RAMDACTiming   0x25
 
#define CRTHiOrd   0x27
 
#define AddColReg   0x29
 
#define InterfaceSel   0x2A
 
#define HorizOverflow   0x2B
 
#define GETest   0x2D
 
#define Performance   0x2F
 
#define GraphEngReg   0x36
 
#define I2C   0x37
 
#define PixelBusReg   0x38
 
#define PCIReg   0x39
 
#define DRAMControl   0x3A
 
#define MiscContReg   0x3C
 
#define CursorXLow   0x40
 
#define CursorXHigh   0x41
 
#define CursorYLow   0x42
 
#define CursorYHigh   0x43
 
#define CursorLocLow   0x44
 
#define CursorLocHigh   0x45
 
#define CursorXOffset   0x46
 
#define CursorYOffset   0x47
 
#define CursorFG1   0x48
 
#define CursorFG2   0x49
 
#define CursorFG3   0x4A
 
#define CursorFG4   0x4B
 
#define CursorBG1   0x4C
 
#define CursorBG2   0x4D
 
#define CursorBG3   0x4E
 
#define CursorBG4   0x4F
 
#define CursorControl   0x50
 
#define PCIRetry   0x55
 
#define PreEndControl   0x56
 
#define PreEndFetch   0x57
 
#define PCIMaster   0x60
 
#define Enhancement0   0x62
 
#define NewEDO   0x64
 
#define TVinterface   0xC0
 
#define TVMode   0xC1
 
#define ClockControl   0xCF
 
#define MiscExtFunc   0x0F
 
#define PowerStatus   0x23
 
#define MiscIntContReg   0x2F
 
#define CyberControl   0x30
 
#define CyberEnhance   0x31
 
#define FPConfig   0x33
 
#define VertStretch   0x52
 
#define HorStretch   0x53
 
#define BiosMode   0x5c
 
#define BiosReg   0x5d
 
#define STATUS   0x2120
 
#define OLDCMD   0x2124
 
#define DRAWFL   0x2128
 
#define OLDCLR   0x212C
 
#define OLDDST   0x2138
 
#define OLDSRC   0x213C
 
#define OLDDIM   0x2140
 
#define CMD   0x2144
 
#define ROP   0x2148
 
#define COLOR   0x2160
 
#define BGCOLOR   0x2164
 
#define SRC1   0x2100
 
#define SRC2   0x2104
 
#define DST1   0x2108
 
#define DST2   0x210C
 
#define ROP_S   0xCC
 
#define ROP_P   0xF0
 
#define ROP_X   0x66
 

Macro Definition Documentation

#define AddColReg   0x29

Definition at line 76 of file trident.h.

#define BGCOLOR   0x2164

Definition at line 138 of file trident.h.

#define BiosMode   0x5c

Definition at line 124 of file trident.h.

#define BiosReg   0x5d

Definition at line 125 of file trident.h.

#define BLADE3D   0x9880

Definition at line 32 of file trident.h.

#define ClockControl   0xCF

Definition at line 112 of file trident.h.

#define ClockHigh   0x19

Definition at line 63 of file trident.h.

#define ClockLow   0x18

Definition at line 62 of file trident.h.

#define CMD   0x2144

Definition at line 135 of file trident.h.

#define COLOR   0x2160

Definition at line 137 of file trident.h.

#define ConfPort1   0x0C

Definition at line 55 of file trident.h.

#define ConfPort2   0x0C

Definition at line 56 of file trident.h.

#define CRTCModuleTest   0x1E

Definition at line 69 of file trident.h.

#define CRTHiOrd   0x27

Definition at line 75 of file trident.h.

#define CursorBG1   0x4C

Definition at line 99 of file trident.h.

#define CursorBG2   0x4D

Definition at line 100 of file trident.h.

#define CursorBG3   0x4E

Definition at line 101 of file trident.h.

#define CursorBG4   0x4F

Definition at line 102 of file trident.h.

#define CursorControl   0x50

Definition at line 103 of file trident.h.

#define CursorFG1   0x48

Definition at line 95 of file trident.h.

#define CursorFG2   0x49

Definition at line 96 of file trident.h.

#define CursorFG3   0x4A

Definition at line 97 of file trident.h.

#define CursorFG4   0x4B

Definition at line 98 of file trident.h.

#define CursorLocHigh   0x45

Definition at line 92 of file trident.h.

#define CursorLocLow   0x44

Definition at line 91 of file trident.h.

#define CursorXHigh   0x41

Definition at line 88 of file trident.h.

#define CursorXLow   0x40

Definition at line 87 of file trident.h.

#define CursorXOffset   0x46

Definition at line 93 of file trident.h.

#define CursorYHigh   0x43

Definition at line 90 of file trident.h.

#define CursorYLow   0x42

Definition at line 89 of file trident.h.

#define CursorYOffset   0x47

Definition at line 94 of file trident.h.

#define CYBER9320   0x9320

Definition at line 19 of file trident.h.

#define CYBER9382   0x9382 /* the real PCI id for this is 9660 */

Definition at line 21 of file trident.h.

#define CYBER9385   0x9385 /* ditto */

Definition at line 22 of file trident.h.

#define CYBER9388   0x9388

Definition at line 20 of file trident.h.

#define CYBER9397   0x9397

Definition at line 23 of file trident.h.

#define CYBER9397DVD   0x939A

Definition at line 24 of file trident.h.

#define CYBER9520   0x9520

Definition at line 25 of file trident.h.

#define CYBER9525DVD   0x9525

Definition at line 26 of file trident.h.

#define CYBERBLADEAi1   0x8600

Definition at line 38 of file trident.h.

#define CYBERBLADEAi1D   0x8620

Definition at line 39 of file trident.h.

#define CYBERBLADEE4   0x9540

Definition at line 33 of file trident.h.

#define CYBERBLADEi1   0x8500

Definition at line 36 of file trident.h.

#define CYBERBLADEi1D   0x8520

Definition at line 37 of file trident.h.

#define CYBERBLADEi7   0x8400

Definition at line 34 of file trident.h.

#define CYBERBLADEi7D   0x8420

Definition at line 35 of file trident.h.

#define CYBERBLADEXPAi1   0x8820

Definition at line 40 of file trident.h.

#define CYBERBLADEXPm16   0x9930

Definition at line 42 of file trident.h.

#define CYBERBLADEXPm8   0x9910

Definition at line 41 of file trident.h.

#define CyberControl   0x30

Definition at line 119 of file trident.h.

#define CyberEnhance   0x31

Definition at line 120 of file trident.h.

#define debug (   f,
  a... 
)

Definition at line 9 of file trident.h.

#define DRAMControl   0x3A

Definition at line 85 of file trident.h.

#define DRAMTiming   0x23

Definition at line 72 of file trident.h.

#define DRAWFL   0x2128

Definition at line 130 of file trident.h.

#define DST1   0x2108

Definition at line 141 of file trident.h.

#define DST2   0x210C

Definition at line 142 of file trident.h.

#define Enhancement0   0x62

Definition at line 108 of file trident.h.

#define FIFOControl   0x20

Definition at line 70 of file trident.h.

#define FPConfig   0x33

Definition at line 121 of file trident.h.

#define GETest   0x2D

Definition at line 79 of file trident.h.

#define GraphEngReg   0x36

Definition at line 81 of file trident.h.

#define HorizOverflow   0x2B

Definition at line 78 of file trident.h.

#define HorStretch   0x53

Definition at line 123 of file trident.h.

#define I2C   0x37

Definition at line 82 of file trident.h.

#define IMAGE975   0x9750

Definition at line 30 of file trident.h.

#define IMAGE985   0x9850

Definition at line 31 of file trident.h.

#define InterfaceSel   0x2A

Definition at line 77 of file trident.h.

#define Kb   (1024)

Definition at line 14 of file trident.h.

#define LCD_BIOS   2

Definition at line 47 of file trident.h.

#define LCD_CENTER   1

Definition at line 46 of file trident.h.

#define LCD_STRETCH   0

Definition at line 45 of file trident.h.

#define LinearAddReg   0x21

Definition at line 71 of file trident.h.

#define Mb   (Kb*Kb)

Definition at line 15 of file trident.h.

#define MCLKHigh   0x17

Definition at line 61 of file trident.h.

#define MCLKLow   0x16

Definition at line 60 of file trident.h.

#define MiscContReg   0x3C

Definition at line 86 of file trident.h.

#define MiscExtFunc   0x0F

Definition at line 116 of file trident.h.

#define MiscIntContReg   0x2F

Definition at line 118 of file trident.h.

#define New32   0x23

Definition at line 73 of file trident.h.

#define NewEDO   0x64

Definition at line 109 of file trident.h.

#define NewMode1   0x0E

Definition at line 58 of file trident.h.

#define NewMode2   0x0D

Definition at line 57 of file trident.h.

#define OLDCLR   0x212C

Definition at line 131 of file trident.h.

#define OLDCMD   0x2124

Definition at line 129 of file trident.h.

#define OLDDIM   0x2140

Definition at line 134 of file trident.h.

#define OLDDST   0x2138

Definition at line 132 of file trident.h.

#define OldOrNew   0x0B

Definition at line 54 of file trident.h.

#define OLDSRC   0x213C

Definition at line 133 of file trident.h.

#define output (   f,
  a... 
)    pr_info("tridentfb: " f, ## a)

Definition at line 12 of file trident.h.

#define PCIMaster   0x60

Definition at line 107 of file trident.h.

#define PCIReg   0x39

Definition at line 84 of file trident.h.

#define PCIRetry   0x55

Definition at line 104 of file trident.h.

#define Performance   0x2F

Definition at line 80 of file trident.h.

#define PixelBusReg   0x38

Definition at line 83 of file trident.h.

#define PowerStatus   0x23

Definition at line 117 of file trident.h.

#define PreEndControl   0x56

Definition at line 105 of file trident.h.

#define PreEndFetch   0x57

Definition at line 106 of file trident.h.

#define Protection   0x11

Definition at line 59 of file trident.h.

#define PROVIDIA9685   0x9685

Definition at line 29 of file trident.h.

#define RAMDACTiming   0x25

Definition at line 74 of file trident.h.

#define RevisionID   0x09

Definition at line 53 of file trident.h.

#define ROP   0x2148

Definition at line 136 of file trident.h.

#define ROP_P   0xF0

Definition at line 145 of file trident.h.

#define ROP_S   0xCC

Definition at line 144 of file trident.h.

#define ROP_X   0x66

Definition at line 146 of file trident.h.

#define SKey   0x37

Definition at line 65 of file trident.h.

#define SPKey   0x57

Definition at line 66 of file trident.h.

#define SPR   0x1F /* Software Programming Register (videoram) */

Definition at line 50 of file trident.h.

#define SRC1   0x2100

Definition at line 139 of file trident.h.

#define SRC2   0x2104

Definition at line 140 of file trident.h.

#define SSetup   0x20

Definition at line 64 of file trident.h.

#define STATUS   0x2120

Definition at line 128 of file trident.h.

#define TGUI9440   0x9440

Definition at line 27 of file trident.h.

#define TGUI9660   0x9660

Definition at line 28 of file trident.h.

#define TRIDENTFB_DEBUG   0

Definition at line 3 of file trident.h.

#define TVinterface   0xC0

Definition at line 110 of file trident.h.

#define TVMode   0xC1

Definition at line 111 of file trident.h.

#define VertStretch   0x52

Definition at line 122 of file trident.h.