Lines Matching refs:trip
599 int trip, enum thermal_trip_type *type) in thermal_get_trip_type() argument
604 if (!tz || trip < 0) 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()
624 if (!trip) { in thermal_get_trip_type()
628 trip--; in thermal_get_trip_type()
633 if (!trip) { in thermal_get_trip_type()
637 trip--; in thermal_get_trip_type()
644 int trip, unsigned long *temp) in thermal_get_trip_temp() argument
649 if (!tz || trip < 0) in thermal_get_trip_temp()
653 if (!trip) { in thermal_get_trip_temp()
659 trip--; in thermal_get_trip_temp()
663 if (!trip) { in thermal_get_trip_temp()
669 trip--; in thermal_get_trip_temp()
673 if (!trip) { in thermal_get_trip_temp()
679 trip--; in thermal_get_trip_temp()
684 if (!trip) { in thermal_get_trip_temp()
690 trip--; in thermal_get_trip_temp()
709 static int thermal_notify(struct thermal_zone_device *thermal, int trip, in thermal_notify() argument
745 int trip = -1; in acpi_thermal_cooling_device_cb() local
749 trip++; in acpi_thermal_cooling_device_cb()
752 trip++; in acpi_thermal_cooling_device_cb()
755 trip++; in acpi_thermal_cooling_device_cb()
761 result = action(thermal, trip, cdev); in acpi_thermal_cooling_device_cb()
771 trip++; in acpi_thermal_cooling_device_cb()
778 result = action(thermal, trip, cdev); in acpi_thermal_cooling_device_cb()