Home
last modified time | relevance | path

Searched refs:golden_value (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dvega12_hwmgr.c2515 int golden_value = golden_sclk_table->dpm_levels
2518 value -= golden_value;
2519 value = DIV_ROUND_UP(value * 100, golden_value);
2536 int golden_value = golden_mclk_table->dpm_levels
2539 value -= golden_value;
2540 value = DIV_ROUND_UP(value * 100, golden_value);
Dvega20_hwmgr.c1447 int golden_value = golden_sclk_table->dpm_levels in vega20_get_sclk_od() local
1451 value -= golden_value; in vega20_get_sclk_od()
1452 value = DIV_ROUND_UP(value * 100, golden_value); in vega20_get_sclk_od()
1493 int golden_value = golden_mclk_table->dpm_levels in vega20_get_mclk_od() local
1497 value -= golden_value; in vega20_get_mclk_od()
1498 value = DIV_ROUND_UP(value * 100, golden_value); in vega20_get_mclk_od()
Dsmu7_hwmgr.c4570 int golden_value = golden_sclk_table->dpm_levels in smu7_get_sclk_od() local
4573 value -= golden_value; in smu7_get_sclk_od()
4574 value = DIV_ROUND_UP(value * 100, golden_value); in smu7_get_sclk_od()
4612 int golden_value = golden_mclk_table->dpm_levels in smu7_get_mclk_od() local
4615 value -= golden_value; in smu7_get_mclk_od()
4616 value = DIV_ROUND_UP(value * 100, golden_value); in smu7_get_mclk_od()
Dvega10_hwmgr.c4755 int golden_value = golden_sclk_table->dpm_levels in vega10_get_sclk_od() local
4758 value -= golden_value; in vega10_get_sclk_od()
4759 value = DIV_ROUND_UP(value * 100, golden_value); in vega10_get_sclk_od()
4806 int golden_value = golden_mclk_table->dpm_levels in vega10_get_mclk_od() local
4809 value -= golden_value; in vega10_get_mclk_od()
4810 value = DIV_ROUND_UP(value * 100, golden_value); in vega10_get_mclk_od()
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/
Dvega20_ppt.c1754 int value, golden_value; in vega20_get_od_percentage() local
1774 golden_value = golden_dpm_table->dpm_levels[golden_dpm_table->count - 1].value; in vega20_get_od_percentage()
1776 value -= golden_value; in vega20_get_od_percentage()
1777 value = DIV_ROUND_UP(value * 100, golden_value); in vega20_get_od_percentage()