Searched refs:therm_info (Results 1 – 2 of 2) sorted by relevance
/haiku/src/add-ons/kernel/drivers/power/acpi_thermal/ |
H A D | acpi_thermal.c | 57 acpi_thermal_type therm_info; in guess_kelvin_offset() local 59 acpi_thermal_control(device, drvOpGetThermalType, &therm_info, 0); in guess_kelvin_offset() 62 if (therm_info.critical_temp > 2732 && (therm_info.critical_temp % 5) == 1) in guess_kelvin_offset() 84 acpi_thermal_type therm_info; in acpi_thermal_read() local 96 acpi_thermal_control(device, drvOpGetThermalType, &therm_info, 0); in acpi_thermal_read() 99 ((therm_info.critical_temp - kelvinOffset) / 10), in acpi_thermal_read() 100 ((therm_info.critical_temp - kelvinOffset) % 10)); in acpi_thermal_read() 105 ((therm_info.current_temp - kelvinOffset) / 10), in acpi_thermal_read() 106 ((therm_info.current_temp - kelvinOffset) % 10)); in acpi_thermal_read() 110 if (therm_info.hot_temp > 0) { in acpi_thermal_read() [all …]
|
/haiku/src/add-ons/kernel/drivers/power/pch_thermal/ |
H A D | pch_thermal.cpp | 92 pch_thermal_type therm_info; in pch_thermal_read() local 100 pch_thermal_control(device, drvOpGetThermalType, &therm_info, 0); in pch_thermal_read() 103 B_PRIu32 " C\n", (therm_info.critical_temp / 10), in pch_thermal_read() 104 (therm_info.critical_temp % 10)); in pch_thermal_read() 109 B_PRIu32 " C\n", (therm_info.current_temp / 10), in pch_thermal_read() 110 (therm_info.current_temp % 10)); in pch_thermal_read() 112 if (therm_info.hot_temp > 0) { in pch_thermal_read() 116 B_PRIu32 " C\n", (therm_info.hot_temp / 10), in pch_thermal_read() 117 (therm_info.hot_temp % 10)); in pch_thermal_read()
|