/linux-6.1.9/arch/mips/ath79/ |
D | clock.c | 212 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-6.1.9/drivers/clk/sprd/ |
D | pll.c | 103 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-6.1.9/drivers/media/dvb-frontends/ |
D | stb6100.c | 301 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-6.1.9/drivers/net/wireless/microchip/wilc1000/ |
D | sdio.c | 919 static int wilc_sdio_sync_ext(struct wilc *wilc, int nint) in wilc_sdio_sync_ext() argument 925 if (nint > MAX_NUM_INT) { in wilc_sdio_sync_ext() 926 dev_err(&func->dev, "Too many interrupts (%d)...\n", nint); in wilc_sdio_sync_ext() 975 for (i = 0; (i < 5) && (nint > 0); i++, nint--) in wilc_sdio_sync_ext() 983 if (nint) { in wilc_sdio_sync_ext() 992 for (i = 0; (i < 3) && (nint > 0); i++, nint--) in wilc_sdio_sync_ext()
|
D | spi.c | 1176 static int wilc_spi_sync_ext(struct wilc *wilc, int nint) in wilc_spi_sync_ext() argument 1182 if (nint > MAX_NUM_INT) { in wilc_spi_sync_ext() 1183 dev_err(&spi->dev, "Too many interrupts (%d)...\n", nint); in wilc_spi_sync_ext() 1214 for (i = 0; (i < 5) && (nint > 0); i++, nint--) in wilc_spi_sync_ext() 1223 if (nint) { in wilc_spi_sync_ext() 1231 for (i = 0; (i < 3) && (nint > 0); i++, nint--) in wilc_spi_sync_ext()
|
D | wlan.h | 372 int (*hif_sync_ext)(struct wilc *wilc, int nint);
|
/linux-6.1.9/drivers/gpu/drm/sprd/ |
D | megacores_pll.c | 65 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()
|
D | sprd_dsi.h | 78 u32 nint; /* sigma delta modulator NINT control */ member
|
/linux-6.1.9/drivers/media/tuners/ |
D | r820t.c | 554 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()
|