Searched refs:best_freq (Results 1 – 7 of 7) sorted by relevance
| /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 | 1127 u64 best_freq = 0; in samsung_mipi_dcphy_pll_round_rate() local 1148 while (!best_freq) { in samsung_mipi_dcphy_pll_round_rate() 1192 best_freq = DIV_ROUND_CLOSEST_ULL(tmp, 1000) * MSEC_PER_SEC; in samsung_mipi_dcphy_pll_round_rate() 1207 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/mmc/host/ |
| H A D | sh_mmcif.c | 493 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 >> (clkdiv + 1)), clk, best_freq, clkdiv); in sh_mmcif_clock_control() 523 clk_set_rate(host->clk, best_freq); in sh_mmcif_clock_control()
|
| /linux/drivers/iio/imu/ |
| H A D | adis16480.c | 606 unsigned int i, best_freq; in adis16480_set_filter_freq() local 623 best_freq = 0; in adis16480_set_filter_freq() 630 best_freq = i; in adis16480_set_filter_freq() 636 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()
|