/linux-5.19.10/drivers/spi/ |
D | spi-xlp.c | 138 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-5.19.10/drivers/tty/serial/ |
D | max310x.c | 560 unsigned long fdiv, fmul, bestfreq = freq; in max310x_set_ref_clk() local 567 fdiv = DIV_ROUND_CLOSEST(freq, div); in max310x_set_ref_clk() 570 fmul = fdiv * 6; in max310x_set_ref_clk() 571 if ((fdiv >= 500000) && (fdiv <= 800000)) in max310x_set_ref_clk() 577 fmul = fdiv * 48; in max310x_set_ref_clk() 578 if ((fdiv >= 850000) && (fdiv <= 1200000)) in max310x_set_ref_clk() 584 fmul = fdiv * 96; in max310x_set_ref_clk() 585 if ((fdiv >= 425000) && (fdiv <= 1000000)) in max310x_set_ref_clk() 591 fmul = fdiv * 144; in max310x_set_ref_clk() 592 if ((fdiv >= 390000) && (fdiv <= 667000)) in max310x_set_ref_clk()
|
/linux-5.19.10/drivers/media/tuners/ |
D | it913x.c | 20 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-5.19.10/arch/mips/ath25/ |
D | ar2315.c | 207 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-5.19.10/drivers/clk/st/ |
D | clk-flexgen.c | 43 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-5.19.10/drivers/clk/bcm/ |
D | clk-bcm2835.c | 546 u32 *ndiv, u32 *fdiv) in bcm2835_pll_choose_ndiv_and_fdiv() argument 554 *fdiv = div & ((1 << A2W_PLL_FRAC_BITS) - 1); in bcm2835_pll_choose_ndiv_and_fdiv() 558 u32 ndiv, u32 fdiv, u32 pdiv) in bcm2835_pll_rate_from_divisors() argument 565 rate = (u64)parent_rate * ((ndiv << A2W_PLL_FRAC_BITS) + fdiv); in bcm2835_pll_rate_from_divisors() 575 u32 ndiv, fdiv; in bcm2835_pll_round_rate() local 579 bcm2835_pll_choose_ndiv_and_fdiv(rate, *parent_rate, &ndiv, &fdiv); in bcm2835_pll_round_rate() 581 return bcm2835_pll_rate_from_divisors(*parent_rate, ndiv, fdiv, 1); in bcm2835_pll_round_rate() 591 u32 ndiv, pdiv, fdiv; in bcm2835_pll_get_rate() local 597 fdiv = cprman_read(cprman, data->frac_reg) & A2W_PLL_FRAC_MASK; in bcm2835_pll_get_rate() 605 fdiv *= 2; in bcm2835_pll_get_rate() [all …]
|
/linux-5.19.10/drivers/clk/socfpga/ |
D | clk-pll-s10.c | 44 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-5.19.10/arch/powerpc/math-emu/ |
D | fdiv.c | 11 fdiv(void *frD, void *frA, void *frB) in fdiv() function
|
D | Makefile | 6 fctiwz.o fdiv.o fdivs.o fmadd.o \
|
D | math.c | 34 FLOATFUNC(fdiv); 287 case FDIV: func = fdiv; type = AB; break; in do_mathemu()
|
/linux-5.19.10/arch/m68k/ifpsp060/ |
D | MISC | 69 fdiv.s : 2.5 128 fdiv.s : 2.5
|
D | fplsp.doc | 124 The fabs/fadd/fdiv/fint/fintrz/fmul/fneg/fsqrt/fsub entry points
|
/linux-5.19.10/Documentation/arm/vfp/ |
D | release-notes.rst | 21 - fdiv
|
/linux-5.19.10/arch/powerpc/include/asm/ |
D | kvm_fpu.h | 60 FPD_TWO_IN(fdiv)
|
/linux-5.19.10/arch/powerpc/kvm/ |
D | fpu.S | 255 FPD_TWO_IN(fdiv)
|
/linux-5.19.10/arch/sh/math-emu/ |
D | math.c | 127 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-5.19.10/arch/m68k/ifpsp060/src/ |
D | ftest.S | 953 fdiv.b &0x2,%fp0 1004 fdiv.b &0x2,%fp0 1208 fdiv.b &0x0,%fp0
|
D | fpsp.S | 1861 # 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 #
|
D | fplsp.S | 542 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)
|
D | pfpsp.S | 1860 # DZ : fdiv 2487 # fdiv fddiv fsdiv fatanh fsin
|
/linux-5.19.10/arch/m68k/fpsp040/ |
D | res_func.S | 649 | For fdiv/fsgldiv: 691 | Inst is fdiv.
|