| /linux/drivers/phy/rockchip/ ! |
| H A D | phy-rockchip-inno-dsidphy.c | 340 unsigned long best_freq = 0; in inno_dsidphy_pll_calc_rate() local 387 best_freq = tmp; in inno_dsidphy_pll_calc_rate() 392 best_freq = tmp; in inno_dsidphy_pll_calc_rate() 397 if (best_freq) { in inno_dsidphy_pll_calc_rate() 400 inno->pll.rate = best_freq; in inno_dsidphy_pll_calc_rate() 403 return best_freq; in inno_dsidphy_pll_calc_rate()
|
| H A D | phy-rockchip-samsung-dcphy.c | 1128 u64 best_freq = 0; in samsung_mipi_dcphy_pll_round_rate() local 1149 while (!best_freq) { in samsung_mipi_dcphy_pll_round_rate() 1193 best_freq = DIV_ROUND_CLOSEST_ULL(tmp, 1000) * MSEC_PER_SEC; in samsung_mipi_dcphy_pll_round_rate() 1208 return best_freq >> best_scaler; in samsung_mipi_dcphy_pll_round_rate()
|
| /linux/drivers/tty/serial/8250/ ! |
| H A D | 8250_bcm7271.c | 715 u32 best_freq = 0; in set_clock_mux() local 728 best_freq = priv->default_mux_rate; in set_clock_mux() 743 best_freq = freq; in set_clock_mux() 748 if (!best_freq) { in set_clock_mux() 752 rc = clk_set_rate(priv->baud_mux_clk, best_freq); in set_clock_mux() 761 real_baud = best_freq / 16 / best_quot; in set_clock_mux() 762 dev_dbg(up->dev, "Selecting BAUD MUX rate: %u\n", best_freq); in set_clock_mux() 771 up->uartclk = best_freq; in set_clock_mux()
|
| /linux/drivers/phy/freescale/ ! |
| H A D | phy-fsl-samsung-hdmi.c | 376 unsigned long best_freq = 0; in fsl_samsung_hdmi_phy_find_pms() local 435 best_freq = tmp; in fsl_samsung_hdmi_phy_find_pms() 444 if (best_freq) { in fsl_samsung_hdmi_phy_find_pms() 450 return best_freq / 5; in fsl_samsung_hdmi_phy_find_pms()
|
| /linux/drivers/gpu/drm/nouveau/dispnv04/i2c/ ! |
| H A D | ch7006_mode.c | 262 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/media/i2c/ ! |
| H A D | tc358746.c | 918 unsigned long best_freq = 0; in tc358746_find_pll_settings() local 961 best_freq = tmp; in tc358746_find_pll_settings() 968 if (!best_freq) { in tc358746_find_pll_settings() 977 if (best_freq != fout) in tc358746_find_pll_settings() 979 fout, best_freq); in tc358746_find_pll_settings() 982 best_freq, p_best, m_best, postdiv); in tc358746_find_pll_settings() 984 return best_freq; in tc358746_find_pll_settings()
|
| /linux/drivers/mmc/host/ ! |
| H A D | sh_mmcif.c | 494 unsigned int freq, best_freq, myclk, div, diff_min, diff; in sh_mmcif_clock_control() local 499 best_freq = 0; in sh_mmcif_clock_control() 515 best_freq = freq; in sh_mmcif_clock_control() 522 (best_freq >> (clkdiv + 1)), clk, best_freq, clkdiv); in sh_mmcif_clock_control() 524 clk_set_rate(host->clk, best_freq); in sh_mmcif_clock_control()
|
| H A D | renesas_sdhi_core.c | 132 unsigned int freq, diff, best_freq = 0, diff_min = ~0; in renesas_sdhi_clk_update() local 179 best_freq = freq; in renesas_sdhi_clk_update() 184 clk_set_rate(ref_clk, best_freq); in renesas_sdhi_clk_update() 187 clk_set_rate(priv->clk, best_freq >> clkh_shift); in renesas_sdhi_clk_update()
|
| /linux/drivers/gpu/drm/radeon/ ! |
| H A D | radeon_display.c | 1136 uint32_t best_freq = -1; in radeon_compute_pll_legacy() local 1250 best_freq = current_freq; in radeon_compute_pll_legacy() 1254 if (best_freq == -1) { in radeon_compute_pll_legacy() 1259 best_freq = current_freq; in radeon_compute_pll_legacy() 1272 best_freq = current_freq; in radeon_compute_pll_legacy() 1290 *dot_clock_p = best_freq / 10000; in radeon_compute_pll_legacy() 1297 best_freq / 1000, best_feedback_div, best_frac_feedback_div, in radeon_compute_pll_legacy()
|
| /linux/drivers/spi/ ! |
| H A D | spi-pl022.c | 1491 u32 rate, max_tclk, min_tclk, best_freq = 0, best_cpsdvsr = 0, in calculate_effective_freq() local 1530 if (tmp > best_freq) { in calculate_effective_freq() 1531 best_freq = tmp; in calculate_effective_freq() 1548 WARN(!best_freq, "pl022: Matching cpsdvsr and scr not found for %d Hz rate \n", in calculate_effective_freq() 1555 freq, best_freq); in calculate_effective_freq()
|
| /linux/drivers/iio/imu/ ! |
| H A D | adis16480.c | 607 unsigned int i, best_freq; in adis16480_set_filter_freq() local 624 best_freq = 0; in adis16480_set_filter_freq() 631 best_freq = i; in adis16480_set_filter_freq() 637 val |= best_freq << offset; in adis16480_set_filter_freq()
|
| /linux/drivers/gpu/drm/bridge/ ! |
| H A D | samsung-dsim.c | 736 unsigned long best_freq = 0; in samsung_dsim_pll_find_pms() local 772 best_freq = tmp; in samsung_dsim_pll_find_pms() 777 if (best_freq) { in samsung_dsim_pll_find_pms() 783 return best_freq; in samsung_dsim_pll_find_pms()
|