Searched refs:kv_get_clock_difference (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | kv_dpm.c | 630 static u32 kv_get_clock_difference(u32 a, u32 b) in kv_get_clock_difference() function 641 if (kv_get_clock_difference(clk, 40000) < 200) in kv_get_clk_bypass() 643 else if (kv_get_clock_difference(clk, 30000) < 200) in kv_get_clk_bypass() 645 else if (kv_get_clock_difference(clk, 20000) < 200) in kv_get_clk_bypass() 647 else if (kv_get_clock_difference(clk, 15000) < 200) in kv_get_clk_bypass() 649 else if (kv_get_clock_difference(clk, 10000) < 200) in kv_get_clk_bypass() 928 if (kv_get_clock_difference(table->entries[i].clk, 40000) < 200) in kv_calculate_dfs_bypass_settings() 930 else if (kv_get_clock_difference(table->entries[i].clk, 30000) < 200) in kv_calculate_dfs_bypass_settings() 932 else if (kv_get_clock_difference(table->entries[i].clk, 26600) < 200) in kv_calculate_dfs_bypass_settings() 934 else if (kv_get_clock_difference(table->entries[i].clk , 20000) < 200) in kv_calculate_dfs_bypass_settings() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/ |
H A D | kv_dpm.c | 861 static u32 kv_get_clock_difference(u32 a, u32 b) in kv_get_clock_difference() function 872 if (kv_get_clock_difference(clk, 40000) < 200) in kv_get_clk_bypass() 874 else if (kv_get_clock_difference(clk, 30000) < 200) in kv_get_clk_bypass() 876 else if (kv_get_clock_difference(clk, 20000) < 200) in kv_get_clk_bypass() 878 else if (kv_get_clock_difference(clk, 15000) < 200) in kv_get_clk_bypass() 880 else if (kv_get_clock_difference(clk, 10000) < 200) in kv_get_clk_bypass() 1159 if (kv_get_clock_difference(table->entries[i].clk, 40000) < 200) in kv_calculate_dfs_bypass_settings() 1161 else if (kv_get_clock_difference(table->entries[i].clk, 30000) < 200) in kv_calculate_dfs_bypass_settings() 1163 else if (kv_get_clock_difference(table->entries[i].clk, 26600) < 200) in kv_calculate_dfs_bypass_settings() 1165 else if (kv_get_clock_difference(table->entries[i].clk, 20000) < 200) in kv_calculate_dfs_bypass_settings() [all …]
|