comparison vidix/savage_regs.h @ 23934:88bed2131f19

Identifiers starting with underscores are reserved.
author diego
date Tue, 31 Jul 2007 07:04:07 +0000
parents 9a1e26fef45b
children af2aadfbabc3
comparison
equal deleted inserted replaced
23933:aa6833574b03 23934:88bed2131f19
1 /* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/savage/savage_regs.h,v 1.10 2001/11/04 22:17:48 alanh Exp $ */ 1 /* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/savage/savage_regs.h,v 1.10 2001/11/04 22:17:48 alanh Exp $ */
2 2
3 #ifndef _SAVAGE_REGS_H 3 #ifndef SAVAGE_REGS_H
4 #define _SAVAGE_REGS_H 4 #define SAVAGE_REGS_H
5 5
6 /* These are here until xf86PciInfo.h is updated. */ 6 /* These are here until xf86PciInfo.h is updated. */
7 7
8 #ifndef PCI_CHIP_S3TWISTER_P 8 #ifndef PCI_CHIP_S3TWISTER_P
9 #define PCI_CHIP_S3TWISTER_P 0x8d01 9 #define PCI_CHIP_S3TWISTER_P 0x8d01
298 #define VSCALING(h0,h1) ((((unsigned int) (((double)h0/(double)h1) * (1 << 15))) \ 298 #define VSCALING(h0,h1) ((((unsigned int) (((double)h0/(double)h1) * (1 << 15))) \
299 << VSCALING_Shift) \ 299 << VSCALING_Shift) \
300 & VSCALING_Mask) 300 & VSCALING_Mask)
301 301
302 302
303 #endif /* _SAVAGE_REGS_H */ 303 #endif /* SAVAGE_REGS_H */