Lines Matching refs:tzone
55 struct thermal_zone_device *tzone; member
211 struct thermal_zone_device *tzone = NULL; in pkg_temp_thermal_threshold_work_fn() local
228 tzone = zonedev->tzone; in pkg_temp_thermal_threshold_work_fn()
237 if (tzone) in pkg_temp_thermal_threshold_work_fn()
238 thermal_zone_device_update(tzone, THERMAL_EVENT_UNSPECIFIED); in pkg_temp_thermal_threshold_work_fn()
343 zonedev->tzone = thermal_zone_device_register_with_trips("x86_pkg_temp", in pkg_temp_thermal_device_add()
346 if (IS_ERR(zonedev->tzone)) { in pkg_temp_thermal_device_add()
347 err = PTR_ERR(zonedev->tzone); in pkg_temp_thermal_device_add()
350 err = thermal_zone_device_enable(zonedev->tzone); in pkg_temp_thermal_device_add()
366 thermal_zone_device_unregister(zonedev->tzone); in pkg_temp_thermal_device_add()
389 struct thermal_zone_device *tzone = zonedev->tzone; in pkg_thermal_cpu_offline() local
398 zonedev->tzone = NULL; in pkg_thermal_cpu_offline()
401 thermal_zone_device_unregister(tzone); in pkg_thermal_cpu_offline()