/linux/drivers/thermal/intel/ |
A D | intel_pch_thermal.c | 116 unsigned long trip_temp; in pch_wpt_add_acpi_psv_trip() local 119 if (trip_temp) { in pch_wpt_add_acpi_psv_trip() 120 ptd->psv_temp = trip_temp; in pch_wpt_add_acpi_psv_trip() 139 u16 trip_temp; in pch_wpt_init() local 167 trip_temp = readw(ptd->hw_base + WPT_CTT); in pch_wpt_init() 168 trip_temp &= 0x1FF; in pch_wpt_init() 169 if (trip_temp) { in pch_wpt_init() 170 ptd->crt_temp = GET_WPT_TEMP(trip_temp); in pch_wpt_init() 177 trip_temp &= 0x1FF; in pch_wpt_init() 178 if (trip_temp) { in pch_wpt_init() [all …]
|
/linux/drivers/thermal/ |
A D | gov_bang_bang.c | 18 int trip_temp, trip_hyst; in thermal_zone_trip_update() local 21 tz->ops->get_trip_temp(tz, trip, &trip_temp); in thermal_zone_trip_update() 31 trip, trip_temp, tz->temperature, in thermal_zone_trip_update() 55 if (instance->target == 0 && tz->temperature >= trip_temp) in thermal_zone_trip_update() 58 tz->temperature <= trip_temp - trip_hyst) in thermal_zone_trip_update()
|
A D | thermal_helpers.c | 133 int trip_temp, hysteresis; in thermal_zone_set_trips() local 144 tz->ops->get_trip_temp(tz, i, &trip_temp); in thermal_zone_set_trips() 147 trip_low = trip_temp - hysteresis; in thermal_zone_set_trips() 152 if (trip_temp > tz->temperature && trip_temp < high) in thermal_zone_set_trips() 153 high = trip_temp; in thermal_zone_set_trips()
|
A D | gov_step_wise.c | 118 int trip_temp; in thermal_zone_trip_update() local 125 tz->ops->get_trip_temp(tz, trip, &trip_temp); in thermal_zone_trip_update() 130 if (tz->temperature >= trip_temp) { in thermal_zone_trip_update() 136 trip, trip_type, trip_temp, trend, throttle); in thermal_zone_trip_update()
|
A D | gov_fair_share.c | 25 int trip_temp; in get_trip_level() local 32 tz->ops->get_trip_temp(tz, count, &trip_temp); in get_trip_level() 33 if (tz->temperature < trip_temp) in get_trip_level()
|
A D | thermal_netlink.c | 55 int trip_temp; member 136 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_TEMP, p->trip_temp) || in thermal_genl_event_tz_trip_add() 304 int trip_temp, int trip_hyst) in thermal_notify_tz_trip_add() argument 307 .trip_type = trip_type, .trip_temp = trip_temp, in thermal_notify_tz_trip_add() 321 int trip_temp, int trip_hyst) in thermal_notify_tz_trip_change() argument 324 .trip_type = trip_type, .trip_temp = trip_temp, in thermal_notify_tz_trip_change()
|
A D | thermal_core.c | 345 int trip_temp; in handle_critical_trips() local 347 tz->ops->get_trip_temp(tz, trip, &trip_temp); in handle_critical_trips() 350 if (trip_temp <= 0 || tz->temperature < trip_temp) in handle_critical_trips() 364 int trip_temp, hyst = 0; in handle_thermal_trip() local 370 tz->ops->get_trip_temp(tz, trip, &trip_temp); in handle_thermal_trip() 376 if (tz->last_temperature < trip_temp && in handle_thermal_trip() 377 tz->temperature >= trip_temp) in handle_thermal_trip() 380 if (tz->last_temperature >= trip_temp && in handle_thermal_trip() 381 tz->temperature < (trip_temp - hyst)) in handle_thermal_trip() 1193 int trip_temp; in thermal_zone_device_register() local [all …]
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cxgb4_thermal.c | 37 if (!adap->ch_thermal.trip_temp) in cxgb4_thermal_get_trip_type() 49 if (!adap->ch_thermal.trip_temp) in cxgb4_thermal_get_trip_temp() 52 *temp = adap->ch_thermal.trip_temp; in cxgb4_thermal_get_trip_temp() 82 ch_thermal->trip_temp = val * 1000; in cxgb4_thermal_init()
|
A D | cxgb4.h | 1082 int trip_temp; member
|
/linux/drivers/thermal/broadcom/ |
A D | bcm2835_thermal.c | 227 int trip_temp, offset, slope; in bcm2835_thermal_probe() local 235 err = tz->ops->get_trip_temp(tz, 0, &trip_temp); in bcm2835_thermal_probe() 252 val |= bcm2835_thermal_temp2adc(trip_temp, in bcm2835_thermal_probe()
|
/linux/drivers/thermal/tegra/ |
A D | soctherm.c | 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 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() [all …]
|
A D | tegra30-tsensor.c | 321 int trip_temp; in tegra_tsensor_get_hw_channel_trips() local 323 tzd->ops->get_trip_temp(tzd, i, &trip_temp); in tegra_tsensor_get_hw_channel_trips() 327 *hot_trip = trip_temp; in tegra_tsensor_get_hw_channel_trips() 330 *crit_trip = trip_temp; in tegra_tsensor_get_hw_channel_trips()
|
/linux/drivers/acpi/ |
A D | thermal.c | 641 int trip_temp; in thermal_get_trend() local 644 if (thermal_get_trip_temp(thermal, trip, &trip_temp)) in thermal_get_trend() 647 if (temp > trip_temp) { in thermal_get_trend()
|