Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/lib/
H A 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()
/rk3399_rockchip-uboot/include/linux/
H A 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
/rk3399_rockchip-uboot/fs/ubifs/
H A Dbudget.c186 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 Dio.c464 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 Dsb.c189 tmp64 = div_u64(main_bytes * DEFAULT_RP_PERCENT, 100); in create_default_filesystem()
H A Dlpt.c142 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 Dsuper.c865 c->max_bud_cnt = div_u64(tmp64, c->leb_size); in init_constants_sb()
/rk3399_rockchip-uboot/fs/
H A Dfs.c569 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 Dinno_video_combo_phy.c466 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 Drk618_dsi.c395 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 Dupd.c159 vol->upd_ebs = div_u64(bytes + vol->usable_leb_size - 1, in ubi_start_update()
H A Dvmt.c207 vol->reserved_pebs = div_u64(req->bytes + vol->usable_leb_size - 1, in ubi_create_volume()
H A Dattach.c1254 ai->mean_ec = div_u64(ai->ec_sum, ai->ec_count); in scan_all()
H A Dfastmap.c737 ai->mean_ec = div_u64(ai->ec_sum, ai->ec_count); in ubi_attach_fastmap()
/rk3399_rockchip-uboot/drivers/mtd/spi/
H A Dsf_dataflash.c165 pageaddr = div_u64(offset, spi_flash->page_size); in spi_dataflash_erase()
/rk3399_rockchip-uboot/drivers/video/drm/rk628/
H A Drk628_post_process.c1271 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()