Lines Matching refs:refclk
391 u8 refclk[REFCLK_SIZE]; member
467 .refclk[0] = (p1), \
468 .refclk[1] = (p2), \
469 .refclk[2] = (p3), \
470 .refclk[3] = (p4), \
815 ulong refclk, dfout; in stm32mp1_read_pll_freq() local
841 refclk = stm32mp1_clk_get_fixed(priv, pll[pll_id].refclk[src]); in stm32mp1_read_pll_freq()
843 debug(" refclk = %d kHz\n", (u32)(refclk / 1000)); in stm32mp1_read_pll_freq()
857 dfout = (ulong)lldiv((unsigned long long)refclk * in stm32mp1_read_pll_freq()
862 dfout = (ulong)(refclk * (divn + 1) / (divm + 1) * (divy + 1)); in stm32mp1_read_pll_freq()
1320 ulong refclk; in pll_config() local
1326 refclk = stm32mp1_clk_get_fixed(priv, pll[pll_id].refclk[src]) / in pll_config()
1329 if (refclk < (stm32mp1_pll[type].refclk_min * 1000000) || in pll_config()
1330 refclk > (stm32mp1_pll[type].refclk_max * 1000000)) { in pll_config()
1331 debug("invalid refclk = %x\n", (u32)refclk); in pll_config()
1334 if (type == PLL_800 && refclk >= 8000000) in pll_config()