Searched refs:lpat (Results 1 – 2 of 2) sorted by relevance
201 struct acpi_lpat *lpat = sc->sc_lpat; in ccpmic_raw_to_temp() local208 if (raw >= lpat[i - 1].raw && raw <= lpat[i].raw) in ccpmic_raw_to_temp()210 if (raw <= lpat[i - 1].raw && raw >= lpat[i].raw) in ccpmic_raw_to_temp()216 raw0 = lpat[i - 1].raw; in ccpmic_raw_to_temp()217 temp0 = lpat[i - 1].temp; in ccpmic_raw_to_temp()218 delta_raw = lpat[i].raw - raw0; in ccpmic_raw_to_temp()219 delta_temp = lpat[i].temp - temp0; in ccpmic_raw_to_temp()
246 struct acpi_lpat *lpat = sc->sc_lpat; in tipmic_raw_to_temp() local253 if (raw >= lpat[i - 1].raw && raw <= lpat[i].raw) in tipmic_raw_to_temp()255 if (raw <= lpat[i - 1].raw && raw >= lpat[i].raw) in tipmic_raw_to_temp()261 raw0 = lpat[i - 1].raw; in tipmic_raw_to_temp()262 temp0 = lpat[i - 1].temp; in tipmic_raw_to_temp()263 delta_raw = lpat[i].raw - raw0; in tipmic_raw_to_temp()264 delta_temp = lpat[i].temp - temp0; in tipmic_raw_to_temp()