Lines Matching full:critical
59 MODULE_PARM_DESC(crt, "Disable or lower all critical trip points.");
67 MODULE_PARM_DESC(nocrt, "Set to take no action upon ACPI thermal zone critical trips points.");
111 u8 critical:1; member
151 struct acpi_thermal_critical critical; member
273 /* Critical Shutdown */ in acpi_thermal_trips_update()
277 tz->trips.critical.temperature = tmp; in acpi_thermal_trips_update()
285 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
287 "No critical threshold\n")); in acpi_thermal_trips_update()
289 pr_warn(FW_BUG "Invalid critical threshold (%llu)\n", in acpi_thermal_trips_update()
291 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
293 tz->trips.critical.flags.valid = 1; in acpi_thermal_trips_update()
295 "Found critical threshold [%lu]\n", in acpi_thermal_trips_update()
296 tz->trips.critical.temperature)); in acpi_thermal_trips_update()
298 if (tz->trips.critical.flags.valid == 1) { in acpi_thermal_trips_update()
300 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
305 * Allow override critical threshold in acpi_thermal_trips_update()
307 if (crt_k > tz->trips.critical.temperature) in acpi_thermal_trips_update()
308 pr_warn(PREFIX "Critical threshold %d C\n", in acpi_thermal_trips_update()
310 tz->trips.critical.temperature = crt_k; in acpi_thermal_trips_update()
315 /* Critical Sleep (optional) */ in acpi_thermal_trips_update()
486 valid = tz->trips.critical.flags.valid | in acpi_thermal_get_trip_points()
528 if (tz->trips.critical.flags.valid) { in thermal_get_trip_type()
573 if (tz->trips.critical.flags.valid) { in thermal_get_trip_temp()
576 tz->trips.critical.temperature, in thermal_get_trip_temp()
622 if (tz->trips.critical.flags.valid) { in thermal_get_crit_temp()
624 tz->trips.critical.temperature, in thermal_get_crit_temp()
711 if (tz->trips.critical.flags.valid) in acpi_thermal_cooling_device_cb()
819 if (tz->trips.critical.flags.valid) in acpi_thermal_register_thermal_zone()
1008 * critical trip point with a value being a multiple of 0.5 degree Celsius.
1012 if (tz->trips.critical.flags.valid && in acpi_thermal_guess_offset()
1013 (tz->trips.critical.temperature % 5) == 1) in acpi_thermal_guess_offset()
1158 "disabling all critical thermal trip point actions.\n", d->ident); in thermal_nocrt()