Home
last modified time | relevance | path

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

/freebsd/sys/arm64/freescale/imx/clk/
H A Dimx_clk_composite.c136 uint32_t reg, pre_div, post_div; in imx_clk_composite_recalc() local
146 post_div = ((reg & TARGET_ROOT_POST_PODF_MASK) in imx_clk_composite_recalc()
150 *freq = *freq / pre_div / post_div; in imx_clk_composite_recalc()
157 uint32_t *pre_div, uint32_t *post_div, int flags) in imx_clk_composite_find_best() argument
196 *post_div = best_postdiv; in imx_clk_composite_find_best()
211 int32_t pre_div, post_div; in imx_clk_composite_set_freq() local
228 if (!imx_clk_composite_find_best(fparent, *fout, &pre_div, &post_div, sc->flags)) in imx_clk_composite_set_freq()
230 cur = fparent / pre_div / post_div; in imx_clk_composite_set_freq()
236 best_post_div = post_div; in imx_clk_composite_set_freq()
269 val |= TARGET_ROOT_POST_PODF(post_div); in imx_clk_composite_set_freq()