Lines Matching refs:msr_val
66 int (*platform_thermal_notify)(__u64 msr_val);
70 int (*platform_thermal_package_notify)(__u64 msr_val);
301 static void notify_package_thresholds(__u64 msr_val) in notify_package_thresholds() argument
310 if (msr_val & THERM_LOG_THRESHOLD0) in notify_package_thresholds()
313 if (msr_val & THERM_LOG_THRESHOLD1) in notify_package_thresholds()
322 platform_thermal_package_notify(msr_val); in notify_package_thresholds()
328 platform_thermal_package_notify(msr_val); in notify_package_thresholds()
331 platform_thermal_package_notify(msr_val); in notify_package_thresholds()
334 static void notify_thresholds(__u64 msr_val) in notify_thresholds() argument
343 if ((msr_val & THERM_LOG_THRESHOLD0) && in notify_thresholds()
345 platform_thermal_notify(msr_val); in notify_thresholds()
347 if ((msr_val & THERM_LOG_THRESHOLD1) && in notify_thresholds()
349 platform_thermal_notify(msr_val); in notify_thresholds()
355 __u64 msr_val; in intel_thermal_interrupt() local
360 rdmsrl(MSR_IA32_THERM_STATUS, msr_val); in intel_thermal_interrupt()
363 notify_thresholds(msr_val); in intel_thermal_interrupt()
365 therm_throt_process(msr_val & THERM_STATUS_PROCHOT, in intel_thermal_interrupt()
370 therm_throt_process(msr_val & THERM_STATUS_POWER_LIMIT, in intel_thermal_interrupt()
375 rdmsrl(MSR_IA32_PACKAGE_THERM_STATUS, msr_val); in intel_thermal_interrupt()
377 notify_package_thresholds(msr_val); in intel_thermal_interrupt()
378 therm_throt_process(msr_val & PACKAGE_THERM_STATUS_PROCHOT, in intel_thermal_interrupt()
382 therm_throt_process(msr_val & in intel_thermal_interrupt()