Home
last modified time | relevance | path

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

/drivers/clk/sunxi-ng/
Dccu_nk.c97 struct _ccu_nk _nk; in ccu_nk_round_rate() local
102 _nk.min_n = nk->n.min ?: 1; in ccu_nk_round_rate()
103 _nk.max_n = nk->n.max ?: 1 << nk->n.width; in ccu_nk_round_rate()
104 _nk.min_k = nk->k.min ?: 1; in ccu_nk_round_rate()
105 _nk.max_k = nk->k.max ?: 1 << nk->k.width; in ccu_nk_round_rate()
107 ccu_nk_find_best(*parent_rate, rate, &_nk); in ccu_nk_round_rate()
108 rate = *parent_rate * _nk.n * _nk.k; in ccu_nk_round_rate()
121 struct _ccu_nk _nk; in ccu_nk_set_rate() local
127 _nk.min_n = nk->n.min ?: 1; in ccu_nk_set_rate()
128 _nk.max_n = nk->n.max ?: 1 << nk->n.width; in ccu_nk_set_rate()
[all …]