Home
last modified time | relevance | path

Searched refs:div_u64 (Results 1 – 13 of 13) sorted by relevance

/external/u-boot/lib/
Ddiv64.c106 quot = div_u64(dividend >> n, divisor >> n); in div64_u64_rem()
141 quot = div_u64(dividend, divisor); in div64_u64()
144 quot = div_u64(dividend >> n, divisor >> n); in div64_u64()
/external/u-boot/include/linux/
Dmath64.h62 #define div64_ul(x, y) div_u64((x), (y))
97 #ifndef div_u64
98 static inline u64 div_u64(u64 dividend, u32 divisor) in div_u64() function
/external/u-boot/fs/ubifs/
Dbudget.c185 idx_lebs = div_u64(idx_size + c->idx_leb_size - 1, c->idx_leb_size); in ubifs_calc_min_idx_lebs()
655 return div_u64(free, divisor); in ubifs_reported_space()
Dio.c463 div_u64(ktime_to_ns(wbuf->softlimit), USEC_PER_SEC), in new_wbuf_timer_nolock()
464 div_u64(ktime_to_ns(wbuf->softlimit) + wbuf->delta, in new_wbuf_timer_nolock()
Dsb.c188 tmp64 = div_u64(main_bytes * DEFAULT_RP_PERCENT, 100); in create_default_filesystem()
Dlpt.c141 lebs_needed = div_u64(sz + c->leb_size - 1, c->leb_size); in ubifs_calc_lpt_geom()
200 lebs_needed = div_u64(sz + c->leb_size - 1, c->leb_size); in calc_dflt_lpt_geom()
Dsuper.c864 c->max_bud_cnt = div_u64(tmp64, c->leb_size); in init_constants_sb()
/external/u-boot/fs/
Dfs.c579 print_size(div_u64(len_read, time) * 1000, "/s"); in do_load()
650 print_size(div_u64(len, time) * 1000, "/s"); in do_save()
/external/u-boot/drivers/mtd/ubi/
Dupd.c158 vol->upd_ebs = div_u64(bytes + vol->usable_leb_size - 1, in ubi_start_update()
Dvmt.c206 vol->reserved_pebs = div_u64(req->bytes + vol->usable_leb_size - 1, in ubi_create_volume()
Dattach.c1253 ai->mean_ec = div_u64(ai->ec_sum, ai->ec_count); in scan_all()
Dfastmap.c736 ai->mean_ec = div_u64(ai->ec_sum, ai->ec_count); in ubi_attach_fastmap()
/external/u-boot/drivers/mtd/spi/
Dsf_dataflash.c161 pageaddr = div_u64(offset, spi_flash->page_size); in spi_dataflash_erase()