Home
last modified time | relevance | path

Searched refs:hot_trip (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/thermal/tegra/
H A Dtegra30-tsensor.c307 int *hot_trip, int *crit_trip) in tegra_tsensor_get_hw_channel_trips() argument
315 *hot_trip = 85000; in tegra_tsensor_get_hw_channel_trips()
325 *hot_trip = trip.temperature; in tegra_tsensor_get_hw_channel_trips()
332 *hot_trip = clamp(*hot_trip, 25000, 90000); in tegra_tsensor_get_hw_channel_trips()
349 int err, hot_trip = 0, crit_trip = 0; in tegra_tsensor_enable_hw_channel() local
360 tegra_tsensor_get_hw_channel_trips(tzd, &hot_trip, &crit_trip); in tegra_tsensor_enable_hw_channel()
365 hot_trip = tegra_tsensor_temp_to_counter(ts, hot_trip); in tegra_tsensor_enable_hw_channel()
371 val |= FIELD_PREP(TSENSOR_SENSOR0_CONFIG1_TH2, hot_trip); in tegra_tsensor_enable_hw_channel()