Searched refs:zonedev (Results 1 – 1 of 1) sorted by relevance
110 struct zone_device *zonedev = thermal_zone_device_priv(tzd); in sys_get_curr_temp() local113 ret = intel_tcc_get_temp(zonedev->cpu, &val, true); in sys_get_curr_temp()126 struct zone_device *zonedev = thermal_zone_device_priv(tzd); in sys_set_trip_temp() local134 tj_max = intel_tcc_get_tjmax(zonedev->cpu); in sys_set_trip_temp()144 ret = rdmsr_on_cpu(zonedev->cpu, MSR_IA32_PACKAGE_THERM_INTERRUPT, in sys_set_trip_temp()170 return wrmsr_on_cpu(zonedev->cpu, MSR_IA32_PACKAGE_THERM_INTERRUPT, in sys_set_trip_temp()217 struct zone_device *zonedev; in pkg_temp_thermal_threshold_work_fn() local223 zonedev = pkg_temp_thermal_get_dev(cpu); in pkg_temp_thermal_threshold_work_fn()224 if (!zonedev) { in pkg_temp_thermal_threshold_work_fn()229 zonedev->work_scheduled = false; in pkg_temp_thermal_threshold_work_fn()[all …]