Searched refs:div (Results 1 - 25 of 125) sorted by relevance

12345

/freebsd-13-stable/lib/libc/i386/stdlib/
H A DMakefile.inc4 MDSRCS+=div.S ldiv.S
H A Ddiv.S31 ENTRY(div)
37 END(div)
/freebsd-13-stable/lib/libc/amd64/stdlib/
H A DMakefile.inc4 MDSRCS+=div.S ldiv.S lldiv.S
H A Ddiv.S1 /* $NetBSD: div.S,v 1.1 2001/06/19 00:25:04 fvdl Exp $ */
11 ENTRY(div)
18 END(div)
/freebsd-13-stable/contrib/libxo/xohtml/
H A Dxohtml.js17 output += "<div class='xpath-wrapper'>"
19 + "show xpath</a><div class='xpath'>"
20 + xpath + "</div></div><br/>";
23 output = "<div>" + output + "</div>";
30 var div = $(output);
31 div.find(".xpath-link")
43 return div;
/freebsd-13-stable/sys/arm/allwinner/clkng/
H A Daw_clk_prediv_mux.c45 * clk = clkin / prediv / div
57 struct aw_clk_factor div; member in struct:aw_clk_prediv_mux_sc
115 uint32_t val, div, prediv; local
123 div = aw_clk_get_factor(val, &sc->div);
126 *freq = *freq / prediv / div;
159 sc->div.shift = clkdef->div.shift;
160 sc->div.mask = ((1 << clkdef->div
[all...]
H A Daw_clk_prediv_mux.h40 struct aw_clk_factor div; member in struct:aw_clk_prediv_mux_def
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/offsetof/
H A Dtst.OffsetofArith.d53 div = offsetof(record_t, y) / offsetof(record_t, x);
62 printf("Division of offsets (y/x) = %d\n", div);
70 || (2 != div)/
/freebsd-13-stable/sys/mips/atheros/
H A Dar724x_chip.c74 uint32_t div; local
80 div = ((pll >> AR724X_PLL_DIV_SHIFT) & AR724X_PLL_DIV_MASK);
81 freq = div * AR724X_BASE_FREQ;
83 div = ((pll >> AR724X_PLL_REF_DIV_SHIFT) & AR724X_PLL_REF_DIV_MASK);
84 freq *= div;
88 div = ((pll >> AR724X_DDR_DIV_SHIFT) & AR724X_DDR_DIV_MASK) + 1;
89 u_ar71xx_ddr_freq = freq / div;
91 div = (((pll >> AR724X_AHB_DIV_SHIFT) & AR724X_AHB_DIV_MASK) + 1) * 2;
92 u_ar71xx_ahb_freq = u_ar71xx_cpu_freq / div;
93 u_ar71xx_wdt_freq = u_ar71xx_cpu_freq / div;
[all...]
H A Dar91xx_chip.c72 uint32_t div; local
78 div = ((pll >> AR91XX_PLL_DIV_SHIFT) & AR91XX_PLL_DIV_MASK);
79 freq = div * AR91XX_BASE_FREQ;
82 div = ((pll >> AR91XX_DDR_DIV_SHIFT) & AR91XX_DDR_DIV_MASK) + 1;
83 u_ar71xx_ddr_freq = freq / div;
85 div = (((pll >> AR91XX_AHB_DIV_SHIFT) & AR91XX_AHB_DIV_MASK) + 1) * 2;
86 u_ar71xx_ahb_freq = u_ar71xx_cpu_freq / div;
87 u_ar71xx_uart_freq = u_ar71xx_cpu_freq / div;
88 u_ar71xx_wdt_freq = u_ar71xx_cpu_freq / div;
H A Dar71xx_chip.c96 uint32_t div; local
102 div = ((pll >> AR71XX_PLL_DIV_SHIFT) & AR71XX_PLL_DIV_MASK) + 1;
103 freq = div * AR71XX_BASE_FREQ;
105 div = ((pll >> AR71XX_CPU_DIV_SHIFT) & AR71XX_CPU_DIV_MASK) + 1;
106 u_ar71xx_cpu_freq = freq / div;
108 div = ((pll >> AR71XX_DDR_DIV_SHIFT) & AR71XX_DDR_DIV_MASK) + 1;
109 u_ar71xx_ddr_freq = freq / div;
111 div = (((pll >> AR71XX_AHB_DIV_SHIFT) & AR71XX_AHB_DIV_MASK) + 1) * 2;
112 u_ar71xx_ahb_freq = u_ar71xx_cpu_freq / div;
113 u_ar71xx_wdt_freq = u_ar71xx_cpu_freq / div;
[all...]
/freebsd-13-stable/sys/dev/extres/clk/
H A Dclk_fixed.h46 uint32_t div; member in struct:clk_fixed_def
H A Dclk_fixed.c59 uint32_t div; member in struct:clknode_fixed_sc
90 if ((sc->mult != 0) && (sc->div != 0))
91 *freq = (*freq / sc->div) * sc->mult;
104 if (sc->mult == 0 || sc->div == 0) {
113 *fout = (*fout / sc->mult) * sc->div;
131 sc->div = clkdef->div;
194 rv = OF_getencprop(node, "clock-div", &def->div, sizeof(def->div));
[all...]
/freebsd-13-stable/lib/libc/stdlib/
H A Ddiv.c36 static char sccsid[] = "@(#)div.c 8.1 (Berkeley) 6/4/93";
44 div(num, denom) function
/freebsd-13-stable/sys/mips/mediatek/
H A Dmtk_soc.c194 uint32_t val, mul, div, res; local
206 div = (val >> MT7620_PLL_DIV_RATIO_OFF) & MT7620_PLL_DIV_RATIO_MSK;
208 if (div != MT7620_PLL_DIV_RATIO_MSK)
209 div += MT7620_PLL_DIV_RATIO_BASE;
211 div = MT7620_PLL_DIV_RATIO_MAX;
213 res = (MT7620_XTAL_40 * mul) / div;
221 uint32_t val, div, res; local
225 div = bus_space_read_4(bst, bsh, MTK_MT7621_CLKDIV_REG);
226 div >>= MT7621_MEMDIV_OFF;
227 div
[all...]
/freebsd-13-stable/sys/arm64/rockchip/clk/
H A Drk_clk_armclk.h37 uint32_t div; member in struct:rk_clk_armclk_rates
H A Drk_clk_composite.c202 uint32_t reg, div; local
213 div = ((reg & sc->div_mask) >> sc->div_shift);
215 div = 1 << div;
217 div += 1;
218 dprintf("parent_freq=%ju, div=%u\n", *freq, div);
219 *freq = *freq / div;
230 uint32_t div, div_reg; local
239 div
262 uint32_t div, div_reg, best_div, best_div_reg, val; local
[all...]
H A Drk_clk_armclk.c126 uint32_t reg, div; local
137 div = ((reg & sc->div_mask) >> sc->div_shift) + 1;
138 dprintf("parent_freq=%ju, div=%u\n", *freq, div);
140 *freq = *freq / div;
153 uint32_t div = 0, val = 0; local
158 dprintf("Finding best parent/div for target freq of %ju\n", *fout);
165 div = sc->rates[i].div;
166 best_p = best * div;
[all...]
/freebsd-13-stable/contrib/llvm-project/libcxx/include/
H A Dstdlib.h71 div_t div( int numer, int denom);
72 ldiv_t div( long numer, long denom);
73 lldiv_t div(long long numer, long long denom); // C++0X
132 // div
134 #undef div macro
142 inline _LIBCPP_INLINE_VISIBILITY ldiv_t div(long __x, long __y) _NOEXCEPT {
146 inline _LIBCPP_INLINE_VISIBILITY lldiv_t div(long long __x,
/freebsd-13-stable/sys/dev/bhnd/cores/chipc/pwrctl/
H A Dbhnd_pwrctl_subr.c364 uint32_t div; local
372 div = 64;
374 div = 32;
376 div = bhnd_bus_read_4(sc->res, CHIPC_PLL_SLOWCLK_CTL);
377 div = CHIPC_GET_BITS(div, CHIPC_SCC_CD);
378 div = 4 * (div + 1);
381 div = 1;
383 div
[all...]
/freebsd-13-stable/sys/powerpc/powerpc/
H A Dclock.c103 int32_t div; /* Periodic divisor. */ member in struct:decr_state
149 val += s->div;
270 s->div = (decr_et.et_frequency * period) >> 32;
273 s->div = 0;
278 fdiv = s->div;
284 mtspr(SPR_DECAR, s->div);
309 s->div = 0x7fffffff;
315 mtdec(s->div);
/freebsd-13-stable/sys/arm64/freescale/imx/clk/
H A Dimx_clk_frac_pll.c122 uint64_t div, divfi, divff, divf_val; local
131 div = (cfg0 & CFG0_OUTPUT_DIV_MASK) >> CFG0_OUTPUT_DIV_SHIFT;
132 div = (div + 1) * 2;
141 *freq = *freq * 8 * divf_val / div;
H A Dimx_clk_sscg_pll.c134 int divr1, divr2, divf1, divf2, div; local
151 div = (cfg2 & CFG2_DIV_MASK) >> CFG2_DIV_SHIFT;
154 *freq = *freq / ((divr2 + 1) * (div + 1));
159 *freq /= (divr1 + 1) * (divr2 + 1) * (div + 1);
/freebsd-13-stable/sys/dev/netmap/
H A Dif_vtnet_netmap.h370 int div; local
383 div = 1;
385 div = 2;
387 return virtqueue_size(sc->vtnet_txqs[0].vtntx_vq) / div;
393 int div; local
406 div = 1;
408 div = 2;
410 return virtqueue_size(sc->vtnet_rxqs[0].vtnrx_vq) / div;
/freebsd-13-stable/share/examples/printing/
H A Dmake-ps-header56 $page_width ($user) stringwidth pop sub 2 div $page_height 200 sub moveto

Completed in 300 milliseconds

12345