Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/iio/frequency/
Dadf4350.c44 unsigned r0_fract; member
186 st->r0_fract = do_div(tmp, st->r1_mod); in adf4350_set_freq()
192 if (st->r0_fract && st->r1_mod) { in adf4350_set_freq()
193 div_gcd = gcd(st->r1_mod, st->r0_fract); in adf4350_set_freq()
195 st->r0_fract /= div_gcd; in adf4350_set_freq()
197 st->r0_fract = 0; in adf4350_set_freq()
204 freq, st->fpfd, r_cnt, st->r0_int, st->r0_fract, st->r1_mod, in adf4350_set_freq()
209 ADF4350_REG0_FRACT(st->r0_fract); in adf4350_set_freq()
323 val = (u64)((st->r0_int * st->r1_mod) + st->r0_fract) * in adf4350_read()