Home
last modified time | relevance | path

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

/linux/drivers/phy/rockchip/
H A Dphy-rockchip-inno-dsidphy.c340 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 Dphy-rockchip-samsung-dcphy.c1127 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/phy/freescale/
H A Dphy-fsl-samsung-hdmi.c376 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 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 >> (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 Dadis16480.c606 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()