Lines Matching full:passive
11 * TBD: 1. Implement passive cooling hysteresis.
12 * 2. Enhance passive cooling (CPU) states/limit interface to support
72 MODULE_PARM_DESC(psv, "Disable or override all passive trip points.");
110 u8 passive:1; member
150 struct acpi_thermal_passive passive; member
330 /* Passive (optional) */ in acpi_thermal_trips_update()
331 if (((flag & ACPI_TRIPS_PASSIVE) && tz->trips.passive.flags.valid) || in acpi_thermal_trips_update()
333 valid = tz->trips.passive.flags.valid; in acpi_thermal_trips_update()
345 tz->trips.passive.flags.valid = 0; in acpi_thermal_trips_update()
347 tz->trips.passive.temperature = tmp; in acpi_thermal_trips_update()
348 tz->trips.passive.flags.valid = 1; in acpi_thermal_trips_update()
354 tz->trips.passive.flags.valid = 0; in acpi_thermal_trips_update()
356 tz->trips.passive.tc1 = tmp; in acpi_thermal_trips_update()
361 tz->trips.passive.flags.valid = 0; in acpi_thermal_trips_update()
363 tz->trips.passive.tc2 = tmp; in acpi_thermal_trips_update()
368 tz->trips.passive.flags.valid = 0; in acpi_thermal_trips_update()
370 tz->trips.passive.tsp = tmp; in acpi_thermal_trips_update()
374 if ((flag & ACPI_TRIPS_DEVICES) && tz->trips.passive.flags.valid) { in acpi_thermal_trips_update()
380 "Invalid passive threshold\n"); in acpi_thermal_trips_update()
381 tz->trips.passive.flags.valid = 0; in acpi_thermal_trips_update()
384 tz->trips.passive.flags.valid = 1; in acpi_thermal_trips_update()
386 if (memcmp(&tz->trips.passive.devices, &devices, in acpi_thermal_trips_update()
388 memcpy(&tz->trips.passive.devices, &devices, in acpi_thermal_trips_update()
394 if (valid != tz->trips.passive.flags.valid) in acpi_thermal_trips_update()
487 tz->trips.passive.flags.valid; in acpi_thermal_get_trip_points()
543 if (tz->trips.passive.flags.valid) { in thermal_get_trip_type()
592 if (tz->trips.passive.flags.valid) { in thermal_get_trip_temp()
595 tz->trips.passive.temperature, in thermal_get_trip_temp()
660 i = (tz->trips.passive.tc1 * (tz->temperature - tz->last_temperature)) in thermal_get_trend()
661 + (tz->trips.passive.tc2 in thermal_get_trend()
662 * (tz->temperature - tz->trips.passive.temperature)); in thermal_get_trend()
713 if (tz->trips.passive.flags.valid) { in acpi_thermal_cooling_device_cb()
715 for (i = 0; i < tz->trips.passive.devices.count; in acpi_thermal_cooling_device_cb()
717 handle = tz->trips.passive.devices.handles[i]; in acpi_thermal_cooling_device_cb()
803 if (tz->trips.passive.flags.valid) in acpi_thermal_register_thermal_zone()
809 if (tz->trips.passive.flags.valid) in acpi_thermal_register_thermal_zone()
813 tz->trips.passive.tsp*100, in acpi_thermal_register_thermal_zone()
1152 pr_notice("%s detected: disabling all passive thermal trip points\n", in thermal_psv()