Lines Matching refs:tzone
146 if (mvm->tz_device.tzone) { in iwl_mvm_temp_notif()
149 thermal_zone_device_update(tz_dev->tzone, in iwl_mvm_temp_notif()
585 if (!mvm->tz_device.tzone) in iwl_mvm_send_temp_report_ths_cmd()
595 for_each_thermal_trip(mvm->tz_device.tzone, iwl_trip_temp_cb, &twd); in iwl_mvm_send_temp_report_ths_cmd()
670 mvm->tz_device.tzone = NULL; in iwl_mvm_thermal_zone_register()
687 mvm->tz_device.tzone = thermal_zone_device_register_with_trips(name, in iwl_mvm_thermal_zone_register()
692 if (IS_ERR(mvm->tz_device.tzone)) { in iwl_mvm_thermal_zone_register()
695 PTR_ERR(mvm->tz_device.tzone)); in iwl_mvm_thermal_zone_register()
696 mvm->tz_device.tzone = NULL; in iwl_mvm_thermal_zone_register()
700 ret = thermal_zone_device_enable(mvm->tz_device.tzone); in iwl_mvm_thermal_zone_register()
703 thermal_zone_device_unregister(mvm->tz_device.tzone); in iwl_mvm_thermal_zone_register()
774 if (!iwl_mvm_is_tt_in_fw(mvm) || !mvm->tz_device.tzone) in iwl_mvm_thermal_zone_unregister()
778 if (mvm->tz_device.tzone) { in iwl_mvm_thermal_zone_unregister()
779 thermal_zone_device_unregister(mvm->tz_device.tzone); in iwl_mvm_thermal_zone_unregister()
780 mvm->tz_device.tzone = NULL; in iwl_mvm_thermal_zone_unregister()