• Home
  • Raw
  • Download

Lines Matching refs:valid

113 	u8 valid:1;  member
264 int valid = 0; in acpi_thermal_trips_update() local
279 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
285 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
287 tz->trips.critical.flags.valid = 1; in acpi_thermal_trips_update()
292 if (tz->trips.critical.flags.valid == 1) { in acpi_thermal_trips_update()
294 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
314 tz->trips.hot.flags.valid = 0; in acpi_thermal_trips_update()
319 tz->trips.hot.flags.valid = 1; in acpi_thermal_trips_update()
327 if (((flag & ACPI_TRIPS_PASSIVE) && tz->trips.passive.flags.valid) || in acpi_thermal_trips_update()
329 valid = tz->trips.passive.flags.valid; in acpi_thermal_trips_update()
341 tz->trips.passive.flags.valid = 0; in acpi_thermal_trips_update()
344 tz->trips.passive.flags.valid = 1; in acpi_thermal_trips_update()
350 tz->trips.passive.flags.valid = 0; in acpi_thermal_trips_update()
357 tz->trips.passive.flags.valid = 0; in acpi_thermal_trips_update()
364 tz->trips.passive.flags.valid = 0; in acpi_thermal_trips_update()
370 if ((flag & ACPI_TRIPS_DEVICES) && tz->trips.passive.flags.valid) { in acpi_thermal_trips_update()
377 tz->trips.passive.flags.valid = 0; in acpi_thermal_trips_update()
380 tz->trips.passive.flags.valid = 1; in acpi_thermal_trips_update()
390 if (valid != tz->trips.passive.flags.valid) in acpi_thermal_trips_update()
397 valid = tz->trips.active[i].flags.valid; in acpi_thermal_trips_update()
403 tz->trips.active[i].flags.valid)) { in acpi_thermal_trips_update()
407 tz->trips.active[i].flags.valid = 0; in acpi_thermal_trips_update()
428 tz->trips.active[i].flags.valid = 1; in acpi_thermal_trips_update()
433 if ((flag & ACPI_TRIPS_DEVICES) && tz->trips.active[i].flags.valid ) { in acpi_thermal_trips_update()
440 tz->trips.active[i].flags.valid = 0; in acpi_thermal_trips_update()
443 tz->trips.active[i].flags.valid = 1; in acpi_thermal_trips_update()
453 if (valid != tz->trips.active[i].flags.valid) in acpi_thermal_trips_update()
456 if (!tz->trips.active[i].flags.valid) in acpi_thermal_trips_update()
476 int i, valid, ret = acpi_thermal_trips_update(tz, ACPI_TRIPS_INIT); in acpi_thermal_get_trip_points() local
481 valid = tz->trips.critical.flags.valid | in acpi_thermal_get_trip_points()
482 tz->trips.hot.flags.valid | in acpi_thermal_get_trip_points()
483 tz->trips.passive.flags.valid; in acpi_thermal_get_trip_points()
486 valid |= tz->trips.active[i].flags.valid; in acpi_thermal_get_trip_points()
488 if (!valid) { in acpi_thermal_get_trip_points()
523 if (tz->trips.critical.flags.valid) { in thermal_get_trip_type()
531 if (tz->trips.hot.flags.valid) { in thermal_get_trip_type()
539 if (tz->trips.passive.flags.valid) { in thermal_get_trip_type()
548 tz->trips.active[i].flags.valid; i++) { in thermal_get_trip_type()
568 if (tz->trips.critical.flags.valid) { in thermal_get_trip_temp()
578 if (tz->trips.hot.flags.valid) { in thermal_get_trip_temp()
588 if (tz->trips.passive.flags.valid) { in thermal_get_trip_temp()
599 tz->trips.active[i].flags.valid; i++) { in thermal_get_trip_temp()
617 if (tz->trips.critical.flags.valid) { in thermal_get_crit_temp()
703 if (tz->trips.critical.flags.valid) in acpi_thermal_cooling_device_cb()
706 if (tz->trips.hot.flags.valid) in acpi_thermal_cooling_device_cb()
709 if (tz->trips.passive.flags.valid) { in acpi_thermal_cooling_device_cb()
733 if (!tz->trips.active[i].flags.valid) in acpi_thermal_cooling_device_cb()
793 if (tz->trips.critical.flags.valid) in acpi_thermal_register_thermal_zone()
796 if (tz->trips.hot.flags.valid) in acpi_thermal_register_thermal_zone()
799 if (tz->trips.passive.flags.valid) in acpi_thermal_register_thermal_zone()
803 tz->trips.active[i].flags.valid; i++, trips++); in acpi_thermal_register_thermal_zone()
805 if (tz->trips.passive.flags.valid) in acpi_thermal_register_thermal_zone()
986 if (tz->trips.critical.flags.valid && in acpi_thermal_guess_offset()
1097 if (!tz->trips.active[i].flags.valid) in acpi_thermal_resume()