/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-axxia.c | 173 return div_u64(ns * clk_mhz, 1000); in ns_to_clk()
|
/openbmc/linux/drivers/gpu/drm/omapdrm/ |
H A D | omap_crtc.c | 539 bandwidth = div_u64(bandwidth, mode->htotal * mode->vtotal); in omap_crtc_mode_valid()
|
/openbmc/linux/net/netfilter/ |
H A D | nft_meta.c | 43 dse = div_u64(secs, NFT_META_SECS_PER_DAY); in nft_meta_weekday()
|
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | huge_pages.c | 238 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 D | btt.c | 782 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 D | m88ds3103.c | 240 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 D | v4l2-common.c | 488 freq = div_u64(v4l2_ctrl_g_ctrl_int64(ctrl) * mul, div); in v4l2_get_link_freq()
|
/openbmc/linux/fs/btrfs/ |
H A D | reflink.c | 703 chunk_count = div_u64(olen, BTRFS_MAX_DEDUPE_LEN); in btrfs_extent_same()
|
/openbmc/linux/kernel/rcu/ |
H A D | refscale.c | 984 result_avg[exp] = div_u64(1000 * process_durations(nreaders), nreaders * loops); in main_func()
|
/openbmc/linux/block/ |
H A D | blk-iolatency.c | 906 dname, div_u64(iolat->min_lat_nsec, NSEC_PER_USEC)); in iolatency_prfill_limit()
|
H A D | blk-sysfs.c | 568 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 D | ad9523.c | 863 st->vco_freq = div_u64((unsigned long long)pdata->vcxo_freq * in ad9523_setup()
|
/openbmc/linux/drivers/net/phy/ |
H A D | bcm-phy-ptp.c | 358 diff = div_u64(adj, 15625); in bcm_ptp_adjfine()
|
/openbmc/linux/drivers/gpu/drm/meson/ |
H A D | meson_vclk.c | 659 frac = div_u64((u64)pll_freq * (u64)frac_max, parent_freq); in meson_hdmi_pll_get_frac()
|
/openbmc/linux/drivers/scsi/libfc/ |
H A D | fc_lport.c | 333 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 D | aloop.c | 170 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 D | imx-media-csi.c | 879 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 D | ad4130.c | 873 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 D | sb.c | 217 tmp64 = div_u64(main_bytes * DEFAULT_RP_PERCENT, 100); in create_default_filesystem()
|
/openbmc/linux/drivers/media/i2c/ |
H A D | ccs-pll.c | 785 div_u64((uint64_t)op_sys_clk_freq_hz_sdr in ccs_pll_calculate()
|
/openbmc/linux/drivers/clk/ |
H A D | clk-k210.c | 497 return div_u64((u64)parent_rate * f, r * od); in k210_pll_get_rate()
|
/openbmc/linux/drivers/media/platform/ti/omap3isp/ |
H A D | ispccp2.c | 413 bound = div_u64(area * timeperframe->denominator, in ccp2_adjust_bandwidth()
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_flower.c | 354 filter->action.pol.rate = div_u64(rate, 1000) * 8; in ocelot_flower_parse_action()
|
/openbmc/linux/drivers/clk/ralink/ |
H A D | clk-mtmips.c | 534 t = div_u64(t, div); in mt7620_calc_rate()
|
/openbmc/linux/drivers/mtd/ubi/ |
H A D | cdev.c | 930 pebs = div_u64(req.bytes + desc->vol->usable_leb_size - 1, in ubi_cdev_ioctl()
|