Searched refs:tj_max (Results 1 – 15 of 15) sorted by relevance
128 int tj_max, val, ret; in sys_set_trip_temp() local130 tj_max = intel_tcc_get_tjmax(zonedev->cpu); in sys_set_trip_temp()131 if (tj_max < 0) in sys_set_trip_temp()132 return tj_max; in sys_set_trip_temp()133 tj_max *= 1000; in sys_set_trip_temp()135 val = (tj_max - temp)/1000; in sys_set_trip_temp()272 static int pkg_temp_thermal_trips_init(int cpu, int tj_max, in pkg_temp_thermal_trips_init() argument297 tj_max - thres_reg_value * 1000 : THERMAL_TEMP_INVALID; in pkg_temp_thermal_trips_init()317 int tj_max; in pkg_temp_thermal_device_add() local329 tj_max = intel_tcc_get_tjmax(cpu); in pkg_temp_thermal_device_add()[all …]
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() local319 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()
36 u32 tj_max; member
186 u32 tj_max; member
500 uint32_t tj_max; member
552 adev->pm.dpm.dyn_state.ppm_table->tj_max = in amdgpu_parse_extended_power_table()
2290 papm_parm->dGPU_T_Limit = cpu_to_be32(ppm->tj_max); in si_populate_smc_tdp_limits()
228 ptr->tj_max in get_platform_power_management_table()
1531 ptr->tj_max = le32_to_cpu(atom_ppm_table->ulTjmax); in get_platform_power_management_table()
1223 rdev->pm.dpm.dyn_state.ppm_table->tj_max = in r600_parse_extended_power_table()
1451 u32 tj_max; member
425 dpm_table->PPM_TemperatureLimit = cpu_to_be16((u16)ppm->tj_max * 256); in ci_populate_bapm_parameters_in_dpm_table()
2139 papm_parm->dGPU_T_Limit = cpu_to_be32(ppm->tj_max); in si_populate_smc_tdp_limits()
1880 dpm_table->PPM_TemperatureLimit = (uint16_t)ppm->tj_max * 256; in iceland_populate_bapm_parameters_in_dpm_table()
737 dpm_table->PPM_TemperatureLimit = (uint16_t)ppm->tj_max * 256; in ci_populate_bapm_parameters_in_dpm_table()