Lines Matching refs:_nm
123 struct _ccu_nm _nm; in ccu_nm_round_rate() local
154 _nm.min_n = nm->n.min ?: 1; in ccu_nm_round_rate()
155 _nm.max_n = nm->n.max ?: 1 << nm->n.width; in ccu_nm_round_rate()
156 _nm.min_m = 1; in ccu_nm_round_rate()
157 _nm.max_m = nm->m.max ?: 1 << nm->m.width; in ccu_nm_round_rate()
159 rate = ccu_nm_find_best(&nm->common, *parent_rate, rate, &_nm); in ccu_nm_round_rate()
171 struct _ccu_nm _nm; in ccu_nm_set_rate() local
197 _nm.min_n = nm->n.min ?: 1; in ccu_nm_set_rate()
198 _nm.max_n = nm->n.max ?: 1 << nm->n.width; in ccu_nm_set_rate()
199 _nm.min_m = 1; in ccu_nm_set_rate()
200 _nm.max_m = nm->m.max ?: 1 << nm->m.width; in ccu_nm_set_rate()
207 &_nm.m, &_nm.n); in ccu_nm_set_rate()
210 ccu_nm_find_best(&nm->common, parent_rate, rate, &_nm); in ccu_nm_set_rate()
219 reg |= (_nm.n - nm->n.offset) << nm->n.shift; in ccu_nm_set_rate()
220 reg |= (_nm.m - nm->m.offset) << nm->m.shift; in ccu_nm_set_rate()