Home
last modified time | relevance | path

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

/drivers/iio/frequency/
Dadf4350.c41 unsigned long fpfd; /* Phase Frequency Detector */ member
128 st->fpfd = (st->clkin * (pdata->ref_doubler_en ? 2 : 1)) / in adf4350_tune_r_cnt()
130 } while (st->fpfd > ADF4350_MAX_FREQ_PFD); in adf4350_tune_r_cnt()
174 st->r1_mod = st->fpfd / chspc; in adf4350_set_freq()
183 tmp = freq * (u64)st->r1_mod + (st->fpfd >> 1); in adf4350_set_freq()
184 do_div(tmp, st->fpfd); /* Div round closest (n + d/2)/d */ in adf4350_set_freq()
189 band_sel_div = DIV_ROUND_UP(st->fpfd, ADF4350_MAX_BANDSEL_CLK); in adf4350_set_freq()
203 freq, st->fpfd, r_cnt, st->r0_int, st->r0_fract, st->r1_mod, in adf4350_set_freq()
323 (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.c192 unsigned long fpfd; in rcar_lvds_d3_e3_pll_calc() local
204 fpfd = fin / m; in rcar_lvds_d3_e3_pll_calc()
205 n_min = max_t(unsigned int, 60, DIV_ROUND_UP(900000000, fpfd)); in rcar_lvds_d3_e3_pll_calc()
206 n_max = min_t(unsigned int, 120, 1800000000 / fpfd); in rcar_lvds_d3_e3_pll_calc()
220 fvco = fpfd * n; in rcar_lvds_d3_e3_pll_calc()
Drcar_mipi_dsi.c237 unsigned long fpfd; in rcar_mipi_dsi_parameters_calc() local
240 fpfd = fin / n; in rcar_mipi_dsi_parameters_calc()
243 fout = fpfd * m / divider; in rcar_mipi_dsi_parameters_calc()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c1614 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()