acpi_lpat_temp_to_raw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the temperature_raw mapping 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 🌈


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