Lines Matching defs:pATI
46 * through the I/O port specified by pATI->CPIO_VGAWonder. If not, the
47 * function resets pATI->CPIO_VGAWonder to zero.
53 ATIPtr pATI
58 if (!pATI->OptionProbeSparse)
64 pATI->CPIO_VGAWonder);
66 pATI->CPIO_VGAWonder = 0;
71 (pATI->Chip <= ATI_CHIP_88800GXD))
74 PutReg(GRAX, 0x50U, GetByte(pATI->CPIO_VGAWonder, 0));
75 PutReg(GRAX, 0x51U, GetByte(pATI->CPIO_VGAWonder, 1) | 0x80U);
83 IOValue1 = inb(pATI->CPIO_VGAWonder);
100 pATI->CPIO_VGAWonder);
106 " 0x%04lX was not detected.\n", pATI->CPIO_VGAWonder);
107 pATI->CPIO_VGAWonder = 0;
122 ATIPtr pATI,
130 (void)ATIMapApertures(-1, pATI); /* Ignore errors */
134 if (!pATI->pBlock[0])
136 ATIUnmapApertures(-1, pATI);
175 ATIMach64ChipID(pATI, ChipType);
176 if ((pATI->Chip != ATI_CHIP_Mach64) ||
177 (pATI->CPIODecoding == BLOCK_IO))
190 ATIUnmapApertures(-1, pATI);
194 ATIUnmapApertures(-1, pATI);
209 ATIPtr pATI,
216 pATI->MMIOInLinear = FALSE;
224 (pATI->Block0Base = PCI_REGION_BASE(pVideo, 2, REGION_MEM)) &&
225 (pATI->Block0Base != 0xfffff000))
227 pATI->Block0Base += 0x00000400U;
228 if (ATIMach64Detect(pATI, ChipType, Chip))
229 return pATI;
239 (pATI->Block0Base = PCI_REGION_BASE(pVideo, 0, REGION_MEM)))
241 pATI->MMIOInLinear = TRUE;
242 pATI->Block0Base += 0x007FFC00U;
244 ATIMach64Detect(pATI, ChipType, Chip))
245 return pATI;
247 pATI->Block0Base -= 0x00400000U;
248 if (ATIMach64Detect(pATI, ChipType, Chip))
249 return pATI;
266 ATIPtr pATI,
274 if ((pATI->CPIODecoding == BLOCK_IO) &&
278 if (!ATIMach64Detect(pATI, ChipType, Chip))
287 if (pATI->Chip >= ATI_CHIP_264CT)
289 pATI->VGAAdapter = TRUE;
294 pATI->BusType = GetBits(IOValue, CFG_BUS_TYPE);
296 if (pATI->Chip == ATI_CHIP_88800CX)
300 pATI->VGAAdapter = TRUE;
301 pATI->CPIO_VGAWonder = 0x01CEU;
305 return pATI;
312 ATIPtr pATI
315 if (pATI->CPIO_VGAWonder)
317 ATIVGAWonderProbe(pVideo, pATI);
318 if (!pATI->CPIO_VGAWonder)
326 pATI->CPIO_VGAWonder = GRAX;
327 ATIVGAWonderProbe(pVideo, pATI);
342 ATIPtr pATI
353 ATIAssignVGA(pVideo, pATI);
367 ATIPtr pATI
421 if (!pATI->OptionProbeSparse)
431 pATI->CPIOBase = Mach64SparseIOBases[j];
432 pATI->CPIODecoding = SPARSE_IO;
433 pATI->PCIInfo = pVideo;
438 pATI->CPIOBase = 0;
439 pATI->CPIODecoding = SPARSE_IO;
440 pATI->PCIInfo = pVideo;
449 pATI->CPIOBase = PCI_REGION_BASE(pVideo, 1, REGION_IO);
450 pATI->CPIODecoding = BLOCK_IO;
451 pATI->PCIInfo = pVideo;
454 if (!ATIMach64Probe(pATI, pVideo, pATI->Chip))
469 if (pATI->VGAAdapter)
470 ATIFindVGA(pVideo, pATI);