Searched refs:tdp_limit (Results 1 – 7 of 7) sorted by relevance
/drivers/hwmon/ |
D | fam15h_power.c | 54 u32 val, tdp_limit, running_avg_range; in show_power() local 69 tdp_limit = val >> 16; in show_power() 70 curr_pwr_watts = ((u64)(tdp_limit + in show_power()
|
/drivers/gpu/drm/radeon/ |
D | sumo_smc.c | 166 void sumo_set_tdp_limit(struct radeon_device *rdev, u32 index, u32 tdp_limit) in sumo_set_tdp_limit() argument 204 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() 2462 u32 tdp_limit; in ni_populate_power_containment_values() local 2479 &tdp_limit, in ni_populate_power_containment_values()
|
D | sumo_dpm.h | 216 void sumo_set_tdp_limit(struct radeon_device *rdev, u32 index, u32 tdp_limit);
|
D | si_dpm.c | 1835 u32 p_limit1 = rdev->pm.dpm.tdp_limit; in si_update_dte_from_pl2() 2120 u32 *tdp_limit, in si_calculate_adjusted_tdp_limits() argument 2128 max_tdp_limit = ((100 + 100) * rdev->pm.dpm.tdp_limit) / 100; in si_calculate_adjusted_tdp_limits() 2131 *tdp_limit = ((100 + tdp_adjustment) * rdev->pm.dpm.tdp_limit) / 100; in si_calculate_adjusted_tdp_limits() 2132 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit_adjusted + (*tdp_limit - rdev->pm.dpm.tdp_limit); in si_calculate_adjusted_tdp_limits() 2134 *tdp_limit = ((100 - tdp_adjustment) * rdev->pm.dpm.tdp_limit) / 100; in si_calculate_adjusted_tdp_limits() 2135 adjustment_delta = rdev->pm.dpm.tdp_limit - *tdp_limit; in si_calculate_adjusted_tdp_limits() 2142 if ((*tdp_limit <= 0) || (*tdp_limit > max_tdp_limit)) in si_calculate_adjusted_tdp_limits() 2144 if ((*near_tdp_limit <= 0) || (*near_tdp_limit > *tdp_limit)) in si_calculate_adjusted_tdp_limits() 2161 u32 tdp_limit; in si_populate_smc_tdp_limits() local [all …]
|
D | r600_dpm.c | 1009 rdev->pm.dpm.tdp_limit = le32_to_cpu(power_info->pplib5.ulTDPLimit); in r600_parse_extended_power_table()
|
D | radeon.h | 1550 u32 tdp_limit; member
|