Lines Matching +full:point +full:- +full:to +full:- +full:point
1 // SPDX-License-Identifier: GPL-2.0
6 * Library routines for populating a generic thermal trip point structure
15 * Minimum temperature for full military grade is 218°K (-55°C) and
19 * bogus and we can assume the firmware has no data to provide.
30 status = acpi_evaluate_integer(adev->handle, obj_name, NULL, &temp); in thermal_acpi_trip_temp()
32 acpi_handle_debug(adev->handle, "%s evaluation failed\n", obj_name); in thermal_acpi_trip_temp()
33 return -ENODATA; in thermal_acpi_trip_temp()
39 acpi_handle_debug(adev->handle, "%s result %llu out of range\n", in thermal_acpi_trip_temp()
48 * thermal_acpi_active_trip_temp - Retrieve active trip point temperature
50 * @id: Active cooling level (0 - 9).
51 * @ret_temp: Address to store the retrieved temperature value on success.
53 * Evaluate the _ACx object for the thermal zone represented by @adev to obtain
54 * the temperature of the active cooling trip point corresponding to the active
64 return -EINVAL; in thermal_acpi_active_trip_temp()
71 * thermal_acpi_passive_trip_temp - Retrieve passive trip point temperature
73 * @ret_temp: Address to store the retrieved temperature value on success.
75 * Evaluate the _PSV object for the thermal zone represented by @adev to obtain
76 * the temperature of the passive cooling trip point.
78 * Return 0 on success or -ENODATA on failure.
87 * thermal_acpi_hot_trip_temp - Retrieve hot trip point temperature
89 * @ret_temp: Address to store the retrieved temperature value on success.
91 * Evaluate the _HOT object for the thermal zone represented by @adev to obtain
92 * the temperature of the trip point at which the system is expected to be put
95 * Return 0 on success or -ENODATA on failure.
104 * thermal_acpi_critical_trip_temp - Retrieve critical trip point temperature
106 * @ret_temp: Address to store the retrieved temperature value on success.
108 * Evaluate the _CRT object for the thermal zone represented by @adev to obtain
109 * the temperature of the critical cooling trip point.
111 * Return 0 on success or -ENODATA on failure.