• Home
  • Raw
  • Download

Lines Matching refs:msr_val

63 int (*platform_thermal_notify)(__u64 msr_val);
67 int (*platform_thermal_package_notify)(__u64 msr_val);
332 static void notify_package_thresholds(__u64 msr_val) in notify_package_thresholds() argument
341 if (msr_val & THERM_LOG_THRESHOLD0) in notify_package_thresholds()
344 if (msr_val & THERM_LOG_THRESHOLD1) in notify_package_thresholds()
353 platform_thermal_package_notify(msr_val); in notify_package_thresholds()
359 platform_thermal_package_notify(msr_val); in notify_package_thresholds()
362 platform_thermal_package_notify(msr_val); in notify_package_thresholds()
365 static void notify_thresholds(__u64 msr_val) in notify_thresholds() argument
374 if ((msr_val & THERM_LOG_THRESHOLD0) && in notify_thresholds()
376 platform_thermal_notify(msr_val); in notify_thresholds()
378 if ((msr_val & THERM_LOG_THRESHOLD1) && in notify_thresholds()
380 platform_thermal_notify(msr_val); in notify_thresholds()
386 __u64 msr_val; in intel_thermal_interrupt() local
388 rdmsrl(MSR_IA32_THERM_STATUS, msr_val); in intel_thermal_interrupt()
391 notify_thresholds(msr_val); in intel_thermal_interrupt()
393 if (therm_throt_process(msr_val & THERM_STATUS_PROCHOT, in intel_thermal_interrupt()
396 mce_log_therm_throt_event(msr_val); in intel_thermal_interrupt()
399 therm_throt_process(msr_val & THERM_STATUS_POWER_LIMIT, in intel_thermal_interrupt()
404 rdmsrl(MSR_IA32_PACKAGE_THERM_STATUS, msr_val); in intel_thermal_interrupt()
406 notify_package_thresholds(msr_val); in intel_thermal_interrupt()
407 therm_throt_process(msr_val & PACKAGE_THERM_STATUS_PROCHOT, in intel_thermal_interrupt()
411 therm_throt_process(msr_val & in intel_thermal_interrupt()