Searched refs:hwp_req (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/tools/power/x86/x86_energy_perf_policy/ |
H A D | x86_energy_perf_policy.c | 767 void read_hwp_request(int cpu, struct msr_hwp_request *hwp_req, unsigned int msr_offset) in read_hwp_request() argument 773 hwp_req->hwp_min = msr_perf_2_ratio((((msr) >> 0) & 0xff)); in read_hwp_request() 774 hwp_req->hwp_max = msr_perf_2_ratio((((msr) >> 8) & 0xff)); in read_hwp_request() 775 hwp_req->hwp_desired = msr_perf_2_ratio((((msr) >> 16) & 0xff)); in read_hwp_request() 776 hwp_req->hwp_epp = (((msr) >> 24) & 0xff); in read_hwp_request() 777 hwp_req->hwp_window = (((msr) >> 32) & 0x3ff); in read_hwp_request() 778 hwp_req->hwp_use_pkg = (((msr) >> 42) & 0x1); in read_hwp_request() 781 void write_hwp_request(int cpu, struct msr_hwp_request *hwp_req, unsigned int msr_offset) in write_hwp_request() argument 787 cpu, hwp_req->hwp_min, hwp_req in write_hwp_request() [all...] |
/kernel/linux/linux-6.6/tools/power/x86/x86_energy_perf_policy/ |
H A D | x86_energy_perf_policy.c | 812 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 in write_hwp_request() [all...] |
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | intel_pstate.c | 1751 u64 hwp_req = READ_ONCE(cpu->hwp_req_cached); in intel_pstate_hwp_boost_up() local 1752 u32 max_limit = (hwp_req & 0xff00) >> 8; in intel_pstate_hwp_boost_up() 1753 u32 min_limit = (hwp_req & 0xff); in intel_pstate_hwp_boost_up() 1790 hwp_req = (hwp_req & ~GENMASK_ULL(7, 0)) | cpu->hwp_boost_min; in intel_pstate_hwp_boost_up() 1791 wrmsrl(MSR_HWP_REQUEST, hwp_req); in intel_pstate_hwp_boost_up()
|
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | intel_pstate.c | 2093 u64 hwp_req = READ_ONCE(cpu->hwp_req_cached); in intel_pstate_hwp_boost_up() local 2095 u32 max_limit = (hwp_req & 0xff00) >> 8; in intel_pstate_hwp_boost_up() 2096 u32 min_limit = (hwp_req & 0xff); in intel_pstate_hwp_boost_up() 2133 hwp_req = (hwp_req & ~GENMASK_ULL(7, 0)) | cpu->hwp_boost_min; in intel_pstate_hwp_boost_up() 2134 wrmsrl(MSR_HWP_REQUEST, hwp_req); in intel_pstate_hwp_boost_up()
|
Completed in 12 milliseconds