Searched refs:trip_temp (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/thermal/intel/ |
H A D | intel_pch_thermal.c | 167 u16 trip_temp; in intel_pch_thermal_probe() local 222 trip_temp = readw(ptd->hw_base + WPT_CTT); in intel_pch_thermal_probe() 223 trip_temp &= 0x1FF; in intel_pch_thermal_probe() 224 if (trip_temp) { in intel_pch_thermal_probe() 225 ptd_trips[nr_trips].temperature = GET_WPT_TEMP(trip_temp); in intel_pch_thermal_probe() 229 trip_temp = readw(ptd->hw_base + WPT_PHL); in intel_pch_thermal_probe() 230 trip_temp &= 0x1FF; in intel_pch_thermal_probe() 231 if (trip_temp) { in intel_pch_thermal_probe() 232 ptd_trips[nr_trips].temperature = GET_WPT_TEMP(trip_temp); in intel_pch_thermal_probe()
|
/linux/drivers/thermal/ |
H A D | thermal_debugfs.c | 103 int trip_temp; member 567 tze->trip_stats[i].trip_temp = THERMAL_TEMP_INVALID; in thermal_debugfs_tz_event_alloc() 649 trip_stats->trip_temp = trip->temperature; in thermal_debug_tz_trip_up() 823 if (trip_stats->trip_temp == THERMAL_TEMP_INVALID) in tze_seq_show() 842 9, trip_stats->trip_temp, in tze_seq_show()
|
H A D | thermal_netlink.c | 61 int trip_temp; member 153 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_TEMP, p->trip_temp) || in thermal_genl_event_tz_trip_change() 358 .trip_temp = trip->temperature, in thermal_notify_tz_trip_change()
|
/linux/drivers/thermal/tegra/ |
H 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 526 temp = enforce_temp_range(dev, trip_temp) / ts->soc->thresh_grain; in throttrip_program()
|