Searched refs:div_u64 (Results 1 – 16 of 16) sorted by relevance
| /rk3399_rockchip-uboot/lib/ |
| H A 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()
|
| /rk3399_rockchip-uboot/include/linux/ |
| H A 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
|
| /rk3399_rockchip-uboot/fs/ubifs/ |
| H A D | budget.c | 186 idx_lebs = div_u64(idx_size + c->idx_leb_size - 1, c->idx_leb_size); in ubifs_calc_min_idx_lebs() 656 return div_u64(free, divisor); in ubifs_reported_space()
|
| H A D | io.c | 464 div_u64(ktime_to_ns(wbuf->softlimit), USEC_PER_SEC), in new_wbuf_timer_nolock() 465 div_u64(ktime_to_ns(wbuf->softlimit) + wbuf->delta, in new_wbuf_timer_nolock()
|
| H A D | sb.c | 189 tmp64 = div_u64(main_bytes * DEFAULT_RP_PERCENT, 100); in create_default_filesystem()
|
| H A D | lpt.c | 142 lebs_needed = div_u64(sz + c->leb_size - 1, c->leb_size); in ubifs_calc_lpt_geom() 201 lebs_needed = div_u64(sz + c->leb_size - 1, c->leb_size); in calc_dflt_lpt_geom()
|
| H A D | super.c | 865 c->max_bud_cnt = div_u64(tmp64, c->leb_size); in init_constants_sb()
|
| /rk3399_rockchip-uboot/fs/ |
| H A D | fs.c | 569 print_size(div_u64(len_read, time) * 1000, "/s"); in do_load() 640 print_size(div_u64(len, time) * 1000, "/s"); in do_save()
|
| /rk3399_rockchip-uboot/drivers/video/drm/ |
| H A D | inno_video_combo_phy.c | 466 t_txbyteclkhs = div_u64(PSEC_PER_SEC, txbyteclkhs); in inno_mipi_dphy_timing_init() 469 t_txclkesc = div_u64(PSEC_PER_SEC, txclkesc); in inno_mipi_dphy_timing_init() 471 ui = div_u64(PSEC_PER_SEC, inno->pll.rate); in inno_mipi_dphy_timing_init()
|
| H A D | rk618_dsi.c | 395 Ttxbyteclkhs = div_u64(PSEC_PER_SEC, phy->rate / 8); in rk618_dsi_phy_power_on() 396 UI = Ttxddrclkhs = div_u64(PSEC_PER_SEC, phy->rate); in rk618_dsi_phy_power_on() 397 Ttxclkesc = div_u64(PSEC_PER_SEC, txclkesc); in rk618_dsi_phy_power_on()
|
| /rk3399_rockchip-uboot/drivers/mtd/ubi/ |
| H A D | upd.c | 159 vol->upd_ebs = div_u64(bytes + vol->usable_leb_size - 1, in ubi_start_update()
|
| H A D | vmt.c | 207 vol->reserved_pebs = div_u64(req->bytes + vol->usable_leb_size - 1, in ubi_create_volume()
|
| H A D | attach.c | 1254 ai->mean_ec = div_u64(ai->ec_sum, ai->ec_count); in scan_all()
|
| H A D | fastmap.c | 737 ai->mean_ec = div_u64(ai->ec_sum, ai->ec_count); in ubi_attach_fastmap()
|
| /rk3399_rockchip-uboot/drivers/mtd/spi/ |
| H A D | sf_dataflash.c | 165 pageaddr = div_u64(offset, spi_flash->page_size); in spi_dataflash_erase()
|
| /rk3399_rockchip-uboot/drivers/video/drm/rk628/ |
| H A D | rk628_post_process.c | 1271 src_pixclock = div_u64(1000000000llu, src->clock); in calc_dsp_frm_hst_vst() 1272 dst_pixclock = div_u64(1000000000llu, dst->clock); in calc_dsp_frm_hst_vst()
|