Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/clk/sunxi-ng/
Dccu_nkm.c113 struct _ccu_nkm _nkm; in ccu_nkm_round_rate() local
115 _nkm.min_n = nkm->n.min ?: 1; in ccu_nkm_round_rate()
116 _nkm.max_n = nkm->n.max ?: 1 << nkm->n.width; in ccu_nkm_round_rate()
117 _nkm.min_k = nkm->k.min ?: 1; in ccu_nkm_round_rate()
118 _nkm.max_k = nkm->k.max ?: 1 << nkm->k.width; in ccu_nkm_round_rate()
119 _nkm.min_m = 1; in ccu_nkm_round_rate()
120 _nkm.max_m = nkm->m.max ?: 1 << nkm->m.width; in ccu_nkm_round_rate()
125 ccu_nkm_find_best(*parent_rate, rate, &_nkm); in ccu_nkm_round_rate()
127 rate = *parent_rate * _nkm.n * _nkm.k / _nkm.m; in ccu_nkm_round_rate()
148 struct _ccu_nkm _nkm; in ccu_nkm_set_rate() local
[all …]