Lines Matching refs:thermal

8  *  This driver fully implements the ACPI thermal policy as described in the
16 #define pr_fmt(fmt) "ACPI: thermal: " fmt
28 #include <linux/thermal.h>
63 * We need to re-bind the cooling devices of a thermal zone when this occurs.
69 "ACPI thermal trip point %s changed\n" \
87 MODULE_PARM_DESC(off, "Set to disable ACPI thermal support.");
418 static void acpi_thermal_adjust_thermal_zone(struct thermal_zone_device *thermal,
421 struct acpi_thermal *tz = thermal_zone_device_priv(thermal);
475 /* sys I/F for generic thermal sysfs support */
477 static int thermal_get_temp(struct thermal_zone_device *thermal, int *temp)
479 struct acpi_thermal *tz = thermal_zone_device_priv(thermal);
494 static int thermal_get_trend(struct thermal_zone_device *thermal,
498 struct acpi_thermal *tz = thermal_zone_device_priv(thermal);
540 static void acpi_thermal_zone_device_hot(struct thermal_zone_device *thermal)
542 struct acpi_thermal *tz = thermal_zone_device_priv(thermal);
549 static void acpi_thermal_zone_device_critical(struct thermal_zone_device *thermal)
551 struct acpi_thermal *tz = thermal_zone_device_priv(thermal);
557 thermal_zone_device_critical(thermal);
560 static int acpi_thermal_cooling_device_cb(struct thermal_zone_device *thermal,
565 struct acpi_thermal *tz = thermal_zone_device_priv(thermal);
589 thermal, trip, cdev,
596 thermal, trip, cdev);
616 thermal, trip, cdev,
622 thermal, trip, cdev);
634 acpi_thermal_bind_cooling_device(struct thermal_zone_device *thermal,
637 return acpi_thermal_cooling_device_cb(thermal, cdev, true);
641 acpi_thermal_unbind_cooling_device(struct thermal_zone_device *thermal,
644 return acpi_thermal_cooling_device_cb(thermal, cdev, false);
886 * The heuristic below should work for all ACPI thermal zones which have a
995 /* Make sure the previously queued thermal check work has been done */
1039 .name = "thermal",
1051 pr_notice("%s detected: disabling all active thermal trip points\n",
1058 pr_notice("%s detected: disabling all critical thermal trip point actions.\n",
1065 pr_notice("%s detected: enabling thermal zone polling\n",
1073 pr_notice("%s detected: disabling all passive thermal trip points\n",
1082 * Award BIOS on this AOpen makes thermal control almost worthless.
1127 pr_notice("thermal control disabled\n");