Lines Matching refs:thermal

528 static int thermal_get_temp(struct thermal_zone_device *thermal, int *temp)  in thermal_get_temp()  argument
530 struct acpi_thermal *tz = thermal->devdata; in thermal_get_temp()
545 static int thermal_get_mode(struct thermal_zone_device *thermal, in thermal_get_mode() argument
548 struct acpi_thermal *tz = thermal->devdata; in thermal_get_mode()
559 static int thermal_set_mode(struct thermal_zone_device *thermal, in thermal_set_mode() argument
562 struct acpi_thermal *tz = thermal->devdata; in thermal_set_mode()
589 static int thermal_get_trip_type(struct thermal_zone_device *thermal, in thermal_get_trip_type() argument
592 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trip_type()
634 static int thermal_get_trip_temp(struct thermal_zone_device *thermal, in thermal_get_trip_temp() argument
637 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trip_temp()
687 static int thermal_get_crit_temp(struct thermal_zone_device *thermal, in thermal_get_crit_temp() argument
690 struct acpi_thermal *tz = thermal->devdata; in thermal_get_crit_temp()
701 static int thermal_get_trend(struct thermal_zone_device *thermal, in thermal_get_trend() argument
704 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trend()
708 if (thermal_get_trip_type(thermal, trip, &type)) in thermal_get_trend()
715 if (thermal_get_trip_temp(thermal, trip, &trip_temp)) in thermal_get_trend()
745 static int thermal_notify(struct thermal_zone_device *thermal, int trip, in thermal_notify() argument
749 struct acpi_thermal *tz = thermal->devdata; in thermal_notify()
767 static int acpi_thermal_cooling_device_cb(struct thermal_zone_device *thermal, in acpi_thermal_cooling_device_cb() argument
772 struct acpi_thermal *tz = thermal->devdata; in acpi_thermal_cooling_device_cb()
798 (thermal, trip, cdev, in acpi_thermal_cooling_device_cb()
804 (thermal, trip, cdev); in acpi_thermal_cooling_device_cb()
823 (thermal, trip, cdev, in acpi_thermal_cooling_device_cb()
828 (thermal, trip, cdev); in acpi_thermal_cooling_device_cb()
840 (thermal, THERMAL_TRIPS_NONE, in acpi_thermal_cooling_device_cb()
846 (thermal, THERMAL_TRIPS_NONE, in acpi_thermal_cooling_device_cb()
858 acpi_thermal_bind_cooling_device(struct thermal_zone_device *thermal, in acpi_thermal_bind_cooling_device() argument
861 return acpi_thermal_cooling_device_cb(thermal, cdev, true); in acpi_thermal_bind_cooling_device()
865 acpi_thermal_unbind_cooling_device(struct thermal_zone_device *thermal, in acpi_thermal_unbind_cooling_device() argument
868 return acpi_thermal_cooling_device_cb(thermal, cdev, false); in acpi_thermal_unbind_cooling_device()