Home
last modified time | relevance | path

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

/drivers/thermal/intel/
Dintel_soc_dts_iosf.c48 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()
356 sensors->tj_max - critical_offset, in intel_soc_dts_iosf_add_read_only_critical_trip()
407 int tj_max; in intel_soc_dts_iosf_init() local
417 if (get_tj_max(&tj_max)) in intel_soc_dts_iosf_init()
[all …]
Dx86_pkg_temp_thermal.c49 u32 tj_max; member
109 static int get_tj_max(int cpu, u32 *tj_max) in get_tj_max() argument
119 *tj_max = val * 1000; in get_tj_max()
132 *temp = zonedev->tj_max - ((eax >> 16) & 0x7f) * 1000; in sys_get_curr_temp()
165 *temp = zonedev->tj_max - thres_reg_value * 1000; in sys_get_trip_temp()
180 if (trip >= MAX_NUMBER_OF_TRIPS || temp >= zonedev->tj_max) in sys_set_trip_temp()
205 l |= (zonedev->tj_max - temp)/1000 << shift; in sys_set_trip_temp()
332 u32 tj_max, eax, ebx, ecx, edx; in pkg_temp_thermal_device_add() local
346 err = get_tj_max(cpu, &tj_max); in pkg_temp_thermal_device_add()
356 zonedev->tj_max = tj_max; in pkg_temp_thermal_device_add()
Dintel_soc_dts_iosf.h36 u32 tj_max; member
/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h193 u32 tj_max; member
Dhwmgr.h500 uint32_t tj_max; member
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dprocess_pptables_v1_0.c232 ptr->tj_max in get_platform_power_management_table()
Dprocesspptables.c1550 ptr->tj_max = le32_to_cpu(atom_ppm_table->ulTjmax); in get_platform_power_management_table()
/drivers/gpu/drm/radeon/
Dr600_dpm.c1225 rdev->pm.dpm.dyn_state.ppm_table->tj_max = in r600_parse_extended_power_table()
Dradeon.h1460 u32 tj_max; member
Dci_dpm.c440 dpm_table->PPM_TemperatureLimit = cpu_to_be16((u16)ppm->tj_max * 256); in ci_populate_bapm_parameters_in_dpm_table()
Dsi_dpm.c2186 papm_parm->dGPU_T_Limit = cpu_to_be32(ppm->tj_max); in si_populate_smc_tdp_limits()
/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c638 adev->pm.dpm.dyn_state.ppm_table->tj_max = in amdgpu_parse_extended_power_table()
/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Diceland_smumgr.c1880 dpm_table->PPM_TemperatureLimit = (uint16_t)ppm->tj_max * 256; in iceland_populate_bapm_parameters_in_dpm_table()
Dci_smumgr.c736 dpm_table->PPM_TemperatureLimit = (uint16_t)ppm->tj_max * 256; in ci_populate_bapm_parameters_in_dpm_table()
/drivers/gpu/drm/amd/pm/powerplay/
Dsi_dpm.c2275 papm_parm->dGPU_T_Limit = cpu_to_be32(ppm->tj_max); in si_populate_smc_tdp_limits()