1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * acpi_lpat.h - LPAT table processing functions
5 * Copyright (C) 2015 Intel Corporation. All rights reserved.
16 struct acpi_lpat_conversion_table
{
17 struct acpi_lpat
*lpat
;
23 int acpi_lpat_raw_to_temp(struct acpi_lpat_conversion_table
*lpat_table
,
25 int acpi_lpat_temp_to_raw(struct acpi_lpat_conversion_table
*lpat_table
,
27 struct acpi_lpat_conversion_table
*acpi_lpat_get_conversion_table(acpi_handle
29 void acpi_lpat_free_conversion_table(struct acpi_lpat_conversion_table
33 static int acpi_lpat_raw_to_temp(struct acpi_lpat_conversion_table
*lpat_table
,
39 static int acpi_lpat_temp_to_raw(struct acpi_lpat_conversion_table
*lpat_table
,
45 static struct acpi_lpat_conversion_table
*acpi_lpat_get_conversion_table(
51 static void acpi_lpat_free_conversion_table(struct acpi_lpat_conversion_table