Home
last modified time | relevance | path

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

/drivers/iio/frequency/
Dadf4350.c41 unsigned long fpfd; /* Phase Frequency Detector */ member
122 st->fpfd = (st->clkin * (pdata->ref_doubler_en ? 2 : 1)) / in adf4350_tune_r_cnt()
124 } while (st->fpfd > ADF4350_MAX_FREQ_PFD); in adf4350_tune_r_cnt()
168 st->r1_mod = st->fpfd / chspc; in adf4350_set_freq()
177 tmp = freq * (u64)st->r1_mod + (st->fpfd >> 1); in adf4350_set_freq()
178 do_div(tmp, st->fpfd); /* Div round closest (n + d/2)/d */ in adf4350_set_freq()
183 band_sel_div = DIV_ROUND_UP(st->fpfd, ADF4350_MAX_BANDSEL_CLK); in adf4350_set_freq()
197 freq, st->fpfd, r_cnt, st->r0_int, st->r0_fract, st->r1_mod, in adf4350_set_freq()
317 (u64)st->fpfd; in adf4350_read()
Dadf4371.c171 unsigned long fpfd; member
187 val = (((u64)st->integer * ADF4371_MODULUS1) + st->fract1) * st->fpfd; in adf4371_pll_fract_n_get_rate()
188 tmp = (u64)st->fract2 * st->fpfd; in adf4371_pll_fract_n_get_rate()
274 adf4371_pll_fract_n_compute(freq, st->fpfd, &st->integer, &st->fract1, in adf4371_set_freq()
515 st->fpfd = st->clkin_freq / st->ref_div_factor; in adf4371_setup()
516 } while (st->fpfd > ADF4371_MAX_FREQ_PFD); in adf4371_setup()
519 vco_band_div = DIV_ROUND_UP(st->fpfd, 2400000U); in adf4371_setup()
521 tmp = DIV_ROUND_CLOSEST(st->fpfd, 1000000U); in adf4371_setup()
/drivers/gpu/drm/rcar-du/
Drcar_lvds.c249 unsigned long fpfd; in rcar_lvds_d3_e3_pll_calc() local
261 fpfd = fin / m; in rcar_lvds_d3_e3_pll_calc()
262 n_min = max_t(unsigned int, 60, DIV_ROUND_UP(900000000, fpfd)); in rcar_lvds_d3_e3_pll_calc()
263 n_max = min_t(unsigned int, 120, 1800000000 / fpfd); in rcar_lvds_d3_e3_pll_calc()
277 fvco = fpfd * n; in rcar_lvds_d3_e3_pll_calc()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c1669 u32 div_int, div_frac, fvco3, fpfd, fref3, fcal_div; in wlc_lcnphy_radio_2064_channel_tune_4313() local
1727 fpfd = rfpll_doubler ? (pi->xtalfreq << 1) : (pi->xtalfreq); in wlc_lcnphy_radio_2064_channel_tune_4313()
1739 fref3 = 2 * fpfd; in wlc_lcnphy_radio_2064_channel_tune_4313()
1742 qFref = wlc_lcnphy_qdiv_roundup(fpfd, PLL_2064_MHZ, 16); in wlc_lcnphy_radio_2064_channel_tune_4313()