Lines Matching refs:passive
113 u8 passive:1; member
153 struct acpi_thermal_passive passive; member
333 if (((flag & ACPI_TRIPS_PASSIVE) && tz->trips.passive.flags.valid) || in acpi_thermal_trips_update()
335 valid = tz->trips.passive.flags.valid; in acpi_thermal_trips_update()
347 tz->trips.passive.flags.valid = 0; in acpi_thermal_trips_update()
349 tz->trips.passive.temperature = tmp; in acpi_thermal_trips_update()
350 tz->trips.passive.flags.valid = 1; in acpi_thermal_trips_update()
356 tz->trips.passive.flags.valid = 0; in acpi_thermal_trips_update()
358 tz->trips.passive.tc1 = tmp; in acpi_thermal_trips_update()
363 tz->trips.passive.flags.valid = 0; in acpi_thermal_trips_update()
365 tz->trips.passive.tc2 = tmp; in acpi_thermal_trips_update()
370 tz->trips.passive.flags.valid = 0; in acpi_thermal_trips_update()
372 tz->trips.passive.tsp = tmp; in acpi_thermal_trips_update()
376 if ((flag & ACPI_TRIPS_DEVICES) && tz->trips.passive.flags.valid) { in acpi_thermal_trips_update()
382 tz->trips.passive.flags.valid = 0; in acpi_thermal_trips_update()
385 tz->trips.passive.flags.valid = 1; in acpi_thermal_trips_update()
387 if (memcmp(&tz->trips.passive.devices, &devices, in acpi_thermal_trips_update()
389 memcpy(&tz->trips.passive.devices, &devices, in acpi_thermal_trips_update()
395 if (valid != tz->trips.passive.flags.valid) in acpi_thermal_trips_update()
488 tz->trips.passive.flags.valid; in acpi_thermal_get_trip_points()
544 if (tz->trips.passive.flags.valid) { in thermal_get_trip_type()
593 if (tz->trips.passive.flags.valid) { in thermal_get_trip_temp()
596 tz->trips.passive.temperature, in thermal_get_trip_temp()
661 i = (tz->trips.passive.tc1 * (tz->temperature - tz->last_temperature)) in thermal_get_trend()
662 + (tz->trips.passive.tc2 in thermal_get_trend()
663 * (tz->temperature - tz->trips.passive.temperature)); in thermal_get_trend()
717 if (tz->trips.passive.flags.valid) { in acpi_thermal_cooling_device_cb()
719 for (i = 0; i < tz->trips.passive.devices.count; in acpi_thermal_cooling_device_cb()
721 handle = tz->trips.passive.devices.handles[i]; in acpi_thermal_cooling_device_cb()
825 if (tz->trips.passive.flags.valid) in acpi_thermal_register_thermal_zone()
831 if (tz->trips.passive.flags.valid) in acpi_thermal_register_thermal_zone()
835 tz->trips.passive.tsp*100, in acpi_thermal_register_thermal_zone()