Searched refs:tj_max (Results 1 – 16 of 16) sorted by relevance
/linux-6.1.9/drivers/thermal/intel/ |
D | intel_soc_dts_iosf.c | 48 static int get_tj_max(u32 *tj_max) in get_tj_max() argument 60 *tj_max = val * 1000; in get_tj_max() 69 *tj_max = 0; in get_tj_max() 95 *temp = sensors->tj_max - out * 1000; in sys_get_trip_temp() 118 temp_out = (sensors->tj_max - temp) / 1000; in update_trip_temp() 200 if (temp > sensors->tj_max) in sys_set_trip_temp() 241 *temp = sensors->tj_max - out * 1000; in sys_get_curr_temp() 354 int temp = sensors->tj_max - critical_offset; in intel_soc_dts_iosf_add_read_only_critical_trip() 408 u32 tj_max; in intel_soc_dts_iosf_init() local 418 if (get_tj_max(&tj_max)) in intel_soc_dts_iosf_init() [all …]
|
D | x86_pkg_temp_thermal.c | 51 u32 tj_max; member 111 static int get_tj_max(int cpu, u32 *tj_max) in get_tj_max() argument 121 *tj_max = val * 1000; in get_tj_max() 134 *temp = zonedev->tj_max - ((eax >> 16) & 0x7f) * 1000; in sys_get_curr_temp() 167 *temp = zonedev->tj_max - thres_reg_value * 1000; in sys_get_trip_temp() 182 if (trip >= MAX_NUMBER_OF_TRIPS || temp >= zonedev->tj_max) in sys_set_trip_temp() 207 l |= (zonedev->tj_max - temp)/1000 << shift; in sys_set_trip_temp() 334 u32 tj_max, eax, ebx, ecx, edx; in pkg_temp_thermal_device_add() local 348 err = get_tj_max(cpu, &tj_max); in pkg_temp_thermal_device_add() 358 zonedev->tj_max = tj_max; in pkg_temp_thermal_device_add()
|
D | intel_soc_dts_iosf.h | 36 u32 tj_max; member
|
/linux-6.1.9/tools/power/x86/turbostat/ |
D | turbostat.c | 262 unsigned int tj_max; variable 2209 c->core_temp_c = tj_max - ((msr >> 16) & 0x7F); in get_counters() 2318 p->pkg_temp_c = tj_max - ((msr >> 16) & 0x7F); in get_counters() 4869 fprintf(outf, "cpu%d: MSR_IA32_PACKAGE_THERM_STATUS: 0x%08llx (%d C)\n", cpu, msr, tj_max - dts); in print_thermal() 4877 cpu, msr, tj_max - dts, tj_max - dts2); in print_thermal() 4889 cpu, msr, tj_max - dts, resolution); in print_thermal() 4897 cpu, msr, tj_max - dts, tj_max - dts2); in print_thermal() 5284 tj_max = tj_max_override; in set_temperature_target() 5285 fprintf(outf, "cpu%d: Using cmdline TCC Target (%d C)\n", cpu, tj_max); in set_temperature_target() 5319 tj_max = tcc_default; in set_temperature_target() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/inc/ |
D | amdgpu_dpm.h | 180 u32 tj_max; member
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/inc/ |
D | hwmgr.h | 501 uint32_t tj_max; member
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/ |
D | legacy_dpm.c | 572 adev->pm.dpm.dyn_state.ppm_table->tj_max = in amdgpu_parse_extended_power_table()
|
D | si_dpm.c | 2290 papm_parm->dGPU_T_Limit = cpu_to_be32(ppm->tj_max); in si_populate_smc_tdp_limits()
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | process_pptables_v1_0.c | 228 ptr->tj_max in get_platform_power_management_table()
|
D | processpptables.c | 1531 ptr->tj_max = le32_to_cpu(atom_ppm_table->ulTjmax); in get_platform_power_management_table()
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | r600_dpm.c | 1225 rdev->pm.dpm.dyn_state.ppm_table->tj_max = in r600_parse_extended_power_table()
|
D | radeon.h | 1490 u32 tj_max; member
|
D | si_dpm.c | 2183 papm_parm->dGPU_T_Limit = cpu_to_be32(ppm->tj_max); in si_populate_smc_tdp_limits()
|
D | ci_dpm.c | 430 dpm_table->PPM_TemperatureLimit = cpu_to_be16((u16)ppm->tj_max * 256); in ci_populate_bapm_parameters_in_dpm_table()
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | iceland_smumgr.c | 1880 dpm_table->PPM_TemperatureLimit = (uint16_t)ppm->tj_max * 256; in iceland_populate_bapm_parameters_in_dpm_table()
|
D | ci_smumgr.c | 738 dpm_table->PPM_TemperatureLimit = (uint16_t)ppm->tj_max * 256; in ci_populate_bapm_parameters_in_dpm_table()
|