Lines Matching refs:trip
519 int trip, enum thermal_trip_type *type) in thermal_get_trip_type() argument
524 if (!tz || trip < 0) in thermal_get_trip_type()
528 if (!trip) { in thermal_get_trip_type()
532 trip--; in thermal_get_trip_type()
536 if (!trip) { in thermal_get_trip_type()
540 trip--; in thermal_get_trip_type()
544 if (!trip) { in thermal_get_trip_type()
548 trip--; in thermal_get_trip_type()
553 if (!trip) { in thermal_get_trip_type()
557 trip--; in thermal_get_trip_type()
564 int trip, int *temp) in thermal_get_trip_temp() argument
569 if (!tz || trip < 0) in thermal_get_trip_temp()
573 if (!trip) { in thermal_get_trip_temp()
579 trip--; in thermal_get_trip_temp()
583 if (!trip) { in thermal_get_trip_temp()
589 trip--; in thermal_get_trip_temp()
593 if (!trip) { in thermal_get_trip_temp()
599 trip--; in thermal_get_trip_temp()
604 if (!trip) { in thermal_get_trip_temp()
610 trip--; in thermal_get_trip_temp()
631 int trip, enum thermal_trend *trend) in thermal_get_trend() argument
637 if (thermal_get_trip_type(thermal, trip, &type)) in thermal_get_trend()
644 if (thermal_get_trip_temp(thermal, trip, &trip_temp)) in thermal_get_trend()
704 int trip = -1; in acpi_thermal_cooling_device_cb() local
708 trip++; in acpi_thermal_cooling_device_cb()
711 trip++; in acpi_thermal_cooling_device_cb()
714 trip++; in acpi_thermal_cooling_device_cb()
724 (thermal, trip, cdev, in acpi_thermal_cooling_device_cb()
730 (thermal, trip, cdev); in acpi_thermal_cooling_device_cb()
739 trip++; in acpi_thermal_cooling_device_cb()
749 (thermal, trip, cdev, in acpi_thermal_cooling_device_cb()
754 (thermal, trip, cdev); in acpi_thermal_cooling_device_cb()