Home
last modified time | relevance | path

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

/drivers/hwmon/
Dfam15h_power.c54 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/
Dsumo_smc.c166 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()
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()
2462 u32 tdp_limit; in ni_populate_power_containment_values() local
2479 &tdp_limit, in ni_populate_power_containment_values()
Dsumo_dpm.h216 void sumo_set_tdp_limit(struct radeon_device *rdev, u32 index, u32 tdp_limit);
Dsi_dpm.c1835 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 …]
Dr600_dpm.c1009 rdev->pm.dpm.tdp_limit = le32_to_cpu(power_info->pplib5.ulTDPLimit); in r600_parse_extended_power_table()
Dradeon.h1550 u32 tdp_limit; member