Lines Matching refs:var_state
477 struct var_mtrr_state var_state; in x86_setup_var_mtrrs() local
481 var_state.range_startk = 0; in x86_setup_var_mtrrs()
482 var_state.range_sizek = 0; in x86_setup_var_mtrrs()
483 var_state.reg = 0; in x86_setup_var_mtrrs()
484 var_state.chunk_sizek = chunk_size >> 10; in x86_setup_var_mtrrs()
485 var_state.gran_sizek = gran_size >> 10; in x86_setup_var_mtrrs()
491 set_var_mtrr_range(&var_state, range[i].start, in x86_setup_var_mtrrs()
496 if (var_state.range_sizek != 0) in x86_setup_var_mtrrs()
497 range_to_mtrr_with_hole(&var_state, 0, 0); in x86_setup_var_mtrrs()
499 num_reg = var_state.reg; in x86_setup_var_mtrrs()
501 while (var_state.reg < num_var_ranges) { in x86_setup_var_mtrrs()
502 save_var_mtrr(var_state.reg, 0, 0, 0); in x86_setup_var_mtrrs()
503 var_state.reg++; in x86_setup_var_mtrrs()