Home
last modified time | relevance | path

Searched refs:_k (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/clk/samsung/
H A Dclk-pll.h41 #define PLL_RATE(_fin, _m, _p, _s, _k, _ks) \
42 ((u64)(_fin) * (BIT(_ks) * (_m) + (_k)) / BIT(_ks) / ((_p) << (_s)))
43 #define PLL_VALID_RATE(_fin, _fout, _m, _p, _s, _k, _ks) ((_fout) + \
44 BUILD_BUG_ON_ZERO(PLL_RATE(_fin, _m, _p, _s, _k, _ks) != (_fout)))
73 #define PLL_36XX_RATE(_fin, _rate, _m, _p, _s, _k) \
76 _m, _p, _s, _k, 16), \
80 .kdiv = (_k), \
93 #define PLL_4600_RATE(_fin, _rate, _m, _p, _s, _k, _vsel) \
96 _m, _p, _s, _k, 16), \
100 .kdiv = (_k), \
[all...]
/kernel/linux/linux-6.6/drivers/clk/samsung/
H A Dclk-pll.h43 #define PLL_RATE(_fin, _m, _p, _s, _k, _ks) \
44 ((u64)(_fin) * (BIT(_ks) * (_m) + (_k)) / BIT(_ks) / ((_p) << (_s)))
45 #define PLL_VALID_RATE(_fin, _fout, _m, _p, _s, _k, _ks) ((_fout) + \
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) \
60 _m, _p, _s, _k, 16), \
64 .kdiv = (_k), \
77 #define PLL_4600_RATE(_fin, _rate, _m, _p, _s, _k, _vsel) \
80 _m, _p, _s, _k, 16), \
84 .kdiv = (_k), \
[all...]
/kernel/linux/linux-6.6/drivers/clk/sunxi-ng/
H A 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 < in ccu_nkm_find_best()
[all...]
H A 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()
H A 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()
/kernel/linux/linux-5.10/drivers/clk/sunxi-ng/
H A 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()
H A 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()
H A Dccu_nkm.c24 unsigned long _n, _k, _m; in ccu_nkm_find_best() local
26 for (_k = nkm->min_k; _k <= nkm->max_k; _k++) { in ccu_nkm_find_best()
31 tmp_rate = parent * _n * _k / _m; in ccu_nkm_find_best()
38 best_k = _k; in ccu_nkm_find_best()
/kernel/linux/linux-5.10/arch/mips/include/asm/sn/
H A Dklconfig.h180 #define PTR_CH_MALLOC_HDR(_k) ((klc_malloc_hdr_t *)\
181 ((unsigned long)_k + (_k->ch_malloc_hdr_off)))
185 #define PTR_CH_CONS_INFO(_k) ((console_t *)\
186 ((unsigned long)_k + (_k->ch_cons_off)))
/kernel/linux/linux-6.6/arch/mips/include/asm/sn/
H A Dklconfig.h180 #define PTR_CH_MALLOC_HDR(_k) ((klc_malloc_hdr_t *)\
181 ((unsigned long)_k + (_k->ch_malloc_hdr_off)))
185 #define PTR_CH_CONS_INFO(_k) ((console_t *)\
186 ((unsigned long)_k + (_k->ch_cons_off)))
/kernel/linux/linux-5.10/include/linux/
H A Dpktcdvd.h160 #define to_pktcdvdkobj(_k) \
161 ((struct pktcdvd_kobj*)container_of(_k,struct pktcdvd_kobj,kobj))
/kernel/linux/linux-6.6/drivers/clk/imx/
H A Dclk.h271 #define PLL_1443X_RATE(_rate, _m, _p, _s, _k) \
277 .kdiv = (_k), \
/kernel/linux/linux-5.10/drivers/clk/imx/
H A Dclk.h187 #define PLL_1443X_RATE(_rate, _m, _p, _s, _k) \
193 .kdiv = (_k), \
/kernel/linux/linux-6.6/drivers/clk/rockchip/
H A Dclk.h322 #define RK3588_PLL_RATE(_rate, _p, _m, _s, _k) \
328 .k = _k, \
/kernel/linux/linux-6.6/lib/
H A Dbch.c974 #define find_poly_roots(_p, _k, _elp, _loc) chien_search(_p, len, _elp, _loc)
/kernel/linux/linux-5.10/lib/
H A Dbch.c1008 #define find_poly_roots(_p, _k, _elp, _loc) chien_search(_p, len, _elp, _loc)

Completed in 16 milliseconds