Lines Matching defs:r1_mod
45 unsigned r1_mod;
174 st->r1_mod = st->fpfd / chspc;
180 } while ((st->r1_mod > ADF4350_MAX_MODULUS) && r_cnt);
183 tmp = freq * (u64)st->r1_mod + (st->fpfd >> 1);
185 st->r0_fract = do_div(tmp, st->r1_mod);
191 if (st->r0_fract && st->r1_mod) {
192 div_gcd = gcd(st->r1_mod, st->r0_fract);
193 st->r1_mod /= div_gcd;
197 st->r1_mod = 1;
203 freq, st->fpfd, r_cnt, st->r0_int, st->r0_fract, st->r1_mod,
211 ADF4350_REG1_MOD(st->r1_mod) |
322 val = (u64)((st->r0_int * st->r1_mod) + st->r0_fract) *
324 do_div(val, st->r1_mod * (1 << st->r4_rf_div_sel));