Lines Matching defs:IOValue
527 CARD32 IOValue;
834 IOValue = GetBits(pATIHW->mem_cntl, CTL_MEM_SIZE);
835 pATI->VideoRAM = videoRamSizes[IOValue];
842 IOValue = GetBits(pATIHW->mem_cntl, CTL_MEM_SIZEB);
843 if (IOValue < 8)
844 pATI->VideoRAM = (IOValue + 1) * 512;
845 else if (IOValue < 12)
846 pATI->VideoRAM = (IOValue - 3) * 1024;
848 pATI->VideoRAM = (IOValue - 7) * 2048;
851 IOValue = inr(CONFIG_STATUS64_0);
854 pATI->MemoryType = GetBits(IOValue, CFG_MEM_TYPE_T);
858 pATI->MemoryType = GetBits(IOValue, CFG_MEM_TYPE);
868 pATI->LCDPanelID = GetBits(IOValue, CFG_PANEL_ID);
878 pATI->LCDPanelID = GetBits(IOValue, CFG_PANEL_ID);
1621 IOValue =
1629 IOValue &= (1 << 9) - 1;
1634 IOValue &= (1 << 11) - 1;
1639 IOValue &= (1 << 12) - 1;
1644 IOValue &= (1 << 14) - 1;
1650 IOValue &= (1 << 15) - 1;
1654 if (IOValue)
1656 /* Count the number of bits in IOValue */
1657 j = (IOValue >> 1) & 0x36DBU;
1658 j = IOValue - j - ((j >> 1) & 0x36DBU);
1671 IOValue =
1674 IOValue =
1678 IOValue =
1681 IOValue =
1684 if (IOValue)
1687 IOValue;