Lines Matching refs:trip_temp
447 static int enforce_temp_range(struct device *dev, int trip_temp) in enforce_temp_range() argument
451 temp = clamp_val(trip_temp, min_low_temp, max_high_temp); in enforce_temp_range()
452 if (temp != trip_temp) in enforce_temp_range()
454 trip_temp, temp); in enforce_temp_range()
476 int trip_temp) in thermtrip_program() argument
485 temp = enforce_temp_range(dev, trip_temp) / ts->soc->thresh_grain; in thermtrip_program()
516 int trip_temp) in throttrip_program() argument
526 temp = enforce_temp_range(dev, trip_temp) / ts->soc->thresh_grain; in throttrip_program()
641 int trip_temp, temp, last_temp, ret; in tegra_thermctl_get_trend() local
646 ret = tz->ops->get_trip_temp(zone->tz, trip, &trip_temp); in tegra_thermctl_get_trend()
653 if (temp > trip_temp) { in tegra_thermctl_get_trend()
658 } else if (temp < trip_temp) { in tegra_thermctl_get_trend()