Lines Matching refs:trip

591 				 int trip, enum thermal_trip_type *type)  in thermal_get_trip_type()  argument
596 if (!tz || trip < 0) in thermal_get_trip_type()
600 if (!trip) { in thermal_get_trip_type()
604 trip--; in thermal_get_trip_type()
608 if (!trip) { in thermal_get_trip_type()
612 trip--; in thermal_get_trip_type()
616 if (!trip) { in thermal_get_trip_type()
620 trip--; in thermal_get_trip_type()
625 if (!trip) { in thermal_get_trip_type()
629 trip--; in thermal_get_trip_type()
636 int trip, int *temp) in thermal_get_trip_temp() argument
641 if (!tz || trip < 0) in thermal_get_trip_temp()
645 if (!trip) { in thermal_get_trip_temp()
651 trip--; in thermal_get_trip_temp()
655 if (!trip) { in thermal_get_trip_temp()
661 trip--; in thermal_get_trip_temp()
665 if (!trip) { in thermal_get_trip_temp()
671 trip--; in thermal_get_trip_temp()
676 if (!trip) { in thermal_get_trip_temp()
682 trip--; in thermal_get_trip_temp()
703 int trip, enum thermal_trend *trend) in thermal_get_trend() argument
709 if (thermal_get_trip_type(thermal, trip, &type)) in thermal_get_trend()
716 if (thermal_get_trip_temp(thermal, trip, &trip_temp)) in thermal_get_trend()
746 static int thermal_notify(struct thermal_zone_device *thermal, int trip, in thermal_notify() argument
779 int trip = -1; in acpi_thermal_cooling_device_cb() local
783 trip++; in acpi_thermal_cooling_device_cb()
786 trip++; in acpi_thermal_cooling_device_cb()
789 trip++; in acpi_thermal_cooling_device_cb()
799 (thermal, trip, cdev, in acpi_thermal_cooling_device_cb()
805 (thermal, trip, cdev); in acpi_thermal_cooling_device_cb()
814 trip++; in acpi_thermal_cooling_device_cb()
824 (thermal, trip, cdev, in acpi_thermal_cooling_device_cb()
829 (thermal, trip, cdev); in acpi_thermal_cooling_device_cb()