Home
last modified time | relevance | path

Searched refs:lpat (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/acpi/
H A Dacpi_lpat.c27 struct acpi_lpat *lpat = lpat_table->lpat; in acpi_lpat_raw_to_temp() local
30 if ((raw >= lpat[i].raw && raw <= lpat[i+1].raw) || in acpi_lpat_raw_to_temp()
31 (raw <= lpat[i].raw && raw >= lpat[i+1].raw)) in acpi_lpat_raw_to_temp()
38 delta_temp = lpat[i+1].temp - lpat[i].temp; in acpi_lpat_raw_to_temp()
39 delta_raw = lpat[i+1].raw - lpat[i].raw; in acpi_lpat_raw_to_temp()
61 struct acpi_lpat *lpat = lpat_table->lpat; in acpi_lpat_temp_to_raw() local
64 if (temp >= lpat[i].temp && temp <= lpat[i+1].temp) in acpi_lpat_temp_to_raw()
71 delta_temp = lpat[i+1].temp - lpat[i].temp; in acpi_lpat_temp_to_raw()
72 delta_raw = lpat[i+1].raw - lpat[i].raw; in acpi_lpat_temp_to_raw()
108 if (!lpat) in acpi_lpat_get_conversion_table()
[all …]
/openbmc/linux/include/acpi/
H A Dacpi_lpat.h17 struct acpi_lpat *lpat; member
/openbmc/linux/drivers/acpi/pmic/
H A Dintel_pmic_xpower.c299 struct acpi_lpat first = lpat_table->lpat[0]; in intel_xpower_lpat_raw_to_temp()
300 struct acpi_lpat last = lpat_table->lpat[lpat_table->lpat_count - 1]; in intel_xpower_lpat_raw_to_temp()