Home
last modified time | relevance | path

Searched refs:div_u64 (Results 151 – 175 of 403) sorted by relevance

12345678910>>...17

/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmac80211.c980 survey->time_busy = div_u64(state->cc_busy, 1000); in mt76_get_survey()
981 survey->time_rx = div_u64(state->cc_rx, 1000); in mt76_get_survey()
982 survey->time = div_u64(state->cc_active, 1000); in mt76_get_survey()
986 survey->time_bss_rx = div_u64(state->cc_bss_rx, 1000); in mt76_get_survey()
987 survey->time_tx = div_u64(state->cc_tx, 1000); in mt76_get_survey()
/openbmc/linux/drivers/gpu/drm/msm/dsi/phy/
H A Ddsi_phy_7nm.c124 dec_multiple = div_u64(pll_freq * multiplier, divider); in dsi_pll_calc_dec_frac()
178 ssc_step_size = div_u64(ssc_step_size, (ssc_per + 1)); in dsi_pll_calc_ssc()
497 pll_freq += div_u64(tmp64, multiplier); in dsi_pll_7nm_vco_recalc_rate()
/openbmc/linux/drivers/mtd/ubi/
H A Dupd.c152 vol->upd_ebs = div_u64(bytes + vol->usable_leb_size - 1, in ubi_start_update()
/openbmc/linux/drivers/media/dvb-frontends/
H A Dcxd2820r_t2.c338 cnr = div_u64((u64)(intlog10(utmp) in cxd2820r_read_status_t2()
H A Dcxd2820r_t.c311 cnr = div_u64((u64)(intlog10(utmp) in cxd2820r_read_status_t()
H A Drtl2832_sdr.c525 u64tmp = div_u64(u64tmp, pdata->clk); in rtl2832_sdr_set_adc()
562 u32tmp = div_u64(pdata->clk * 0x400000ULL, f_sr * 4U); in rtl2832_sdr_set_adc()
1263 s32 val = dev->f_adc + div_u64(dev->bandwidth->step, 2); in rtl2832_sdr_s_ctrl()
1270 div_u64(offset, dev->bandwidth->step); in rtl2832_sdr_s_ctrl()
/openbmc/u-boot/drivers/mtd/ubi/
H A Dupd.c158 vol->upd_ebs = div_u64(bytes + vol->usable_leb_size - 1, in ubi_start_update()
/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_tai.c156 return div_u64(val, (1000000 << 12) + (abs_scaled_ppm >> 4)); in mvpp22_calc_frac_ppm()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dptp.c119 *gp2 = div_u64(gp2_10ns, 100); in iwl_mvm_get_crosstimestamp_fw()
/openbmc/linux/drivers/phy/rockchip/
H A Dphy-rockchip-dphy-rx0.c241 data_rate_mbps = div_u64(config->hs_clk_rate, 1000 * 1000); in rk_dphy_configure()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_mqprio.c341 p.u.params.minrate = div_u64(mqprio->min_rate[i] * 8, 1000); in cxgb4_mqprio_alloc_tc()
342 p.u.params.maxrate = div_u64(mqprio->max_rate[i] * 8, 1000); in cxgb4_mqprio_alloc_tc()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dhtb.c263 share = div64_u64(div_u64(rate * 100, BYTES_IN_MBIT), in mlx5e_htb_convert_rate()
279 *max_average_bw = max_t(u32, div_u64(ceil, BYTES_IN_MBIT), 1); in mlx5e_htb_convert_ceil()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_hwseq.c760 unsigned int refresh_hz = div_u64((unsigned long long) stream->timing.pix_clk_100hz * in dcn30_apply_idle_power_optimizations()
788 tmr_delay = div_u64(((1000000LL + 2 * stutter_period * refresh_hz) * in dcn30_apply_idle_power_optimizations()
812 tmr_delay = div_u64(((1000000LL + 2 * stutter_period * refresh_hz) * in dcn30_apply_idle_power_optimizations()
/openbmc/u-boot/drivers/clk/sifive/
H A Dfu540-prci.c474 return div_u64(parent_rate, div); in sifive_fu540_prci_tlclksel_recalc_rate()
/openbmc/linux/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_vnd.c231 kernel_coal->tx_aggr_time_usecs = div_u64(port->egress_agg_params.time_nsec, in rmnet_get_coalesce()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_vblank.c166 return div_u64(mul_u32_u32(scan_curr_time - scan_prev_time, in intel_crtc_scanlines_since_frame_timestamp()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_dio_stream_encoder.c304 m_vid_l = div_u64(m_vid_l, in enc32_stream_encoder_dp_unblank()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn314/
H A Ddcn314_dio_stream_encoder.c313 m_vid_l = div_u64(m_vid_l, in enc314_stream_encoder_dp_unblank()
/openbmc/linux/arch/x86/kernel/cpu/
H A Dmshyperv.c481 hv_lapic_frequency = div_u64(hv_lapic_frequency, HZ); in ms_hyperv_init_platform()
/openbmc/linux/drivers/gpu/drm/rockchip/
H A Dcdn-dp-reg.c681 val = div_u64(mode->clock * (symbol + 1), 1000) + link_rate; in cdn_dp_config_video()
683 val = div_u64(8 * (symbol + 1), bit_per_pix) - val; in cdn_dp_config_video()
/openbmc/linux/drivers/target/
H A Dtarget_core_file.c168 dev_size, div_u64(dev_size, fd_dev->fd_block_size), in fd_configure_device()
824 return div_u64(dev_size - dev->dev_attrib.block_size, in fd_get_blocks()
/openbmc/linux/drivers/clk/ingenic/
H A Dcgu.c125 return div_u64((u64)parent_rate * m * pll_info->rate_multiplier, in ingenic_pll_recalc_rate()
173 return div_u64((u64)parent_rate * m * pll_info->rate_multiplier, in ingenic_pll_calc()
/openbmc/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek_ptp.c153 addend = (u32)div_u64(adj, 15625); in hellcreek_ptp_adjfine()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum1_kvdl.c226 nr_entries = div_u64(resource_size, info->alloc_size); in mlxsw_sp1_kvdl_part_init()
/openbmc/linux/drivers/mtd/
H A Dmtdoops.c332 u64 mtdoops_pages = div_u64(mtd->size, record_size); in mtdoops_notify_add()

12345678910>>...17