Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/thermal/intel/int340x_thermal/
H A Dprocessor_thermal_device.c188 static int tcc_offset_save = -1; variable
212 tcc_offset_save = tcc; in tcc_offset_degree_celsius_store()
712 if (tcc_offset_save >= 0) in proc_thermal_resume()
713 tcc_offset_update(tcc_offset_save); in proc_thermal_resume()

Completed in 2 milliseconds