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()125 struct zone_device *zonedev = thermal_zone_device_priv(tzd); in sys_set_trip_temp() local129 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() local218 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 …]