Home
last modified time | relevance | path

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

/drivers/clk/sunxi-ng/
Dccu_nm.c124 struct _ccu_nm _nm; in ccu_nm_round_rate() local
155 _nm.min_n = nm->n.min ?: 1; in ccu_nm_round_rate()
156 _nm.max_n = nm->n.max ?: 1 << nm->n.width; in ccu_nm_round_rate()
157 _nm.min_m = 1; in ccu_nm_round_rate()
158 _nm.max_m = nm->m.max ?: 1 << nm->m.width; in ccu_nm_round_rate()
160 ccu_nm_find_best(*parent_rate, rate, &_nm); in ccu_nm_round_rate()
161 rate = ccu_nm_calc_rate(*parent_rate, _nm.n, _nm.m); in ccu_nm_round_rate()
173 struct _ccu_nm _nm; in ccu_nm_set_rate() local
199 _nm.min_n = nm->n.min ?: 1; in ccu_nm_set_rate()
200 _nm.max_n = nm->n.max ?: 1 << nm->n.width; in ccu_nm_set_rate()
[all …]