Home
last modified time | relevance | path

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

/linux/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c812 void read_hwp_request(int cpu, struct msr_hwp_request *hwp_req, unsigned int msr_offset) in read_hwp_request() argument
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()
821 hwp_req->hwp_epp = (((msr) >> 24) & 0xff); in read_hwp_request()
822 hwp_req->hwp_window = (((msr) >> 32) & 0x3ff); in read_hwp_request()
823 hwp_req->hwp_use_pkg = (((msr) >> 42) & 0x1); in read_hwp_request()
826 void write_hwp_request(int cpu, struct msr_hwp_request *hwp_req, unsigned int msr_offset) in write_hwp_request() argument
832 cpu, hwp_req->hwp_min, hwp_req->hwp_max, in write_hwp_request()
833 hwp_req->hwp_desired, hwp_req->hwp_epp, in write_hwp_request()
[all …]