Searched refs:tj_max (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/thermal/intel/ |
| H A D | x86_pkg_temp_thermal.c | 129 int tj_max, val, ret; in sys_set_trip_temp() local 131 tj_max = intel_tcc_get_tjmax(zonedev->cpu); in sys_set_trip_temp() 132 if (tj_max < 0) in sys_set_trip_temp() 133 return tj_max; in sys_set_trip_temp() 134 tj_max *= 1000; in sys_set_trip_temp() 136 val = (tj_max - temp)/1000; in sys_set_trip_temp() 273 static int pkg_temp_thermal_trips_init(int cpu, int tj_max, in pkg_temp_thermal_trips_init() argument 298 tj_max - thres_reg_value * 1000 : THERMAL_TEMP_INVALID; in pkg_temp_thermal_trips_init() 318 int tj_max; in pkg_temp_thermal_device_add() local 330 tj_max = intel_tcc_get_tjmax(cpu); in pkg_temp_thermal_device_add() [all …]
|
| H A D | intel_soc_dts_iosf.c | 59 temp_out = (sensors->tj_max - temp) / 1000; in update_trip_temp() 141 if (temp > sensors->tj_max) in sys_set_trip_temp() 168 *temp = sensors->tj_max - out * 1000; in sys_get_curr_temp() 312 int tj_max; in intel_soc_dts_iosf_init() local 319 tj_max = intel_tcc_get_tjmax(-1); in intel_soc_dts_iosf_init() 320 if (tj_max < 0) in intel_soc_dts_iosf_init() 321 return ERR_PTR(tj_max); in intel_soc_dts_iosf_init() 330 sensors->tj_max = tj_max * 1000; in intel_soc_dts_iosf_init() 345 temp = sensors->tj_max - crit_offset; in intel_soc_dts_iosf_init()
|
| H A D | intel_soc_dts_iosf.h | 36 u32 tj_max; member
|
| /linux/tools/power/x86/turbostat/ |
| H A D | turbostat.c | 524 unsigned int tj_max; variable 5113 c->core_temp_c = tj_max - ((msr >> 16) & 0x7F); in get_counters() 5165 p->pkg_temp_c = tj_max - ((msr >> 16) & 0x7F); in get_counters() 7998 tj_max = tj_max_override; in set_temperature_target() 7999 fprintf(outf, "cpu%d: Using cmdline TCC Target (%d C)\n", cpu, tj_max); in set_temperature_target() 8031 tj_max = tcc_default; in set_temperature_target() 8036 tj_max = TJMAX_DEFAULT; in set_temperature_target() 8037 fprintf(outf, "cpu%d: Guessing tjMax %d C, Please use -T to specify\n", cpu, tj_max); in set_temperature_target() 8073 fprintf(outf, "cpu%d: MSR_IA32_PACKAGE_THERM_STATUS: 0x%08llx (%d C)\n", cpu, msr, tj_max - dts); in print_thermal() 8080 …MSR_IA32_PACKAGE_THERM_INTERRUPT: 0x%08llx (%d C, %d C)\n", cpu, msr, tj_max - dts, tj_max - dts2); in print_thermal() [all …]
|
| /linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| H A D | process_pptables_v1_0.c | 228 ptr->tj_max in get_platform_power_management_table()
|
| H A D | processpptables.c | 1531 ptr->tj_max = le32_to_cpu(atom_ppm_table->ulTjmax); in get_platform_power_management_table()
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | r600_dpm.c | 1223 rdev->pm.dpm.dyn_state.ppm_table->tj_max = in r600_parse_extended_power_table()
|
| H A D | si_dpm.c | 2139 papm_parm->dGPU_T_Limit = cpu_to_be32(ppm->tj_max); in si_populate_smc_tdp_limits()
|
| /linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
| H A D | iceland_smumgr.c | 1880 dpm_table->PPM_TemperatureLimit = (uint16_t)ppm->tj_max * 256; in iceland_populate_bapm_parameters_in_dpm_table()
|
| H A D | ci_smumgr.c | 737 dpm_table->PPM_TemperatureLimit = (uint16_t)ppm->tj_max * 256; in ci_populate_bapm_parameters_in_dpm_table()
|
| /linux/drivers/gpu/drm/amd/pm/legacy-dpm/ |
| H A D | si_dpm.c | 2306 papm_parm->dGPU_T_Limit = cpu_to_be32(ppm->tj_max); in si_populate_smc_tdp_limits()
|