Home
last modified time | relevance | path

Searched refs:lldiv (Results 1 – 25 of 38) sorted by relevance

12

/external/u-boot/arch/arm/cpu/armv7/iproc-common/
Dtimer.c57 tim_clk = lldiv(periph_clk, in get_timer()
62 ret = lldiv(count, (uint32_t)tim_clk); in get_timer()
77 tim_clk = lldiv(periph_clk, in __udelay()
/external/u-boot/lib/dhry/
Dcmd_dhry.c23 dhry_per_sec = lldiv(iterations * 1000ULL, duration); in do_dhry()
24 vax_mips = lldiv(dhry_per_sec, 1757); in do_dhry()
/external/libcxx/include/
Dstdlib.h106 #undef lldiv
118 inline _LIBCPP_INLINE_VISIBILITY lldiv_t div(long long __x, long long __y) _NOEXCEPT {return lldiv(… in div()
Dcstdlib71 lldiv_t lldiv(long long numer, long long denom); // C99
147 using ::lldiv;
/external/u-boot/drivers/pwm/
Dsunxi_pwm.c83 scaled_freq = lldiv(OSC_24MHZ, prescaler_table[prescaler]); in sunxi_pwm_set_config()
84 period = lldiv(scaled_freq * period_ns, nsecs_per_sec); in sunxi_pwm_set_config()
98 duty = lldiv(best_scaled_freq * duty_ns, nsecs_per_sec); in sunxi_pwm_set_config()
Drk_pwm.c74 period = lldiv((uint64_t)priv->freq * period_ns, in rk_pwm_set_config()
76 duty = lldiv((uint64_t)priv->freq * duty_ns, in rk_pwm_set_config()
/external/u-boot/arch/arm/cpu/arm926ejs/mx27/
Dgeneric.c36 return lldiv(2 * (u64)f_ref * (mfi * (mfd + 1) + mfn), in imx_decode_pll()
79 fref = lldiv((fref * 2), 3); in imx_get_armclk()
83 return lldiv(fref, div); in imx_get_armclk()
95 return lldiv(fref * 2, 3 * div); in imx_get_ahbclk()
114 return lldiv((imx_get_mpllclk() * 2), (div * 3)); in imx_decode_perclk()
/external/u-boot/drivers/video/tegra124/
Ddp.c515 num_linkclk_line = (u32)(lldiv(link_rate * timing->hactive.typ, in tegra_dc_dp_calc_config()
524 activecount_f = lldiv(activesym_f, (u32)f) * f; in tegra_dc_dp_calc_config()
526 activecount = (u32)(lldiv(activecount_f, (u32)f)); in tegra_dc_dp_calc_config()
528 if (frac_f < (lldiv(f, 2))) /* fraction < 0.5 */ in tegra_dc_dp_calc_config()
537 frac_f = lldiv(f * f, frac_f); /* 1 / fraction */ in tegra_dc_dp_calc_config()
542 (u32)lldiv(frac_f, (u32)f) + 1 : in tegra_dc_dp_calc_config()
543 (u32)lldiv(frac_f, (u32)f); in tegra_dc_dp_calc_config()
550 approx_value_f = activefrac ? lldiv( in tegra_dc_dp_calc_config()
556 activecount_f + lldiv(f, activefrac) : in tegra_dc_dp_calc_config()
561 lldiv(approx_value_f - activesym_f, i); in tegra_dc_dp_calc_config()
[all …]
/external/libcxx/test/std/depr/depr.c.headers/
Dstdlib_h.pass.cpp43 #ifdef lldiv
44 #error lldiv is defined
111 static_assert((std::is_same<decltype(lldiv(0LL,0LL)), lldiv_t>::value), ""); in main()
/external/u-boot/arch/arm/mach-davinci/
Dtimer.c74 return lldiv(timer_diff, in get_timer()
82 endtime = lldiv((unsigned long long)usec * gd->arch.timer_rate_hz, in __udelay()
/external/u-boot/fs/ext4/
Dext4fs.c79 blockcnt = lldiv(((len + pos) + blocksize - 1), blocksize); in ext4fs_read_file()
81 for (i = lldiv(pos, blocksize); i < blockcnt; i++) { in ext4fs_read_file()
104 if (i == lldiv(pos, blocksize)) { in ext4fs_read_file()
/external/u-boot/arch/arm/cpu/arm926ejs/mx25/
Dgeneric.c49 return lldiv(2 * (u64) f_ref * (mfi * mfd + mfn), in imx_decode_pll()
77 fref = lldiv((u64) fref * 3, 4); in imx_get_armclk()
/external/u-boot/arch/arm/cpu/armv7/
Darch_timer.c56 return lldiv(get_ticks(), gd->arch.timer_rate_hz / 1000000); in timer_get_boot_us()
/external/u-boot/lib/
Dgunzip.c150 outblock = lldiv(startoffs, dev->blksz); in gzwrite()
188 if (lldiv(szexpected, dev->blksz) > (dev->lba - outblock)) { in gzwrite()
Dtime.c47 return lldiv(count, CONFIG_SYS_TIMER_RATE / 1000000); in timer_get_boot_us()
/external/u-boot/cmd/
Dgpt.c224 partmegabytes = lldiv(partbytes, SZ_1M); in prettyprint_part_size()
518 parts[i].size = lldiv(size_ll, dev_desc->blksz); in set_gpt_info()
529 parts[i].start = lldiv(start_ll, dev_desc->blksz); in set_gpt_info()
/external/u-boot/arch/arm/cpu/arm1136/mx31/
Dgeneric.c26 return lldiv(2 * (u64)infreq * (mfi * mfd + mfn), in mx31_decode_pll()
/external/u-boot/include/
Ddiv64.h237 static inline u64 lldiv(u64 dividend, u32 divisor) in lldiv() function
/external/u-boot/drivers/ddr/altera/
Dsdram_gen5.c85 newrows = lldiv(memsize, cs * (width / 8)); in get_errata_rows()
88 newrows = lldiv(newrows, (1 << banks) * (1 << cols)); in get_errata_rows()
/external/u-boot/arch/mips/mach-jz47xx/jz4780/
Dtimer.c218 return lldiv(get_timer64(), 3000) - base; in get_timer()
/external/libcxx/test/std/language.support/support.runtime/
Dcstdlib.pass.cpp103 static_assert((std::is_same<decltype(std::lldiv(0LL,0LL)), std::lldiv_t>::value), ""); in main()
/external/u-boot/drivers/dfu/
Ddfu_sf.c32 return (lldiv((start + offset), dfu->data.sf.dev->sector_size)) * in find_sector()
Ddfu_mmc.c42 (u32)lldiv(offset, dfu->data.mmc.lba_blk_size); in mmc_block_op()
/external/u-boot/fs/yaffs2/
Dyaffs_uboot_glue.c190 end_block = lldiv(mtd->size, mtd->erasesize - 1); in cmd_yaffs_devconfig()
/external/u-boot/post/
Dpost.c470 return (unsigned long)lldiv(get_ticks(), get_tbclk() / CONFIG_SYS_HZ) in post_time_ms()

12