Lines Matching refs:hot

80 	u8			hot:1;  member
120 struct acpi_thermal_hot hot; member
283 status = acpi_evaluate_integer(tz->handle, "_HOT", NULL, &tz->trips.hot.temperature); in acpi_thermal_get_trip_points()
285 tz->trips.hot.flags.valid = 0; in acpi_thermal_get_trip_points()
289 tz->trips.hot.flags.valid = 1; in acpi_thermal_get_trip_points()
290 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Found hot threshold [%lu]\n", tz->trips.hot.temperature)); in acpi_thermal_get_trip_points()
433 if (!tz || !tz->trips.hot.flags.valid) in acpi_thermal_hot()
436 if (tz->temperature >= tz->trips.hot.temperature) { in acpi_thermal_hot()
438 tz->trips.hot.flags.enabled = 1; in acpi_thermal_hot()
440 else if (tz->trips.hot.flags.enabled) in acpi_thermal_hot()
441 tz->trips.hot.flags.enabled = 0; in acpi_thermal_hot()
447 acpi_bus_generate_event(device, ACPI_THERMAL_NOTIFY_HOT, tz->trips.hot.flags.enabled); in acpi_thermal_hot()
631 if (tz->trips.hot.flags.valid) in acpi_thermal_check()
632 state.hot |= (tz->temperature >= tz->trips.hot.temperature); in acpi_thermal_check()
647 if (state.hot) in acpi_thermal_check()
662 if (tz->trips.hot.flags.enabled) in acpi_thermal_check()
663 tz->state.hot = 1; in acpi_thermal_check()
737 if (!tz->state.critical && !tz->state.hot && !tz->state.passive && !tz->state.active) in acpi_thermal_read_state()
742 if (tz->state.hot) in acpi_thermal_read_state()
825 if (tz->trips.hot.flags.valid) in acpi_thermal_read_trip_points()
827 KELVIN_TO_CELSIUS(tz->trips.hot.temperature)); in acpi_thermal_read_trip_points()
874 int critical, hot, passive, active0, active1; in acpi_thermal_write_trip_points() local
890 if (sscanf(limit_string, "%d:%d:%d:%d:%d", &critical, &hot, &passive, &active0, &active1) != 5) { in acpi_thermal_write_trip_points()
896 tz->trips.hot.temperature = CELSIUS_TO_KELVIN(hot); in acpi_thermal_write_trip_points()