Lines Matching refs:odf
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
185 *odf = o; 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
272 odf = 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
357 odf = 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()