Lines Matching refs:tj_max
64 u32 tj_max; member
82 static int get_tj_max(u32 *tj_max) in get_tj_max() argument
94 *tj_max = val * 1000; in get_tj_max()
103 *tj_max = 0; in get_tj_max()
119 *temp = aux_entry->tj_max - crit_offset; in sys_get_trip_temp()
135 *temp = aux_entry->tj_max - out * 1000; in sys_get_trip_temp()
154 temp_out = (aux_entry->tj_max - temp) / 1000; in update_trip_temp()
232 if (temp > (aux_entry->tj_max - crit_offset)) in sys_set_trip_temp()
269 *temp = aux_entry->tj_max - out * 1000; in sys_get_curr_temp()
312 static struct soc_sensor_entry *alloc_soc_dts(int id, u32 tj_max, in alloc_soc_dts() argument
335 aux_entry->tj_max = tj_max; in alloc_soc_dts()
420 u32 tj_max; in intel_soc_thermal_init() local
429 if (get_tj_max(&tj_max)) in intel_soc_thermal_init()
435 soc_dts[i] = alloc_soc_dts(i, tj_max, in intel_soc_thermal_init()
457 err = update_trip_temp(soc_dts[i], 0, tj_max - crit_offset); in intel_soc_thermal_init()