Home
last modified time | relevance | path

Searched refs:best_freq (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/phy/rockchip/
A Dphy-rockchip-inno-dsidphy.c223 unsigned long best_freq = 0; in inno_dsidphy_pll_calc_rate() local
270 best_freq = tmp; in inno_dsidphy_pll_calc_rate()
275 best_freq = tmp; in inno_dsidphy_pll_calc_rate()
280 if (best_freq) { in inno_dsidphy_pll_calc_rate()
283 inno->pll.rate = best_freq; in inno_dsidphy_pll_calc_rate()
286 return best_freq; in inno_dsidphy_pll_calc_rate()
/linux/drivers/gpu/drm/i2c/
A Dch7006_mode.c262 int freq, best_freq = 0; in ch7006_setup_pll() local
269 abs(best_freq - mode->mode.clock)) { in ch7006_setup_pll()
270 best_freq = freq; in ch7006_setup_pll()
289 best_n, best_m, best_freq, best_n < 108); in ch7006_setup_pll()
/linux/drivers/mmc/host/
A Dsh_mmcif.c493 unsigned int freq, best_freq, myclk, div, diff_min, diff; in sh_mmcif_clock_control() local
498 best_freq = 0; in sh_mmcif_clock_control()
514 best_freq = freq; in sh_mmcif_clock_control()
521 (best_freq / (1 << (clkdiv + 1))), clk, in sh_mmcif_clock_control()
522 best_freq, clkdiv); in sh_mmcif_clock_control()
524 clk_set_rate(host->clk, best_freq); in sh_mmcif_clock_control()
A Drenesas_sdhi_core.c133 unsigned int freq, diff, best_freq = 0, diff_min = ~0; in renesas_sdhi_clk_update() local
162 best_freq = freq; in renesas_sdhi_clk_update()
167 clk_set_rate(priv->clk, best_freq); in renesas_sdhi_clk_update()
/linux/drivers/gpu/drm/radeon/
A Dradeon_display.c1121 uint32_t best_freq = -1; in radeon_compute_pll_legacy() local
1235 best_freq = current_freq; in radeon_compute_pll_legacy()
1239 if (best_freq == -1) { in radeon_compute_pll_legacy()
1244 best_freq = current_freq; in radeon_compute_pll_legacy()
1257 best_freq = current_freq; in radeon_compute_pll_legacy()
1275 *dot_clock_p = best_freq / 10000; in radeon_compute_pll_legacy()
1282 best_freq / 1000, best_feedback_div, best_frac_feedback_div, in radeon_compute_pll_legacy()
/linux/drivers/iio/imu/
A Dadis16480.c610 unsigned int i, best_freq; in adis16480_set_filter_freq() local
627 best_freq = 0; in adis16480_set_filter_freq()
634 best_freq = i; in adis16480_set_filter_freq()
640 val |= best_freq << offset; in adis16480_set_filter_freq()
/linux/drivers/gpu/drm/rockchip/
A Ddw-mipi-dsi-rockchip.c535 unsigned long best_freq = 0; in dw_mipi_dsi_get_lane_mbps() local
611 best_freq = tmp; in dw_mipi_dsi_get_lane_mbps()
615 if (best_freq) { in dw_mipi_dsi_get_lane_mbps()
616 dsi->lane_mbps = DIV_ROUND_UP(best_freq, USEC_PER_SEC); in dw_mipi_dsi_get_lane_mbps()
/linux/drivers/spi/
A Dspi-pl022.c1741 u32 rate, max_tclk, min_tclk, best_freq = 0, best_cpsdvsr = 0, in calculate_effective_freq() local
1780 if (tmp > best_freq) { in calculate_effective_freq()
1781 best_freq = tmp; in calculate_effective_freq()
1798 WARN(!best_freq, "pl022: Matching cpsdvsr and scr not found for %d Hz rate \n", in calculate_effective_freq()
1805 freq, best_freq); in calculate_effective_freq()
/linux/drivers/gpu/drm/exynos/
A Dexynos_drm_dsi.c546 unsigned long best_freq = 0; in exynos_dsi_pll_find_pms() local
582 best_freq = tmp; in exynos_dsi_pll_find_pms()
587 if (best_freq) { in exynos_dsi_pll_find_pms()
593 return best_freq; in exynos_dsi_pll_find_pms()

Completed in 44 milliseconds