Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/thermal/
Dintel_pch_thermal.c102 unsigned long trip_temp; in pch_wpt_add_acpi_psv_trip() local
104 trip_temp = DECI_KELVIN_TO_MILLICELSIUS(r); in pch_wpt_add_acpi_psv_trip()
105 if (trip_temp) { in pch_wpt_add_acpi_psv_trip()
106 ptd->psv_temp = trip_temp; in pch_wpt_add_acpi_psv_trip()
125 u16 trip_temp; in pch_wpt_init() local
153 trip_temp = readw(ptd->hw_base + WPT_CTT); in pch_wpt_init()
154 trip_temp &= 0x1FF; in pch_wpt_init()
155 if (trip_temp) { in pch_wpt_init()
157 ptd->crt_temp = trip_temp * 1000 / 2 - 50000; in pch_wpt_init()
163 trip_temp = readw(ptd->hw_base + WPT_PHL); in pch_wpt_init()
[all …]
Dgov_bang_bang.c28 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()
Dthermal_helpers.c120 int trip_temp, hysteresis; in thermal_zone_set_trips() local
131 tz->ops->get_trip_temp(tz, i, &trip_temp); in thermal_zone_set_trips()
134 trip_low = trip_temp - hysteresis; in thermal_zone_set_trips()
139 if (trip_temp > tz->temperature && trip_temp < high) in thermal_zone_set_trips()
140 high = trip_temp; in thermal_zone_set_trips()
Dstep_wise.c130 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()
Dfair_share.c37 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()
Dthermal_core.c375 int trip_temp; in handle_critical_trips() local
377 tz->ops->get_trip_temp(tz, trip, &trip_temp); in handle_critical_trips()
380 if (trip_temp <= 0 || tz->temperature < trip_temp) in handle_critical_trips()
1182 int trip_temp; in thermal_zone_device_register() local
1240 if (tz->ops->get_trip_temp(tz, count, &trip_temp)) in thermal_zone_device_register()
1243 if (trip_temp == 0) in thermal_zone_device_register()
/Linux-v4.19/drivers/thermal/broadcom/
Dbcm2835_thermal.c238 int trip_temp, offset, slope; in bcm2835_thermal_probe() local
246 err = tz->ops->get_trip_temp(tz, 0, &trip_temp); in bcm2835_thermal_probe()
263 val |= bcm2835_thermal_temp2adc(trip_temp, in bcm2835_thermal_probe()
/Linux-v4.19/drivers/thermal/tegra/
Dsoctherm.c329 static int enforce_temp_range(struct device *dev, int trip_temp) in enforce_temp_range() argument
333 temp = clamp_val(trip_temp, min_low_temp, max_high_temp); in enforce_temp_range()
334 if (temp != trip_temp) in enforce_temp_range()
336 trip_temp, temp); in enforce_temp_range()
358 int trip_temp) in thermtrip_program() argument
367 temp = enforce_temp_range(dev, trip_temp) / ts->soc->thresh_grain; in thermtrip_program()
398 int trip_temp) in throttrip_program() argument
408 temp = enforce_temp_range(dev, trip_temp) / ts->soc->thresh_grain; in throttrip_program()
/Linux-v4.19/drivers/acpi/
Dthermal.c713 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()