Searched refs:tdp_limit (Results 1 – 10 of 10) sorted by relevance
/drivers/hwmon/ |
D | fam15h_power.c | 73 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/ |
D | sumo_smc.c | 163 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()
|
D | ni_dpm.c | 1435 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()
|
D | sumo_dpm.h | 215 void sumo_set_tdp_limit(struct radeon_device *rdev, u32 index, u32 tdp_limit);
|
D | si_dpm.c | 1819 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 …]
|
D | r600_dpm.c | 1020 rdev->pm.dpm.tdp_limit = le32_to_cpu(power_info->pplib5.ulTDPLimit); in r600_parse_extended_power_table()
|
D | radeon.h | 1599 u32 tdp_limit; member
|
/drivers/gpu/drm/amd/pm/powerplay/ |
D | si_dpm.c | 1912 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/ |
D | amdgpu_dpm.h | 401 u32 tdp_limit; member
|
/drivers/gpu/drm/amd/pm/ |
D | amdgpu_dpm.c | 432 adev->pm.dpm.tdp_limit = le32_to_cpu(power_info->pplib5.ulTDPLimit); in amdgpu_parse_extended_power_table()
|