Lines Matching full:passive

11  *  TBD: 1. Implement passive cooling hysteresis.
12 * 2. Enhance passive cooling (CPU) states/limit interface to support
75 MODULE_PARM_DESC(psv, "Disable or override all passive trip points.");
113 u8 passive:1; member
153 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()
379 pr_warn(PREFIX "Invalid passive threshold\n"); in acpi_thermal_trips_update()
380 tz->trips.passive.flags.valid = 0; in acpi_thermal_trips_update()
383 tz->trips.passive.flags.valid = 1; in acpi_thermal_trips_update()
385 if (memcmp(&tz->trips.passive.devices, &devices, in acpi_thermal_trips_update()
387 memcpy(&tz->trips.passive.devices, &devices, in acpi_thermal_trips_update()
393 if (valid != tz->trips.passive.flags.valid) in acpi_thermal_trips_update()
486 tz->trips.passive.flags.valid; in acpi_thermal_get_trip_points()
550 if (tz->trips.passive.flags.valid) { in thermal_get_trip_type()
599 if (tz->trips.passive.flags.valid) { in thermal_get_trip_temp()
602 tz->trips.passive.temperature, in thermal_get_trip_temp()
667 i = (tz->trips.passive.tc1 * (tz->temperature - tz->last_temperature)) in thermal_get_trend()
668 + (tz->trips.passive.tc2 in thermal_get_trend()
669 * (tz->temperature - tz->trips.passive.temperature)); in thermal_get_trend()
723 if (tz->trips.passive.flags.valid) { in acpi_thermal_cooling_device_cb()
725 for (i = 0; i < tz->trips.passive.devices.count; in acpi_thermal_cooling_device_cb()
727 handle = tz->trips.passive.devices.handles[i]; in acpi_thermal_cooling_device_cb()
831 if (tz->trips.passive.flags.valid) in acpi_thermal_register_thermal_zone()
837 if (tz->trips.passive.flags.valid) in acpi_thermal_register_thermal_zone()
841 tz->trips.passive.tsp*100, in acpi_thermal_register_thermal_zone()
1155 "disabling all passive thermal trip points\n", d->ident); in thermal_psv()