Home
last modified time | relevance | path

Searched refs:best_n (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/video/fbdev/
H A Dasiliantfb.c116 best_n = 0xffffffff; in asiliant_calc_dclk2() local
144 best_n = n; in asiliant_calc_dclk2()
156 best_n = n; in asiliant_calc_dclk2()
167 *dclk2_n = best_n - 2; in asiliant_calc_dclk2()
H A Dgbefb.c458 int pll_m, pll_n, pll_p, error, best_m, best_n, best_p, best_error; in compute_gbe_timing() local
473 best_n = best_m = best_p = 0; in compute_gbe_timing()
492 best_n = pll_n; in compute_gbe_timing()
497 if (!best_n || !best_m) in compute_gbe_timing()
501 (best_n << best_p) / best_m; in compute_gbe_timing()
508 timing->pll_n = best_n; in compute_gbe_timing()
H A Dsstfb.c295 int best_n = -1; in sst_calc_pll() local
314 best_n = n; in sst_calc_pll()
321 if (best_n == -1) /* unlikely, but who knows ? */ in sst_calc_pll()
324 t->n = best_n; in sst_calc_pll()
H A Dtridentfb.c840 unsigned char best_m = 0, best_n = 0, best_k = 0; in set_vclk() local
853 best_n = n; in set_vclk()
863 lo = best_n | (best_m << 7); in set_vclk()
866 lo = best_n; in set_vclk()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dgk20a.c110 u32 best_m, best_n; in gk20a_pllg_calc_mnp() local
121 best_n = clk->params->min_n; in gk20a_pllg_calc_mnp()
179 best_n = n; in gk20a_pllg_calc_mnp()
199 pll->n = best_n; in gk20a_pllg_calc_mnp()
/linux/drivers/gpu/drm/bridge/imx/
H A Dimx93-mipi-dsi.c229 unsigned int min_n, max_n, n, best_n = UINT_MAX; in dphy_pll_get_configure_from_opts() local
276 best_n = n; in dphy_pll_get_configure_from_opts()
285 cfg->n = best_n; in dphy_pll_get_configure_from_opts()
/linux/drivers/gpu/drm/kmb/
H A Dkmb_dsi.c866 u32 best_n = 0, best_m = 0; in mipi_tx_pll_setup() local
921 best_n = n; 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()
940 (best_n & 0x0f)); in mipi_tx_pll_setup()
/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-qp.c267 unsigned int best_n = 0; in dw_hdmi_qp_compute_n() local
280 best_n = n; in dw_hdmi_qp_compute_n()
282 best_n_distance = abs(best_n - ideal_n); in dw_hdmi_qp_compute_n()
293 return best_n; in dw_hdmi_qp_compute_n()