Lines Matching refs:temp
96 int tz_thflags; /*Current temp-related flags*/
282 acpi_tz_temp_sysctl, "IK", "passive cooling temp setpoint");
287 "too hot temp setpoint (suspend now)");
292 "critical temp setpoint (shutdown now)");
460 int temp;
466 status = acpi_GetInteger(sc->tz_handle, acpi_tz_tmp_name, &temp);
475 acpi_tz_sanity(sc, &temp, acpi_tz_tmp_name);
476 if (temp == -1)
479 ACPI_DEBUG_PRINT((ACPI_DB_VALUES, "got %d.%dC\n", TZ_KELVTOC(temp)));
480 sc->tz_temperature = temp;
492 int temp;
505 temp = sc->tz_temperature;
514 if (sc->tz_zone.ac[i] != -1 && temp >= sc->tz_zone.ac[i])
539 if (sc->tz_zone.psv != -1 && temp >= sc->tz_zone.psv)
541 if (sc->tz_zone.hot != -1 && temp >= sc->tz_zone.hot)
543 if (sc->tz_zone.crt != -1 && temp >= sc->tz_zone.crt)
583 acpi_tz_aclevel_string(newactive), TZ_KELVTOC(temp));
784 int temp, *temp_ptr;
789 temp = *temp_ptr;
790 error = sysctl_handle_int(oidp, &temp, 0, req);
801 acpi_tz_sanity(sc, &temp, "user-supplied temp");
802 if (temp == -1)
805 *temp_ptr = temp;