Lines Matching refs:range_state
57 static struct var_mtrr_range_state __initdata range_state[RANGE_NUM]; variable
75 type = range_state[i].type; in x86_get_mtrr_mem_range()
78 base = range_state[i].base_pfn; in x86_get_mtrr_mem_range()
79 size = range_state[i].size_pfn; in x86_get_mtrr_mem_range()
92 type = range_state[i].type; in x86_get_mtrr_mem_range()
96 size = range_state[i].size_pfn; in x86_get_mtrr_mem_range()
99 base = range_state[i].base_pfn; in x86_get_mtrr_mem_range()
207 range_state[reg].base_pfn = basek >> (PAGE_SHIFT - 10); in save_var_mtrr()
208 range_state[reg].size_pfn = sizek >> (PAGE_SHIFT - 10); in save_var_mtrr()
209 range_state[reg].type = type; in save_var_mtrr()
219 basek = range_state[reg].base_pfn << (PAGE_SHIFT - 10); in set_var_mtrr_all()
220 sizek = range_state[reg].size_pfn << (PAGE_SHIFT - 10); in set_var_mtrr_all()
221 type = range_state[reg].type; in set_var_mtrr_all()
487 memset(range_state, 0, sizeof(range_state)); in x86_setup_var_mtrrs()
537 size_base = range_state[i].size_pfn << (PAGE_SHIFT - 10); in print_out_mtrr_range_state()
542 start_base = range_state[i].base_pfn << (PAGE_SHIFT - 10); in print_out_mtrr_range_state()
544 type = range_state[i].type; in print_out_mtrr_range_state()
567 type = range_state[i].type; in mtrr_need_cleanup()
568 size = range_state[i].size_pfn; in mtrr_need_cleanup()
695 memset(range_state, 0, sizeof(range_state)); in mtrr_cleanup()
698 range_state[i].base_pfn = base; in mtrr_cleanup()
699 range_state[i].size_pfn = size; in mtrr_cleanup()
700 range_state[i].type = type; in mtrr_cleanup()
892 memset(range_state, 0, sizeof(range_state)); in mtrr_trim_uncached_memory()
895 range_state[i].base_pfn = base; in mtrr_trim_uncached_memory()
896 range_state[i].size_pfn = size; in mtrr_trim_uncached_memory()
897 range_state[i].type = type; in mtrr_trim_uncached_memory()
902 type = range_state[i].type; in mtrr_trim_uncached_memory()
905 base = range_state[i].base_pfn; in mtrr_trim_uncached_memory()
906 size = range_state[i].size_pfn; in mtrr_trim_uncached_memory()
920 type = range_state[i].type; in mtrr_trim_uncached_memory()
923 size = range_state[i].size_pfn; in mtrr_trim_uncached_memory()