Home
last modified time | relevance | path

Searched refs:tzone (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/drivers/thermal/intel/int340x_thermal/
H A Dint340x_thermal_zone.h44 struct int34x_thermal_zone *tzone, void *priv_data) in int340x_thermal_zone_set_priv_data()
46 tzone->priv_data = priv_data; in int340x_thermal_zone_set_priv_data()
50 struct int34x_thermal_zone *tzone) in int340x_thermal_zone_get_priv_data()
52 return tzone->priv_data; in int340x_thermal_zone_get_priv_data()
56 struct int34x_thermal_zone *tzone, in int340x_thermal_zone_device_update()
59 thermal_zone_device_update(tzone->zone, event); in int340x_thermal_zone_device_update()
43 int340x_thermal_zone_set_priv_data( struct int34x_thermal_zone *tzone, void *priv_data) int340x_thermal_zone_set_priv_data() argument
49 int340x_thermal_zone_get_priv_data( struct int34x_thermal_zone *tzone) int340x_thermal_zone_get_priv_data() argument
55 int340x_thermal_zone_device_update( struct int34x_thermal_zone *tzone, enum thermal_notify_event event) int340x_thermal_zone_device_update() argument
/kernel/linux/linux-6.6/drivers/thermal/intel/int340x_thermal/
H A Dint340x_thermal_zone.h37 struct int34x_thermal_zone *tzone, void *priv_data) in int340x_thermal_zone_set_priv_data()
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()
45 return tzone->priv_data; in int340x_thermal_zone_get_priv_data()
49 struct int34x_thermal_zone *tzone, in int340x_thermal_zone_device_update()
52 thermal_zone_device_update(tzone->zone, event); in int340x_thermal_zone_device_update()
36 int340x_thermal_zone_set_priv_data( struct int34x_thermal_zone *tzone, void *priv_data) int340x_thermal_zone_set_priv_data() argument
42 int340x_thermal_zone_get_priv_data( struct int34x_thermal_zone *tzone) int340x_thermal_zone_get_priv_data() argument
48 int340x_thermal_zone_device_update( struct int34x_thermal_zone *tzone, enum thermal_notify_event event) int340x_thermal_zone_device_update() argument
H 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()
242 pci_info->tzone = thermal_zone_device_register_with_trips("TCPU_PCI", &psv_trip, in proc_thermal_pci_probe()
246 if (IS_ERR(pci_info->tzone)) { in proc_thermal_pci_probe()
247 ret = PTR_ERR(pci_info->tzone); in proc_thermal_pci_probe()
269 ret = thermal_zone_device_enable(pci_info->tzone); in proc_thermal_pci_probe()
278 thermal_zone_device_unregister(pci_info->tzone); in proc_thermal_pci_probe()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
H A 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 in iwl_mvm_thermal_zone_register()
[all...]
H A Dmvm.h550 * @tzone: thermal zone device data
555 struct thermal_zone_device *tzone; member
/kernel/linux/linux-5.10/drivers/thermal/intel/
H A 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()
291 * If tzone is not NULL, then thermal_zone_mutex will prevent the 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()
400 struct thermal_zone_device *tzone = zonedev->tzone; pkg_thermal_cpu_offline() local
[all...]
H A 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()
H A 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()
H A Dintel_soc_dts_iosf.h31 struct thermal_zone_device *tzone; member
/kernel/linux/linux-6.6/drivers/thermal/intel/
H A Dx86_pkg_temp_thermal.c55 struct thermal_zone_device *tzone; member
210 struct thermal_zone_device *tzone = NULL; in pkg_temp_thermal_threshold_work_fn() local
227 tzone = zonedev->tzone; in pkg_temp_thermal_threshold_work_fn()
233 * If tzone is not NULL, then thermal_zone_mutex will prevent the in pkg_temp_thermal_threshold_work_fn()
236 if (tzone) in pkg_temp_thermal_threshold_work_fn()
237 thermal_zone_device_update(tzone, THERMAL_EVENT_UNSPECIFIED); in pkg_temp_thermal_threshold_work_fn()
347 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()
396 struct thermal_zone_device *tzone = zonedev->tzone; pkg_thermal_cpu_offline() local
[all...]
H 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()
H A Dintel_soc_dts_iosf.c217 thermal_zone_device_unregister(dts->tzone); in remove_dts_thermal_zone()
257 dts->tzone = thermal_zone_device_register_with_trips(name, dts->trips, in add_dts_thermal_zone()
262 if (IS_ERR(dts->tzone)) { in add_dts_thermal_zone()
263 ret = PTR_ERR(dts->tzone); in add_dts_thermal_zone()
266 ret = thermal_zone_device_enable(dts->tzone); in add_dts_thermal_zone()
276 thermal_zone_device_unregister(dts->tzone); in add_dts_thermal_zone()
308 thermal_zone_device_update(sensors->soc_dts[i].tzone, in intel_soc_dts_iosf_interrupt_handler()
H A Dintel_soc_dts_iosf.h33 struct thermal_zone_device *tzone; member
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
H 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()
696 mvm->tz_device.tzone = thermal_zone_device_register_with_trips(name, in iwl_mvm_thermal_zone_register()
702 if (IS_ERR(mvm->tz_device.tzone)) { in iwl_mvm_thermal_zone_register()
705 PTR_ERR(mvm->tz_device.tzone)); in iwl_mvm_thermal_zone_register()
[all...]
H A Dmvm.h531 * @tzone: thermal zone device data
536 struct thermal_zone_device *tzone; member

Completed in 16 milliseconds