Home
last modified time | relevance | path

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

/linux/drivers/thermal/intel/
A Dintel_pch_thermal.c116 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 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()
A 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()
A 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()
A 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()
A Dthermal_netlink.c55 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 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()
1193 int trip_temp; in thermal_zone_device_register() local
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4/
A 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()
A Dcxgb4.h1082 int trip_temp; member
/linux/drivers/thermal/broadcom/
A 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/drivers/thermal/tegra/
A 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
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 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/drivers/acpi/
A 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()

Completed in 39 milliseconds