Searched refs:near_tdp_limit (Results 1 – 7 of 7) sorted by relevance
1383 u32 near_tdp_limit) in ni_calculate_power_boost_limit() argument1421 n = ((u64)near_tdp_limit * ((u64)std_vddc_med * (u64)std_vddc_med) * 90); in ni_calculate_power_boost_limit()1437 u32 *near_tdp_limit) in ni_calculate_adjusted_tdp_limits() argument1444 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit + (*tdp_limit - rdev->pm.dpm.tdp_limit); in ni_calculate_adjusted_tdp_limits()1447 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit - (rdev->pm.dpm.tdp_limit - *tdp_limit); in ni_calculate_adjusted_tdp_limits()1463 u32 near_tdp_limit; in ni_populate_smc_tdp_limits() local1476 &near_tdp_limit); in ni_populate_smc_tdp_limits()1481 near_tdp_limit); in ni_populate_smc_tdp_limits()1486 cpu_to_be32(ni_scale_power_for_smc(near_tdp_limit, scaling_factor)); in ni_populate_smc_tdp_limits()1488 cpu_to_be32(ni_scale_power_for_smc((near_tdp_limit * NISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT) / 100, in ni_populate_smc_tdp_limits()[all …]
1823 u32 p_limit2 = rdev->pm.dpm.near_tdp_limit; in si_update_dte_from_pl2()2109 u32 *near_tdp_limit) in si_calculate_adjusted_tdp_limits() argument2120 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit_adjusted + (*tdp_limit - rdev->pm.dpm.tdp_limit); in si_calculate_adjusted_tdp_limits()2125 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit_adjusted - adjustment_delta; in si_calculate_adjusted_tdp_limits()2127 *near_tdp_limit = 0; in si_calculate_adjusted_tdp_limits()2132 if ((*near_tdp_limit <= 0) || (*near_tdp_limit > *tdp_limit)) in si_calculate_adjusted_tdp_limits()2150 u32 near_tdp_limit; in si_populate_smc_tdp_limits() local2162 &near_tdp_limit); in si_populate_smc_tdp_limits()2169 cpu_to_be32(si_scale_power_for_smc(near_tdp_limit, scaling_factor) * 1000); in si_populate_smc_tdp_limits()2171 …cpu_to_be32(si_scale_power_for_smc((near_tdp_limit * SISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT) / 100, … in si_populate_smc_tdp_limits()
1021 rdev->pm.dpm.near_tdp_limit = le32_to_cpu(power_info->pplib5.ulNearTDPLimit); in r600_parse_extended_power_table()1022 rdev->pm.dpm.near_tdp_limit_adjusted = rdev->pm.dpm.near_tdp_limit; in r600_parse_extended_power_table()
1569 u32 near_tdp_limit; member
402 u32 near_tdp_limit; member
1913 u32 p_limit2 = adev->pm.dpm.near_tdp_limit; in si_update_dte_from_pl2()2198 u32 *near_tdp_limit) in si_calculate_adjusted_tdp_limits() argument2209 *near_tdp_limit = adev->pm.dpm.near_tdp_limit_adjusted + (*tdp_limit - adev->pm.dpm.tdp_limit); in si_calculate_adjusted_tdp_limits()2214 *near_tdp_limit = adev->pm.dpm.near_tdp_limit_adjusted - adjustment_delta; in si_calculate_adjusted_tdp_limits()2216 *near_tdp_limit = 0; in si_calculate_adjusted_tdp_limits()2221 if ((*near_tdp_limit <= 0) || (*near_tdp_limit > *tdp_limit)) in si_calculate_adjusted_tdp_limits()2239 u32 near_tdp_limit; in si_populate_smc_tdp_limits() local2251 &near_tdp_limit); in si_populate_smc_tdp_limits()2258 cpu_to_be32(si_scale_power_for_smc(near_tdp_limit, scaling_factor) * 1000); in si_populate_smc_tdp_limits()2260 …cpu_to_be32(si_scale_power_for_smc((near_tdp_limit * SISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT) / 100, … in si_populate_smc_tdp_limits()
433 adev->pm.dpm.near_tdp_limit = le32_to_cpu(power_info->pplib5.ulNearTDPLimit); in amdgpu_parse_extended_power_table()434 adev->pm.dpm.near_tdp_limit_adjusted = adev->pm.dpm.near_tdp_limit; in amdgpu_parse_extended_power_table()