Searched refs:best_freq (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/drivers/sh/clk/ |
D | core.c | 559 unsigned long *best_freq, unsigned long *parent_freq, in clk_round_parent() argument 568 *best_freq = clk_round_rate(clk, target); in clk_round_parent() 569 return abs(target - *best_freq); in clk_round_parent() 580 if (best_freq) in clk_round_parent() 581 *best_freq = freq_max; in clk_round_parent() 600 if (best_freq) in clk_round_parent() 601 *best_freq = freq_min; in clk_round_parent() 620 if (best_freq) in clk_round_parent() 621 *best_freq = freq_high; in clk_round_parent() 627 if (best_freq) in clk_round_parent() [all …]
|
/linux-4.1.27/include/video/ |
D | sh_mobile_hdmi.h | 45 long (*clk_optimize_parent)(unsigned long target, unsigned long *best_freq,
|
/linux-4.1.27/drivers/gpu/drm/i2c/ |
D | ch7006_mode.c | 263 int freq, best_freq = 0; in ch7006_setup_pll() local 270 abs(best_freq - mode->mode.clock)) { in ch7006_setup_pll() 271 best_freq = freq; in ch7006_setup_pll() 290 best_n, best_m, best_freq, best_n < 108); in ch7006_setup_pll()
|
/linux-4.1.27/drivers/iio/imu/ |
D | adis16480.c | 466 unsigned int i, best_freq; in adis16480_set_filter_freq() local 481 best_freq = 0; in adis16480_set_filter_freq() 488 best_freq = i; in adis16480_set_filter_freq() 494 val |= best_freq << offset; in adis16480_set_filter_freq()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_display.c | 1100 uint32_t best_freq = -1; in radeon_compute_pll_legacy() local 1214 best_freq = current_freq; in radeon_compute_pll_legacy() 1218 if (best_freq == -1) { in radeon_compute_pll_legacy() 1223 best_freq = current_freq; in radeon_compute_pll_legacy() 1236 best_freq = current_freq; in radeon_compute_pll_legacy() 1254 *dot_clock_p = best_freq / 10000; in radeon_compute_pll_legacy() 1261 best_freq / 1000, best_feedback_div, best_frac_feedback_div, in radeon_compute_pll_legacy()
|
/linux-4.1.27/include/linux/ |
D | sh_clk.h | 117 unsigned long *best_freq, unsigned long *parent_freq,
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
D | exynos_drm_dsi.c | 375 unsigned long best_freq = 0; in exynos_dsi_pll_find_pms() local 410 best_freq = tmp; in exynos_dsi_pll_find_pms() 415 if (best_freq) { in exynos_dsi_pll_find_pms() 421 return best_freq; in exynos_dsi_pll_find_pms()
|
/linux-4.1.27/drivers/spi/ |
D | spi-pl022.c | 1722 u32 rate, max_tclk, min_tclk, best_freq = 0, best_cpsdvsr = 0, in calculate_effective_freq() local 1761 if (tmp > best_freq) { in calculate_effective_freq() 1762 best_freq = tmp; in calculate_effective_freq() 1779 WARN(!best_freq, "pl022: Matching cpsdvsr and scr not found for %d Hz rate \n", in calculate_effective_freq() 1786 freq, best_freq); in calculate_effective_freq()
|