Searched refs:tzone (Results 1 – 10 of 10) sorted by relevance
| /linux/drivers/thermal/intel/int340x_thermal/ |
| H A D | int340x_thermal_zone.h | 35 struct int34x_thermal_zone *tzone, void *priv_data) in int340x_thermal_zone_set_priv_data() argument 37 tzone->priv_data = priv_data; in int340x_thermal_zone_set_priv_data() 41 struct int34x_thermal_zone *tzone) in int340x_thermal_zone_get_priv_data() argument 43 return tzone->priv_data; in int340x_thermal_zone_get_priv_data() 47 struct int34x_thermal_zone *tzone, in int340x_thermal_zone_device_update() argument 50 thermal_zone_device_update(tzone->zone, event); in int340x_thermal_zone_device_update()
|
| H A D | processor_thermal_device_pci.c | 26 struct thermal_zone_device *tzone; member 121 struct thermal_zone_device *tzone = pci_info->tzone; in proc_thermal_threshold_work_fn() local 123 if (tzone) in proc_thermal_threshold_work_fn() 124 thermal_zone_device_update(tzone, THERMAL_TRIP_VIOLATED); in proc_thermal_threshold_work_fn() 374 pci_info->tzone = thermal_zone_device_register_with_trips("TCPU_PCI", &psv_trip, in proc_thermal_pci_probe() 378 if (IS_ERR(pci_info->tzone)) { in proc_thermal_pci_probe() 379 ret = PTR_ERR(pci_info->tzone); in proc_thermal_pci_probe() 403 ret = thermal_zone_device_enable(pci_info->tzone); in proc_thermal_pci_probe() 413 thermal_zone_device_unregister(pci_info->tzone); in proc_thermal_pci_probe() 435 thermal_zone_device_unregister(pci_info->tzone); in proc_thermal_pci_remove()
|
| /linux/drivers/thermal/intel/ |
| H A D | x86_pkg_temp_thermal.c | 56 struct thermal_zone_device *tzone; member 215 struct thermal_zone_device *tzone = NULL; in pkg_temp_thermal_threshold_work_fn() local 232 tzone = zonedev->tzone; in pkg_temp_thermal_threshold_work_fn() 241 if (tzone) in pkg_temp_thermal_threshold_work_fn() 242 thermal_zone_device_update(tzone, THERMAL_EVENT_UNSPECIFIED); in pkg_temp_thermal_threshold_work_fn() 348 zonedev->tzone = thermal_zone_device_register_with_trips("x86_pkg_temp", in pkg_temp_thermal_device_add() 351 if (IS_ERR(zonedev->tzone)) { in pkg_temp_thermal_device_add() 352 err = PTR_ERR(zonedev->tzone); in pkg_temp_thermal_device_add() 355 err = thermal_zone_device_enable(zonedev->tzone); in pkg_temp_thermal_device_add() 371 thermal_zone_device_unregister(zonedev->tzone); in pkg_temp_thermal_device_add() [all …]
|
| H A D | intel_quark_dts_thermal.c | 103 struct thermal_zone_device *tzone; member 327 thermal_zone_device_unregister(aux_entry->tzone); in free_soc_dts() 379 aux_entry->tzone = thermal_zone_device_register_with_trips("quark_dts", in alloc_soc_dts() 385 if (IS_ERR(aux_entry->tzone)) { in alloc_soc_dts() 386 err = PTR_ERR(aux_entry->tzone); in alloc_soc_dts() 390 err = thermal_zone_device_enable(aux_entry->tzone); in alloc_soc_dts() 397 thermal_zone_device_unregister(aux_entry->tzone); in alloc_soc_dts()
|
| H A D | intel_soc_dts_iosf.c | 203 thermal_zone_device_unregister(dts->tzone); in remove_dts_thermal_zone() 233 dts->tzone = thermal_zone_device_register_with_trips(name, trips, in add_dts_thermal_zone() 237 if (IS_ERR(dts->tzone)) { in add_dts_thermal_zone() 238 ret = PTR_ERR(dts->tzone); in add_dts_thermal_zone() 241 ret = thermal_zone_device_enable(dts->tzone); in add_dts_thermal_zone() 251 thermal_zone_device_unregister(dts->tzone); in add_dts_thermal_zone() 283 thermal_zone_device_update(sensors->soc_dts[i].tzone, in intel_soc_dts_iosf_interrupt_handler()
|
| H A D | intel_soc_dts_iosf.h | 31 struct thermal_zone_device *tzone; member
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | thermal.c | 76 if (mld->tzone) in iwl_mld_handle_temp_notif() 77 thermal_zone_device_update(mld->tzone, THERMAL_TRIP_VIOLATED); in iwl_mld_handle_temp_notif() 154 if (!mld->tzone) in iwl_mld_config_temp_report_ths() 163 for_each_thermal_trip(mld->tzone, iwl_trip_temp_iter, &twd); in iwl_mld_config_temp_report_ths() 258 mld->tzone = in iwl_mld_thermal_zone_register() 263 if (IS_ERR(mld->tzone)) { in iwl_mld_thermal_zone_register() 266 PTR_ERR(mld->tzone)); in iwl_mld_thermal_zone_register() 267 mld->tzone = NULL; in iwl_mld_thermal_zone_register() 271 ret = thermal_zone_device_enable(mld->tzone); in iwl_mld_thermal_zone_register() 274 thermal_zone_device_unregister(mld->tzone); in iwl_mld_thermal_zone_register() [all …]
|
| H A D | mld.h | 308 struct thermal_zone_device *tzone; member
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | tt.c | 149 if (mvm->tz_device.tzone) { in iwl_mvm_temp_notif() 152 thermal_zone_device_update(tz_dev->tzone, in iwl_mvm_temp_notif() 573 if (!mvm->tz_device.tzone) in iwl_mvm_send_temp_report_ths_cmd() 583 for_each_thermal_trip(mvm->tz_device.tzone, iwl_trip_temp_cb, &twd); in iwl_mvm_send_temp_report_ths_cmd() 658 mvm->tz_device.tzone = NULL; in iwl_mvm_thermal_zone_register() 675 mvm->tz_device.tzone = thermal_zone_device_register_with_trips(name, in iwl_mvm_thermal_zone_register() 680 if (IS_ERR(mvm->tz_device.tzone)) { in iwl_mvm_thermal_zone_register() 683 PTR_ERR(mvm->tz_device.tzone)); in iwl_mvm_thermal_zone_register() 684 mvm->tz_device.tzone = NULL; in iwl_mvm_thermal_zone_register() 688 ret = thermal_zone_device_enable(mvm->tz_device.tzone); in iwl_mvm_thermal_zone_register() [all …]
|
| H A D | mvm.h | 596 struct thermal_zone_device *tzone; member
|