Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/thermal/intel/int340x_thermal/
A Dint340x_thermal_zone.h37 struct int34x_thermal_zone *tzone, void *priv_data) in int340x_thermal_zone_set_priv_data() argument
39 tzone->priv_data = priv_data; in int340x_thermal_zone_set_priv_data()
43 struct int34x_thermal_zone *tzone) in int340x_thermal_zone_get_priv_data() argument
45 return tzone->priv_data; in int340x_thermal_zone_get_priv_data()
49 struct int34x_thermal_zone *tzone, in int340x_thermal_zone_device_update() argument
52 thermal_zone_device_update(tzone->zone, event); in int340x_thermal_zone_device_update()
A 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()
243 pci_info->tzone = thermal_zone_device_register_with_trips("TCPU_PCI", &psv_trip, in proc_thermal_pci_probe()
247 if (IS_ERR(pci_info->tzone)) { in proc_thermal_pci_probe()
248 ret = PTR_ERR(pci_info->tzone); in proc_thermal_pci_probe()
270 ret = thermal_zone_device_enable(pci_info->tzone); in proc_thermal_pci_probe()
279 thermal_zone_device_unregister(pci_info->tzone); in proc_thermal_pci_probe()
303 thermal_zone_device_unregister(pci_info->tzone); in proc_thermal_pci_remove()
/linux-6.3-rc2/drivers/thermal/intel/
A Dx86_pkg_temp_thermal.c55 struct thermal_zone_device *tzone; member
208 struct thermal_zone_device *tzone = NULL; in pkg_temp_thermal_threshold_work_fn() local
225 tzone = zonedev->tzone; in pkg_temp_thermal_threshold_work_fn()
234 if (tzone) in pkg_temp_thermal_threshold_work_fn()
349 if (IS_ERR(zonedev->tzone)) { in pkg_temp_thermal_device_add()
350 err = PTR_ERR(zonedev->tzone); in pkg_temp_thermal_device_add()
353 err = thermal_zone_device_enable(zonedev->tzone); in pkg_temp_thermal_device_add()
369 thermal_zone_device_unregister(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 …]
A Dintel_quark_dts_thermal.c107 struct thermal_zone_device *tzone; member
316 thermal_zone_device_unregister(aux_entry->tzone); in free_soc_dts()
371 aux_entry->tzone = thermal_zone_device_register_with_trips("quark_dts", in alloc_soc_dts()
377 if (IS_ERR(aux_entry->tzone)) { in alloc_soc_dts()
378 err = PTR_ERR(aux_entry->tzone); in alloc_soc_dts()
382 err = thermal_zone_device_enable(aux_entry->tzone); in alloc_soc_dts()
389 thermal_zone_device_unregister(aux_entry->tzone); in alloc_soc_dts()
A Dintel_soc_dts_iosf.c254 thermal_zone_device_unregister(dts->tzone); in remove_dts_thermal_zone()
298 dts->tzone = thermal_zone_device_register(name, in add_dts_thermal_zone()
303 if (IS_ERR(dts->tzone)) { in add_dts_thermal_zone()
304 ret = PTR_ERR(dts->tzone); in add_dts_thermal_zone()
307 ret = thermal_zone_device_enable(dts->tzone); in add_dts_thermal_zone()
317 thermal_zone_device_unregister(dts->tzone); in add_dts_thermal_zone()
369 thermal_zone_device_update(sensors->soc_dts[i].tzone, in intel_soc_dts_iosf_interrupt_handler()
A Dintel_soc_dts_iosf.h31 struct thermal_zone_device *tzone; member
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mvm/
A 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()
645 struct iwl_mvm_thermal_device *tzone; in iwl_mvm_tzone_set_trip_temp() local
661 tzone = &mvm->tz_device; in iwl_mvm_tzone_set_trip_temp()
662 if (!tzone) { in iwl_mvm_tzone_set_trip_temp()
688 mvm->tz_device.tzone = NULL; in iwl_mvm_thermal_zone_register()
702 if (IS_ERR(mvm->tz_device.tzone)) { in iwl_mvm_thermal_zone_register()
706 mvm->tz_device.tzone = NULL; in iwl_mvm_thermal_zone_register()
806 if (mvm->tz_device.tzone) { in iwl_mvm_thermal_zone_unregister()
[all …]
A Dmvm.h506 struct thermal_zone_device *tzone; member

Completed in 17 milliseconds