Searched refs:best_freq (Results 1 - 10 of 10) sorted by relevance
/linux-master/drivers/gpu/drm/i2c/ |
H A D | ch7006_mode.c | 262 int freq, best_freq = 0; local 269 abs(best_freq - mode->mode.clock)) { 270 best_freq = freq; 289 best_n, best_m, best_freq, best_n < 108);
|
/linux-master/drivers/phy/rockchip/ |
H A D | phy-rockchip-inno-dsidphy.c | 300 unsigned long best_freq = 0; local 347 best_freq = tmp; 352 best_freq = tmp; 357 if (best_freq) { 360 inno->pll.rate = best_freq; 363 return best_freq;
|
/linux-master/drivers/mmc/host/ |
H A D | renesas_sdhi_core.c | 129 unsigned int freq, diff, best_freq = 0, diff_min = ~0; local 176 best_freq = freq; 181 clk_set_rate(ref_clk, best_freq); 184 clk_set_rate(priv->clk, best_freq >> clkh_shift);
|
H A D | sh_mmcif.c | 493 unsigned int freq, best_freq, myclk, div, diff_min, diff; local 498 best_freq = 0; 514 best_freq = freq; 521 (best_freq >> (clkdiv + 1)), clk, best_freq, clkdiv); 523 clk_set_rate(host->clk, best_freq);
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_display.c | 1132 uint32_t best_freq = -1; local 1246 best_freq = current_freq; 1250 if (best_freq == -1) { 1255 best_freq = current_freq; 1268 best_freq = current_freq; 1286 *dot_clock_p = best_freq / 10000; 1293 best_freq / 1000, best_feedback_div, best_frac_feedback_div,
|
/linux-master/drivers/media/i2c/ |
H A D | tc358746.c | 816 unsigned long best_freq = 0; local 860 best_freq = tmp; 867 if (!best_freq) { 876 if (best_freq != fout) 878 fout, best_freq); 881 best_freq, p_best, m_best, postdiv); 883 return best_freq;
|
/linux-master/drivers/gpu/drm/rockchip/ |
H A D | dw-mipi-dsi-rockchip.c | 554 unsigned long best_freq = 0; local 630 best_freq = tmp; 634 if (best_freq) { 635 dsi->lane_mbps = DIV_ROUND_UP(best_freq, USEC_PER_SEC); 640 DRM_DEV_ERROR(dsi->dev, "Can not find best_freq for DPHY\n");
|
/linux-master/drivers/iio/imu/ |
H A D | adis16480.c | 612 unsigned int i, best_freq; local 629 best_freq = 0; 636 best_freq = i; 642 val |= best_freq << offset;
|
/linux-master/drivers/spi/ |
H A D | spi-pl022.c | 1494 u32 rate, max_tclk, min_tclk, best_freq = 0, best_cpsdvsr = 0, local 1516 * best_freq will give closest possible available rate (<= requested 1533 if (tmp > best_freq) { 1534 best_freq = tmp; 1551 WARN(!best_freq, "pl022: Matching cpsdvsr and scr not found for %d Hz rate \n", 1558 freq, best_freq);
|
/linux-master/drivers/gpu/drm/bridge/ |
H A D | samsung-dsim.c | 570 unsigned long best_freq = 0; local 606 best_freq = tmp; 611 if (best_freq) { 617 return best_freq;
|
Completed in 247 milliseconds