Searched refs:acpi_trip (Results 1 – 1 of 1) sorted by relevance
184 static bool acpi_thermal_trip_valid(struct acpi_thermal_trip *acpi_trip) in acpi_thermal_trip_valid() argument186 return acpi_trip->temp_dk != THERMAL_TEMP_INVALID; in acpi_thermal_trip_valid()190 struct acpi_thermal_trip *acpi_trip) in active_trip_index() argument194 active = container_of(acpi_trip, struct acpi_thermal_active, trip); in active_trip_index()231 struct acpi_thermal_trip *acpi_trip = trip->priv; in acpi_thermal_update_trip() local237 acpi_trip->temp_dk = get_passive_temp(tz); in acpi_thermal_update_trip()239 int index = active_trip_index(tz, acpi_trip); in acpi_thermal_update_trip()241 acpi_trip->temp_dk = get_active_temp(tz, index); in acpi_thermal_update_trip()244 if (!acpi_thermal_trip_valid(acpi_trip)) in acpi_thermal_update_trip()249 struct acpi_thermal_trip *acpi_trip, in update_trip_devices() argument[all …]