Lines Matching refs:thermal
532 static int thermal_get_temp(struct thermal_zone_device *thermal, in thermal_get_temp() argument
535 struct acpi_thermal *tz = thermal->devdata; in thermal_get_temp()
550 static int thermal_get_mode(struct thermal_zone_device *thermal, in thermal_get_mode() argument
553 struct acpi_thermal *tz = thermal->devdata; in thermal_get_mode()
564 static int thermal_set_mode(struct thermal_zone_device *thermal, in thermal_set_mode() argument
567 struct acpi_thermal *tz = thermal->devdata; in thermal_set_mode()
594 static int thermal_get_trip_type(struct thermal_zone_device *thermal, in thermal_get_trip_type() argument
597 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trip_type()
639 static int thermal_get_trip_temp(struct thermal_zone_device *thermal, in thermal_get_trip_temp() argument
642 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trip_temp()
692 static int thermal_get_crit_temp(struct thermal_zone_device *thermal, in thermal_get_crit_temp() argument
694 struct acpi_thermal *tz = thermal->devdata; in thermal_get_crit_temp()
705 static int thermal_get_trend(struct thermal_zone_device *thermal, in thermal_get_trend() argument
708 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trend()
712 if (thermal_get_trip_type(thermal, trip, &type)) in thermal_get_trend()
719 if (thermal_get_trip_temp(thermal, trip, &trip_temp)) in thermal_get_trend()
749 static int thermal_notify(struct thermal_zone_device *thermal, int trip, in thermal_notify() argument
753 struct acpi_thermal *tz = thermal->devdata; in thermal_notify()
771 static int acpi_thermal_cooling_device_cb(struct thermal_zone_device *thermal, in acpi_thermal_cooling_device_cb() argument
776 struct acpi_thermal *tz = thermal->devdata; in acpi_thermal_cooling_device_cb()
802 (thermal, trip, cdev, in acpi_thermal_cooling_device_cb()
807 (thermal, trip, cdev); in acpi_thermal_cooling_device_cb()
826 (thermal, trip, cdev, in acpi_thermal_cooling_device_cb()
830 (thermal, trip, cdev); in acpi_thermal_cooling_device_cb()
842 (thermal, THERMAL_TRIPS_NONE, in acpi_thermal_cooling_device_cb()
847 (thermal, THERMAL_TRIPS_NONE, in acpi_thermal_cooling_device_cb()
859 acpi_thermal_bind_cooling_device(struct thermal_zone_device *thermal, in acpi_thermal_bind_cooling_device() argument
862 return acpi_thermal_cooling_device_cb(thermal, cdev, true); in acpi_thermal_bind_cooling_device()
866 acpi_thermal_unbind_cooling_device(struct thermal_zone_device *thermal, in acpi_thermal_unbind_cooling_device() argument
869 return acpi_thermal_cooling_device_cb(thermal, cdev, false); in acpi_thermal_unbind_cooling_device()