Lines Matching refs:tj_max
56 static int get_tj_max(u32 *tj_max) in get_tj_max() argument
68 *tj_max = val * 1000; in get_tj_max()
77 *tj_max = 0; in get_tj_max()
103 *temp = sensors->tj_max - out * 1000; in sys_get_trip_temp()
125 temp_out = (sensors->tj_max - temp) / 1000; in update_trip_temp()
205 if (temp > sensors->tj_max) in sys_set_trip_temp()
245 *temp = sensors->tj_max - out * 1000; in sys_get_curr_temp()
358 sensors->tj_max - critical_offset, in intel_soc_dts_iosf_add_read_only_critical_trip()
408 u32 tj_max; in intel_soc_dts_iosf_init() local
418 if (get_tj_max(&tj_max)) in intel_soc_dts_iosf_init()
428 sensors->tj_max = tj_max; in intel_soc_dts_iosf_init()