Searched refs:div_val (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/clk/mmp/
H A Dclk-mix.c134 static int _set_rate(struct mmp_clk_mix *mix, u32 mux_val, u32 div_val, _set_rate() argument
159 mux_div |= MMP_CLK_BITS_SET_VAL(div_val, width, shift); _set_rate()
280 u32 div_val, mux_val; mmp_clk_mix_set_rate_and_parent() local
283 div_val = _get_div_val(mix, div); mmp_clk_mix_set_rate_and_parent()
286 return _set_rate(mix, mux_val, div_val, 1, 1); mmp_clk_mix_set_rate_and_parent()
353 u32 div_val, mux_val; mmp_clk_set_parent() local
364 div_val = _get_div_val(mix, item->divisor); mmp_clk_set_parent()
370 div_val = 0; mmp_clk_set_parent()
373 return _set_rate(mix, mux_val, div_val, 1, div_val ? 1 : 0); mmp_clk_set_parent()

Completed in 60 milliseconds