Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/intel/
H A Dx86_pkg_temp_thermal.c110 struct zone_device *zonedev = thermal_zone_device_priv(tzd); in sys_get_curr_temp() local
113 ret = intel_tcc_get_temp(zonedev->cpu, &val, true); in sys_get_curr_temp()
125 struct zone_device *zonedev = thermal_zone_device_priv(tzd); in sys_set_trip_temp() local
129 tj_max = intel_tcc_get_tjmax(zonedev->cpu); in sys_set_trip_temp()
139 ret = rdmsr_on_cpu(zonedev->cpu, MSR_IA32_PACKAGE_THERM_INTERRUPT, in sys_set_trip_temp()
165 return wrmsr_on_cpu(zonedev->cpu, MSR_IA32_PACKAGE_THERM_INTERRUPT, in sys_set_trip_temp()
212 struct zone_device *zonedev; in pkg_temp_thermal_threshold_work_fn() local
218 zonedev = pkg_temp_thermal_get_dev(cpu); in pkg_temp_thermal_threshold_work_fn()
219 if (!zonedev) { in pkg_temp_thermal_threshold_work_fn()
224 zonedev->work_scheduled = false; in pkg_temp_thermal_threshold_work_fn()
[all …]