hwp_req 1597 drivers/cpufreq/intel_pstate.c u64 hwp_req = READ_ONCE(cpu->hwp_req_cached); hwp_req 1598 drivers/cpufreq/intel_pstate.c u32 max_limit = (hwp_req & 0xff00) >> 8; hwp_req 1599 drivers/cpufreq/intel_pstate.c u32 min_limit = (hwp_req & 0xff); hwp_req 1636 drivers/cpufreq/intel_pstate.c hwp_req = (hwp_req & ~GENMASK_ULL(7, 0)) | cpu->hwp_boost_min; hwp_req 1637 drivers/cpufreq/intel_pstate.c wrmsrl(MSR_HWP_REQUEST, hwp_req); hwp_req 714 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c void read_hwp_request(int cpu, struct msr_hwp_request *hwp_req, unsigned int msr_offset) hwp_req 720 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c hwp_req->hwp_min = msr_perf_2_ratio((((msr) >> 0) & 0xff)); hwp_req 721 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c hwp_req->hwp_max = msr_perf_2_ratio((((msr) >> 8) & 0xff)); hwp_req 722 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c hwp_req->hwp_desired = msr_perf_2_ratio((((msr) >> 16) & 0xff)); hwp_req 723 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c hwp_req->hwp_epp = (((msr) >> 24) & 0xff); hwp_req 724 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c hwp_req->hwp_window = (((msr) >> 32) & 0x3ff); hwp_req 725 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c hwp_req->hwp_use_pkg = (((msr) >> 42) & 0x1); hwp_req 728 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c void write_hwp_request(int cpu, struct msr_hwp_request *hwp_req, unsigned int msr_offset) hwp_req 734 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c cpu, hwp_req->hwp_min, hwp_req->hwp_max, hwp_req 735 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c hwp_req->hwp_desired, hwp_req->hwp_epp, hwp_req 736 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c hwp_req->hwp_window, hwp_req->hwp_use_pkg); hwp_req 738 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c msr |= HWP_MIN_PERF(ratio_2_msr_perf(hwp_req->hwp_min)); hwp_req 739 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c msr |= HWP_MAX_PERF(ratio_2_msr_perf(hwp_req->hwp_max)); hwp_req 740 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c msr |= HWP_DESIRED_PERF(ratio_2_msr_perf(hwp_req->hwp_desired)); hwp_req 741 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c msr |= HWP_ENERGY_PERF_PREFERENCE(hwp_req->hwp_epp); hwp_req 742 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c msr |= HWP_ACTIVITY_WINDOW(hwp_req->hwp_window); hwp_req 743 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c msr |= HWP_PACKAGE_CONTROL(hwp_req->hwp_use_pkg);