Searched refs:tzone (Results 1 – 7 of 7) sorted by relevance
43 struct int34x_thermal_zone *tzone, void *priv_data) in int340x_thermal_zone_set_priv_data() argument45 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() argument51 return tzone->priv_data; in int340x_thermal_zone_get_priv_data()55 struct int34x_thermal_zone *tzone, in int340x_thermal_zone_device_update() argument58 thermal_zone_device_update(tzone->zone, event); in int340x_thermal_zone_device_update()
53 struct thermal_zone_device *tzone; member263 struct thermal_zone_device *tzone = NULL; in pkg_temp_thermal_threshold_work_fn() local284 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 …]
106 struct thermal_zone_device *tzone; member339 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()
279 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()
31 struct thermal_zone_device *tzone; member
204 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() local751 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 …]
555 struct thermal_zone_device *tzone; member