/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mac80211.c | 980 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 D | dsi_phy_7nm.c | 124 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 D | upd.c | 152 vol->upd_ebs = div_u64(bytes + vol->usable_leb_size - 1, in ubi_start_update()
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | cxd2820r_t2.c | 338 cnr = div_u64((u64)(intlog10(utmp) in cxd2820r_read_status_t2()
|
H A D | cxd2820r_t.c | 311 cnr = div_u64((u64)(intlog10(utmp) in cxd2820r_read_status_t()
|
H A D | rtl2832_sdr.c | 525 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 D | upd.c | 158 vol->upd_ebs = div_u64(bytes + vol->usable_leb_size - 1, in ubi_start_update()
|
/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_tai.c | 156 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 D | ptp.c | 119 *gp2 = div_u64(gp2_10ns, 100); in iwl_mvm_get_crosstimestamp_fw()
|
/openbmc/linux/drivers/phy/rockchip/ |
H A D | phy-rockchip-dphy-rx0.c | 241 data_rate_mbps = div_u64(config->hs_clk_rate, 1000 * 1000); in rk_dphy_configure()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_mqprio.c | 341 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 D | htb.c | 263 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 D | dcn30_hwseq.c | 760 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 D | fu540-prci.c | 474 return div_u64(parent_rate, div); in sifive_fu540_prci_tlclksel_recalc_rate()
|
/openbmc/linux/drivers/net/ethernet/qualcomm/rmnet/ |
H A D | rmnet_vnd.c | 231 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 D | intel_vblank.c | 166 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 D | dcn32_dio_stream_encoder.c | 304 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 D | dcn314_dio_stream_encoder.c | 313 m_vid_l = div_u64(m_vid_l, in enc314_stream_encoder_dp_unblank()
|
/openbmc/linux/arch/x86/kernel/cpu/ |
H A D | mshyperv.c | 481 hv_lapic_frequency = div_u64(hv_lapic_frequency, HZ); in ms_hyperv_init_platform()
|
/openbmc/linux/drivers/gpu/drm/rockchip/ |
H A D | cdn-dp-reg.c | 681 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 D | target_core_file.c | 168 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 D | cgu.c | 125 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 D | hellcreek_ptp.c | 153 addend = (u32)div_u64(adj, 15625); in hellcreek_ptp_adjfine()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum1_kvdl.c | 226 nr_entries = div_u64(resource_size, info->alloc_size); in mlxsw_sp1_kvdl_part_init()
|
/openbmc/linux/drivers/mtd/ |
H A D | mtdoops.c | 332 u64 mtdoops_pages = div_u64(mtd->size, record_size); in mtdoops_notify_add()
|