/* * linux/drivers/video/kyro/STG4000Reg.h * * Copyright (C) 2002 STMicroelectronics * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive * for more details. */ #ifndef _STG4000REG_H #define _STG4000REG_H #define DWFILL … #define WFILL … /* * Macros that access memory mapped card registers in PCI space * Add an appropriate section for your OS or processor architecture. */ #if defined(__KERNEL__) #include <asm/page.h> #include <asm/io.h> #define STG_WRITE_REG(reg,data) … #define STG_READ_REG(reg) … #else #define STG_WRITE_REG … #define STG_READ_REG … #endif /* __KERNEL__ */ #define SET_BIT(n) … #define CLEAR_BIT(n) … #define CLEAR_BITS_FRM_TO(frm, to) … #define CLEAR_BIT_2(n) … #define CLEAR_BITS_FRM_TO_2(frm, to) … /* LUT select */ LUT_USES; /* Primary surface pixel format select */ PIXEL_FORMAT; /* Overlay blending mode select */ OVRL_BLEND_MODE; /* Overlay Pixel format select */ OVRL_PIX_FORMAT; /* Register Table */ STG4000REG; #endif /* _STG4000REG_H */