Home
last modified time | relevance | path

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

/drivers/thermal/intel/
Dintel_pch_thermal.c165 u16 trip_temp; in intel_pch_thermal_probe() local
220 trip_temp = readw(ptd->hw_base + WPT_CTT); in intel_pch_thermal_probe()
221 trip_temp &= 0x1FF; in intel_pch_thermal_probe()
222 if (trip_temp) { in intel_pch_thermal_probe()
223 ptd->trips[nr_trips].temperature = GET_WPT_TEMP(trip_temp); in intel_pch_thermal_probe()
227 trip_temp = readw(ptd->hw_base + WPT_PHL); in intel_pch_thermal_probe()
228 trip_temp &= 0x1FF; in intel_pch_thermal_probe()
229 if (trip_temp) { in intel_pch_thermal_probe()
230 ptd->trips[nr_trips].temperature = GET_WPT_TEMP(trip_temp); in intel_pch_thermal_probe()
/drivers/thermal/
Dthermal_netlink.c61 int trip_temp; member
144 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_TEMP, p->trip_temp) || in thermal_genl_event_tz_trip_add()
354 int trip_temp, int trip_hyst) in thermal_notify_tz_trip_add() argument
357 .trip_type = trip_type, .trip_temp = trip_temp, in thermal_notify_tz_trip_add()
371 int trip_temp, int trip_hyst) in thermal_notify_tz_trip_change() argument
374 .trip_type = trip_type, .trip_temp = trip_temp, in thermal_notify_tz_trip_change()
Dthermal_core.c332 int trip, int trip_temp, enum thermal_trip_type trip_type) in handle_critical_trips() argument
335 if (trip_temp <= 0 || tz->temperature < trip_temp) in handle_critical_trips()
/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()