Lines Matching refs:basek
162 set_var_mtrr(unsigned int reg, unsigned long basek, unsigned long sizek, in set_var_mtrr() argument
176 base = ((u64)basek) << 10; in set_var_mtrr()
191 save_var_mtrr(unsigned int reg, unsigned long basek, unsigned long sizek, in save_var_mtrr() argument
194 range_state[reg].base_pfn = basek >> (PAGE_SHIFT - 10); in save_var_mtrr()
201 unsigned long basek, sizek; in set_var_mtrr_all() local
206 basek = range_state[reg].base_pfn << (PAGE_SHIFT - 10); in set_var_mtrr_all()
210 set_var_mtrr(reg, basek, sizek, type); in set_var_mtrr_all()
282 range_to_mtrr_with_hole(struct var_mtrr_state *state, unsigned long basek, in range_to_mtrr_with_hole() argument
300 if ((range_basek > basek) && basek) in range_to_mtrr_with_hole()
329 while (range0_basek + range0_sizek > (basek + sizek)) { in range_to_mtrr_with_hole()
344 if (range_basek > basek && range_basek <= (basek + sizek)) in range_to_mtrr_with_hole()
345 second_sizek = range_basek - basek; in range_to_mtrr_with_hole()
399 unsigned long basek, sizek; in set_var_mtrr_range() local
405 basek = base_pfn << (PAGE_SHIFT - 10); in set_var_mtrr_range()
409 if ((basek <= 1024) || in set_var_mtrr_range()
410 (state->range_startk + state->range_sizek == basek)) { in set_var_mtrr_range()
411 unsigned long endk = basek + sizek; in set_var_mtrr_range()
417 second_sizek = range_to_mtrr_with_hole(state, basek, sizek); in set_var_mtrr_range()
420 state->range_startk = basek + second_sizek; in set_var_mtrr_range()