/linux-6.1.9/drivers/gpu/drm/sun4i/ |
D | sun4i_hdmi_ddc_clk.c | 34 u8 best_m = 0, best_n = 0, _m, _n; in sun4i_ddc_calc_divider() local 48 best_m = _m; in sun4i_ddc_calc_divider() 55 *m = best_m; in sun4i_ddc_calc_divider()
|
D | sun8i_hdmi_phy_clk.c | 86 u8 best_m = 0, m; in sun8i_phy_clk_set_rate() local 97 best_m = m; in sun8i_phy_clk_set_rate() 103 SUN8I_HDMI_PHY_PLL_CFG2_PREDIV(best_m)); in sun8i_phy_clk_set_rate()
|
D | sun4i_hdmi_tmds_clk.c | 34 u8 best_m = 0, m; in sun4i_tmds_calc_divider() local 51 best_m = m; in sun4i_tmds_calc_divider() 58 *div = best_m; in sun4i_tmds_calc_divider()
|
/linux-6.1.9/drivers/video/fbdev/ |
D | asiliantfb.c | 117 unsigned best_m = 0xffffffff, in asiliant_calc_dclk2() local 147 best_m = m; in asiliant_calc_dclk2() 159 best_m = m; in asiliant_calc_dclk2() 164 if (best_m > 257) in asiliant_calc_dclk2() 165 best_m >>= 2; /* divide m by 4, and leave VCO loop divide at 4 */ in asiliant_calc_dclk2() 168 *dclk2_m = best_m - 2; in asiliant_calc_dclk2()
|
D | gbefb.c | 457 int pll_m, pll_n, pll_p, error, best_m, best_n, best_p, best_error; in compute_gbe_timing() local 472 best_n = best_m = best_p = 0; in compute_gbe_timing() 490 best_m = pll_m; in compute_gbe_timing() 496 if (!best_n || !best_m) in compute_gbe_timing() 500 (best_n << best_p) / best_m; in compute_gbe_timing() 506 timing->pll_m = best_m; in compute_gbe_timing()
|
D | tridentfb.c | 841 unsigned char best_m = 0, best_n = 0, best_k = 0; in set_vclk() local 855 best_m = m; in set_vclk() 864 lo = best_n | (best_m << 7); in set_vclk() 865 hi = (best_m >> 1) | (best_k << 4); in set_vclk() 868 hi = best_m | (best_k << 6); in set_vclk()
|
D | tdfxfb.c | 290 int m, n, k, best_m, best_n, best_k, best_error; in do_calc_pll() local 294 best_n = best_m = best_k = 0; in do_calc_pll() 322 best_m = m; in do_calc_pll() 330 m = best_m; in do_calc_pll()
|
D | sstfb.c | 296 int best_m = -1; in sst_calc_pll() local 315 best_m = m; in sst_calc_pll() 325 t->m = best_m; in sst_calc_pll()
|
/linux-6.1.9/drivers/clk/sunxi/ |
D | clk-sun4i-tcon-ch1.c | 104 u8 best_m = 0, m; in tcon_ch1_calc_divider() local 121 best_m = m; in tcon_ch1_calc_divider() 128 *div = best_m; in tcon_ch1_calc_divider()
|
/linux-6.1.9/drivers/clk/sunxi-ng/ |
D | ccu_nkm.c | 23 unsigned long best_n = 0, best_k = 0, best_m = 0; in ccu_nkm_find_best() local 39 best_m = _m; in ccu_nkm_find_best() 47 nkm->m = best_m; in ccu_nkm_find_best()
|
D | ccu_mp.c | 18 unsigned int best_m = 0, best_p = 0; in ccu_mp_find_best() local 30 best_m = _m; in ccu_mp_find_best() 36 *m = best_m; in ccu_mp_find_best()
|
D | ccu_nkmp.c | 36 unsigned long best_n = 0, best_k = 0, best_m = 0, best_p = 0; in ccu_nkmp_find_best() local 56 best_m = _m; in ccu_nkmp_find_best() 66 nkmp->m = best_m; in ccu_nkmp_find_best()
|
D | ccu_nm.c | 34 unsigned long best_n = 0, best_m = 0; in ccu_nm_find_best() local 48 best_m = _m; in ccu_nm_find_best() 54 nm->m = best_m; in ccu_nm_find_best()
|
/linux-6.1.9/drivers/gpu/drm/i2c/ |
D | ch7006_mode.c | 261 int m, best_m = 0; in ch7006_setup_pll() local 272 best_m = m; in ch7006_setup_pll() 278 bitf(CH7006_PLLOV_M_8, best_m); in ch7006_setup_pll() 280 regs[CH7006_PLLM] = bitf(CH7006_PLLM_0, best_m); in ch7006_setup_pll() 289 best_n, best_m, best_freq, best_n < 108); in ch7006_setup_pll()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | gk20a.c | 109 u32 best_m, best_n; in gk20a_pllg_calc_mnp() local 119 best_m = clk->params->max_m; in gk20a_pllg_calc_mnp() 177 best_m = m; in gk20a_pllg_calc_mnp() 197 pll->m = best_m; in gk20a_pllg_calc_mnp()
|
/linux-6.1.9/drivers/gpu/drm/bridge/ |
D | chipone-icn6211.c | 253 unsigned int best_p = 0, best_m = 0, best_s = 0; in chipone_configure_pll() local 317 best_m = m; in chipone_configure_pll() 328 best_p >> best_p_pot, best_p_pot, best_m, best_s + 1, in chipone_configure_pll() 330 (fin * best_m) / (best_p << (best_s + 1))); in chipone_configure_pll() 340 chipone_writeb(icn, PLL_INT(0), best_m); in chipone_configure_pll()
|
/linux-6.1.9/drivers/clk/ |
D | clk-axi-clkgen.c | 127 unsigned int *best_d, unsigned int *best_m, unsigned int *best_dout) in axi_clkgen_calc_params() argument 140 *best_m = 0; in axi_clkgen_calc_params() 166 *best_m = m << (3 - fract_shift); in axi_clkgen_calc_params()
|
/linux-6.1.9/drivers/clk/meson/ |
D | clk-pll.c | 217 unsigned int *best_m, in meson_clk_get_pll_settings() argument 234 *best_m = m; in meson_clk_get_pll_settings()
|
/linux-6.1.9/drivers/gpu/drm/kmb/ |
D | kmb_dsi.c | 866 u32 best_n = 0, best_m = 0; in mipi_tx_pll_setup() local 922 best_m = m; in mipi_tx_pll_setup() 936 dev_dbg(kmb_dsi->dev, "m = %d n = %d\n", best_m, best_n); in mipi_tx_pll_setup() 946 (best_m & 0x1f)); in mipi_tx_pll_setup() 952 ((best_m >> 5) & 0x1f) | PLL_FEEDBACK_DIVIDER_HIGH); in mipi_tx_pll_setup()
|
/linux-6.1.9/drivers/video/fbdev/savage/ |
D | savagefb_driver.c | 422 unsigned char n1, n2, best_n1=16+2, best_n2=2, best_m=125+2; in SavageCalcClock() local 449 best_m = m; in SavageCalcClock() 459 *mdiv = best_m - 2; in SavageCalcClock() 470 unsigned char best_n1 = 16+2, best_n2 = 2, best_m = 125+2; in common_calc_clock() local 487 best_m = m; in common_calc_clock() 500 *mdiv = best_m - 2; in common_calc_clock()
|
/linux-6.1.9/drivers/leds/rgb/ |
D | leds-qcom-lpg.c | 262 unsigned int m, best_m = 0; in lpg_calc_freq() local 321 best_m = m; in lpg_calc_freq() 330 chan->pre_div_exp = best_m; in lpg_calc_freq()
|
/linux-6.1.9/drivers/gpu/drm/exynos/ |
D | exynos_drm_dsi.c | 546 u16 _m, best_m; in exynos_dsi_pll_find_pms() local 575 best_m = _m; in exynos_dsi_pll_find_pms() 585 *m = best_m; in exynos_dsi_pll_find_pms()
|