Home
last modified time | relevance | path

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

/bsp/allwinner/libraries/sunxi-hal/hal/source/ccmu/sunxi/sun8iw19p1/
A Dclk_sun8iw19.c997 u64 tmp_rate; in get_factors_pll_cpu() local
1019 u64 tmp_rate; in get_factors_pll_ddr() local
1042 u64 tmp_rate; in get_factors_pll_periph0() local
1065 u64 tmp_rate; in get_factors_pll_periph1() local
1110 tmp_rate = tmp_rate * (factor->factorn + 1); in calc_rate_pll_video()
1142 tmp_rate = tmp_rate * (factor->factorn + 1); in calc_rate_pll_csi()
1152 tmp_rate = tmp_rate * (factor->factorn + 1); in calc_rate_pll_cpu()
1162 tmp_rate = tmp_rate * (factor->factorn + 1); in calc_rate_pll_ddr()
1172 tmp_rate = tmp_rate * (factor->factorn + 1); in calc_rate_pll_periph0()
1181 tmp_rate = tmp_rate * (factor->factorn + 1); in calc_rate_pll_periph1()
[all …]
/bsp/allwinner/libraries/sunxi-hal/hal/source/ccmu/sunxi/sun8iw18p1/
A Dclk_sun8iw18.c752 u64 tmp_rate; in get_factors_pll_cpu() local
760 index = tmp_rate; in get_factors_pll_cpu()
774 u64 tmp_rate; in get_factors_pll_ddr() local
783 index = tmp_rate; in get_factors_pll_ddr()
797 u64 tmp_rate; in get_factors_pll_periph0() local
820 u64 tmp_rate; in get_factors_pll_periph1() local
844 tmp_rate = tmp_rate * (factor->factorn + 1); in calc_rate_pll_cpu()
854 tmp_rate = tmp_rate * (factor->factorn + 1); in calc_rate_pll_ddr()
864 tmp_rate = tmp_rate * (factor->factorn + 1); in calc_rate_pll_periph0()
873 tmp_rate = tmp_rate * (factor->factorn + 1); in calc_rate_pll_periph1()
[all …]
/bsp/allwinner/libraries/sunxi-hal/hal/source/ccmu/sunxi-ng/
A Dccu_mux.c120 unsigned long tmp_rate, parent_rate; in ccu_mux_helper_determine_rate() local
132 tmp_rate = round(cm, parent, &parent_rate, req->rate, data); in ccu_mux_helper_determine_rate()
141 if (tmp_rate == req->rate) in ccu_mux_helper_determine_rate()
145 best_rate = tmp_rate; in ccu_mux_helper_determine_rate()
149 if ((req->rate - tmp_rate) < (req->rate - best_rate)) in ccu_mux_helper_determine_rate()
151 best_rate = tmp_rate; in ccu_mux_helper_determine_rate()
A Dccu_nkm.c30 unsigned long tmp_rate; in ccu_nkm_find_best() local
32 tmp_rate = parent * _n * _k / _m; in ccu_nkm_find_best()
34 if (tmp_rate > rate) in ccu_nkm_find_best()
38 if ((rate - tmp_rate) < (rate - best_rate)) in ccu_nkm_find_best()
40 best_rate = tmp_rate; in ccu_nkm_find_best()
A Dccu_nk.c28 unsigned long tmp_rate = parent * _n * _k; in ccu_nk_find_best() local
30 if (tmp_rate > rate) in ccu_nk_find_best()
35 if ((rate - tmp_rate) < (rate - best_rate)) in ccu_nk_find_best()
37 best_rate = tmp_rate; in ccu_nk_find_best()
A Dccu_nkmp.c64 unsigned long tmp_rate; in ccu_nkmp_find_best() local
66 tmp_rate = ccu_nkmp_calc_rate(parent, in ccu_nkmp_find_best()
70 if (tmp_rate > rate) in ccu_nkmp_find_best()
75 if ((rate - tmp_rate) < (rate - best_rate)) in ccu_nkmp_find_best()
77 best_rate = tmp_rate; in ccu_nkmp_find_best()
A Dccu_mp.c42 unsigned long tmp_rate = parent / _p / _m; in ccu_mp_find_best() local
44 if (tmp_rate > rate) in ccu_mp_find_best()
49 if ((rate - tmp_rate) < (rate - best_rate)) in ccu_mp_find_best()
51 best_rate = tmp_rate; in ccu_mp_find_best()
A Dccu_nm.c39 unsigned long tmp_rate = ccu_nm_calc_rate(parent, in ccu_nm_find_best() local
42 if (tmp_rate > rate) in ccu_nm_find_best()
47 if ((rate - tmp_rate) < (rate - best_rate)) in ccu_nm_find_best()
49 best_rate = tmp_rate; in ccu_nm_find_best()
/bsp/allwinner/libraries/sunxi-hal/hal/source/ccmu/sunxi/
A Dclk_periph.c494 u64 tmp_rate = parent_rate; in sunxi_clk_periph_set_rate() local
495 do_div(tmp_rate, rate); in sunxi_clk_periph_set_rate()
496 div = tmp_rate; in sunxi_clk_periph_set_rate()

Completed in 22 milliseconds