Home
last modified time | relevance | path

Searched refs:tdp_limit (Results 1 – 10 of 10) sorted by relevance

/drivers/hwmon/
Dfam15h_power.c73 u32 val, tdp_limit, running_avg_range; in power1_input_show() local
104 tdp_limit = val >> 16; in power1_input_show()
106 tdp_limit = (val >> 16) & 0x1fff; in power1_input_show()
108 curr_pwr_watts = ((u64)(tdp_limit + in power1_input_show()
/drivers/gpu/drm/radeon/
Dsumo_smc.c163 void sumo_set_tdp_limit(struct radeon_device *rdev, u32 index, u32 tdp_limit) in sumo_set_tdp_limit() argument
201 sclk_dpm_tdp_limit |= (tdp_limit << shift); in sumo_set_tdp_limit()
Dni_dpm.c1435 u32 *tdp_limit, in ni_calculate_adjusted_tdp_limits() argument
1442 *tdp_limit = ((100 + tdp_adjustment) * rdev->pm.dpm.tdp_limit) / 100; in ni_calculate_adjusted_tdp_limits()
1443 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit + (*tdp_limit - rdev->pm.dpm.tdp_limit); in ni_calculate_adjusted_tdp_limits()
1445 *tdp_limit = ((100 - tdp_adjustment) * rdev->pm.dpm.tdp_limit) / 100; 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()
1461 u32 tdp_limit; in ni_populate_smc_tdp_limits() local
1474 &tdp_limit, in ni_populate_smc_tdp_limits()
1483 cpu_to_be32(ni_scale_power_for_smc(tdp_limit, scaling_factor)); in ni_populate_smc_tdp_limits()
2466 u32 tdp_limit; in ni_populate_power_containment_values() local
2483 &tdp_limit, in ni_populate_power_containment_values()
Dsumo_dpm.h215 void sumo_set_tdp_limit(struct radeon_device *rdev, u32 index, u32 tdp_limit);
Dsi_dpm.c1819 u32 p_limit1 = rdev->pm.dpm.tdp_limit; in si_update_dte_from_pl2()
2105 u32 *tdp_limit, in si_calculate_adjusted_tdp_limits() argument
2113 max_tdp_limit = ((100 + 100) * rdev->pm.dpm.tdp_limit) / 100; in si_calculate_adjusted_tdp_limits()
2116 *tdp_limit = ((100 + tdp_adjustment) * rdev->pm.dpm.tdp_limit) / 100; in si_calculate_adjusted_tdp_limits()
2117 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit_adjusted + (*tdp_limit - rdev->pm.dpm.tdp_limit); in si_calculate_adjusted_tdp_limits()
2119 *tdp_limit = ((100 - tdp_adjustment) * rdev->pm.dpm.tdp_limit) / 100; in si_calculate_adjusted_tdp_limits()
2120 adjustment_delta = rdev->pm.dpm.tdp_limit - *tdp_limit; in si_calculate_adjusted_tdp_limits()
2127 if ((*tdp_limit <= 0) || (*tdp_limit > max_tdp_limit)) in si_calculate_adjusted_tdp_limits()
2129 if ((*near_tdp_limit <= 0) || (*near_tdp_limit > *tdp_limit)) in si_calculate_adjusted_tdp_limits()
2146 u32 tdp_limit; in si_populate_smc_tdp_limits() local
[all …]
Dr600_dpm.c1020 rdev->pm.dpm.tdp_limit = le32_to_cpu(power_info->pplib5.ulTDPLimit); in r600_parse_extended_power_table()
Dradeon.h1599 u32 tdp_limit; member
/drivers/gpu/drm/amd/pm/powerplay/
Dsi_dpm.c1912 u32 p_limit1 = adev->pm.dpm.tdp_limit; in si_update_dte_from_pl2()
2197 u32 *tdp_limit, in si_calculate_adjusted_tdp_limits() argument
2205 max_tdp_limit = ((100 + 100) * adev->pm.dpm.tdp_limit) / 100; in si_calculate_adjusted_tdp_limits()
2208 *tdp_limit = ((100 + tdp_adjustment) * adev->pm.dpm.tdp_limit) / 100; in si_calculate_adjusted_tdp_limits()
2209 *near_tdp_limit = adev->pm.dpm.near_tdp_limit_adjusted + (*tdp_limit - adev->pm.dpm.tdp_limit); in si_calculate_adjusted_tdp_limits()
2211 *tdp_limit = ((100 - tdp_adjustment) * adev->pm.dpm.tdp_limit) / 100; in si_calculate_adjusted_tdp_limits()
2212 adjustment_delta = adev->pm.dpm.tdp_limit - *tdp_limit; in si_calculate_adjusted_tdp_limits()
2219 if ((*tdp_limit <= 0) || (*tdp_limit > max_tdp_limit)) in si_calculate_adjusted_tdp_limits()
2221 if ((*near_tdp_limit <= 0) || (*near_tdp_limit > *tdp_limit)) in si_calculate_adjusted_tdp_limits()
2238 u32 tdp_limit; in si_populate_smc_tdp_limits() local
[all …]
/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h401 u32 tdp_limit; member
/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c432 adev->pm.dpm.tdp_limit = le32_to_cpu(power_info->pplib5.ulTDPLimit); in amdgpu_parse_extended_power_table()