Lines Matching defs:thermal
27 #include <linux/thermal.h>
46 * measured by the on-die thermal monitor are within 0 <= Tj <= 90. So,
263 * this struct is used to instruct thermal layer to use bang_bang instead of
323 static void acerhdf_check_param(struct thermal_zone_device *thermal)
339 thermal->polling_delay = interval*1000;
345 * This is the thermal zone callback which does the delayed polling of the fan
350 static int acerhdf_get_ec_temp(struct thermal_zone_device *thermal, int *t)
354 acerhdf_check_param(thermal);
367 static int acerhdf_bind(struct thermal_zone_device *thermal,
374 if (thermal_zone_bind_cooling_device(thermal, 0, cdev,
383 static int acerhdf_unbind(struct thermal_zone_device *thermal,
389 if (thermal_zone_unbind_cooling_device(thermal, 0, cdev)) {
412 * enabled: the thermal layer of the kernel takes care about
416 static int acerhdf_change_mode(struct thermal_zone_device *thermal,
427 static int acerhdf_get_trip_type(struct thermal_zone_device *thermal, int trip,
440 static int acerhdf_get_trip_hyst(struct thermal_zone_device *thermal, int trip,
451 static int acerhdf_get_trip_temp(struct thermal_zone_device *thermal, int trip,
464 static int acerhdf_get_crit_temp(struct thermal_zone_device *thermal,
680 pr_notice("echo -n \"enabled\" > /sys/class/thermal/thermal_zoneN/mode # N=0,1,2...\n");
744 pr_err("Didn't get thermal governor %s, perhaps not compiled into thermal subsystem.\n",