/u-boot/lib/dhry/ |
A D | cmd_dhry.c | 24 dhry_per_sec = lldiv(iterations * 1000ULL, duration); in do_dhry() 25 vax_mips = lldiv(dhry_per_sec, 1757); in do_dhry()
|
/u-boot/arch/arm/cpu/armv7/iproc-common/ |
A D | timer.c | 59 tim_clk = lldiv(periph_clk, in get_timer() 64 ret = lldiv(count, (uint32_t)tim_clk); in get_timer() 79 tim_clk = lldiv(periph_clk, in __udelay()
|
/u-boot/drivers/pwm/ |
A D | sunxi_pwm.c | 85 scaled_freq = lldiv(OSC_24MHZ, prescaler_table[prescaler]); in sunxi_pwm_set_config() 86 period = lldiv(scaled_freq * period_ns, nsecs_per_sec); in sunxi_pwm_set_config() 100 duty = lldiv(best_scaled_freq * duty_ns, nsecs_per_sec); in sunxi_pwm_set_config()
|
A D | rk_pwm.c | 77 period = lldiv((uint64_t)priv->freq * period_ns, in rk_pwm_set_config() 79 duty = lldiv((uint64_t)priv->freq * duty_ns, in rk_pwm_set_config()
|
A D | pwm-sifive.c | 78 scale_pow = lldiv((uint64_t)priv->freq * period_ns, 1000000000); in pwm_sifive_set_config()
|
/u-boot/arch/arm/mach-davinci/ |
A D | timer.c | 77 return lldiv(timer_diff, in get_timer() 85 endtime = lldiv((unsigned long long)usec * gd->arch.timer_rate_hz, in __udelay()
|
/u-boot/arch/arm/cpu/arm926ejs/mx27/ |
A D | generic.c | 37 return lldiv(2 * (u64)f_ref * (mfi * (mfd + 1) + mfn), in imx_decode_pll() 80 fref = lldiv((fref * 2), 3); in imx_get_armclk() 84 return lldiv(fref, div); in imx_get_armclk() 96 return lldiv(fref * 2, 3 * div); in imx_get_ahbclk() 115 return lldiv((imx_get_mpllclk() * 2), (div * 3)); in imx_decode_perclk()
|
/u-boot/fs/ext4/ |
A D | ext4fs.c | 83 blockcnt = lldiv(((len + pos) + blocksize - 1), blocksize); in ext4fs_read_file() 85 for (i = lldiv(pos, blocksize); i < blockcnt; i++) { in ext4fs_read_file() 108 if (i == lldiv(pos, blocksize)) { in ext4fs_read_file()
|
/u-boot/arch/arm/cpu/armv7/ |
A D | arch_timer.c | 58 return lldiv(get_ticks(), gd->arch.timer_rate_hz / 1000000); in timer_get_boot_us()
|
/u-boot/drivers/video/tegra124/ |
A D | dp.c | 517 num_linkclk_line = (u32)(lldiv(link_rate * timing->hactive.typ, in tegra_dc_dp_calc_config() 526 activecount_f = lldiv(activesym_f, (u32)f) * f; in tegra_dc_dp_calc_config() 528 activecount = (u32)(lldiv(activecount_f, (u32)f)); in tegra_dc_dp_calc_config() 530 if (frac_f < (lldiv(f, 2))) /* fraction < 0.5 */ in tegra_dc_dp_calc_config() 539 frac_f = lldiv(f * f, frac_f); /* 1 / fraction */ in tegra_dc_dp_calc_config() 544 (u32)lldiv(frac_f, (u32)f) + 1 : in tegra_dc_dp_calc_config() 545 (u32)lldiv(frac_f, (u32)f); in tegra_dc_dp_calc_config() 552 approx_value_f = activefrac ? lldiv( in tegra_dc_dp_calc_config() 558 activecount_f + lldiv(f, activefrac) : in tegra_dc_dp_calc_config() 563 lldiv(approx_value_f - activesym_f, i); in tegra_dc_dp_calc_config() [all …]
|
/u-boot/arch/arm/cpu/arm926ejs/mx25/ |
A D | generic.c | 53 return lldiv(2 * (u64) f_ref * (mfi * mfd + mfn), in imx_decode_pll() 81 fref = lldiv((u64) fref * 3, 4); in imx_get_armclk()
|
/u-boot/lib/ |
A D | gunzip.c | 151 outblock = lldiv(startoffs, dev->blksz); in gzwrite() 189 if (lldiv(szexpected, dev->blksz) > (dev->lba - outblock)) { in gzwrite()
|
A D | time.c | 52 return lldiv(count, CONFIG_SYS_TIMER_RATE / 1000000); in timer_get_boot_us()
|
/u-boot/drivers/watchdog/ |
A D | imx_watchdog.c | 80 timeout = lldiv(timeout, 500) - 1; in imx_watchdog_init()
|
/u-boot/arch/arm/cpu/arm1136/mx31/ |
A D | generic.c | 27 return lldiv(2 * (u64)infreq * (mfi * mfd + mfn), in mx31_decode_pll()
|
/u-boot/include/ |
A D | div64.h | 237 static inline u64 lldiv(u64 dividend, u32 divisor) in lldiv() function
|
/u-boot/arch/mips/mach-jz47xx/jz4780/ |
A D | timer.c | 221 return lldiv(get_timer64(), 3000) - base; in get_timer()
|
/u-boot/drivers/ddr/altera/ |
A D | sdram_gen5.c | 86 newrows = lldiv(memsize, cs * (width / 8)); in get_errata_rows() 89 newrows = lldiv(newrows, (1 << banks) * (1 << cols)); in get_errata_rows()
|
/u-boot/cmd/ |
A D | gpt.c | 231 partmegabytes = lldiv(partbytes, SZ_1M); in prettyprint_part_size() 525 parts[i].size = lldiv(size_ll, dev_desc->blksz); in set_gpt_info() 536 parts[i].start = lldiv(start_ll, dev_desc->blksz); in set_gpt_info()
|
/u-boot/drivers/dfu/ |
A D | dfu_sf.c | 33 return (lldiv((start + offset), dfu->data.sf.dev->sector_size)) * in find_sector()
|
/u-boot/drivers/fastboot/ |
A D | fb_mmc.c | 185 blkcnt = lldiv(blkcnt, info->blksz); in write_raw_image() 250 blkcnt = lldiv(blkcnt, blksz); in fb_mmc_boot_ops()
|
/u-boot/arch/arm/mach-imx/imx8m/ |
A D | clock_imx8mm.c | 611 return lldiv(freq, pre_div * (1 << post_div) * div); in decode_intpll() 675 return lldiv((main_div * 65536 + k) * 24000000ULL, in decode_fracpll()
|
/u-boot/fs/yaffs2/ |
A D | yaffs_uboot_glue.c | 191 end_block = lldiv(mtd->size, mtd->erasesize - 1); in cmd_yaffs_devconfig()
|
/u-boot/post/ |
A D | post.c | 476 return (unsigned long)lldiv(get_ticks(), get_tbclk() / CONFIG_SYS_HZ) in post_time_ms()
|
/u-boot/arch/arm/cpu/arm1136/mx35/ |
A D | generic.c | 131 return lldiv(2 * (u64)infreq * (mfi * mfd + mfn), in decode_pll()
|