Lines Matching refs:thermal
529 static int thermal_get_temp(struct thermal_zone_device *thermal, int *temp) in thermal_get_temp() argument
531 struct acpi_thermal *tz = thermal->devdata; in thermal_get_temp()
546 static int thermal_get_mode(struct thermal_zone_device *thermal, in thermal_get_mode() argument
549 struct acpi_thermal *tz = thermal->devdata; in thermal_get_mode()
560 static int thermal_set_mode(struct thermal_zone_device *thermal, in thermal_set_mode() argument
563 struct acpi_thermal *tz = thermal->devdata; in thermal_set_mode()
590 static int thermal_get_trip_type(struct thermal_zone_device *thermal, in thermal_get_trip_type() argument
593 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trip_type()
635 static int thermal_get_trip_temp(struct thermal_zone_device *thermal, in thermal_get_trip_temp() argument
638 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trip_temp()
688 static int thermal_get_crit_temp(struct thermal_zone_device *thermal, in thermal_get_crit_temp() argument
691 struct acpi_thermal *tz = thermal->devdata; in thermal_get_crit_temp()
702 static int thermal_get_trend(struct thermal_zone_device *thermal, in thermal_get_trend() argument
705 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trend()
709 if (thermal_get_trip_type(thermal, trip, &type)) in thermal_get_trend()
716 if (thermal_get_trip_temp(thermal, trip, &trip_temp)) in thermal_get_trend()
746 static int thermal_notify(struct thermal_zone_device *thermal, int trip, in thermal_notify() argument
750 struct acpi_thermal *tz = thermal->devdata; in thermal_notify()
768 static int acpi_thermal_cooling_device_cb(struct thermal_zone_device *thermal, in acpi_thermal_cooling_device_cb() argument
773 struct acpi_thermal *tz = thermal->devdata; in acpi_thermal_cooling_device_cb()
799 (thermal, trip, cdev, in acpi_thermal_cooling_device_cb()
805 (thermal, trip, cdev); in acpi_thermal_cooling_device_cb()
824 (thermal, trip, cdev, in acpi_thermal_cooling_device_cb()
829 (thermal, trip, cdev); in acpi_thermal_cooling_device_cb()
841 (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()