acpi_lpat_ge...ersion_table(9)
β¨ acpi_lpat_get_conversion_table(9) β¨
okay so this is a page straight out of the Kernel API Manual β the manual name on the tin is acpi_lpat_ge...ersion_table(9) (yes the title's literally truncated like that, we don't gatekeep, we move) π
πΈ NAME πΈ
acpi_lpat_get_conversion_table β parse the ACPI LPAT table if it's even there π
π SYNOPSIS π
struct acpi_lpat_conversion_table * acpi_lpat_get_conversion_table
(acpi_handle handle );
π¦ ARGUMENTS π¦
handleβ the handle to the acpi device, bestie. that's the whole vibe check for this one π«Ά
π DESCRIPTION π
so what this does is parse the LPAT table into a struct of type acpi_lpat_table β¨ on success it hands you back a pointer to a freshly allocated table β new table smell, iconic π₯
β οΈ but listen: this table must be freed by the caller when they're done processing it, using a call to acpi_lpat_free_conversion_table. don't just walk away from it, that's not main character energy, that's a memory leak π
π SEE ALSO π
- kernel file
./drivers/acpi/acpi_lpat.c acpi_lpat_raw_to_temp(9)acpi_lpat_temp_to_raw(9)acpi_lpat_free_conversion_table(9)
and that's the whole page, periodt π this little gem lives in ./drivers/acpi and it's dated October 2026 β so like, future girlie behaviour fr fr π bye bestie, go free your tables π§
π¦ 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