Searched refs:golden_value (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/ |
| D | vega12_hwmgr.c | 2515 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);
|
| D | vega20_hwmgr.c | 1447 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()
|
| D | smu7_hwmgr.c | 4570 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()
|
| D | vega10_hwmgr.c | 4755 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/ |
| D | vega20_ppt.c | 1754 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()
|