Lines Matching full:mb

243 #define MB(x)	(KB (KB (x)))  macro
253 return MB(1); in i830_tseg_size()
268 case I845_TSEG_SIZE_1M: return MB(1); in i845_tseg_size()
282 return MB(1); in i85x_tseg_size()
287 return read_pci_config_byte(0, 0, 0, I830_DRB3) * MB(32); in i830_mem_size()
292 return read_pci_config_byte(0, 0, 1, I85X_DRB3) * MB(32); in i85x_mem_size()
364 case I830_GMCH_GMS_STOLEN_1024: return MB(1); in i830_stolen_size()
365 case I830_GMCH_GMS_STOLEN_8192: return MB(8); in i830_stolen_size()
384 case I855_GMCH_GMS_STOLEN_1M: return MB(1); in gen3_stolen_size()
385 case I855_GMCH_GMS_STOLEN_4M: return MB(4); in gen3_stolen_size()
386 case I855_GMCH_GMS_STOLEN_8M: return MB(8); in gen3_stolen_size()
387 case I855_GMCH_GMS_STOLEN_16M: return MB(16); in gen3_stolen_size()
388 case I855_GMCH_GMS_STOLEN_32M: return MB(32); in gen3_stolen_size()
389 case I915_GMCH_GMS_STOLEN_48M: return MB(48); in gen3_stolen_size()
390 case I915_GMCH_GMS_STOLEN_64M: return MB(64); in gen3_stolen_size()
391 case G33_GMCH_GMS_STOLEN_128M: return MB(128); in gen3_stolen_size()
392 case G33_GMCH_GMS_STOLEN_256M: return MB(256); in gen3_stolen_size()
393 case INTEL_GMCH_GMS_STOLEN_96M: return MB(96); in gen3_stolen_size()
394 case INTEL_GMCH_GMS_STOLEN_160M:return MB(160); in gen3_stolen_size()
395 case INTEL_GMCH_GMS_STOLEN_224M:return MB(224); in gen3_stolen_size()
396 case INTEL_GMCH_GMS_STOLEN_352M:return MB(352); in gen3_stolen_size()
412 return gms * MB(32); in gen6_stolen_size()
423 return gms * MB(32); in gen8_stolen_size()
435 * 0x0 to 0x10: 32MB increments starting at 0MB in chv_stolen_size()
436 * 0x11 to 0x16: 4MB increments starting at 8MB in chv_stolen_size()
437 * 0x17 to 0x1d: 4MB increments start at 36MB in chv_stolen_size()
440 return gms * MB(32); in chv_stolen_size()
442 return (gms - 0x11) * MB(4) + MB(8); in chv_stolen_size()
444 return (gms - 0x17) * MB(4) + MB(36); in chv_stolen_size()
455 /* 0x0 to 0xef: 32MB increments starting at 0MB */ in gen9_stolen_size()
456 /* 0xf0 to 0xfe: 4MB increments starting at 4MB */ in gen9_stolen_size()
458 return gms * MB(32); in gen9_stolen_size()
460 return (gms - 0xf0) * MB(4) + MB(4); in gen9_stolen_size()