Lines Matching refs:trip_temp
446 static int enforce_temp_range(struct device *dev, int trip_temp) in enforce_temp_range() argument
450 temp = clamp_val(trip_temp, min_low_temp, max_high_temp); in enforce_temp_range()
451 if (temp != trip_temp) in enforce_temp_range()
453 trip_temp, temp); in enforce_temp_range()
475 int trip_temp) in thermtrip_program() argument
484 temp = enforce_temp_range(dev, trip_temp) / ts->soc->thresh_grain; in thermtrip_program()
515 int trip_temp) in throttrip_program() argument
525 temp = enforce_temp_range(dev, trip_temp) / ts->soc->thresh_grain; in throttrip_program()
640 int trip_temp, temp, last_temp, ret; in tegra_thermctl_get_trend() local
645 ret = tz->ops->get_trip_temp(zone->tz, trip, &trip_temp); in tegra_thermctl_get_trend()
652 if (temp > trip_temp) { in tegra_thermctl_get_trend()
657 } else if (temp < trip_temp) { in tegra_thermctl_get_trend()