Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/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()
366 err = thermal_zone_device_enable(zonedev->tzone); in pkg_temp_thermal_device_add()
368 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()
393 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
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dtt.c204 if (mvm->tz_device.tzone) { in iwl_mvm_temp_notif()
207 thermal_notify_framework(tz_dev->tzone, in iwl_mvm_temp_notif()
628 if (!mvm->tz_device.tzone) in iwl_mvm_send_temp_report_ths_cmd()
728 struct iwl_mvm_thermal_device *tzone; in iwl_mvm_tzone_set_trip_temp() local
751 tzone = &mvm->tz_device; in iwl_mvm_tzone_set_trip_temp()
753 if (!tzone) { in iwl_mvm_tzone_set_trip_temp()
759 if (tzone->temp_trips[trip] == temperature) { in iwl_mvm_tzone_set_trip_temp()
766 if (tzone->temp_trips[i] == temperature) { in iwl_mvm_tzone_set_trip_temp()
772 tzone->temp_trips[trip] = temperature; in iwl_mvm_tzone_set_trip_temp()
797 mvm->tz_device.tzone = NULL; in iwl_mvm_thermal_zone_register()
[all …]
Dmvm.h555 struct thermal_zone_device *tzone; member