Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/intel/int340x_thermal/
H A Dprocessor_thermal_device.c273 static int tcc_offset_save = -1; variable
277 tcc_offset_save = intel_tcc_get_offset(-1); in proc_thermal_suspend()
278 if (tcc_offset_save < 0) in proc_thermal_suspend()
279 dev_warn(dev, "failed to save offset (%d)\n", tcc_offset_save); in proc_thermal_suspend()
293 if (tcc_offset_save >= 0) in proc_thermal_resume()
294 intel_tcc_set_offset(-1, tcc_offset_save); in proc_thermal_resume()