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()
166 u32 msr_lo, msr_hi; in longrun_determine_freqs() local
184 rdmsr(MSR_TMTA_LRTI_READOUT, msr_lo, msr_hi); in longrun_determine_freqs()
186 rdmsr(MSR_TMTA_LRTI_VOLT_MHZ, msr_lo, msr_hi); in longrun_determine_freqs()
187 *low_freq = msr_lo * 1000; /* to kHz */ in longrun_determine_freqs()
191 rdmsr(MSR_TMTA_LRTI_VOLT_MHZ, msr_lo, msr_hi); in longrun_determine_freqs()
192 *high_freq = msr_lo * 1000; /* to kHz */ in longrun_determine_freqs()
208 rdmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); in longrun_determine_freqs()
209 save_lo = msr_lo & 0x0000007F; in longrun_determine_freqs()
220 msr_lo &= 0xFFFFFF80; in longrun_determine_freqs()
223 wrmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); in longrun_determine_freqs()