Searched refs:lpat (Results 1 – 3 of 3) sorted by relevance
27 struct acpi_lpat *lpat = lpat_table->lpat; in acpi_lpat_raw_to_temp() local30 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() local64 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 …]
17 struct acpi_lpat *lpat; member
299 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()