Lines Matching refs:base
99 uint64_t base = pci_mem_start, size; in cacheattr_init() local
101 for ( i = 0; !(base >> 32) && (i < nr_var_ranges); i++ ) in cacheattr_init()
104 while ( !(base & size) ) in cacheattr_init()
106 while ( ((base + size) < base) || ((base + size - 1) >> 32) ) in cacheattr_init()
109 wrmsr(MSR_MTRRphysBase(i), base); in cacheattr_init()
112 base += size; in cacheattr_init()
115 for ( base = pci_hi_mem_start; in cacheattr_init()
116 (base != pci_hi_mem_end) && (i < nr_var_ranges); i++ ) in cacheattr_init()
119 while ( !(base & size) ) in cacheattr_init()
121 while ( (base + size < base) || (base + size > pci_hi_mem_end) ) in cacheattr_init()
124 wrmsr(MSR_MTRRphysBase(i), base); in cacheattr_init()
127 base += size; in cacheattr_init()