Lines Matching refs:msr_lo
38 u32 msr_lo, msr_hi; in longrun_get_policy() local
40 rdmsr(MSR_TMTA_LONGRUN_FLAGS, msr_lo, msr_hi); in longrun_get_policy()
41 pr_debug("longrun flags are %x - %x\n", msr_lo, msr_hi); in longrun_get_policy()
42 if (msr_lo & 0x01) in longrun_get_policy()
47 rdmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); in longrun_get_policy()
48 pr_debug("longrun ctrl is %x - %x\n", msr_lo, msr_hi); in longrun_get_policy()
49 msr_lo &= 0x0000007F; in longrun_get_policy()
56 policy->min = longrun_low_freq + msr_lo * in longrun_get_policy()
74 u32 msr_lo, msr_hi; in longrun_set_policy() local
96 rdmsr(MSR_TMTA_LONGRUN_FLAGS, msr_lo, msr_hi); in longrun_set_policy()
97 msr_lo &= 0xFFFFFFFE; in longrun_set_policy()
100 msr_lo |= 0x00000001; in longrun_set_policy()
105 wrmsr(MSR_TMTA_LONGRUN_FLAGS, msr_lo, msr_hi); in longrun_set_policy()
108 rdmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); in longrun_set_policy()
109 msr_lo &= 0xFFFFFF80; in longrun_set_policy()
111 msr_lo |= pctg_lo; in longrun_set_policy()
113 wrmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); in longrun_set_policy()
167 u32 msr_lo, msr_hi; in longrun_determine_freqs() local
185 rdmsr(MSR_TMTA_LRTI_READOUT, msr_lo, msr_hi); in longrun_determine_freqs()
187 rdmsr(MSR_TMTA_LRTI_VOLT_MHZ, msr_lo, msr_hi); in longrun_determine_freqs()
188 *low_freq = msr_lo * 1000; /* to kHz */ in longrun_determine_freqs()
192 rdmsr(MSR_TMTA_LRTI_VOLT_MHZ, msr_lo, msr_hi); in longrun_determine_freqs()
193 *high_freq = msr_lo * 1000; /* to kHz */ in longrun_determine_freqs()
209 rdmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); in longrun_determine_freqs()
210 save_lo = msr_lo & 0x0000007F; in longrun_determine_freqs()
221 msr_lo &= 0xFFFFFF80; in longrun_determine_freqs()
224 wrmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); in longrun_determine_freqs()