Home
last modified time | relevance | path

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

/linux-5.19.10/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()
Dprocessor_thermal_device_pci.c21 struct thermal_zone_device *tzone; member
104 struct thermal_zone_device *tzone = pci_info->tzone; in proc_thermal_threshold_work_fn() local
106 if (tzone) in proc_thermal_threshold_work_fn()
107 thermal_zone_device_update(tzone, THERMAL_TRIP_VIOLATED); in proc_thermal_threshold_work_fn()
254 pci_info->tzone = thermal_zone_device_register("TCPU_PCI", 1, 1, pci_info, in proc_thermal_pci_probe()
257 if (IS_ERR(pci_info->tzone)) { in proc_thermal_pci_probe()
258 ret = PTR_ERR(pci_info->tzone); in proc_thermal_pci_probe()
285 thermal_zone_device_unregister(pci_info->tzone); in proc_thermal_pci_probe()
309 thermal_zone_device_unregister(pci_info->tzone); in proc_thermal_pci_remove()
/linux-5.19.10/drivers/thermal/intel/
Dx86_pkg_temp_thermal.c55 struct thermal_zone_device *tzone; member
265 struct thermal_zone_device *tzone = NULL; in pkg_temp_thermal_threshold_work_fn() local
286 tzone = zonedev->tzone; in pkg_temp_thermal_threshold_work_fn()
296 if (tzone) in pkg_temp_thermal_threshold_work_fn()
297 thermal_zone_device_update(tzone, THERMAL_EVENT_UNSPECIFIED); in pkg_temp_thermal_threshold_work_fn()
359 zonedev->tzone = thermal_zone_device_register("x86_pkg_temp", in pkg_temp_thermal_device_add()
363 if (IS_ERR(zonedev->tzone)) { in pkg_temp_thermal_device_add()
364 err = PTR_ERR(zonedev->tzone); in pkg_temp_thermal_device_add()
368 err = thermal_zone_device_enable(zonedev->tzone); in pkg_temp_thermal_device_add()
370 thermal_zone_device_unregister(zonedev->tzone); in pkg_temp_thermal_device_add()
[all …]
Dintel_quark_dts_thermal.c106 struct thermal_zone_device *tzone; member
339 thermal_zone_device_unregister(aux_entry->tzone); in free_soc_dts()
388 aux_entry->tzone = thermal_zone_device_register("quark_dts", in alloc_soc_dts()
392 if (IS_ERR(aux_entry->tzone)) { in alloc_soc_dts()
393 err = PTR_ERR(aux_entry->tzone); in alloc_soc_dts()
397 err = thermal_zone_device_enable(aux_entry->tzone); in alloc_soc_dts()
404 thermal_zone_device_unregister(aux_entry->tzone); in alloc_soc_dts()
Dintel_soc_dts_iosf.c279 thermal_zone_device_unregister(dts->tzone); in remove_dts_thermal_zone()
323 dts->tzone = thermal_zone_device_register(name, in add_dts_thermal_zone()
328 if (IS_ERR(dts->tzone)) { in add_dts_thermal_zone()
329 ret = PTR_ERR(dts->tzone); in add_dts_thermal_zone()
332 ret = thermal_zone_device_enable(dts->tzone); in add_dts_thermal_zone()
342 thermal_zone_device_unregister(dts->tzone); in add_dts_thermal_zone()
394 thermal_zone_device_update(sensors->soc_dts[i].tzone, in intel_soc_dts_iosf_interrupt_handler()
Dintel_soc_dts_iosf.h31 struct thermal_zone_device *tzone; member
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dtt.c146 if (mvm->tz_device.tzone) { in iwl_mvm_temp_notif()
149 thermal_zone_device_update(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()
738 mvm->tz_device.tzone = NULL; in iwl_mvm_thermal_zone_register()
[all …]
Dmvm.h506 struct thermal_zone_device *tzone; member