Lines Matching refs:range_state
56 static struct var_mtrr_range_state __initdata range_state[RANGE_NUM]; variable
71 type = range_state[i].type; in x86_get_mtrr_mem_range()
74 base = range_state[i].base_pfn; in x86_get_mtrr_mem_range()
75 size = range_state[i].size_pfn; in x86_get_mtrr_mem_range()
87 type = range_state[i].type; in x86_get_mtrr_mem_range()
91 size = range_state[i].size_pfn; in x86_get_mtrr_mem_range()
94 base = range_state[i].base_pfn; in x86_get_mtrr_mem_range()
194 range_state[reg].base_pfn = basek >> (PAGE_SHIFT - 10); in save_var_mtrr()
195 range_state[reg].size_pfn = sizek >> (PAGE_SHIFT - 10); in save_var_mtrr()
196 range_state[reg].type = type; in save_var_mtrr()
206 basek = range_state[reg].base_pfn << (PAGE_SHIFT - 10); in set_var_mtrr_all()
207 sizek = range_state[reg].size_pfn << (PAGE_SHIFT - 10); in set_var_mtrr_all()
208 type = range_state[reg].type; in set_var_mtrr_all()
473 memset(range_state, 0, sizeof(range_state)); in x86_setup_var_mtrrs()
523 size_base = range_state[i].size_pfn << (PAGE_SHIFT - 10); in print_out_mtrr_range_state()
528 start_base = range_state[i].base_pfn << (PAGE_SHIFT - 10); in print_out_mtrr_range_state()
530 type = range_state[i].type; in print_out_mtrr_range_state()
553 type = range_state[i].type; in mtrr_need_cleanup()
554 size = range_state[i].size_pfn; in mtrr_need_cleanup()
691 memset(range_state, 0, sizeof(range_state)); in mtrr_cleanup()
694 range_state[i].base_pfn = base; in mtrr_cleanup()
695 range_state[i].size_pfn = size; in mtrr_cleanup()
696 range_state[i].type = type; in mtrr_cleanup()
891 memset(range_state, 0, sizeof(range_state)); in mtrr_trim_uncached_memory()
894 range_state[i].base_pfn = base; in mtrr_trim_uncached_memory()
895 range_state[i].size_pfn = size; in mtrr_trim_uncached_memory()
896 range_state[i].type = type; in mtrr_trim_uncached_memory()
901 type = range_state[i].type; in mtrr_trim_uncached_memory()
904 base = range_state[i].base_pfn; in mtrr_trim_uncached_memory()
905 size = range_state[i].size_pfn; in mtrr_trim_uncached_memory()
919 type = range_state[i].type; in mtrr_trim_uncached_memory()
922 size = range_state[i].size_pfn; in mtrr_trim_uncached_memory()