Searched refs:trip_temp (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/drivers/thermal/intel/ |
D | intel_pch_thermal.c | 165 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()
|
/linux-6.6.21/drivers/thermal/ |
D | thermal_netlink.c | 60 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()
|
D | thermal_core.c | 330 int trip, int trip_temp, enum thermal_trip_type trip_type) in handle_critical_trips() argument 333 if (trip_temp <= 0 || tz->temperature < trip_temp) in handle_critical_trips()
|
/linux-6.6.21/drivers/thermal/tegra/ |
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()
|