Home
last modified time | relevance | path

Searched refs:mux_div (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/clk/mmp/
A Dclk-mix.c139 u32 mux_div, fc_req; in _set_rate() local
151 mux_div = readl(ri->reg_clk_ctrl); in _set_rate()
153 mux_div = readl(ri->reg_clk_sel); in _set_rate()
170 writel(mux_div, ri->reg_clk_ctrl); in _set_rate()
172 mux_div |= (1 << ri->bit_fc); in _set_rate()
173 writel(mux_div, ri->reg_clk_ctrl); in _set_rate()
192 writel(mux_div, ri->reg_clk_sel); in _set_rate()
294 u32 mux_div = 0; in mmp_clk_mix_get_parent() local
305 mux_div = readl(ri->reg_clk_sel); in mmp_clk_mix_get_parent()
324 u32 mux_div = 0; in mmp_clk_mix_recalc_rate() local
[all …]
/linux/drivers/clk/qcom/
A Dclk-rcg2.c815 u8 mux_div = cgfx->div; in clk_gfx3d_determine_rate() local
835 if (mux_div == 0) in clk_gfx3d_determine_rate()
836 mux_div = 1; in clk_gfx3d_determine_rate()
838 parent_req.rate = req->rate * mux_div; in clk_gfx3d_determine_rate()
866 req->rate /= mux_div; in clk_gfx3d_determine_rate()

Completed in 9 milliseconds