Lines Matching refs:tzone
55 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()
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()
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()
396 struct thermal_zone_device *tzone = zonedev->tzone; in pkg_thermal_cpu_offline() local
405 zonedev->tzone = NULL; in pkg_thermal_cpu_offline()
408 thermal_zone_device_unregister(tzone); in pkg_thermal_cpu_offline()