Searched refs:fpfd (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/iio/frequency/ |
D | adf4350.c | 42 unsigned long fpfd; /* Phase Frequency Detector */ member 129 st->fpfd = (st->clkin * (pdata->ref_doubler_en ? 2 : 1)) / in adf4350_tune_r_cnt() 131 } while (st->fpfd > ADF4350_MAX_FREQ_PFD); in adf4350_tune_r_cnt() 175 st->r1_mod = st->fpfd / chspc; in adf4350_set_freq() 184 tmp = freq * (u64)st->r1_mod + (st->fpfd >> 1); in adf4350_set_freq() 185 do_div(tmp, st->fpfd); /* Div round closest (n + d/2)/d */ in adf4350_set_freq() 190 band_sel_div = DIV_ROUND_UP(st->fpfd, ADF4350_MAX_BANDSEL_CLK); in adf4350_set_freq() 204 freq, st->fpfd, r_cnt, st->r0_int, st->r0_fract, st->r1_mod, in adf4350_set_freq() 324 (u64)st->fpfd; in adf4350_read()
|
D | adf4371.c | 171 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()
|
/linux-6.1.9/drivers/gpu/drm/rcar-du/ |
D | rcar_lvds.c | 192 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()
|
D | rcar_mipi_dsi.c | 237 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()
|
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
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()
|