Searched refs:trip_temp (Results 1 – 7 of 7) sorted by relevance
/drivers/thermal/ |
D | intel_pch_thermal.c | 99 unsigned long trip_temp; in pch_wpt_add_acpi_psv_trip() local 101 trip_temp = DECI_KELVIN_TO_MILLICELSIUS(r); in pch_wpt_add_acpi_psv_trip() 102 if (trip_temp) { in pch_wpt_add_acpi_psv_trip() 103 ptd->psv_temp = trip_temp; in pch_wpt_add_acpi_psv_trip() 122 u16 trip_temp; in pch_wpt_init() local 150 trip_temp = readw(ptd->hw_base + WPT_CTT); in pch_wpt_init() 151 trip_temp &= 0x1FF; in pch_wpt_init() 152 if (trip_temp) { in pch_wpt_init() 154 ptd->crt_temp = trip_temp * 1000 / 2 - 50000; in pch_wpt_init() 160 trip_temp = readw(ptd->hw_base + WPT_PHL); in pch_wpt_init() [all …]
|
D | gov_bang_bang.c | 28 int trip_temp, trip_hyst; in thermal_zone_trip_update() local 31 tz->ops->get_trip_temp(tz, trip, &trip_temp); in thermal_zone_trip_update() 41 trip, trip_temp, tz->temperature, in thermal_zone_trip_update() 65 if (instance->target == 0 && tz->temperature >= trip_temp) in thermal_zone_trip_update() 68 tz->temperature <= trip_temp - trip_hyst) in thermal_zone_trip_update()
|
D | step_wise.c | 130 int trip_temp; in thermal_zone_trip_update() local 138 trip_temp = tz->forced_passive; in thermal_zone_trip_update() 141 tz->ops->get_trip_temp(tz, trip, &trip_temp); in thermal_zone_trip_update() 147 if (tz->temperature >= trip_temp) { in thermal_zone_trip_update() 153 trip, trip_type, trip_temp, trend, throttle); in thermal_zone_trip_update()
|
D | fair_share.c | 37 int trip_temp; in get_trip_level() local 44 tz->ops->get_trip_temp(tz, count, &trip_temp); in get_trip_level() 45 if (tz->temperature < trip_temp) in get_trip_level()
|
D | thermal_core.c | 432 int trip_temp; in handle_critical_trips() local 434 tz->ops->get_trip_temp(tz, trip, &trip_temp); in handle_critical_trips() 437 if (trip_temp <= 0 || tz->temperature < trip_temp) in handle_critical_trips() 527 int trip_temp, hysteresis; in thermal_zone_set_trips() local 538 tz->ops->get_trip_temp(tz, i, &trip_temp); in thermal_zone_set_trips() 541 trip_low = trip_temp - hysteresis; in thermal_zone_set_trips() 546 if (trip_temp > tz->temperature && trip_temp < high) in thermal_zone_set_trips() 547 high = trip_temp; in thermal_zone_set_trips() 1870 int trip_temp; in thermal_zone_device_register() local 1946 if (tz->ops->get_trip_temp(tz, count, &trip_temp)) in thermal_zone_device_register() [all …]
|
/drivers/thermal/tegra/ |
D | soctherm.c | 346 int trip_temp); 349 struct soctherm_throt_cfg *stc, int trip_temp); 410 static int enforce_temp_range(struct device *dev, int trip_temp) in enforce_temp_range() argument 414 temp = clamp_val(trip_temp, min_low_temp, max_high_temp); in enforce_temp_range() 415 if (temp != trip_temp) in enforce_temp_range() 417 trip_temp, temp); in enforce_temp_range() 439 int trip_temp) in thermtrip_program() argument 448 temp = enforce_temp_range(dev, trip_temp) / ts->soc->thresh_grain; in thermtrip_program() 479 int trip_temp) in throttrip_program() argument 489 temp = enforce_temp_range(dev, trip_temp) / ts->soc->thresh_grain; in throttrip_program()
|
/drivers/acpi/ |
D | thermal.c | 713 int trip_temp; in thermal_get_trend() local 716 if (thermal_get_trip_temp(thermal, trip, &trip_temp)) in thermal_get_trend() 719 if (temp > trip_temp) { in thermal_get_trend()
|