Searched refs:crit_trip (Results 1 – 1 of 1) sorted by relevance
| /Linux-v6.1/drivers/thermal/tegra/ |
| D | tegra30-tsensor.c | 308 int *hot_trip, int *crit_trip) in tegra_tsensor_get_hw_channel_trips() argument 317 *crit_trip = 90000; in tegra_tsensor_get_hw_channel_trips() 330 *crit_trip = trip_temp; in tegra_tsensor_get_hw_channel_trips() 343 *crit_trip = clamp(*crit_trip + 5000, 25000, 90000); in tegra_tsensor_get_hw_channel_trips() 351 int err, hot_trip = 0, crit_trip = 0; in tegra_tsensor_enable_hw_channel() local 362 tegra_tsensor_get_hw_channel_trips(tzd, &hot_trip, &crit_trip); in tegra_tsensor_enable_hw_channel() 368 id, DIV_ROUND_CLOSEST(crit_trip, 1000)); in tegra_tsensor_enable_hw_channel() 371 crit_trip = tegra_tsensor_temp_to_counter(ts, crit_trip); in tegra_tsensor_enable_hw_channel() 382 val |= FIELD_PREP(TSENSOR_SENSOR0_CONFIG2_TH3, crit_trip); in tegra_tsensor_enable_hw_channel()
|