Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/intel/
H A Dx86_pkg_temp_thermal.c127 int tj_max, val, ret; in sys_set_trip_temp() local
129 tj_max = intel_tcc_get_tjmax(zonedev->cpu); in sys_set_trip_temp()
130 if (tj_max < 0) in sys_set_trip_temp()
131 return tj_max; in sys_set_trip_temp()
132 tj_max *= 1000; in sys_set_trip_temp()
134 val = (tj_max - temp)/1000; in sys_set_trip_temp()
271 static struct thermal_trip *pkg_temp_thermal_trips_init(int cpu, int tj_max, int num_trips) in pkg_temp_thermal_trips_init() argument
302 tj_max - thres_reg_value * 1000 : THERMAL_TEMP_INVALID; in pkg_temp_thermal_trips_init()
319 int tj_max; in pkg_temp_thermal_device_add() local
331 tj_max = intel_tcc_get_tjmax(cpu); in pkg_temp_thermal_device_add()
[all …]
H A Dintel_soc_dts_iosf.c59 temp_out = (sensors->tj_max - temp) / 1000; in update_trip_temp()
155 if (temp > sensors->tj_max) in sys_set_trip_temp()
182 *temp = sensors->tj_max - out * 1000; in sys_get_curr_temp()
327 int tj_max; in intel_soc_dts_iosf_init() local
334 tj_max = intel_tcc_get_tjmax(-1); in intel_soc_dts_iosf_init()
335 if (tj_max < 0) in intel_soc_dts_iosf_init()
336 return ERR_PTR(tj_max); in intel_soc_dts_iosf_init()
345 sensors->tj_max = tj_max * 1000; in intel_soc_dts_iosf_init()
360 temp = sensors->tj_max - crit_offset; in intel_soc_dts_iosf_init()
H A Dintel_soc_dts_iosf.h38 u32 tj_max; member
/openbmc/linux/tools/power/x86/turbostat/
H A Dturbostat.c264 unsigned int tj_max; variable
2213 c->core_temp_c = tj_max - ((msr >> 16) & 0x7F); in get_counters()
2322 p->pkg_temp_c = tj_max - ((msr >> 16) & 0x7F); in get_counters()
4870 fprintf(outf, "cpu%d: MSR_IA32_PACKAGE_THERM_STATUS: 0x%08llx (%d C)\n", cpu, msr, tj_max - dts); in print_thermal()
4878 cpu, msr, tj_max - dts, tj_max - dts2); in print_thermal()
4890 cpu, msr, tj_max - dts, resolution); in print_thermal()
4898 cpu, msr, tj_max - dts, tj_max - dts2); in print_thermal()
5285 tj_max = tj_max_override; in set_temperature_target()
5286 fprintf(outf, "cpu%d: Using cmdline TCC Target (%d C)\n", cpu, tj_max); in set_temperature_target()
5320 tj_max = tcc_default; in set_temperature_target()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/inc/
H A Damdgpu_dpm.h182 u32 tj_max; member
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dhwmgr.h500 uint32_t tj_max; member
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dlegacy_dpm.c552 adev->pm.dpm.dyn_state.ppm_table->tj_max = in amdgpu_parse_extended_power_table()
H A Dsi_dpm.c2290 papm_parm->dGPU_T_Limit = cpu_to_be32(ppm->tj_max); in si_populate_smc_tdp_limits()
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dprocess_pptables_v1_0.c228 ptr->tj_max in get_platform_power_management_table()
H A Dprocesspptables.c1533 ptr->tj_max = le32_to_cpu(atom_ppm_table->ulTjmax); in get_platform_power_management_table()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dr600_dpm.c1225 rdev->pm.dpm.dyn_state.ppm_table->tj_max = in r600_parse_extended_power_table()
H A Dradeon.h1452 u32 tj_max; member
H A Dci_dpm.c430 dpm_table->PPM_TemperatureLimit = cpu_to_be16((u16)ppm->tj_max * 256); in ci_populate_bapm_parameters_in_dpm_table()
H A Dsi_dpm.c2183 papm_parm->dGPU_T_Limit = cpu_to_be32(ppm->tj_max); in si_populate_smc_tdp_limits()
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Diceland_smumgr.c1880 dpm_table->PPM_TemperatureLimit = (uint16_t)ppm->tj_max * 256; in iceland_populate_bapm_parameters_in_dpm_table()
H A Dci_smumgr.c737 dpm_table->PPM_TemperatureLimit = (uint16_t)ppm->tj_max * 256; in ci_populate_bapm_parameters_in_dpm_table()