Lines Matching refs:mult
78 u32 mult, mfn, mfd; in clk_pllv4_recalc_rate() local
81 mult = readl_relaxed(pll->base + pll->cfg_offset); in clk_pllv4_recalc_rate()
82 mult &= BM_PLL_MULT; in clk_pllv4_recalc_rate()
83 mult >>= BP_PLL_MULT; in clk_pllv4_recalc_rate()
91 return (parent_rate * mult) + (u32)temp64; in clk_pllv4_recalc_rate()
141 static bool clk_pllv4_is_valid_mult(unsigned int mult) in clk_pllv4_is_valid_mult() argument
147 if (pllv4_mult_table[i] == mult) in clk_pllv4_is_valid_mult()
158 u32 val, mult, mfn, mfd = DEFAULT_MFD; in clk_pllv4_set_rate() local
161 mult = rate / parent_rate; in clk_pllv4_set_rate()
163 if (!clk_pllv4_is_valid_mult(mult)) in clk_pllv4_set_rate()
169 temp64 = (u64)(rate - mult * parent_rate); in clk_pllv4_set_rate()
176 val |= mult << BP_PLL_MULT; in clk_pllv4_set_rate()