Searched refs:fpfd (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/iio/frequency/ |
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() 180 st->r1_mod = st->fpfd / chspc; in adf4350_set_freq() 189 tmp = freq * (u64)st->r1_mod + (st->fpfd >> 1); in adf4350_set_freq() 190 do_div(tmp, st->fpfd); /* Div round closest (n + d/2)/d */ in adf4350_set_freq() 195 band_sel_div = DIV_ROUND_UP(st->fpfd, ADF4350_MAX_BANDSEL_CLK); in adf4350_set_freq() 209 freq, st->fpfd, r_cnt, st->r0_int, st->r0_fract, st->r1_mod, in adf4350_set_freq() 329 (u64)st->fpfd; in adf4350_read() 403 tmp = (u64)(st->r0_int * st->r1_mod + st->r0_fract) * st->fpfd; in adf4350_clk_recalc_rate()
|
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.12.1/drivers/gpu/drm/renesas/rcar-du/ |
D | rcar_lvds.c | 200 unsigned long fpfd; in rcar_lvds_d3_e3_pll_calc() local 212 fpfd = fin / m; in rcar_lvds_d3_e3_pll_calc() 213 n_min = max_t(unsigned int, 60, DIV_ROUND_UP(900000000, fpfd)); in rcar_lvds_d3_e3_pll_calc() 214 n_max = min_t(unsigned int, 120, 1800000000 / fpfd); in rcar_lvds_d3_e3_pll_calc() 228 fvco = fpfd * n; in rcar_lvds_d3_e3_pll_calc()
|
D | rcar_mipi_dsi.c | 345 unsigned long fpfd; in rcar_mipi_dsi_pll_calc() local 347 fpfd = fin_rate / n; in rcar_mipi_dsi_pll_calc() 349 if (fpfd < info->fpfd_min || fpfd > info->fpfd_max) in rcar_mipi_dsi_pll_calc() 356 fout = div64_u64((u64)fpfd * m, dsi->info->n_mul); in rcar_mipi_dsi_pll_calc()
|
/linux-6.12.1/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()
|