Searched refs:mod_64 (Results 1 – 2 of 2) sorted by relevance
/arch/x86/kvm/ |
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()
|
D | lapic.c | 45 #define mod_64(x, y) ((x) - (y) * div64_u64(x, y)) macro 47 #define mod_64(x, y) ((x) % (y)) macro 1238 ns = mod_64(ktime_to_ns(remaining), apic->lapic_timer.period); in apic_get_tmcct()
|