Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/thermal/intel/
Dintel_pch_thermal.c116 unsigned long trip_temp; in pch_wpt_add_acpi_psv_trip() local
118 trip_temp = deci_kelvin_to_millicelsius(r); in pch_wpt_add_acpi_psv_trip()
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()
176 trip_temp = readw(ptd->hw_base + WPT_PHL); in pch_wpt_init()
[all …]
/linux-5.19.10/drivers/thermal/
Dgov_bang_bang.c18 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()
Dthermal_helpers.c133 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()
Dgov_step_wise.c118 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()
Dgov_fair_share.c25 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()
Dthermal_netlink.c60 int trip_temp; member
143 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_TEMP, p->trip_temp) || in thermal_genl_event_tz_trip_add()
348 int trip_temp, int trip_hyst) in thermal_notify_tz_trip_add() argument
351 .trip_type = trip_type, .trip_temp = trip_temp, in thermal_notify_tz_trip_add()
365 int trip_temp, int trip_hyst) in thermal_notify_tz_trip_change() argument
368 .trip_type = trip_type, .trip_temp = trip_temp, in thermal_notify_tz_trip_change()
Dthermal_core.c345 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()
1194 int trip_temp; in thermal_zone_device_register() local
[all …]
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_thermal.c37 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()
Dcxgb4.h1082 int trip_temp; member
/linux-5.19.10/drivers/thermal/broadcom/
Dbcm2835_thermal.c227 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-5.19.10/drivers/thermal/tegra/
Dsoctherm.c447 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
526 temp = enforce_temp_range(dev, trip_temp) / ts->soc->thresh_grain; in throttrip_program()
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()
[all …]
Dtegra30-tsensor.c321 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-5.19.10/drivers/acpi/
Dthermal.c641 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()