Lines Matching refs:flag
191 static void __acpi_thermal_trips_update(struct acpi_thermal *tz, int flag) in __acpi_thermal_trips_update() argument
200 if (flag & ACPI_TRIPS_CRITICAL) { in __acpi_thermal_trips_update()
240 if (flag & ACPI_TRIPS_HOT) { in __acpi_thermal_trips_update()
256 if (((flag & ACPI_TRIPS_PASSIVE) && tz->trips.passive.trip.valid) || in __acpi_thermal_trips_update()
257 flag == ACPI_TRIPS_INIT) { in __acpi_thermal_trips_update()
274 if (flag == ACPI_TRIPS_INIT) { in __acpi_thermal_trips_update()
298 if ((flag & ACPI_TRIPS_DEVICES) && tz->trips.passive.trip.valid) { in __acpi_thermal_trips_update()
314 ACPI_THERMAL_TRIPS_EXCEPTION(flag, tz, "device"); in __acpi_thermal_trips_update()
317 if ((flag & ACPI_TRIPS_PASSIVE) || (flag & ACPI_TRIPS_DEVICES)) { in __acpi_thermal_trips_update()
319 ACPI_THERMAL_TRIPS_EXCEPTION(flag, tz, "state"); in __acpi_thermal_trips_update()
330 if (flag == ACPI_TRIPS_INIT || ((flag & ACPI_TRIPS_ACTIVE) && in __acpi_thermal_trips_update()
363 if ((flag & ACPI_TRIPS_DEVICES) && tz->trips.active[i].trip.valid) { in __acpi_thermal_trips_update()
379 ACPI_THERMAL_TRIPS_EXCEPTION(flag, tz, "device"); in __acpi_thermal_trips_update()
382 if ((flag & ACPI_TRIPS_ACTIVE) || (flag & ACPI_TRIPS_DEVICES)) in __acpi_thermal_trips_update()
384 ACPI_THERMAL_TRIPS_EXCEPTION(flag, tz, "state"); in __acpi_thermal_trips_update()
390 if (flag & ACPI_TRIPS_DEVICES) { in __acpi_thermal_trips_update()
397 ACPI_THERMAL_TRIPS_EXCEPTION(flag, tz, "device"); in __acpi_thermal_trips_update()
422 int flag = data == ACPI_THERMAL_NOTIFY_THRESHOLDS ? in acpi_thermal_adjust_thermal_zone() local
425 __acpi_thermal_trips_update(tz, flag); in acpi_thermal_adjust_thermal_zone()