clkin_khz         130 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c static int dsi_pll_get_clkout_khz(int clkin_khz, int idf, int ndiv, int odf)
clkin_khz         138 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c 	return DIV_ROUND_CLOSEST(clkin_khz * ndiv, divisor);
clkin_khz         142 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c 			      int clkin_khz, int clkout_khz,
clkin_khz         149 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c 	if (clkin_khz <= 0 || clkout_khz <= 0)
clkin_khz         159 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c 		n_min = ((fvco_min * i) / (2 * clkin_khz)) + 1;
clkin_khz         160 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c 		n_max = (fvco_max * i) / (2 * clkin_khz);
clkin_khz         173 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c 			n = DIV_ROUND_CLOSEST(i * o * clkout_khz, clkin_khz);
clkin_khz         178 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c 			delta = dsi_pll_get_clkout_khz(clkin_khz, i, n, o) -