Lines Matching refs:trip
590 int trip, enum thermal_trip_type *type) in thermal_get_trip_type() argument
595 if (!tz || trip < 0) in thermal_get_trip_type()
599 if (!trip) { in thermal_get_trip_type()
603 trip--; in thermal_get_trip_type()
607 if (!trip) { in thermal_get_trip_type()
611 trip--; in thermal_get_trip_type()
615 if (!trip) { in thermal_get_trip_type()
619 trip--; in thermal_get_trip_type()
624 if (!trip) { in thermal_get_trip_type()
628 trip--; in thermal_get_trip_type()
635 int trip, int *temp) in thermal_get_trip_temp() argument
640 if (!tz || trip < 0) in thermal_get_trip_temp()
644 if (!trip) { in thermal_get_trip_temp()
650 trip--; in thermal_get_trip_temp()
654 if (!trip) { in thermal_get_trip_temp()
660 trip--; in thermal_get_trip_temp()
664 if (!trip) { in thermal_get_trip_temp()
670 trip--; in thermal_get_trip_temp()
675 if (!trip) { in thermal_get_trip_temp()
681 trip--; in thermal_get_trip_temp()
702 int trip, enum thermal_trend *trend) in thermal_get_trend() argument
708 if (thermal_get_trip_type(thermal, trip, &type)) in thermal_get_trend()
715 if (thermal_get_trip_temp(thermal, trip, &trip_temp)) in thermal_get_trend()
745 static int thermal_notify(struct thermal_zone_device *thermal, int trip, in thermal_notify() argument
778 int trip = -1; in acpi_thermal_cooling_device_cb() local
782 trip++; in acpi_thermal_cooling_device_cb()
785 trip++; in acpi_thermal_cooling_device_cb()
788 trip++; in acpi_thermal_cooling_device_cb()
798 (thermal, trip, cdev, in acpi_thermal_cooling_device_cb()
804 (thermal, trip, cdev); in acpi_thermal_cooling_device_cb()
813 trip++; in acpi_thermal_cooling_device_cb()
823 (thermal, trip, cdev, in acpi_thermal_cooling_device_cb()
828 (thermal, trip, cdev); in acpi_thermal_cooling_device_cb()