Home
last modified time | relevance | path

Searched refs:do_div (Results 1 – 25 of 49) sorted by relevance

12

/external/u-boot/arch/arm/cpu/arm926ejs/mx27/
Dtimer.c43 do_div(tick, CONFIG_MX27_CLK32); in tick_to_time()
50 do_div(time, CONFIG_SYS_HZ); in time_to_tick()
57 do_div(us, 1000000); in us_to_tick()
68 do_div(tick, TICK_PER_TIME); in tick_to_time()
80 do_div(us, US_PER_TICK); in us_to_tick()
/external/u-boot/board/armltd/integrator/
Dtimer.c87 do_div(div_timer, CONFIG_SYS_HZ); in timer_init()
88 do_div(div_timer, div_clock); in timer_init()
135 do_div(now, div_timer); in get_timer_masked()
164 do_div(tmp, div_clock); in get_tbclk()
/external/u-boot/arch/arm/cpu/arm926ejs/lpc32xx/
Dclk.c48 do_div(fin, p_div); in get_hclk_pll_rate()
52 do_div(fref, n_div); in get_hclk_pll_rate()
61 do_div(fout, p_div); in get_hclk_pll_rate()
/external/u-boot/include/
Ddiv64.h28 # define do_div(n,base) ({ \ macro
204 # define do_div(n,base) ({ \ macro
230 # error do_div() does not yet support the C64
240 do_div(__res, divisor); in lldiv()
/external/llvm/test/CodeGen/X86/
Dseh-catchpad.ll6 ; extern "C" int do_div(int a, int b) { return a / b; }
11 ; do_div(1, 0);
14 ; do_div(1, 0);
37 define i32 @do_div(i32 %a, i32 %b) #0 {
45 %call = invoke i32 @do_div(i32 1, i32 0) #4
49 %call4 = invoke i32 @do_div(i32 1, i32 0) #4
99 ; CHECK: callq do_div
110 ; CHECK: callq do_div
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dseh-catchpad.ll6 ; extern "C" int do_div(int a, int b) { return a / b; }
11 ; do_div(1, 0);
14 ; do_div(1, 0);
37 define i32 @do_div(i32 %a, i32 %b) #0 {
45 %call = invoke i32 @do_div(i32 1, i32 0) #4
49 %call4 = invoke i32 @do_div(i32 1, i32 0) #4
99 ; CHECK: callq do_div
110 ; CHECK: callq do_div
/external/u-boot/drivers/pwm/
Dpwm-imx-util.c60 do_div(c, 1000000000); in pwm_imx_get_parms()
67 do_div(c, period_ns); in pwm_imx_get_parms()
/external/u-boot/arch/arm/mach-rmobile/
Dtimer.c41 do_div(timer, CLK2MHZ(CONFIG_SYS_CPU_CLK)); in get_time_us()
49 do_div(us, 1000); in get_time_ms()
/external/u-boot/arch/arm/cpu/armv7/vf610/
Dtimer.c21 do_div(tick, mxc_get_clock(MXC_IPG_CLK)); in tick_to_time()
29 do_div(usec, 1000000); in us_to_tick()
/external/u-boot/arch/arm/cpu/arm920t/ep93xx/
Dtimer.c35 do_div(ticks, 1000 * 1000); in usecs_to_ticks()
64 do_div(sys_ticks, TIMER_FREQ); in get_ticks()
/external/u-boot/arch/arm/cpu/armv7/ls102xa/
Dtimer.c38 do_div(tick, freq); in tick_to_time()
50 do_div(usec, 1000000); in us_to_tick()
/external/u-boot/arch/arm/mach-imx/
Dsyscounter.c41 do_div(tick, freq); in tick_to_time()
53 do_div(usec, 1000000); in us_to_tick()
/external/u-boot/arch/arm/mach-imx/mx5/
Dclock.c198 do_div(refclk, pdf + 1); in decode_pll()
200 do_div(temp, mfd + 1); in decode_pll()
583 do_div(t1, (4 * n_ref)); in calc_pll_params()
597 do_div(t1, 4); in calc_pll_params()
600 do_div(t1, n_ref); in calc_pll_params()
609 do_div(mfn, i); in calc_pll_params()
611 do_div(mfd, i); in calc_pll_params()
/external/u-boot/lib/
Dtime.c122 do_div(tick, div); in tick_to_time()
146 do_div(tick, 1000000); in usec_to_tick()
/external/u-boot/drivers/clk/
Dclk_pic32.c188 do_div(frac, rate); in pic32_set_refclk()
272 do_div(rate64, rodiv); in pic32_get_refclk()
293 do_div(rate, odiv1); in pic32_get_mpll_rate()
294 do_div(rate, odiv2); in pic32_get_mpll_rate()
/external/u-boot/include/linux/
Dmath64.h67 *remainder = do_div(dividend, divisor); in div_u64_rem()
247 rl.l.high = do_div(rh.ll, divisor); in mul_u64_u32_div()
250 do_div(rl.ll, divisor); in mul_u64_u32_div()
/external/grpc-grpc/src/ruby/bin/
Dmath_client.rb44 def do_div(stub) method
134 do_div(stub)
/external/u-boot/include/linux/mtd/
Dmtd.h417 do_div(sz, mtd->erasesize); in mtd_div_by_eb()
425 return do_div(sz, mtd->erasesize); in mtd_mod_by_eb()
432 do_div(sz, mtd->writesize); in mtd_div_by_ws()
440 return do_div(sz, mtd->writesize); in mtd_mod_by_ws()
/external/u-boot/drivers/serial/
Dserial_ar933x.c52 do_div(t, div); in ar933x_serial_get_baud()
73 do_div(tstep, clk); in ar933x_serial_get_scale_step()
/external/u-boot/board/toradex/colibri_vf/
Ddcu.c24 do_div(div, pixclock); in dcu_set_pixel_clock()
/external/u-boot/board/freescale/ls1021atwr/
Ddcu.c21 do_div(div, 1000000000); in dcu_set_pixel_clock()
/external/u-boot/board/freescale/ls1021aiot/
Ddcu.c21 do_div(div, 1000000000); in dcu_set_pixel_clock()
/external/u-boot/drivers/clk/exynos/
Dclk-pll.c30 do_div(fvco, (pdiv << sdiv)); in pll145x_get_rate()
/external/u-boot/drivers/ddr/fsl/
Dutil.c78 rem = do_div(mclk_ps, data_rate); in get_memory_clk_period_ps()
100 clks_rem = do_div(clks, UL_5POW12); in picos_to_mclk()
/external/u-boot/board/freescale/ls1021aqds/
Ddcu.c37 do_div(div, 1000000000); in dcu_set_pixel_clock()

12