acpi_lpat_temp_to_raw(9)
π acpi_lpat_temp_to_raw(9) π
okay so bestie, this is a page from the Kernel API Manual and it's all about turning a temperature into a raw value using an LPAT conversion table. iconic little lookup behavior, no cap β¨
πΈ NAME πΈ
acpi_lpat_temp_to_raw β return raw value from temperature through LPAT conversion table
π SYNOPSIS π
int acpi_lpat_temp_to_raw (struct acpi_lpat_conversion_table *lpat_table
, int temp );
π¦ ARGUMENTS π¦
lpat_tableβ thetemperature_rawmapping table. it's giving "the lookup source," periodt πtempβ the temperature, used as a key to get the raw value from the above mapping table. yes bestie, it's the key π
β¨ DESCRIPTION β¨
The raw value will be returned on success, and a negative errno will be returned in error cases. that's the whole vibe: success = raw value, error = negative errno ππ
π SEE ALSO π
- Kernel file
./drivers/acpi/acpi_lpat.c acpi_lpat_raw_to_temp(9)acpi_lpat_get_conversion_table(9)acpi_lpat_free_conversion_table(9)
mwah π source/version is ./drivers/acpi, the date is October 2026, and yes bestie this page is literally acpi_lpat_temp_to_raw(9) π«Άπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms