Lines Matching refs:idf
48 struct clkgen_field idf; member
70 .idf = CLKGEN_FIELD(0x2a4, C32_IDF_MASK, 0x0),
83 .idf = CLKGEN_FIELD(0x2cc, C32_IDF_MASK, 0x0),
96 .idf = CLKGEN_FIELD(0x1a8, C32_IDF_MASK, 25),
113 .idf = CLKGEN_FIELD(0x1a8, C28_IDF_MASK, 25),
149 u32 idf; member
161 unsigned long idf; member
287 pll->idf = i; in clk_pll3200c32_get_params()
306 if (!pll->idf) in clk_pll3200c32_get_rate()
307 pll->idf = 1; in clk_pll3200c32_get_rate()
309 *rate = ((2 * (input / 1000) * pll->ndiv) / pll->idf) * 1000; in clk_pll3200c32_get_rate()
318 unsigned long ndiv, idf; in recalc_stm_pll3200c32() local
325 idf = CLKGEN_READ(pll, idf); in recalc_stm_pll3200c32()
327 if (idf) in recalc_stm_pll3200c32()
329 rate = ((2 * (parent_rate/1000) * ndiv) / idf) * 1000; in recalc_stm_pll3200c32()
352 (unsigned int)params.idf); in round_rate_stm_pll3200c32()
374 (unsigned int)params.idf); in set_rate_stm_pll3200c32()
380 pll->idf = params.idf; in set_rate_stm_pll3200c32()
389 CLKGEN_WRITE(pll, idf, pll->idf); in set_rate_stm_pll3200c32()
446 pll->idf = i; in clk_pll4600c28_get_params()
462 if (!pll->idf) in clk_pll4600c28_get_rate()
463 pll->idf = 1; in clk_pll4600c28_get_rate()
465 *rate = (input / pll->idf) * 2 * pll->ndiv; in clk_pll4600c28_get_rate()
481 params.idf = CLKGEN_READ(pll, idf); in recalc_stm_pll4600c28()
506 (unsigned int)params.idf); in round_rate_stm_pll4600c28()
533 (unsigned int)params.idf); in set_rate_stm_pll4600c28()
539 pll->idf = params.idf; in set_rate_stm_pll4600c28()
547 CLKGEN_WRITE(pll, idf, pll->idf); in set_rate_stm_pll4600c28()