Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/clk/sunxi-ng/
Dccu_nkm.c22 struct ccu_nkm *nkm = container_of(common, struct ccu_nkm, common); in ccu_nkm_is_valid_rate() local
24 if (nkm->max_m_n_ratio && (m > nkm->max_m_n_ratio * n)) in ccu_nkm_is_valid_rate()
27 if (nkm->min_parent_m_ratio && (parent < nkm->min_parent_m_ratio * m)) in ccu_nkm_is_valid_rate()
36 struct _ccu_nkm *nkm) in ccu_nkm_find_best_with_parent_adj() argument
42 for (_k = nkm->min_k; _k <= nkm->max_k; _k++) { in ccu_nkm_find_best_with_parent_adj()
43 for (_n = nkm->min_n; _n <= nkm->max_n; _n++) { in ccu_nkm_find_best_with_parent_adj()
44 for (_m = nkm->min_m; _m <= nkm->max_m; _m++) { in ccu_nkm_find_best_with_parent_adj()
66 nkm->n = best_n; in ccu_nkm_find_best_with_parent_adj()
67 nkm->k = best_k; in ccu_nkm_find_best_with_parent_adj()
68 nkm->m = best_m; in ccu_nkm_find_best_with_parent_adj()
[all …]