Searched refs:mul_u64_u32_div (Results 1 - 16 of 16) sorted by relevance
/linux-master/arch/x86/include/asm/ |
H A D | div64.h | 99 static inline u64 mul_u64_u32_div(u64 a, u32 mul, u32 div) function 103 #define mul_u64_u32_div mul_u64_u32_div macro
|
/linux-master/include/linux/ |
H A D | math64.h | 260 #ifndef mul_u64_u32_div 261 static inline u64 mul_u64_u32_div(u64 a, u32 mul, u32 divisor) function 287 #endif /* mul_u64_u32_div */
|
/linux-master/drivers/pwm/ |
H A D | pwm-xilinx.c | 116 period_cycles = mul_u64_u32_div(period_cycles, rate, NSEC_PER_SEC); 123 duty_cycles = mul_u64_u32_div(duty_cycles, rate, NSEC_PER_SEC);
|
H A D | pwm-rz-mtu3.c | 333 period_cycles = mul_u64_u32_div(state->period, rz_mtu3_pwm->rate, 352 duty_cycles = mul_u64_u32_div(state->duty_cycle, rz_mtu3_pwm->rate,
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_gt_idle.c | 80 cur_residency = mul_u64_u32_div(cur_residency, gtidle->residency_multiplier, 1e6);
|
/linux-master/arch/x86/kvm/ |
H A D | i8254.c | 122 d = mul_u64_u32_div(t, KVM_PIT_FREQ, NSEC_PER_SEC); 149 d = mul_u64_u32_div(t, KVM_PIT_FREQ, NSEC_PER_SEC); 332 interval = mul_u64_u32_div(val, NSEC_PER_SEC, KVM_PIT_FREQ);
|
H A D | hyperv.c | 1132 mul_u64_u32_div(1ULL << (32 + hv_clock->tsc_shift),
|
H A D | lapic.c | 1986 ns_remaining_new = mul_u64_u32_div(ns_remaining_old,
|
H A D | x86.c | 2452 ratio = mul_u64_u32_div(1ULL << kvm_caps.tsc_scaling_ratio_frac_bits,
|
/linux-master/drivers/accel/qaic/ |
H A D | qaic_timesync.c | 18 #define QAIC_CONV_QTIMER_TO_US(qtimer) (mul_u64_u32_div(qtimer, 10, 192))
|
/linux-master/drivers/i2c/busses/ |
H A D | i2c-rzv2m.c | 115 trf_pclks = mul_u64_u32_div(pclk_hz, trf_ns, NSEC_PER_SEC);
|
/linux-master/drivers/hwmon/ |
H A D | ltc2992.c | 618 *val = mul_u64_u32_div(reg_val, LTC2992_VADC_UV_LSB * LTC2992_IADC_NANOV_LSB, 628 reg_val = mul_u64_u32_div(val, st->r_sense_uohm[channel] * 1000,
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_rc6.c | 855 return mul_u64_u32_div(time_hw, mul, div);
|
/linux-master/fs/ufs/ |
H A D | super.c | 1222 uspi->s_root_blocks = mul_u64_u32_div(uspi->s_dsize, 1230 uspi->s_space_to_time = mul_u64_u32_div(uspi->s_dsize,
|
/linux-master/kernel/time/ |
H A D | timekeeping.c | 1159 corr_real = mul_u64_u32_div
|
/linux-master/arch/x86/events/intel/ |
H A D | core.c | 2586 return mul_u64_u32_div(slots, val, 0xff);
|
Completed in 250 milliseconds