Lines Matching defs:tzone
148 if (mvm->tz_device.tzone) {
151 thermal_zone_device_update(tz_dev->tzone,
587 if (!mvm->tz_device.tzone)
597 for_each_thermal_trip(mvm->tz_device.tzone, iwl_trip_temp_cb, &twd);
672 mvm->tz_device.tzone = NULL;
689 mvm->tz_device.tzone = thermal_zone_device_register_with_trips(name,
694 if (IS_ERR(mvm->tz_device.tzone)) {
697 PTR_ERR(mvm->tz_device.tzone));
698 mvm->tz_device.tzone = NULL;
702 ret = thermal_zone_device_enable(mvm->tz_device.tzone);
705 thermal_zone_device_unregister(mvm->tz_device.tzone);
776 if (!iwl_mvm_is_tt_in_fw(mvm) || !mvm->tz_device.tzone)
780 if (mvm->tz_device.tzone) {
781 thermal_zone_device_unregister(mvm->tz_device.tzone);
782 mvm->tz_device.tzone = NULL;