Lines Matching refs:kv_get_clock_difference
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()
936 else if (kv_get_clock_difference(table->entries[i].clk , 10000) < 200) in kv_calculate_dfs_bypass_settings()
949 if (kv_get_clock_difference(table->entries[i].sclk_frequency, 40000) < 200) in kv_calculate_dfs_bypass_settings()
951 else if (kv_get_clock_difference(table->entries[i].sclk_frequency, 30000) < 200) in kv_calculate_dfs_bypass_settings()
953 else if (kv_get_clock_difference(table->entries[i].sclk_frequency, 26600) < 200) in kv_calculate_dfs_bypass_settings()
955 else if (kv_get_clock_difference(table->entries[i].sclk_frequency, 20000) < 200) in kv_calculate_dfs_bypass_settings()
957 else if (kv_get_clock_difference(table->entries[i].sclk_frequency, 10000) < 200) in kv_calculate_dfs_bypass_settings()