Searched refs:fpfd (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/iio/frequency/ |
| H A D | adf4350.c | 45 unsigned long fpfd; /* Phase Frequency Detector */ member 134 st->fpfd = (st->clkin * (pdata->ref_doubler_en ? 2 : 1)) / in adf4350_tune_r_cnt() 136 } while (st->fpfd > ADF4350_MAX_FREQ_PFD); in adf4350_tune_r_cnt() 186 st->r1_mod = st->fpfd / chspc; in adf4350_set_freq() 195 tmp = freq * (u64)st->r1_mod + (st->fpfd >> 1); in adf4350_set_freq() 196 do_div(tmp, st->fpfd); /* Div round closest (n + d/2)/d */ in adf4350_set_freq() 201 band_sel_div = DIV_ROUND_UP(st->fpfd, ADF4350_MAX_BANDSEL_CLK); in adf4350_set_freq() 215 freq, st->fpfd, r_cnt, st->r0_int, st->r0_fract, st->r1_mod, in adf4350_set_freq() 335 (u64)st->fpfd; in adf4350_read() 409 tmp = (u64)(st->r0_int * st->r1_mod + st->r0_fract) * st->fpfd; in adf4350_clk_recalc_rate()
|
| H A D | adf4371.c | 182 unsigned long fpfd; member 199 val = (((u64)st->integer * ADF4371_MODULUS1) + st->fract1) * st->fpfd; in adf4371_pll_fract_n_get_rate() 200 tmp = (u64)st->fract2 * st->fpfd; in adf4371_pll_fract_n_get_rate() 286 adf4371_pll_fract_n_compute(freq, st->fpfd, &st->integer, &st->fract1, in adf4371_set_freq() 545 st->fpfd = st->clkin_freq * (1 + ref_doubler_en) / in adf4371_setup() 547 } while (st->fpfd > ADF4371_MAX_FREQ_PFD); in adf4371_setup() 550 vco_band_div = DIV_ROUND_UP(st->fpfd, 2400000U); in adf4371_setup() 552 tmp = DIV_ROUND_CLOSEST(st->fpfd, 1000000U); in adf4371_setup()
|
| /linux/drivers/gpu/drm/renesas/rcar-du/ |
| H A D | rcar_mipi_dsi.c | 347 unsigned long fpfd; in rcar_mipi_dsi_pll_calc() local 349 fpfd = fin_rate / n; in rcar_mipi_dsi_pll_calc() 351 if (fpfd < info->fpfd_min || fpfd > info->fpfd_max) in rcar_mipi_dsi_pll_calc() 358 fout = div64_u64((u64)fpfd * m, dsi->info->n_mul); in rcar_mipi_dsi_pll_calc()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
| H A D | phy_lcn.c | 1614 u32 div_int, div_frac, fvco3, fpfd, fref3, fcal_div; in wlc_lcnphy_radio_2064_channel_tune_4313() local 1672 fpfd = rfpll_doubler ? (pi->xtalfreq << 1) : (pi->xtalfreq); in wlc_lcnphy_radio_2064_channel_tune_4313() 1684 fref3 = 2 * fpfd; in wlc_lcnphy_radio_2064_channel_tune_4313()
|