Lines Matching refs:basek
175 set_var_mtrr(unsigned int reg, unsigned long basek, unsigned long sizek, in set_var_mtrr() argument
189 base = ((u64)basek) << 10; in set_var_mtrr()
204 save_var_mtrr(unsigned int reg, unsigned long basek, unsigned long sizek, in save_var_mtrr() argument
207 range_state[reg].base_pfn = basek >> (PAGE_SHIFT - 10); in save_var_mtrr()
214 unsigned long basek, sizek; in set_var_mtrr_all() local
219 basek = range_state[reg].base_pfn << (PAGE_SHIFT - 10); in set_var_mtrr_all()
223 set_var_mtrr(reg, basek, sizek, type, address_bits); in set_var_mtrr_all()
295 range_to_mtrr_with_hole(struct var_mtrr_state *state, unsigned long basek, in range_to_mtrr_with_hole() argument
314 if ((range_basek > basek) && basek) in range_to_mtrr_with_hole()
343 while (range0_basek + range0_sizek > (basek + sizek)) { in range_to_mtrr_with_hole()
358 if (range_basek > basek && range_basek <= (basek + sizek)) in range_to_mtrr_with_hole()
359 second_sizek = range_basek - basek; in range_to_mtrr_with_hole()
413 unsigned long basek, sizek; in set_var_mtrr_range() local
419 basek = base_pfn << (PAGE_SHIFT - 10); in set_var_mtrr_range()
423 if ((basek <= 1024) || in set_var_mtrr_range()
424 (state->range_startk + state->range_sizek == basek)) { in set_var_mtrr_range()
425 unsigned long endk = basek + sizek; in set_var_mtrr_range()
431 second_sizek = range_to_mtrr_with_hole(state, basek, sizek); in set_var_mtrr_range()
434 state->range_startk = basek + second_sizek; in set_var_mtrr_range()