Home
last modified time | relevance | path

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

/freebsd/sys/arm64/freescale/imx/clk/
H A Dimx_clk_composite.c208 int p_idx, best_parent; in imx_clk_composite_set_freq() local
220 best_parent = -1; in imx_clk_composite_set_freq()
237 best_parent = p_idx; in imx_clk_composite_set_freq()
248 if (best_parent == -1) in imx_clk_composite_set_freq()
257 if (p_idx != best_parent) { in imx_clk_composite_set_freq()
259 best_parent); in imx_clk_composite_set_freq()
260 clknode_set_parent_by_idx(clk, best_parent); in imx_clk_composite_set_freq()
/freebsd/sys/dev/clk/rockchip/
H A Drk_clk_mux.c171 int p_idx, best_parent; in rk_clk_mux_set_freq() local
196 best_parent = p_idx; in rk_clk_mux_set_freq()
209 if (p_idx != best_parent) { in rk_clk_mux_set_freq()
211 best_parent); in rk_clk_mux_set_freq()
212 clknode_set_parent_by_idx(clk, best_parent); in rk_clk_mux_set_freq()
H A Drk_clk_composite.c231 int p_idx, best_parent; in rk_clk_composite_set_freq() local
248 best_parent = p_idx; in rk_clk_composite_set_freq()
271 if (p_idx != best_parent) { in rk_clk_composite_set_freq()
273 best_parent); in rk_clk_composite_set_freq()
274 clknode_set_parent_by_idx(clk, best_parent); in rk_clk_composite_set_freq()
/freebsd/sys/dev/clk/allwinner/
H A Daw_clk_nm.c181 int p_idx, best_parent, retry; in aw_clk_nm_set_freq() local
186 best_parent = 0; in aw_clk_nm_set_freq()
198 best_parent = p_idx; in aw_clk_nm_set_freq()
233 if ((sc->flags & AW_CLK_REPARENT) != 0 && p_idx != best_parent) in aw_clk_nm_set_freq()
234 clknode_set_parent_by_idx(clk, best_parent); in aw_clk_nm_set_freq()