#include <asm/io.h>
Go to the source code of this file.
|
#define | RIVA_SW_VERSION 0x00010003 |
|
#define | TRUE 1 |
|
#define | FALSE 0 |
|
#define | NULL 0 |
|
#define | NV_WR08(p, i, d) (__raw_writeb((d), (void __iomem *)(p) + (i))) |
|
#define | NV_RD08(p, i) (__raw_readb((void __iomem *)(p) + (i))) |
|
#define | NV_WR16(p, i, d) (__raw_writew((d), (void __iomem *)(p) + (i))) |
|
#define | NV_RD16(p, i) (__raw_readw((void __iomem *)(p) + (i))) |
|
#define | NV_WR32(p, i, d) (__raw_writel((d), (void __iomem *)(p) + (i))) |
|
#define | NV_RD32(p, i) (__raw_readl((void __iomem *)(p) + (i))) |
|
#define | VGA_WR08(p, i, d) (writeb((d), (void __iomem *)(p) + (i))) |
|
#define | VGA_RD08(p, i) (readb((void __iomem *)(p) + (i))) |
|
#define | NV_ARCH_03 0x03 |
|
#define | NV_ARCH_04 0x04 |
|
#define | NV_ARCH_10 0x10 |
|
#define | NV_ARCH_20 0x20 |
|
#define | NV_ARCH_30 0x30 |
|
#define | NV_ARCH_40 0x40 |
|
#define | FP_ENABLE 1 |
|
#define | FP_DITHER 2 |
|
#define | RIVA_FIFO_FREE(hwinst, hwptr, cnt) |
|
#define RIVA_FIFO_FREE |
( |
|
hwinst, |
|
|
|
hwptr, |
|
|
|
cnt |
|
) |
| |
Value:{ \
while ((hwinst).FifoFreeCount < (
cnt)) { \
(hwinst).FifoFreeCount =
NV_RD32(&(hwinst).hwptr->FifoFree, 0) >> 2; \
} \
(hwinst).FifoFreeCount -= (
cnt); \
}
Definition at line 554 of file riva_hw.h.
#define RIVA_SW_VERSION 0x00010003 |