Searched refs:near_tdp_limit (Results 1 – 7 of 7) sorted by relevance
1382 u32 near_tdp_limit) in ni_calculate_power_boost_limit() argument1420 n = ((u64)near_tdp_limit * ((u64)std_vddc_med * (u64)std_vddc_med) * 90); in ni_calculate_power_boost_limit()1436 u32 *near_tdp_limit) in ni_calculate_adjusted_tdp_limits() argument1443 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit + (*tdp_limit - rdev->pm.dpm.tdp_limit); in ni_calculate_adjusted_tdp_limits()1446 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit - (rdev->pm.dpm.tdp_limit - *tdp_limit); in ni_calculate_adjusted_tdp_limits()1462 u32 near_tdp_limit; in ni_populate_smc_tdp_limits() local1475 &near_tdp_limit); in ni_populate_smc_tdp_limits()1480 near_tdp_limit); in ni_populate_smc_tdp_limits()1485 cpu_to_be32(ni_scale_power_for_smc(near_tdp_limit, scaling_factor)); in ni_populate_smc_tdp_limits()1487 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 …]
1820 u32 p_limit2 = rdev->pm.dpm.near_tdp_limit; in si_update_dte_from_pl2()2106 u32 *near_tdp_limit) in si_calculate_adjusted_tdp_limits() argument2117 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit_adjusted + (*tdp_limit - rdev->pm.dpm.tdp_limit); in si_calculate_adjusted_tdp_limits()2122 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit_adjusted - adjustment_delta; in si_calculate_adjusted_tdp_limits()2124 *near_tdp_limit = 0; in si_calculate_adjusted_tdp_limits()2129 if ((*near_tdp_limit <= 0) || (*near_tdp_limit > *tdp_limit)) in si_calculate_adjusted_tdp_limits()2147 u32 near_tdp_limit; in si_populate_smc_tdp_limits() local2159 &near_tdp_limit); in si_populate_smc_tdp_limits()2166 cpu_to_be32(si_scale_power_for_smc(near_tdp_limit, scaling_factor) * 1000); in si_populate_smc_tdp_limits()2168 …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()
1600 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()