Searched refs:mod_64 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/x86/kvm/ |
H A D | i8254.c | 44 #define mod_64(x, y) ((x) - (y) * div64_u64(x, y)) macro 46 #define mod_64(x, y) ((x) % (y)) macro 133 counter = c->count - (mod_64((2 * d), c->count)); in pit_get_count() 136 counter = c->count - mod_64(d, c->count); in pit_get_count() 160 out = ((mod_64(d, c->count) == 0) && (d != 0)); in pit_get_out() 163 out = (mod_64(d, c->count) < ((c->count + 1) >> 1)); in pit_get_out()
|
H A D | lapic.c | 50 #define mod_64(x, y) ((x) - (y) * div64_u64(x, y)) macro 52 #define mod_64(x, y) ((x) % (y)) macro 1547 ns = mod_64(ktime_to_ns(remaining), apic->lapic_timer.period); in apic_get_tmcct()
|