summaryrefslogtreecommitdiff
path: root/src/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'src/gfx')
-rw-r--r--src/gfx/gfx_init.c2
-rw-r--r--src/gfx/msr_rdcl.c4
-rw-r--r--src/gfx/vid_rdcl.c10
3 files changed, 8 insertions, 8 deletions
diff --git a/src/gfx/gfx_init.c b/src/gfx/gfx_init.c
index 715153d..469c70f 100644
--- a/src/gfx/gfx_init.c
+++ b/src/gfx/gfx_init.c
@@ -274,7 +274,7 @@ gfx_detect_cpu(void)
value = gfx_pci_config_read(0x80000800);
if (value == PCI_VENDOR_DEVICE_REDCLOUD) {
- QQ_WORD msr_value;
+ Q_WORD msr_value;
int valid, i;
/* CHECK FOR SOFT VG */
diff --git a/src/gfx/msr_rdcl.c b/src/gfx/msr_rdcl.c
index 2174a11..548e8a4 100644
--- a/src/gfx/msr_rdcl.c
+++ b/src/gfx/msr_rdcl.c
@@ -580,7 +580,7 @@ redcloud_msr_read(unsigned int device, unsigned int msrRegister,
Q_WORD * msrValue)
#else
DEV_STATUS
-gfx_msr_read(unsigned int device, unsigned int msrRegister, QQ_WORD * msrValue)
+gfx_msr_read(unsigned int device, unsigned int msrRegister, Q_WORD * msrValue)
#endif
{
if (device < NUM_DEVS) {
@@ -618,7 +618,7 @@ redcloud_msr_write(unsigned int device, unsigned int msrRegister,
#else
DEV_STATUS
gfx_msr_write(unsigned int device, unsigned int msrRegister,
- QQ_WORD * msrValue)
+ Q_WORD * msrValue)
#endif
{
if (device < NUM_DEVS) {
diff --git a/src/gfx/vid_rdcl.c b/src/gfx/vid_rdcl.c
index 0aff629..7c98d2d 100644
--- a/src/gfx/vid_rdcl.c
+++ b/src/gfx/vid_rdcl.c
@@ -254,7 +254,7 @@ void
gfx_set_clock_frequency(unsigned long frequency)
#endif
{
- QQ_WORD msr_value, sys_value;
+ Q_WORD msr_value, sys_value;
unsigned long sys_low;
unsigned int i, index = 0;
unsigned long value;
@@ -1632,7 +1632,7 @@ unsigned long
gfx_get_clock_frequency(void)
#endif
{
- QQ_WORD msr_value;
+ Q_WORD msr_value;
unsigned int index;
unsigned long value, mask = 0x00001FFF;
unsigned long post_div3 = 0, pre_mult2 = 0;
@@ -2310,7 +2310,7 @@ unsigned long
gfx_read_crc(void)
#endif
{
- QQ_WORD msr_value;
+ Q_WORD msr_value;
unsigned long crc = 0xFFFFFFFF;
/* DISABLE 32-BIT CRCS */
@@ -2359,7 +2359,7 @@ unsigned long
gfx_read_crc32(void)
#endif
{
- QQ_WORD msr_value;
+ Q_WORD msr_value;
unsigned long crc = 0xFFFFFFFF;
/* ENABLE 32-BIT CRCS */
@@ -2409,7 +2409,7 @@ gfx_read_window_crc(int source, unsigned short x, unsigned short y,
unsigned short width, unsigned short height, int crc32)
#endif
{
- QQ_WORD msr_value;
+ Q_WORD msr_value;
unsigned long xpos, ypos, crc = 0;
unsigned long old_fmt = 0;
unsigned int vsync_active_base, vsync_inactive_base, hsync_active_base;