Home
last modified time | relevance | path

Searched refs:mul_u64_u32_div (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/arch/x86/include/asm/
Ddiv64.h99 static inline u64 mul_u64_u32_div(u64 a, u32 mul, u32 div) in mul_u64_u32_div() function
103 #define mul_u64_u32_div mul_u64_u32_div macro
/linux-6.6.21/include/linux/
Dmath64.h260 #ifndef mul_u64_u32_div
261 static inline u64 mul_u64_u32_div(u64 a, u32 mul, u32 divisor) in mul_u64_u32_div() function
/linux-6.6.21/drivers/pwm/
Dpwm-xilinx.c121 period_cycles = mul_u64_u32_div(period_cycles, rate, NSEC_PER_SEC); in xilinx_pwm_apply()
128 duty_cycles = mul_u64_u32_div(duty_cycles, rate, NSEC_PER_SEC); in xilinx_pwm_apply()
Dpwm-rz-mtu3.c335 period_cycles = mul_u64_u32_div(state->period, rz_mtu3_pwm->rate, in rz_mtu3_pwm_config()
354 duty_cycles = mul_u64_u32_div(state->duty_cycle, rz_mtu3_pwm->rate, in rz_mtu3_pwm_config()
/linux-6.6.21/arch/x86/kvm/
Di8254.c122 d = mul_u64_u32_div(t, KVM_PIT_FREQ, NSEC_PER_SEC); in pit_get_count()
149 d = mul_u64_u32_div(t, KVM_PIT_FREQ, NSEC_PER_SEC); in pit_get_out()
332 interval = mul_u64_u32_div(val, NSEC_PER_SEC, KVM_PIT_FREQ); in create_pit_timer()
Dhyperv.c1132 mul_u64_u32_div(1ULL << (32 + hv_clock->tsc_shift), in compute_tsc_page_parameters()
Dlapic.c1981 ns_remaining_new = mul_u64_u32_div(ns_remaining_old, in update_target_expiration()
Dx86.c2455 ratio = mul_u64_u32_div(1ULL << kvm_caps.tsc_scaling_ratio_frac_bits, in set_tsc_khz()
/linux-6.6.21/drivers/hwmon/
Dltc2992.c618 *val = mul_u64_u32_div(reg_val, LTC2992_VADC_UV_LSB * LTC2992_IADC_NANOV_LSB, in ltc2992_get_power()
628 reg_val = mul_u64_u32_div(val, st->r_sense_uohm[channel] * 1000, in ltc2992_set_power()
/linux-6.6.21/drivers/i2c/busses/
Di2c-rzv2m.c115 trf_pclks = mul_u64_u32_div(pclk_hz, trf_ns, NSEC_PER_SEC); in rzv2m_i2c_clock_calculate()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_rc6.c858 return mul_u64_u32_div(time_hw, mul, div); in intel_rc6_residency_ns()
/linux-6.6.21/fs/ufs/
Dsuper.c1221 uspi->s_root_blocks = mul_u64_u32_div(uspi->s_dsize, in ufs_fill_super()
1229 uspi->s_space_to_time = mul_u64_u32_div(uspi->s_dsize, in ufs_fill_super()
/linux-6.6.21/kernel/time/
Dtimekeeping.c1159 corr_real = mul_u64_u32_div in adjust_historical_crosststamp()
/linux-6.6.21/arch/x86/events/intel/
Dcore.c2581 return mul_u64_u32_div(slots, val, 0xff); in icl_get_metrics_event_value()