Searched refs:msr_lo (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/cpufreq/
H A Dlongrun.c38 u32 msr_lo, msr_hi; longrun_get_policy() local
40 rdmsr(MSR_TMTA_LONGRUN_FLAGS, msr_lo, msr_hi); longrun_get_policy()
41 pr_debug("longrun flags are %x - %x\n", msr_lo, msr_hi); longrun_get_policy()
42 if (msr_lo & 0x01) longrun_get_policy()
47 rdmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); longrun_get_policy()
48 pr_debug("longrun ctrl is %x - %x\n", msr_lo, msr_hi); longrun_get_policy()
49 msr_lo &= 0x0000007F; longrun_get_policy()
56 policy->min = longrun_low_freq + msr_lo * longrun_get_policy()
74 u32 msr_lo, msr_hi; longrun_set_policy() local
96 rdmsr(MSR_TMTA_LONGRUN_FLAGS, msr_lo, msr_hi); longrun_set_policy()
97 msr_lo &= 0xFFFFFFFE; longrun_set_policy()
100 msr_lo |= 0x00000001; longrun_set_policy()
105 wrmsr(MSR_TMTA_LONGRUN_FLAGS, msr_lo, msr_hi); longrun_set_policy()
108 rdmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); longrun_set_policy()
109 msr_lo &= 0xFFFFFF80; longrun_set_policy()
111 msr_lo |= pctg_lo; longrun_set_policy()
113 wrmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); longrun_set_policy()
167 u32 msr_lo, msr_hi; longrun_determine_freqs() local
185 rdmsr(MSR_TMTA_LRTI_READOUT, msr_lo, msr_hi); longrun_determine_freqs()
187 rdmsr(MSR_TMTA_LRTI_VOLT_MHZ, msr_lo, msr_hi); longrun_determine_freqs()
188 *low_freq = msr_lo * 1000; /* to kHz */ longrun_determine_freqs()
192 rdmsr(MSR_TMTA_LRTI_VOLT_MHZ, msr_lo, msr_hi); longrun_determine_freqs()
193 *high_freq = msr_lo * 1000; /* to kHz */ longrun_determine_freqs()
209 rdmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); longrun_determine_freqs()
210 save_lo = msr_lo & 0x0000007F; longrun_determine_freqs()
221 msr_lo &= 0xFFFFFF80; longrun_determine_freqs()
224 wrmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); longrun_determine_freqs()
H A Dspeedstep-lib.c70 u32 msr_lo, msr_tmp; pentium3_get_frequency() local
74 rdmsr(MSR_IA32_EBL_CR_POWERON, msr_lo, msr_tmp); pentium3_get_frequency()
75 pr_debug("P3 - MSR_IA32_EBL_CR_POWERON: 0x%x 0x%x\n", msr_lo, msr_tmp); pentium3_get_frequency()
76 msr_tmp = msr_lo; pentium3_get_frequency()
90 msr_lo &= 0x03c00000; pentium3_get_frequency()
92 msr_lo &= 0x0bc00000; pentium3_get_frequency()
93 msr_lo >>= 22; pentium3_get_frequency()
94 while (msr_lo != msr_decode_mult[j].bitmap) { pentium3_get_frequency()
109 u32 msr_lo, msr_tmp; pentiumM_get_frequency() local
111 rdmsr(MSR_IA32_EBL_CR_POWERON, msr_lo, msr_tmp); pentiumM_get_frequency()
112 pr_debug("PM - MSR_IA32_EBL_CR_POWERON: 0x%x 0x%x\n", msr_lo, msr_tmp); pentiumM_get_frequency()
115 if (msr_lo & 0x00040000) { pentiumM_get_frequency()
117 msr_lo, msr_tmp); pentiumM_get_frequency()
121 msr_tmp = (msr_lo >> 22) & 0x1f; pentiumM_get_frequency()
131 u32 msr_lo, msr_tmp; pentium_core_get_frequency() local
134 rdmsr(MSR_FSB_FREQ, msr_lo, msr_tmp); pentium_core_get_frequency()
136 switch (msr_lo & 0x07) { pentium_core_get_frequency()
159 rdmsr(MSR_IA32_EBL_CR_POWERON, msr_lo, msr_tmp); pentium_core_get_frequency()
161 msr_lo, msr_tmp); pentium_core_get_frequency()
163 msr_tmp = (msr_lo >> 22) & 0x1f; pentium_core_get_frequency()
175 u32 msr_lo, msr_hi, mult; pentium4_get_frequency() local
188 rdmsr(0x2c, msr_lo, msr_hi); pentium4_get_frequency()
190 pr_debug("P4 - MSR_EBC_FREQUENCY_ID: 0x%x 0x%x\n", msr_lo, msr_hi); pentium4_get_frequency()
197 fsb_code = (msr_lo >> 16) & 0x7; pentium4_get_frequency()
215 mult = msr_lo >> 24; pentium4_get_frequency()
256 u32 ebx, msr_lo, msr_hi; speedstep_detect_processor() local
344 rdmsr(MSR_IA32_EBL_CR_POWERON, msr_lo, msr_hi); speedstep_detect_processor()
346 msr_lo, msr_hi); speedstep_detect_processor()
347 msr_lo &= 0x00c0000; speedstep_detect_processor()
348 if (msr_lo != 0x0080000) speedstep_detect_processor()
357 rdmsr(MSR_IA32_PLATFORM_ID, msr_lo, msr_hi); speedstep_detect_processor()
359 msr_lo, msr_hi); speedstep_detect_processor()

Completed in 76 milliseconds