Home
last modified time | relevance | path

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

/f-stack/freebsd/arm64/rockchip/clk/
H A Drk_clk_mux.c136 int p_idx, best_parent; in rk_clk_mux_set_freq() local
148 for (p_idx = 0; p_idx != clknode_get_parents_num(clk); p_idx++) { in rk_clk_mux_set_freq()
149 p_clk = clknode_find_by_name(p_names[p_idx]); in rk_clk_mux_set_freq()
151 clknode_get_name(p_clk), p_idx); in rk_clk_mux_set_freq()
155 clknode_get_name(p_clk), p_idx, rv); in rk_clk_mux_set_freq()
157 best_parent = p_idx; in rk_clk_mux_set_freq()
169 p_idx = clknode_get_parent_idx(clk); in rk_clk_mux_set_freq()
170 if (p_idx != best_parent) { in rk_clk_mux_set_freq()
171 dprintf("Switching parent index from %d to %d\n", p_idx, in rk_clk_mux_set_freq()
H A Drk_clk_composite.c263 int p_idx, best_parent; in rk_clk_composite_set_freq() local
268 for (best_div = 0, best = 0, p_idx = 0; in rk_clk_composite_set_freq()
269 p_idx != clknode_get_parents_num(clk); p_idx++) { in rk_clk_composite_set_freq()
270 p_clk = clknode_find_by_name(p_names[p_idx]); in rk_clk_composite_set_freq()
273 clknode_get_name(p_clk), p_idx, fparent); in rk_clk_composite_set_freq()
280 best_parent = p_idx; in rk_clk_composite_set_freq()
282 "%ju\n", clknode_get_name(p_clk), p_idx, best); in rk_clk_composite_set_freq()
302 p_idx = clknode_get_parent_idx(clk); in rk_clk_composite_set_freq()
303 if (p_idx != best_parent) { in rk_clk_composite_set_freq()
304 dprintf("Switching parent index from %d to %d\n", p_idx, in rk_clk_composite_set_freq()
/f-stack/freebsd/arm64/freescale/imx/clk/
H A Dimx_clk_composite.c213 int p_idx, best_parent; in imx_clk_composite_set_freq() local
225 for (p_idx = 0; p_idx != clknode_get_parents_num(clk); p_idx++) { in imx_clk_composite_set_freq()
226 p_clk = clknode_find_by_name(p_names[p_idx]); in imx_clk_composite_set_freq()
229 clknode_get_name(p_clk), p_idx, fparent); in imx_clk_composite_set_freq()
240 best_parent = p_idx; in imx_clk_composite_set_freq()
242 "%ju\n", clknode_get_name(p_clk), p_idx, best); in imx_clk_composite_set_freq()
255 p_idx = clknode_get_parent_idx(clk); in imx_clk_composite_set_freq()
256 if (p_idx != best_parent) { in imx_clk_composite_set_freq()
257 dprintf("Switching parent index from %d to %d\n", p_idx, in imx_clk_composite_set_freq()
/f-stack/freebsd/arm/allwinner/clkng/
H A Daw_clk_nm.c186 int p_idx, best_parent, retry; in aw_clk_nm_set_freq() local
195 for (p_idx = 0; p_idx != clknode_get_parents_num(clk); p_idx++) { in aw_clk_nm_set_freq()
196 p_clk = clknode_find_by_name(p_names[p_idx]); in aw_clk_nm_set_freq()
203 best_parent = p_idx; in aw_clk_nm_set_freq()
209 p_idx = clknode_get_parent_idx(clk); in aw_clk_nm_set_freq()
238 if ((sc->flags & AW_CLK_REPARENT) != 0 && p_idx != best_parent) in aw_clk_nm_set_freq()
/f-stack/dpdk/lib/librte_eal/linux/
H A Deal_memalloc.c1236 int p_idx, l_chunk_len, p_chunk_len, ret; in sync_status() local
1258 while (p_idx >= 0) { in sync_status()
1263 p_idx); in sync_status()
1265 p_idx); in sync_status()
1268 p_idx); in sync_status()
1270 p_idx); in sync_status()
1286 start = p_idx + l_chunk_len; in sync_status()
1287 end = p_idx + p_chunk_len; in sync_status()
1297 next_chunk_search_idx = p_idx + p_chunk_len; in sync_status()
1301 p_idx = rte_fbarray_find_next_used(p_arr, in sync_status()
[all …]
/f-stack/freebsd/arm/nvidia/tegra124/
H A Dtegra124_clk_pll.c802 int p_idx, rv; in plld2_set_freq() local
808 for (p_idx = 0; tbl[p_idx].divider != 0; p_idx++) { in plld2_set_freq()
809 p = tbl[p_idx].divider; in plld2_set_freq()
/f-stack/freebsd/arm64/nvidia/tegra210/
H A Dtegra210_clk_pll.c1025 int p_idx, rv; in plld2_set_freq() local
1031 for (p_idx = 0; tbl[p_idx].divider != 0; p_idx++) { in plld2_set_freq()
1032 p = tbl[p_idx].divider; in plld2_set_freq()