Home
last modified time | relevance | path

Searched refs:tzone (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/thermal/intel/int340x_thermal/
Dint340x_thermal_zone.h43 struct int34x_thermal_zone *tzone, void *priv_data) in int340x_thermal_zone_set_priv_data() argument
45 tzone->priv_data = priv_data; in int340x_thermal_zone_set_priv_data()
49 struct int34x_thermal_zone *tzone) in int340x_thermal_zone_get_priv_data() argument
51 return tzone->priv_data; in int340x_thermal_zone_get_priv_data()
55 struct int34x_thermal_zone *tzone, in int340x_thermal_zone_device_update() argument
58 thermal_zone_device_update(tzone->zone, event); in int340x_thermal_zone_device_update()
/Linux-v5.4/drivers/thermal/intel/
Dx86_pkg_temp_thermal.c53 struct thermal_zone_device *tzone; member
263 struct thermal_zone_device *tzone = NULL; in pkg_temp_thermal_threshold_work_fn() local
284 tzone = zonedev->tzone; in pkg_temp_thermal_threshold_work_fn()
294 if (tzone) in pkg_temp_thermal_threshold_work_fn()
295 thermal_zone_device_update(tzone, THERMAL_EVENT_UNSPECIFIED); in pkg_temp_thermal_threshold_work_fn()
357 zonedev->tzone = thermal_zone_device_register("x86_pkg_temp", in pkg_temp_thermal_device_add()
361 if (IS_ERR(zonedev->tzone)) { in pkg_temp_thermal_device_add()
362 err = PTR_ERR(zonedev->tzone); in pkg_temp_thermal_device_add()
394 struct thermal_zone_device *tzone = zonedev->tzone; in pkg_thermal_cpu_offline() local
403 zonedev->tzone = NULL; in pkg_thermal_cpu_offline()
[all …]
Dintel_quark_dts_thermal.c110 struct thermal_zone_device *tzone; member
362 thermal_zone_device_unregister(aux_entry->tzone); in free_soc_dts()
411 aux_entry->tzone = thermal_zone_device_register("quark_dts", in alloc_soc_dts()
415 if (IS_ERR(aux_entry->tzone)) { in alloc_soc_dts()
416 err = PTR_ERR(aux_entry->tzone); in alloc_soc_dts()
421 err = soc_dts_enable(aux_entry->tzone); in alloc_soc_dts()
429 thermal_zone_device_unregister(aux_entry->tzone); in alloc_soc_dts()
Dintel_soc_dts_iosf.c274 thermal_zone_device_unregister(dts->tzone); in remove_dts_thermal_zone()
318 dts->tzone = thermal_zone_device_register(name, in add_dts_thermal_zone()
323 if (IS_ERR(dts->tzone)) { in add_dts_thermal_zone()
324 ret = PTR_ERR(dts->tzone); in add_dts_thermal_zone()
334 thermal_zone_device_unregister(dts->tzone); in add_dts_thermal_zone()
385 thermal_zone_device_update(sensors->soc_dts[i].tzone, in intel_soc_dts_iosf_interrupt_handler()
Dintel_soc_dts_iosf.h33 struct thermal_zone_device *tzone; member
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Dtt.c202 if (mvm->tz_device.tzone) { in iwl_mvm_temp_notif()
205 thermal_notify_framework(tz_dev->tzone, in iwl_mvm_temp_notif()
569 if (!mvm->tz_device.tzone) in iwl_mvm_send_temp_report_ths_cmd()
669 struct iwl_mvm_thermal_device *tzone; in iwl_mvm_tzone_set_trip_temp() local
692 tzone = &mvm->tz_device; in iwl_mvm_tzone_set_trip_temp()
694 if (!tzone) { in iwl_mvm_tzone_set_trip_temp()
700 if (tzone->temp_trips[trip] == temperature) { in iwl_mvm_tzone_set_trip_temp()
707 if (tzone->temp_trips[i] == temperature) { in iwl_mvm_tzone_set_trip_temp()
713 tzone->temp_trips[trip] = temperature; in iwl_mvm_tzone_set_trip_temp()
737 mvm->tz_device.tzone = NULL; in iwl_mvm_thermal_zone_register()
[all …]
Dmvm.h555 struct thermal_zone_device *tzone; member