Lines Matching defs:reg
58 centaur_get_mcr(unsigned int reg, unsigned long *base,
61 *base = centaur_mcr[reg].high >> PAGE_SHIFT;
62 *size = -(centaur_mcr[reg].low & 0xfffff000) >> PAGE_SHIFT;
65 if (centaur_mcr_type == 1 && ((centaur_mcr[reg].low & 31) & 2))
67 if (centaur_mcr_type == 1 && (centaur_mcr[reg].low & 31) == 25)
69 if (centaur_mcr_type == 0 && (centaur_mcr[reg].low & 31) == 31)
74 centaur_set_mcr(unsigned int reg, unsigned long base,
94 centaur_mcr[reg].high = high;
95 centaur_mcr[reg].low = low;
96 wrmsr(MSR_IDT_MCR0 + reg, low, high);