Home
last modified time | relevance | path

Searched refs:nint (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/arch/mips/ath79/
Dclock.c212 static u32 __init ar934x_get_pll_freq(u32 ref, u32 ref_div, u32 nint, u32 nfrac, in ar934x_get_pll_freq() argument
219 t *= nint; in ar934x_get_pll_freq()
238 u32 pll, out_div, ref_div, nint, nfrac, frac, clk_ctrl, postdiv; in ar934x_clocks_init() local
258 nint = (pll >> AR934X_SRIF_DPLL1_NINT_SHIFT) & in ar934x_clocks_init()
270 nint = (pll >> AR934X_PLL_CPU_CONFIG_NINT_SHIFT) & in ar934x_clocks_init()
277 cpu_pll = ar934x_get_pll_freq(ref_rate, ref_div, nint, in ar934x_clocks_init()
285 nint = (pll >> AR934X_SRIF_DPLL1_NINT_SHIFT) & in ar934x_clocks_init()
297 nint = (pll >> AR934X_PLL_DDR_CONFIG_NINT_SHIFT) & in ar934x_clocks_init()
304 ddr_pll = ar934x_get_pll_freq(ref_rate, ref_div, nint, in ar934x_clocks_init()
356 u32 pll, out_div, ref_div, nint, frac, clk_ctrl, postdiv; in qca953x_clocks_init() local
[all …]
/linux-5.19.10/drivers/clk/sprd/
Dpll.c103 unsigned long rate, nint, kint = 0; in _sprd_pll_recalc_rate() local
127 nint = pinternal_val(pll, cfg, PLL_NINT); in _sprd_pll_recalc_rate()
137 k2 + refin * nint * CLK_PLL_1M; in _sprd_pll_recalc_rate()
155 unsigned long kint, nint; in _sprd_pll_set_rate() local
191 nint = do_div(fvco, refin * CLK_PLL_1M); in _sprd_pll_set_rate()
195 cfg[index].val |= (nint << shift) & mask; in _sprd_pll_set_rate()
202 tmp = fvco - refin * nint * CLK_PLL_1M; in _sprd_pll_set_rate()
/linux-5.19.10/drivers/media/dvb-frontends/
Dstb6100.c301 u32 nint, nfrac, fvco; in stb6100_get_frequency() local
312 nint = regs[STB6100_NI]; in stb6100_get_frequency()
314 fvco = (nfrac * state->reference >> (9 - psd2)) + (nint * state->reference << psd2); in stb6100_get_frequency()
319 state->frequency, odiv, psd2, state->reference, fvco, nint, nfrac); in stb6100_get_frequency()
331 u32 srate = 0, fvco, nint, nfrac; in stb6100_set_frequency() local
386 nint = fvco / (state->reference << psd2); in stb6100_set_frequency()
388 nfrac = DIV_ROUND_CLOSEST((fvco - (nint * state->reference << psd2)) in stb6100_set_frequency()
392 regs[STB6100_NI] = nint; in stb6100_set_frequency()
437 ptr->reg, fvco, nint, nfrac); in stb6100_set_frequency()
/linux-5.19.10/drivers/net/wireless/microchip/wilc1000/
Dsdio.c906 static int wilc_sdio_sync_ext(struct wilc *wilc, int nint) in wilc_sdio_sync_ext() argument
912 if (nint > MAX_NUM_INT) { in wilc_sdio_sync_ext()
913 dev_err(&func->dev, "Too many interrupts (%d)...\n", nint); in wilc_sdio_sync_ext()
962 for (i = 0; (i < 5) && (nint > 0); i++, nint--) in wilc_sdio_sync_ext()
970 if (nint) { in wilc_sdio_sync_ext()
979 for (i = 0; (i < 3) && (nint > 0); i++, nint--) in wilc_sdio_sync_ext()
Dspi.c1169 static int wilc_spi_sync_ext(struct wilc *wilc, int nint) in wilc_spi_sync_ext() argument
1175 if (nint > MAX_NUM_INT) { in wilc_spi_sync_ext()
1176 dev_err(&spi->dev, "Too many interrupts (%d)...\n", nint); in wilc_spi_sync_ext()
1207 for (i = 0; (i < 5) && (nint > 0); i++, nint--) in wilc_spi_sync_ext()
1216 if (nint) { in wilc_spi_sync_ext()
1224 for (i = 0; (i < 3) && (nint > 0); i++, nint--) in wilc_spi_sync_ext()
Dwlan.h371 int (*hif_sync_ext)(struct wilc *wilc, int nint);
/linux-5.19.10/drivers/gpu/drm/sprd/
Dmegacores_pll.c65 pll->nint = pll->fvco / pll->ref_clk; in dphy_calc_pll_param()
68 tmp = tmp - pll->nint * factor * mhz; in dphy_calc_pll_param()
93 reg_val[2] = pll->nint; in dphy_set_pll_reg()
Dsprd_dsi.h78 u32 nint; /* sigma delta modulator NINT control */ member
/linux-5.19.10/drivers/media/tuners/
Dr820t.c554 u8 ni, si, nint, vco_fine_tune, val; in r820t_set_pll() local
633 nint = vco_freq / (2 * pll_ref); in r820t_set_pll()
634 vco_fra = vco_freq - 2 * pll_ref * nint; in r820t_set_pll()
641 nint++; in r820t_set_pll()
648 ni = (nint - 13) / 4; in r820t_set_pll()
649 si = nint - 4 * ni - 13; in r820t_set_pll()