Lines Matching refs:mask
41 uint64_t mask; /* in IA32_MTRR_PHYSMASK format */
105 * Default mask for 36 physical address bits, this can
115 * Variable-range mask to/from length conversions.
117 #define MASK_TO_LEN(mask) \
118 ((~((mask) & IA32_MTRR_PHYSBASE_MASK) & mtrr_phys_mask) + 1)
135 range[i].mask = rdmsr64(MSR_IA32_MTRR_PHYSMASK(i));
138 if (range[i].mask & IA32_MTRR_PHYMASK_VALID)
155 wrmsr64(MSR_IA32_MTRR_PHYSMASK(i), range[i].mask);
221 range[i].mask == rdmsr64(MSR_IA32_MTRR_PHYSMASK(i));
633 range->mask = LEN_TO_MASK(length) |
647 v_length = MASK_TO_LEN(range->mask);
727 if (!(mtrr_state.var_range[i].mask & IA32_MTRR_PHYMASK_VALID))
731 length = MASK_TO_LEN(mtrr_state.var_range[i].mask);