Lines Matching refs:l
59 u32 l, h; in cpufreq_p4_setdc() local
64 rdmsr_on_cpu(cpu, MSR_IA32_THERM_STATUS, &l, &h); in cpufreq_p4_setdc()
66 if (l & 0x01) in cpufreq_p4_setdc()
73 rdmsr_on_cpu(cpu, MSR_IA32_THERM_CONTROL, &l, &h); in cpufreq_p4_setdc()
76 wrmsr_on_cpu(cpu, MSR_IA32_THERM_CONTROL, l & ~(1<<4), h); in cpufreq_p4_setdc()
85 l = (l & ~14); in cpufreq_p4_setdc()
86 l = l | (1<<4) | ((newstate & 0x7)<<1); in cpufreq_p4_setdc()
87 wrmsr_on_cpu(cpu, MSR_IA32_THERM_CONTROL, l, h); in cpufreq_p4_setdc()
220 u32 l, h; in cpufreq_p4_get() local
222 rdmsr_on_cpu(cpu, MSR_IA32_THERM_CONTROL, &l, &h); in cpufreq_p4_get()
224 if (l & 0x10) { in cpufreq_p4_get()
225 l = l >> 1; in cpufreq_p4_get()
226 l &= 0x7; in cpufreq_p4_get()
228 l = DC_DISABLE; in cpufreq_p4_get()
230 if (l != DC_DISABLE) in cpufreq_p4_get()
231 return stock_freq * l / 8; in cpufreq_p4_get()