Lines Matching refs:trip
520 int trip, enum thermal_trip_type *type) in thermal_get_trip_type() argument
525 if (!tz || trip < 0) in thermal_get_trip_type()
529 if (!trip) { in thermal_get_trip_type()
533 trip--; in thermal_get_trip_type()
537 if (!trip) { in thermal_get_trip_type()
541 trip--; in thermal_get_trip_type()
545 if (!trip) { in thermal_get_trip_type()
549 trip--; in thermal_get_trip_type()
554 if (!trip) { in thermal_get_trip_type()
558 trip--; in thermal_get_trip_type()
565 int trip, int *temp) in thermal_get_trip_temp() argument
570 if (!tz || trip < 0) in thermal_get_trip_temp()
574 if (!trip) { in thermal_get_trip_temp()
580 trip--; in thermal_get_trip_temp()
584 if (!trip) { in thermal_get_trip_temp()
590 trip--; in thermal_get_trip_temp()
594 if (!trip) { in thermal_get_trip_temp()
600 trip--; in thermal_get_trip_temp()
605 if (!trip) { in thermal_get_trip_temp()
611 trip--; in thermal_get_trip_temp()
632 int trip, enum thermal_trend *trend) in thermal_get_trend() argument
638 if (thermal_get_trip_type(thermal, trip, &type)) in thermal_get_trend()
645 if (thermal_get_trip_temp(thermal, trip, &trip_temp)) in thermal_get_trend()
675 static int thermal_notify(struct thermal_zone_device *thermal, int trip, in thermal_notify() argument
708 int trip = -1; in acpi_thermal_cooling_device_cb() local
712 trip++; in acpi_thermal_cooling_device_cb()
715 trip++; in acpi_thermal_cooling_device_cb()
718 trip++; in acpi_thermal_cooling_device_cb()
728 (thermal, trip, cdev, in acpi_thermal_cooling_device_cb()
734 (thermal, trip, cdev); in acpi_thermal_cooling_device_cb()
743 trip++; in acpi_thermal_cooling_device_cb()
753 (thermal, trip, cdev, in acpi_thermal_cooling_device_cb()
758 (thermal, trip, cdev); in acpi_thermal_cooling_device_cb()