• Home
  • Raw
  • Download

Lines Matching refs:msr_lo

37 	u32 msr_lo, msr_hi;  in longrun_get_policy()  local
39 rdmsr(MSR_TMTA_LONGRUN_FLAGS, msr_lo, msr_hi); in longrun_get_policy()
40 pr_debug("longrun flags are %x - %x\n", msr_lo, msr_hi); in longrun_get_policy()
41 if (msr_lo & 0x01) in longrun_get_policy()
46 rdmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); in longrun_get_policy()
47 pr_debug("longrun ctrl is %x - %x\n", msr_lo, msr_hi); in longrun_get_policy()
48 msr_lo &= 0x0000007F; in longrun_get_policy()
55 policy->min = longrun_low_freq + msr_lo * in longrun_get_policy()
73 u32 msr_lo, msr_hi; in longrun_set_policy() local
95 rdmsr(MSR_TMTA_LONGRUN_FLAGS, msr_lo, msr_hi); in longrun_set_policy()
96 msr_lo &= 0xFFFFFFFE; in longrun_set_policy()
99 msr_lo |= 0x00000001; in longrun_set_policy()
104 wrmsr(MSR_TMTA_LONGRUN_FLAGS, msr_lo, msr_hi); in longrun_set_policy()
107 rdmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); in longrun_set_policy()
108 msr_lo &= 0xFFFFFF80; in longrun_set_policy()
110 msr_lo |= pctg_lo; in longrun_set_policy()
112 wrmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); in longrun_set_policy()
162 u32 msr_lo, msr_hi; in longrun_determine_freqs() local
180 rdmsr(MSR_TMTA_LRTI_READOUT, msr_lo, msr_hi); in longrun_determine_freqs()
182 rdmsr(MSR_TMTA_LRTI_VOLT_MHZ, msr_lo, msr_hi); in longrun_determine_freqs()
183 *low_freq = msr_lo * 1000; /* to kHz */ in longrun_determine_freqs()
187 rdmsr(MSR_TMTA_LRTI_VOLT_MHZ, msr_lo, msr_hi); in longrun_determine_freqs()
188 *high_freq = msr_lo * 1000; /* to kHz */ in longrun_determine_freqs()
204 rdmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); in longrun_determine_freqs()
205 save_lo = msr_lo & 0x0000007F; in longrun_determine_freqs()
216 msr_lo &= 0xFFFFFF80; in longrun_determine_freqs()
219 wrmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); in longrun_determine_freqs()