Lines Matching refs:_nm
124 struct _ccu_nm _nm;
155 _nm.min_n = nm->n.min ?: 1;
156 _nm.max_n = nm->n.max ?: 1 << nm->n.width;
157 _nm.min_m = 1;
158 _nm.max_m = nm->m.max ?: 1 << nm->m.width;
160 ccu_nm_find_best(*parent_rate, rate, &_nm);
161 rate = ccu_nm_calc_rate(*parent_rate, _nm.n, _nm.m);
173 struct _ccu_nm _nm;
199 _nm.min_n = nm->n.min ?: 1;
200 _nm.max_n = nm->n.max ?: 1 << nm->n.width;
201 _nm.min_m = 1;
202 _nm.max_m = nm->m.max ?: 1 << nm->m.width;
209 &_nm.m, &_nm.n);
212 ccu_nm_find_best(parent_rate, rate, &_nm);
221 reg |= (_nm.n - nm->n.offset) << nm->n.shift;
222 reg |= (_nm.m - nm->m.offset) << nm->m.shift;