Lines Matching refs:n_counter
104 u32 n_counter; member
113 struct admv4420_n_counter n_counter; member
204 return div_u64(st->vco_freq_hz * 10, st->n_counter.n_counter); in admv4420_calc_pfd_vco()
231 for (st->n_counter.n_counter = 1; st->n_counter.n_counter < MAX_N_COUNTER; in admv4420_calc_parameters()
232 st->n_counter.n_counter++) { in admv4420_calc_parameters()
243 st->n_counter.n_counter = 1; in admv4420_calc_parameters()
248 st->n_counter.int_val = div_u64_rem(st->n_counter.n_counter, 10, &st->n_counter.frac_val); in admv4420_calc_parameters()
249 st->n_counter.mod_val = 10; in admv4420_calc_parameters()
330 ret = admv4420_set_n_counter(st, st->n_counter.int_val, in admv4420_setup()
331 st->n_counter.frac_val, in admv4420_setup()
332 st->n_counter.mod_val); in admv4420_setup()