Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/phy/rockchip/
Dphy-rockchip-inno-dsidphy.c224 unsigned long best_freq = 0; in inno_dsidphy_pll_calc_rate() local
271 best_freq = tmp; in inno_dsidphy_pll_calc_rate()
276 best_freq = tmp; in inno_dsidphy_pll_calc_rate()
281 if (best_freq) { in inno_dsidphy_pll_calc_rate()
284 inno->pll.rate = best_freq; in inno_dsidphy_pll_calc_rate()
287 return best_freq; in inno_dsidphy_pll_calc_rate()
/linux-5.19.10/drivers/gpu/drm/i2c/
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-5.19.10/drivers/mmc/host/
Dsh_mmcif.c496 unsigned int freq, best_freq, myclk, div, diff_min, diff; in sh_mmcif_clock_control() local
501 best_freq = 0; in sh_mmcif_clock_control()
517 best_freq = freq; in sh_mmcif_clock_control()
524 (best_freq >> (clkdiv + 1)), clk, best_freq, clkdiv); in sh_mmcif_clock_control()
526 clk_set_rate(host->clk, best_freq); in sh_mmcif_clock_control()
Drenesas_sdhi_core.c129 unsigned int freq, diff, best_freq = 0, diff_min = ~0; in renesas_sdhi_clk_update() local
168 best_freq = freq; in renesas_sdhi_clk_update()
173 clk_set_rate(ref_clk, best_freq); in renesas_sdhi_clk_update()
176 clk_set_rate(priv->clk, best_freq >> clkh_shift); in renesas_sdhi_clk_update()
/linux-5.19.10/drivers/gpu/drm/radeon/
Dradeon_display.c1127 uint32_t best_freq = -1; in radeon_compute_pll_legacy() local
1241 best_freq = current_freq; in radeon_compute_pll_legacy()
1245 if (best_freq == -1) { in radeon_compute_pll_legacy()
1250 best_freq = current_freq; in radeon_compute_pll_legacy()
1263 best_freq = current_freq; in radeon_compute_pll_legacy()
1281 *dot_clock_p = best_freq / 10000; in radeon_compute_pll_legacy()
1288 best_freq / 1000, best_feedback_div, best_frac_feedback_div, in radeon_compute_pll_legacy()
/linux-5.19.10/drivers/iio/imu/
Dadis16480.c612 unsigned int i, best_freq; in adis16480_set_filter_freq() local
629 best_freq = 0; in adis16480_set_filter_freq()
636 best_freq = i; in adis16480_set_filter_freq()
642 val |= best_freq << offset; in adis16480_set_filter_freq()
/linux-5.19.10/drivers/gpu/drm/rockchip/
Ddw-mipi-dsi-rockchip.c542 unsigned long best_freq = 0; in dw_mipi_dsi_get_lane_mbps() local
618 best_freq = tmp; in dw_mipi_dsi_get_lane_mbps()
622 if (best_freq) { in dw_mipi_dsi_get_lane_mbps()
623 dsi->lane_mbps = DIV_ROUND_UP(best_freq, USEC_PER_SEC); in dw_mipi_dsi_get_lane_mbps()
/linux-5.19.10/drivers/spi/
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-5.19.10/drivers/gpu/drm/exynos/
Dexynos_drm_dsi.c542 unsigned long best_freq = 0; in exynos_dsi_pll_find_pms() local
578 best_freq = tmp; in exynos_dsi_pll_find_pms()
583 if (best_freq) { in exynos_dsi_pll_find_pms()
589 return best_freq; in exynos_dsi_pll_find_pms()