Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/frequency/
H A Dadf4371.c174 unsigned int fract2; member
188 tmp = (u64)st->fract2 * st->fpfd; in adf4371_pll_fract_n_get_rate()
211 unsigned int *fract2, in adf4371_pll_fract_n_compute() argument
219 *fract2 = do_div(tmp, pfd); in adf4371_pll_fract_n_compute()
228 *fract2 >>= 1; in adf4371_pll_fract_n_compute()
231 gcd_div = gcd(*fract2, *mod2); in adf4371_pll_fract_n_compute()
233 *fract2 /= gcd_div; in adf4371_pll_fract_n_compute()
275 &st->fract2, &st->mod2); in adf4371_set_freq()
282 st->buf[6] = ADF4371_FRAC2WORD_L(st->fract2 & 0x7F) | in adf4371_set_freq()
284 st->buf[7] = ADF4371_FRAC2WORD_H(st->fract2 >> 7); in adf4371_set_freq()
[all …]