Lines Matching refs:acpi_trip
404 struct acpi_thermal_trip *acpi_trip = trip->priv; in acpi_thermal_adjust_trip() local
407 if (!acpi_trip) in acpi_thermal_adjust_trip()
410 if (acpi_trip->valid) in acpi_thermal_adjust_trip()
411 trip->temperature = acpi_thermal_temp(tz, acpi_trip->temperature); in acpi_thermal_adjust_trip()
499 struct acpi_thermal_trip *acpi_trip; in thermal_get_trend() local
505 acpi_trip = trip->priv; in thermal_get_trend()
506 if (!acpi_trip || !acpi_trip->valid) in thermal_get_trend()
514 acpi_trip->temperature); in thermal_get_trend()
684 struct acpi_thermal_trip *acpi_trip; in acpi_thermal_register_thermal_zone() local
723 acpi_trip = &tz->trips.passive.trip; in acpi_thermal_register_thermal_zone()
724 if (acpi_trip->valid) { in acpi_thermal_register_thermal_zone()
726 trip->temperature = acpi_thermal_temp(tz, acpi_trip->temperature); in acpi_thermal_register_thermal_zone()
727 trip->priv = acpi_trip; in acpi_thermal_register_thermal_zone()
732 acpi_trip = &tz->trips.active[i].trip; in acpi_thermal_register_thermal_zone()
734 if (!acpi_trip->valid) in acpi_thermal_register_thermal_zone()
738 trip->temperature = acpi_thermal_temp(tz, acpi_trip->temperature); in acpi_thermal_register_thermal_zone()
739 trip->priv = acpi_trip; in acpi_thermal_register_thermal_zone()