Searched refs:ramSizeMB (Results 1 – 3 of 3) sorted by relevance
112 int ramSizeMB = 0; // memory size in megabytes in Virge_Init() local126 ramSizeMB = 2; in Virge_Init()129 ramSizeMB = 4; in Virge_Init()132 ramSizeMB = 6; in Virge_Init()135 ramSizeMB = 8; in Virge_Init()138 ramSizeMB -= ramOffScreenMB; in Virge_Init()143 ramSizeMB = 4; in Virge_Init()149 ramSizeMB = 4; in Virge_Init()152 ramSizeMB = 2; in Virge_Init()159 ramSizeMB = 4; in Virge_Init()[all …]
177 uint32 ramSizeMB = 0; // memory size in megabytes in Savage_Init() local183 ramSizeMB = RamSavage3D[ (cr36 & 0xC0) >> 6 ]; in Savage_Init()197 ramSizeMB = RamSavage4[ (cr36 & 0xE0) >> 5 ]; in Savage_Init()202 ramSizeMB = RamSavageMX[ (cr36 & 0x0E) >> 1 ]; in Savage_Init()208 ramSizeMB = RamSavageNB[ (cr36 & 0xE0) >> 5 ]; in Savage_Init()213 ramSizeMB = 0; in Savage_Init()217 uint32 usableMB = ramSizeMB; in Savage_Init()223 if (si.chipType == S3_SAVAGE_MX && ramSizeMB > 8) in Savage_Init()226 TRACE("Savage_Init() memory size: %d MB, usable memory: %d MB\n", ramSizeMB, usableMB); in Savage_Init()
109 int ramSizeMB = ramSizes[(ReadCrtcReg(0x36) >> 5) & 0x7]; in Trio64_Init() local111 TRACE("memory size: %d MB\n", ramSizeMB); in Trio64_Init()113 if (ramSizeMB <= 0) in Trio64_Init()116 si.videoMemSize = ramSizeMB * 1024 * 1024; in Trio64_Init()