linux/include/video/trident.h

/* SPDX-License-Identifier: GPL-2.0 */

#ifndef TRIDENTFB_DEBUG
#define TRIDENTFB_DEBUG
#endif

#if TRIDENTFB_DEBUG
#define debug
#else
#define debug(f, a...)
#endif

#define output(f, a...)

#define Kb
#define Mb

/* PCI IDS of supported cards temporarily here */

#define CYBER9320
#define CYBER9388
#define CYBER9382
#define CYBER9385		
#define CYBER9397
#define CYBER9397DVD
#define CYBER9520
#define CYBER9525DVD
#define TGUI9440
#define TGUI9660
#define PROVIDIA9685
#define IMAGE975
#define IMAGE985
#define BLADE3D
#define CYBERBLADEE4
#define CYBERBLADEi7
#define CYBERBLADEi7D
#define CYBERBLADEi1
#define CYBERBLADEi1D
#define CYBERBLADEAi1
#define CYBERBLADEAi1D
#define CYBERBLADEXPAi1
#define CYBERBLADEXPm8
#define CYBERBLADEXPm16

/* these defines are for 'lcd' variable */
#define LCD_STRETCH
#define LCD_CENTER
#define LCD_BIOS

/* General Registers */
#define SPR

/* 3C4 */
#define RevisionID
#define OldOrNew	
#define ConfPort1
#define ConfPort2
#define NewMode2
#define NewMode1
#define Protection
#define MCLKLow
#define MCLKHigh
#define ClockLow
#define ClockHigh
#define SSetup
#define SKey
#define SPKey

/* 3x4 */
#define CRTCModuleTest
#define FIFOControl
#define LinearAddReg
#define DRAMTiming
#define New32
#define RAMDACTiming
#define CRTHiOrd
#define AddColReg
#define InterfaceSel
#define HorizOverflow
#define GETest
#define Performance
#define GraphEngReg
#define I2C
#define PixelBusReg
#define PCIReg
#define DRAMControl
#define MiscContReg
#define CursorXLow
#define CursorXHigh
#define CursorYLow
#define CursorYHigh
#define CursorLocLow
#define CursorLocHigh
#define CursorXOffset
#define CursorYOffset
#define CursorFG1
#define CursorFG2
#define CursorFG3
#define CursorFG4
#define CursorBG1
#define CursorBG2
#define CursorBG3
#define CursorBG4
#define CursorControl
#define PCIRetry
#define PreEndControl
#define PreEndFetch
#define PCIMaster
#define Enhancement0
#define NewEDO
#define TVinterface
#define TVMode
#define ClockControl


/* 3CE */
#define MiscExtFunc
#define PowerStatus
#define MiscIntContReg
#define CyberControl
#define CyberEnhance
#define FPConfig
#define VertStretch
#define HorStretch
#define BiosMode
#define BiosReg

/* Graphics Engine */
#define STATUS
#define OLDCMD
#define DRAWFL
#define OLDCLR
#define OLDDST
#define OLDSRC
#define OLDDIM
#define CMD
#define ROP
#define COLOR
#define BGCOLOR
#define SRC1
#define SRC2
#define DST1
#define DST2

#define ROP_S
#define ROP_P
#define ROP_X