Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/clk/samsung/
Dclk-pll.h43 #define PLL_RATE(_fin, _m, _p, _s, _k, _ks) \ argument
44 ((u64)(_fin) * (BIT(_ks) * (_m) + (_k)) / BIT(_ks) / ((_p) << (_s)))
45 #define PLL_VALID_RATE(_fin, _fout, _m, _p, _s, _k, _ks) ((_fout) + \ argument
46 BUILD_BUG_ON_ZERO(PLL_RATE(_fin, _m, _p, _s, _k, _ks) != (_fout)))
57 #define PLL_36XX_RATE(_fin, _rate, _m, _p, _s, _k) \ argument
60 _m, _p, _s, _k, 16), \
64 .kdiv = (_k), \
77 #define PLL_4600_RATE(_fin, _rate, _m, _p, _s, _k, _vsel) \ argument
80 _m, _p, _s, _k, 16), \
84 .kdiv = (_k), \
[all …]
/Linux-v6.6/drivers/clk/sunxi-ng/
Dccu_nkm.c26 unsigned long _n, _k, _m; in ccu_nkm_find_best_with_parent_adj() local
28 for (_k = nkm->min_k; _k <= nkm->max_k; _k++) { in ccu_nkm_find_best_with_parent_adj()
33 tmp_parent = clk_hw_round_rate(parent_hw, rate * _m / (_n * _k)); in ccu_nkm_find_best_with_parent_adj()
35 tmp_rate = tmp_parent * _n * _k / _m; in ccu_nkm_find_best_with_parent_adj()
42 best_k = _k; in ccu_nkm_find_best_with_parent_adj()
63 unsigned long _n, _k, _m; in ccu_nkm_find_best() local
65 for (_k = nkm->min_k; _k <= nkm->max_k; _k++) { in ccu_nkm_find_best()
70 tmp_rate = parent * _n * _k / _m; in ccu_nkm_find_best()
75 best_k = _k; in ccu_nkm_find_best()
Dccu_nk.c23 unsigned int _k, _n; in ccu_nk_find_best() local
25 for (_k = nk->min_k; _k <= nk->max_k; _k++) { in ccu_nk_find_best()
27 unsigned long tmp_rate = parent * _n * _k; in ccu_nk_find_best()
34 best_k = _k; in ccu_nk_find_best()
Dccu_nkmp.c37 unsigned long _n, _k, _m, _p; in ccu_nkmp_find_best() local
39 for (_k = nkmp->min_k; _k <= nkmp->max_k; _k++) { in ccu_nkmp_find_best()
46 _n, _k, in ccu_nkmp_find_best()
55 best_k = _k; in ccu_nkmp_find_best()
/Linux-v6.6/arch/mips/include/asm/sn/
Dklconfig.h180 #define PTR_CH_MALLOC_HDR(_k) ((klc_malloc_hdr_t *)\ argument
181 ((unsigned long)_k + (_k->ch_malloc_hdr_off)))
185 #define PTR_CH_CONS_INFO(_k) ((console_t *)\ argument
186 ((unsigned long)_k + (_k->ch_cons_off)))
/Linux-v6.6/drivers/clk/imx/
Dclk.h271 #define PLL_1443X_RATE(_rate, _m, _p, _s, _k) \ argument
277 .kdiv = (_k), \
/Linux-v6.6/drivers/clk/rockchip/
Dclk.h322 #define RK3588_PLL_RATE(_rate, _p, _m, _s, _k) \ argument
328 .k = _k, \
/Linux-v6.6/lib/
Dbch.c974 #define find_poly_roots(_p, _k, _elp, _loc) chien_search(_p, len, _elp, _loc) argument