Searched refs:best_freq (Results 1 - 6 of 6) sorted by relevance

/drivers/sh/clk/
H A Dcore.c559 unsigned long *best_freq, unsigned long *parent_freq,
568 *best_freq = clk_round_rate(clk, target);
569 return abs(target - *best_freq);
580 if (best_freq)
581 *best_freq = freq_max;
600 if (best_freq)
601 *best_freq = freq_min;
620 if (best_freq)
621 *best_freq = freq_high;
627 if (best_freq)
558 clk_round_parent(struct clk *clk, unsigned long target, unsigned long *best_freq, unsigned long *parent_freq, unsigned int div_min, unsigned int div_max) argument
[all...]
/drivers/gpu/drm/i2c/
H A Dch7006_mode.c263 int freq, best_freq = 0; local
270 abs(best_freq - mode->mode.clock)) {
271 best_freq = freq;
290 best_n, best_m, best_freq, best_n < 108);
/drivers/iio/imu/
H A Dadis16480.c462 unsigned int i, best_freq; local
477 best_freq = 0;
484 best_freq = i;
490 val |= best_freq << offset;
/drivers/gpu/drm/radeon/
H A Dradeon_display.c1096 uint32_t best_freq = -1; local
1210 best_freq = current_freq;
1214 if (best_freq == -1) {
1219 best_freq = current_freq;
1232 best_freq = current_freq;
1250 *dot_clock_p = best_freq / 10000;
1257 best_freq / 1000, best_feedback_div, best_frac_feedback_div,
/drivers/spi/
H A Dspi-pl022.c1722 u32 rate, max_tclk, min_tclk, best_freq = 0, best_cpsdvsr = 0, local
1744 * best_freq will give closest possible available rate (<= requested
1761 if (tmp > best_freq) {
1762 best_freq = tmp;
1779 WARN(!best_freq, "pl022: Matching cpsdvsr and scr not found for %d Hz rate \n",
1786 freq, best_freq);
/drivers/gpu/drm/exynos/
H A Dexynos_drm_dsi.c363 unsigned long best_freq = 0; local
398 best_freq = tmp;
403 if (best_freq) {
409 return best_freq;

Completed in 167 milliseconds