Lines Matching refs:var_state
463 struct var_mtrr_state var_state; in x86_setup_var_mtrrs() local
467 var_state.range_startk = 0; in x86_setup_var_mtrrs()
468 var_state.range_sizek = 0; in x86_setup_var_mtrrs()
469 var_state.reg = 0; in x86_setup_var_mtrrs()
470 var_state.chunk_sizek = chunk_size >> 10; in x86_setup_var_mtrrs()
471 var_state.gran_sizek = gran_size >> 10; in x86_setup_var_mtrrs()
477 set_var_mtrr_range(&var_state, range[i].start, in x86_setup_var_mtrrs()
482 if (var_state.range_sizek != 0) in x86_setup_var_mtrrs()
483 range_to_mtrr_with_hole(&var_state, 0, 0); in x86_setup_var_mtrrs()
485 num_reg = var_state.reg; in x86_setup_var_mtrrs()
487 while (var_state.reg < num_var_ranges) { in x86_setup_var_mtrrs()
488 save_var_mtrr(var_state.reg, 0, 0, 0); in x86_setup_var_mtrrs()
489 var_state.reg++; in x86_setup_var_mtrrs()