Home
last modified time | relevance | path

Searched refs:msr_perf_2_ratio (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c135 int msr_perf_2_ratio(int msr_perf) in msr_perf_2_ratio() function
783 cap->highest = msr_perf_2_ratio(HWP_HIGHEST_PERF(msr)); in read_hwp_cap()
784 cap->guaranteed = msr_perf_2_ratio(HWP_GUARANTEED_PERF(msr)); in read_hwp_cap()
785 cap->efficient = msr_perf_2_ratio(HWP_MOSTEFFICIENT_PERF(msr)); in read_hwp_cap()
786 cap->lowest = msr_perf_2_ratio(HWP_LOWEST_PERF(msr)); in read_hwp_cap()
818 hwp_req->hwp_min = msr_perf_2_ratio((((msr) >> 0) & 0xff)); in read_hwp_request()
819 hwp_req->hwp_max = msr_perf_2_ratio((((msr) >> 8) & 0xff)); in read_hwp_request()
820 hwp_req->hwp_desired = msr_perf_2_ratio((((msr) >> 16) & 0xff)); in read_hwp_request()