Lines Matching refs:epb
63 u64 epb; in intel_epb_save() local
65 rdmsrl(MSR_IA32_ENERGY_PERF_BIAS, epb); in intel_epb_save()
70 this_cpu_write(saved_epb, (epb & EPB_MASK) | EPB_SAVED); in intel_epb_save()
78 u64 epb; in intel_epb_restore() local
80 rdmsrl(MSR_IA32_ENERGY_PERF_BIAS, epb); in intel_epb_restore()
91 val = epb & EPB_MASK; in intel_epb_restore()
97 wrmsrl(MSR_IA32_ENERGY_PERF_BIAS, (epb & ~EPB_MASK) | val); in intel_epb_restore()
125 u64 epb; in energy_perf_bias_show() local
128 ret = rdmsrl_on_cpu(cpu, MSR_IA32_ENERGY_PERF_BIAS, &epb); in energy_perf_bias_show()
132 return sprintf(buf, "%llu\n", epb); in energy_perf_bias_show()
140 u64 epb, val; in energy_perf_bias_store() local
150 ret = rdmsrl_on_cpu(cpu, MSR_IA32_ENERGY_PERF_BIAS, &epb); in energy_perf_bias_store()
155 (epb & ~EPB_MASK) | val); in energy_perf_bias_store()