Home
last modified time | relevance | path

Searched refs:fdiv (Results 1 – 21 of 21) sorted by relevance

/linux-6.1.9/drivers/spi/
Dspi-xlp.c138 u32 fdiv, cfg; in xlp_spi_setup() local
146 fdiv = DIV_ROUND_UP(xspi->spi_clk, spi->max_speed_hz); in xlp_spi_setup()
147 if (fdiv > XLP_SPI_FDIV_MAX) in xlp_spi_setup()
148 fdiv = XLP_SPI_FDIV_MAX; in xlp_spi_setup()
149 else if (fdiv < XLP_SPI_FDIV_MIN) in xlp_spi_setup()
150 fdiv = XLP_SPI_FDIV_MIN; in xlp_spi_setup()
152 xlp_spi_reg_write(xspi, cs, XLP_SPI_FDIV, fdiv); in xlp_spi_setup()
173 if (fdiv == 4) in xlp_spi_setup()
/linux-6.1.9/drivers/media/tuners/
Dit913x.c20 u8 fdiv; member
53 dev->fdiv = 3; in it913x_init()
60 dev->fdiv = 1; in it913x_init()
95 dev->fn_min /= (dev->fdiv * nv_val); in it913x_init()
274 t_cal_freq = (c->frequency / 1000) * n_div * dev->fdiv; in it913x_set_params()
/linux-6.1.9/drivers/tty/serial/
Dmax310x.c586 unsigned long fdiv, fmul, bestfreq = freq; in max310x_set_ref_clk() local
593 fdiv = DIV_ROUND_CLOSEST(freq, div); in max310x_set_ref_clk()
596 fmul = fdiv * 6; in max310x_set_ref_clk()
597 if ((fdiv >= 500000) && (fdiv <= 800000)) in max310x_set_ref_clk()
603 fmul = fdiv * 48; in max310x_set_ref_clk()
604 if ((fdiv >= 850000) && (fdiv <= 1200000)) in max310x_set_ref_clk()
610 fmul = fdiv * 96; in max310x_set_ref_clk()
611 if ((fdiv >= 425000) && (fdiv <= 1000000)) in max310x_set_ref_clk()
617 fmul = fdiv * 144; in max310x_set_ref_clk()
618 if ((fdiv >= 390000) && (fdiv <= 667000)) in max310x_set_ref_clk()
/linux-6.1.9/arch/mips/ath25/
Dar2315.c207 unsigned int pllc_out, refdiv, fdiv, divby2; in ar2315_sys_clk() local
213 fdiv = ATH25_REG_MS(pllc_ctrl, AR2315_PLLC_FDBACK_DIV); in ar2315_sys_clk()
215 pllc_out = (40000000 / refdiv) * (2 * divby2) * fdiv; in ar2315_sys_clk()
/linux-6.1.9/drivers/clk/st/
Dclk-flexgen.c43 struct clk_divider fdiv; member
143 struct clk_hw *fdiv_hw = &flexgen->fdiv.hw; in flexgen_recalc_rate()
159 struct clk_hw *fdiv_hw = &flexgen->fdiv.hw; in flexgen_set_rate()
253 fgxbar->fdiv.lock = lock; in clk_register_flexgen()
254 fgxbar->fdiv.reg = fdiv_reg; in clk_register_flexgen()
255 fgxbar->fdiv.width = 6; in clk_register_flexgen()
/linux-6.1.9/drivers/clk/bcm/
Dclk-bcm2835.c549 u32 *ndiv, u32 *fdiv) in bcm2835_pll_choose_ndiv_and_fdiv() argument
557 *fdiv = div & ((1 << A2W_PLL_FRAC_BITS) - 1); in bcm2835_pll_choose_ndiv_and_fdiv()
561 u32 ndiv, u32 fdiv, u32 pdiv) in bcm2835_pll_rate_from_divisors() argument
568 rate = (u64)parent_rate * ((ndiv << A2W_PLL_FRAC_BITS) + fdiv); in bcm2835_pll_rate_from_divisors()
578 u32 ndiv, fdiv; in bcm2835_pll_round_rate() local
582 bcm2835_pll_choose_ndiv_and_fdiv(rate, *parent_rate, &ndiv, &fdiv); in bcm2835_pll_round_rate()
584 return bcm2835_pll_rate_from_divisors(*parent_rate, ndiv, fdiv, 1); in bcm2835_pll_round_rate()
594 u32 ndiv, pdiv, fdiv; in bcm2835_pll_get_rate() local
600 fdiv = cprman_read(cprman, data->frac_reg) & A2W_PLL_FRAC_MASK; in bcm2835_pll_get_rate()
608 fdiv *= 2; in bcm2835_pll_get_rate()
[all …]
/linux-6.1.9/drivers/clk/socfpga/
Dclk-pll-s10.c44 unsigned long fdiv, reg, rdiv, qdiv; in n5x_clk_pll_recalc_rate() local
49 fdiv = (reg & SOCFPGA_N5X_PLLDIV_FDIV_MASK) >> SOCFPGA_N5X_PLLDIV_FDIV_SHIFT; in n5x_clk_pll_recalc_rate()
58 return ((parent_rate * 2 * (fdiv + 1)) / ((rdiv + 1) * power)); in n5x_clk_pll_recalc_rate()
/linux-6.1.9/arch/powerpc/math-emu/
Dfdiv.c11 fdiv(void *frD, void *frA, void *frB) in fdiv() function
DMakefile6 fctiwz.o fdiv.o fdivs.o fmadd.o \
Dmath.c34 FLOATFUNC(fdiv);
287 case FDIV: func = fdiv; type = AB; break; in do_mathemu()
/linux-6.1.9/arch/m68k/ifpsp060/
DMISC69 fdiv.s : 2.5
128 fdiv.s : 2.5
Dfplsp.doc124 The fabs/fadd/fdiv/fint/fintrz/fmul/fneg/fsqrt/fsub entry points
/linux-6.1.9/Documentation/arm/vfp/
Drelease-notes.rst21 - fdiv
/linux-6.1.9/arch/powerpc/include/asm/
Dkvm_fpu.h60 FPD_TWO_IN(fdiv)
/linux-6.1.9/arch/powerpc/kvm/
Dfpu.S255 FPD_TWO_IN(fdiv)
/linux-6.1.9/arch/sh/math-emu/
Dmath.c127 fdiv(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fdiv() function
397 fadd, fsub, fmul, fdiv, fcmp_eq, fcmp_gt, fmov_idx_reg, fmov_reg_idx,
/linux-6.1.9/arch/m68k/ifpsp060/src/
Dftest.S953 fdiv.b &0x2,%fp0
1004 fdiv.b &0x2,%fp0
1208 fdiv.b &0x0,%fp0
Dfpsp.S1861 # DZ : fdiv
2488 # fdiv fddiv fsdiv fatanh fsin
6395 fdiv.x %fp1,%fp0 # FP0 IS U = (X-F)/(1+X*F)
6658 fdiv.x %fp1,%fp0 # X/SQRT([1-X][1+X])
6747 fdiv.x %fp1,%fp0 # (1-X)/(1+X)
8443 fdiv.x %fp0,%fp1 # FP1 IS U
11443 long fdiv - tbl_unsupp # 20: fdiv
12340 # fdiv(): emulates the fdiv instruction #
Dfplsp.S542 set FDIV_OP, 0x1 # fdiv performed last
5833 fdiv.x %fp1,%fp0 # last inst - possible exception set
5872 fdiv.x (%sp)+,%fp0 # last inst - possible exception set
6418 fdiv.x %fp0,%fp1 # FP1 IS -1/X
7638 fdiv.x %fp0,%fp1 # 1/(2 EXP(|X|))
7753 fdiv.x %fp1,%fp0 # Z/(1+Z)
7890 fdiv.x V(%a6),%fp0
7925 fdiv.x %fp0,%fp1 # -SIGN(X)2 / [EXP(Y)+1 ]
8615 fdiv.x %fp1,%fp0 # 2Y/(1-Y)
Dpfpsp.S1860 # DZ : fdiv
2487 # fdiv fddiv fsdiv fatanh fsin
/linux-6.1.9/arch/m68k/fpsp040/
Dres_func.S649 | For fdiv/fsgldiv:
691 | Inst is fdiv.