Lines Matching refs:idf
48 struct clkgen_field idf; member
81 .idf = CLKGEN_FIELD(0x2a4, C32_IDF_MASK, 0x0),
116 .idf = CLKGEN_FIELD(0x2cc, C32_IDF_MASK, 0x0),
142 .idf = CLKGEN_FIELD(0x1a8, C32_IDF_MASK, 25),
168 .idf = CLKGEN_FIELD(0x1a8, C28_IDF_MASK, 25),
212 u32 idf; member
223 unsigned long idf; member
349 pll->idf = i; in clk_pll3200c32_get_params()
368 if (!pll->idf) in clk_pll3200c32_get_rate()
369 pll->idf = 1; in clk_pll3200c32_get_rate()
371 *rate = ((2 * (input / 1000) * pll->ndiv) / pll->idf) * 1000; in clk_pll3200c32_get_rate()
380 unsigned long ndiv, idf; in recalc_stm_pll3200c32() local
387 idf = CLKGEN_READ(pll, idf); in recalc_stm_pll3200c32()
389 if (idf) in recalc_stm_pll3200c32()
391 rate = ((2 * (parent_rate/1000) * ndiv) / idf) * 1000; in recalc_stm_pll3200c32()
414 (unsigned int)params.idf); in round_rate_stm_pll3200c32()
436 (unsigned int)params.idf); in set_rate_stm_pll3200c32()
442 pll->idf = params.idf; in set_rate_stm_pll3200c32()
451 CLKGEN_WRITE(pll, idf, pll->idf); in set_rate_stm_pll3200c32()
508 pll->idf = i; in clk_pll4600c28_get_params()
524 if (!pll->idf) in clk_pll4600c28_get_rate()
525 pll->idf = 1; in clk_pll4600c28_get_rate()
527 *rate = (input / pll->idf) * 2 * pll->ndiv; in clk_pll4600c28_get_rate()
543 params.idf = CLKGEN_READ(pll, idf); in recalc_stm_pll4600c28()
568 (unsigned int)params.idf); in round_rate_stm_pll4600c28()
595 (unsigned int)params.idf); in set_rate_stm_pll4600c28()
601 pll->idf = params.idf; in set_rate_stm_pll4600c28()
609 CLKGEN_WRITE(pll, idf, pll->idf); in set_rate_stm_pll4600c28()