Home
last modified time | relevance | path

Searched refs:div_u64 (Results 251 – 275 of 403) sorted by relevance

1...<<11121314151617

/openbmc/linux/drivers/i2c/busses/
H A Di2c-axxia.c173 return div_u64(ns * clk_mhz, 1000); in ns_to_clk()
/openbmc/linux/drivers/gpu/drm/omapdrm/
H A Domap_crtc.c539 bandwidth = div_u64(bandwidth, mode->htotal * mode->vtotal); in omap_crtc_mode_valid()
/openbmc/linux/net/netfilter/
H A Dnft_meta.c43 dse = div_u64(secs, NFT_META_SECS_PER_DAY); in nft_meta_weekday()
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/
H A Dhuge_pages.c238 unsigned int len = min(page_size * div_u64(rem, page_size), in fake_get_huge_pages()
1255 max = div_u64(max - size, max_page_size); in igt_write_huge()
/openbmc/linux/drivers/nvdimm/
H A Dbtt.c782 arena->internal_nlba = div_u64(available - BTT_PG_SIZE, in alloc_arena()
1072 __u64 lba = div_u64(sector << SECTOR_SHIFT, btt->sector_size); in lba_to_arena()
/openbmc/linux/drivers/media/dvb-frontends/
H A Dm88ds3103.c240 cnr = div_u64((u64) 10000 * intlog2(itmp), intlog2(10)); in m88ds3103_read_status()
267 cnr = div_u64((u64) 10000 * intlog10(itmp), (1 << 24)); in m88ds3103_read_status()
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-common.c488 freq = div_u64(v4l2_ctrl_g_ctrl_int64(ctrl) * mul, div); in v4l2_get_link_freq()
/openbmc/linux/fs/btrfs/
H A Dreflink.c703 chunk_count = div_u64(olen, BTRFS_MAX_DEDUPE_LEN); in btrfs_extent_same()
/openbmc/linux/kernel/rcu/
H A Drefscale.c984 result_avg[exp] = div_u64(1000 * process_durations(nreaders), nreaders * loops); in main_func()
/openbmc/linux/block/
H A Dblk-iolatency.c906 dname, div_u64(iolat->min_lat_nsec, NSEC_PER_USEC)); in iolatency_prfill_limit()
H A Dblk-sysfs.c568 return sprintf(page, "%llu\n", div_u64(wbt_get_min_lat(q), 1000)); in queue_wb_lat_show()
/openbmc/linux/drivers/iio/frequency/
H A Dad9523.c863 st->vco_freq = div_u64((unsigned long long)pdata->vcxo_freq * in ad9523_setup()
/openbmc/linux/drivers/net/phy/
H A Dbcm-phy-ptp.c358 diff = div_u64(adj, 15625); in bcm_ptp_adjfine()
/openbmc/linux/drivers/gpu/drm/meson/
H A Dmeson_vclk.c659 frac = div_u64((u64)pll_freq * (u64)frac_max, parent_freq); in meson_hdmi_pll_get_frac()
/openbmc/linux/drivers/scsi/libfc/
H A Dfc_lport.c333 fc_stats->fcp_input_megabytes = div_u64(fcp_in_bytes, 1000000); in fc_get_host_stats()
334 fc_stats->fcp_output_megabytes = div_u64(fcp_out_bytes, 1000000); in fc_get_host_stats()
/openbmc/linux/sound/drivers/
H A Daloop.c170 x = div_u64(NO_PITCH * (unsigned long long)x, in byte_pos()
181 x = div_u64(dpcm->pcm_rate_shift * (unsigned long long)x * HZ, in frac_pos()
/openbmc/linux/drivers/staging/media/imx/
H A Dimx-media-csi.c879 want_us = div_u64((u64)USEC_PER_SEC * out->numerator, out->denominator); in csi_find_best_skip()
885 tmp = div_u64((u64)USEC_PER_SEC * in->numerator * in csi_find_best_skip()
/openbmc/linux/drivers/iio/adc/
H A Dad4130.c873 temp = div_u64((u64)dividend * NANO, divisor); in ad4130_fs_to_freq()
1756 st->scale_tbls[i][j][1] = div_u64(nv >> (pow + j), MILLI); in ad4130_fill_scale_tbls()
/openbmc/linux/fs/ubifs/
H A Dsb.c217 tmp64 = div_u64(main_bytes * DEFAULT_RP_PERCENT, 100); in create_default_filesystem()
/openbmc/linux/drivers/media/i2c/
H A Dccs-pll.c785 div_u64((uint64_t)op_sys_clk_freq_hz_sdr in ccs_pll_calculate()
/openbmc/linux/drivers/clk/
H A Dclk-k210.c497 return div_u64((u64)parent_rate * f, r * od); in k210_pll_get_rate()
/openbmc/linux/drivers/media/platform/ti/omap3isp/
H A Dispccp2.c413 bound = div_u64(area * timeperframe->denominator, in ccp2_adjust_bandwidth()
/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_flower.c354 filter->action.pol.rate = div_u64(rate, 1000) * 8; in ocelot_flower_parse_action()
/openbmc/linux/drivers/clk/ralink/
H A Dclk-mtmips.c534 t = div_u64(t, div); in mt7620_calc_rate()
/openbmc/linux/drivers/mtd/ubi/
H A Dcdev.c930 pebs = div_u64(req.bytes + desc->vol->usable_leb_size - 1, in ubi_cdev_ioctl()

1...<<11121314151617