Lines Matching refs:idf
130 static int dsi_pll_get_clkout_khz(int clkin_khz, int idf, int ndiv, int odf) in dsi_pll_get_clkout_khz() argument
132 int divisor = idf * odf; in dsi_pll_get_clkout_khz()
143 int *idf, int *ndiv, int *odf) in dsi_pll_get_params() argument
183 *idf = i; in dsi_pll_get_params()
246 unsigned int idf, ndiv, odf, pll_in_khz, pll_out_khz; in dw_mipi_dsi_get_lane_mbps() local
270 idf = 0; in dw_mipi_dsi_get_lane_mbps()
274 &idf, &ndiv, &odf); in dw_mipi_dsi_get_lane_mbps()
279 pll_out_khz = dsi_pll_get_clkout_khz(pll_in_khz, idf, ndiv, odf); in dw_mipi_dsi_get_lane_mbps()
283 (ndiv << 2) | (idf << 11) | ((ffs(odf) - 1) << 16)); in dw_mipi_dsi_get_lane_mbps()
333 unsigned int idf, ndiv, odf, pll_in_khz, pll_out_khz; in dw_mipi_dsi_stm_mode_valid() local
355 idf = 0; in dw_mipi_dsi_stm_mode_valid()
359 ret = dsi_pll_get_params(dsi, pll_in_khz, pll_out_khz, &idf, &ndiv, &odf); in dw_mipi_dsi_stm_mode_valid()
371 pll_out_khz = dsi_pll_get_clkout_khz(pll_in_khz, idf, ndiv, odf); in dw_mipi_dsi_stm_mode_valid()