Searched refs:div_u64 (Results 1 – 13 of 13) sorted by relevance
/external/u-boot/lib/ |
D | div64.c | 106 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/ |
D | math64.h | 62 #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/ |
D | budget.c | 185 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()
|
D | io.c | 463 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()
|
D | sb.c | 188 tmp64 = div_u64(main_bytes * DEFAULT_RP_PERCENT, 100); in create_default_filesystem()
|
D | lpt.c | 141 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()
|
D | super.c | 864 c->max_bud_cnt = div_u64(tmp64, c->leb_size); in init_constants_sb()
|
/external/u-boot/fs/ |
D | fs.c | 579 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/ |
D | upd.c | 158 vol->upd_ebs = div_u64(bytes + vol->usable_leb_size - 1, in ubi_start_update()
|
D | vmt.c | 206 vol->reserved_pebs = div_u64(req->bytes + vol->usable_leb_size - 1, in ubi_create_volume()
|
D | attach.c | 1253 ai->mean_ec = div_u64(ai->ec_sum, ai->ec_count); in scan_all()
|
D | fastmap.c | 736 ai->mean_ec = div_u64(ai->ec_sum, ai->ec_count); in ubi_attach_fastmap()
|
/external/u-boot/drivers/mtd/spi/ |
D | sf_dataflash.c | 161 pageaddr = div_u64(offset, spi_flash->page_size); in spi_dataflash_erase()
|