Lines Matching refs:trip
595 int trip, enum thermal_trip_type *type) in thermal_get_trip_type() argument
600 if (!tz || trip < 0) in thermal_get_trip_type()
604 if (!trip) { in thermal_get_trip_type()
608 trip--; in thermal_get_trip_type()
612 if (!trip) { in thermal_get_trip_type()
616 trip--; in thermal_get_trip_type()
620 if (!trip) { in thermal_get_trip_type()
624 trip--; in thermal_get_trip_type()
629 if (!trip) { in thermal_get_trip_type()
633 trip--; in thermal_get_trip_type()
640 int trip, unsigned long *temp) in thermal_get_trip_temp() argument
645 if (!tz || trip < 0) in thermal_get_trip_temp()
649 if (!trip) { in thermal_get_trip_temp()
655 trip--; in thermal_get_trip_temp()
659 if (!trip) { in thermal_get_trip_temp()
665 trip--; in thermal_get_trip_temp()
669 if (!trip) { in thermal_get_trip_temp()
675 trip--; in thermal_get_trip_temp()
680 if (!trip) { in thermal_get_trip_temp()
686 trip--; in thermal_get_trip_temp()
706 int trip, enum thermal_trend *trend) in thermal_get_trend() argument
712 if (thermal_get_trip_type(thermal, trip, &type)) in thermal_get_trend()
719 if (thermal_get_trip_temp(thermal, trip, &trip_temp)) in thermal_get_trend()
749 static int thermal_notify(struct thermal_zone_device *thermal, int trip, in thermal_notify() argument
782 int trip = -1; in acpi_thermal_cooling_device_cb() local
786 trip++; in acpi_thermal_cooling_device_cb()
789 trip++; in acpi_thermal_cooling_device_cb()
792 trip++; in acpi_thermal_cooling_device_cb()
802 (thermal, trip, cdev, in acpi_thermal_cooling_device_cb()
807 (thermal, trip, cdev); in acpi_thermal_cooling_device_cb()
816 trip++; in acpi_thermal_cooling_device_cb()
826 (thermal, trip, cdev, in acpi_thermal_cooling_device_cb()
830 (thermal, trip, cdev); in acpi_thermal_cooling_device_cb()