Lines Matching refs:trip

572 				 int trip, enum thermal_trip_type *type)  in thermal_get_trip_type()  argument
577 if (!tz || trip < 0) in thermal_get_trip_type()
581 if (!trip) { in thermal_get_trip_type()
585 trip--; in thermal_get_trip_type()
589 if (!trip) { in thermal_get_trip_type()
593 trip--; in thermal_get_trip_type()
597 if (!trip) { in thermal_get_trip_type()
601 trip--; in thermal_get_trip_type()
606 if (!trip) { in thermal_get_trip_type()
610 trip--; in thermal_get_trip_type()
617 int trip, int *temp) in thermal_get_trip_temp() argument
622 if (!tz || trip < 0) in thermal_get_trip_temp()
626 if (!trip) { in thermal_get_trip_temp()
632 trip--; in thermal_get_trip_temp()
636 if (!trip) { in thermal_get_trip_temp()
642 trip--; in thermal_get_trip_temp()
646 if (!trip) { in thermal_get_trip_temp()
652 trip--; in thermal_get_trip_temp()
657 if (!trip) { in thermal_get_trip_temp()
663 trip--; in thermal_get_trip_temp()
684 int trip, enum thermal_trend *trend) in thermal_get_trend() argument
690 if (thermal_get_trip_type(thermal, trip, &type)) in thermal_get_trend()
697 if (thermal_get_trip_temp(thermal, trip, &trip_temp)) in thermal_get_trend()
727 static int thermal_notify(struct thermal_zone_device *thermal, int trip, in thermal_notify() argument
760 int trip = -1; in acpi_thermal_cooling_device_cb() local
764 trip++; in acpi_thermal_cooling_device_cb()
767 trip++; in acpi_thermal_cooling_device_cb()
770 trip++; in acpi_thermal_cooling_device_cb()
780 (thermal, trip, cdev, in acpi_thermal_cooling_device_cb()
786 (thermal, trip, cdev); in acpi_thermal_cooling_device_cb()
795 trip++; in acpi_thermal_cooling_device_cb()
805 (thermal, trip, cdev, in acpi_thermal_cooling_device_cb()
810 (thermal, trip, cdev); in acpi_thermal_cooling_device_cb()