Lines Matching refs:tj_max
48 static int get_tj_max(u32 *tj_max) in get_tj_max() argument
60 *tj_max = val * 1000; in get_tj_max()
69 *tj_max = 0; in get_tj_max()
95 *temp = sensors->tj_max - out * 1000; in sys_get_trip_temp()
118 temp_out = (sensors->tj_max - temp) / 1000; in update_trip_temp()
200 if (temp > sensors->tj_max) in sys_set_trip_temp()
241 *temp = sensors->tj_max - out * 1000; in sys_get_curr_temp()
356 sensors->tj_max - critical_offset, in intel_soc_dts_iosf_add_read_only_critical_trip()
407 int tj_max; in intel_soc_dts_iosf_init() local
417 if (get_tj_max(&tj_max)) in intel_soc_dts_iosf_init()
427 sensors->tj_max = tj_max; in intel_soc_dts_iosf_init()