/u-boot/board/armltd/integrator/ |
A D | timer.c | 89 do_div(div_timer, CONFIG_SYS_HZ); in timer_init() 90 do_div(div_timer, div_clock); in timer_init() 116 do_div(now, div_timer); in get_timer_masked() 161 do_div(tmp, div_clock); in get_tbclk()
|
/u-boot/arch/arm/cpu/arm926ejs/mx27/ |
A D | timer.c | 48 do_div(tick, CONFIG_MX27_CLK32); in tick_to_time() 55 do_div(time, CONFIG_SYS_HZ); in time_to_tick() 62 do_div(us, 1000000); in us_to_tick() 73 do_div(tick, TICK_PER_TIME); in tick_to_time() 85 do_div(us, US_PER_TICK); in us_to_tick()
|
/u-boot/arch/arm/mach-lpc32xx/ |
A D | clk.c | 49 do_div(fin, p_div); in get_hclk_pll_rate() 53 do_div(fref, n_div); in get_hclk_pll_rate() 62 do_div(fout, p_div); in get_hclk_pll_rate()
|
/u-boot/drivers/pwm/ |
A D | pwm-imx-util.c | 60 do_div(c, 1000000000); in pwm_imx_get_parms() 67 do_div(c, period_ns); in pwm_imx_get_parms()
|
A D | pwm-mtk.c | 70 do_div(resolution, clk_get_rate(&priv->pwm_clks[channel])); in mtk_pwm_set_config() 81 do_div(resolution, in mtk_pwm_set_config()
|
/u-boot/arch/arm/cpu/armv7/ls102xa/ |
A D | timer.c | 42 do_div(tick, freq); in tick_to_time() 54 do_div(usec, 1000000); in us_to_tick()
|
/u-boot/arch/arm/mach-rmobile/ |
A D | timer.c | 44 do_div(timer, CLK2MHZ(CONFIG_SYS_CPU_CLK)); in get_time_us() 52 do_div(us, 1000); in get_time_ms()
|
/u-boot/arch/arm/cpu/armv7/vf610/ |
A D | timer.c | 25 do_div(tick, mxc_get_clock(MXC_IPG_CLK)); in tick_to_time() 33 do_div(usec, 1000000); in us_to_tick()
|
/u-boot/lib/ |
A D | time.c | 133 do_div(tick, div); in tick_to_time() 153 do_div(tick, div); in tick_to_time_us() 176 do_div(tick, 1000000); in usec_to_tick()
|
/u-boot/include/ |
A D | div64.h | 28 # 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()
|
/u-boot/arch/arm/cpu/arm920t/ep93xx/ |
A D | timer.c | 38 do_div(ticks, 1000 * 1000); in usecs_to_ticks() 67 do_div(sys_ticks, TIMER_FREQ); in get_ticks()
|
/u-boot/drivers/phy/ |
A D | phy-core-mipi-dphy.c | 31 do_div(hs_clk_rate, lanes); in phy_mipi_dphy_get_default_config() 34 do_div(ui, hs_clk_rate); in phy_mipi_dphy_get_default_config() 90 do_div(ui, cfg->hs_clk_rate); in phy_mipi_dphy_config_validate()
|
/u-boot/arch/arm/mach-imx/ |
A D | syscounter.c | 45 do_div(tick, freq); in tick_to_time() 57 do_div(usec, 1000000); in us_to_tick()
|
/u-boot/drivers/clk/imx/ |
A D | clk-pfd.c | 52 do_div(tmp, frac); in clk_pfd_recalc_rate() 65 do_div(tmp, rate); in clk_pfd_set_rate()
|
/u-boot/board/toradex/colibri_vf/ |
A D | dcu.c | 24 do_div(div, pixclock); in dcu_set_pixel_clock()
|
/u-boot/drivers/clk/exynos/ |
A D | clk-pll.c | 30 do_div(fvco, (pdiv << sdiv)); in pll145x_get_rate()
|
/u-boot/board/freescale/ls1021atwr/ |
A D | dcu.c | 22 do_div(div, 1000000000); in dcu_set_pixel_clock()
|
/u-boot/board/freescale/ls1021aiot/ |
A D | dcu.c | 22 do_div(div, 1000000000); in dcu_set_pixel_clock()
|
/u-boot/drivers/clk/ |
A D | clk_pic32.c | 192 do_div(frac, rate); in pic32_set_refclk() 276 do_div(rate64, rodiv); in pic32_get_refclk() 297 do_div(rate, odiv1); in pic32_get_mpll_rate() 298 do_div(rate, odiv2); in pic32_get_mpll_rate()
|
A D | clk_fixed_factor.c | 32 do_div(rate, ff->div); in clk_fixed_factor_get_rate()
|
/u-boot/include/linux/ |
A D | math64.h | 67 *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()
|
/u-boot/arch/arm/mach-imx/mx5/ |
A D | clock.c | 200 do_div(refclk, pdf + 1); in decode_pll() 202 do_div(temp, mfd + 1); in decode_pll() 585 do_div(t1, (4 * n_ref)); in calc_pll_params() 599 do_div(t1, 4); in calc_pll_params() 602 do_div(t1, n_ref); in calc_pll_params() 611 do_div(mfn, i); in calc_pll_params() 613 do_div(mfd, i); in calc_pll_params()
|
/u-boot/drivers/watchdog/ |
A D | tangier_wdt.c | 51 do_div(timeout_ms, 1000); in tangier_wdt_start()
|
/u-boot/include/linux/mtd/ |
A D | nand.h | 447 pageoffs = do_div(tmp, nand->memorg.pagesize); in nanddev_offs_to_pos() 448 pos->page = do_div(tmp, nand->memorg.pages_per_eraseblock); in nanddev_offs_to_pos() 449 pos->eraseblock = do_div(tmp, nand->memorg.eraseblocks_per_lun); in nanddev_offs_to_pos() 451 pos->lun = do_div(tmp, nand->memorg.luns_per_target); in nanddev_offs_to_pos()
|
/u-boot/arch/arm/cpu/armv7/s5p-common/ |
A D | timer.c | 85 do_div(time_ms, 1000); in get_timer()
|