Searched refs:PIT_TICK_RATE (Results 1 – 14 of 14) sorted by relevance
34 #define PCSP_DEFAULT_SRATE (PIT_TICK_RATE / PCSP_DEFAULT_SDIV)36 #define PCSP_CALC_RATE(i) (PIT_TICK_RATE / CALC_DIV(i))38 #define PCSP_MIN_RATE__1 MAX_DIV/PIT_TICK_RATE39 #define PCSP_MAX_RATE__1 MIN_DIV/PIT_TICK_RATE44 do_div(__val, PIT_TICK_RATE); \
69 count = PIT_TICK_RATE / value; in pcspkr_input_event()
106 return clocksource_register_hz(&i8253_cs, PIT_TICK_RATE); in clocksource_i8253_init()193 clockevents_config_and_register(&i8253_clockevent, PIT_TICK_RATE, in clockevent_i8253_init()
140 ((CALIBRATE_LATCH * (PMTMR_TICKS_PER_SEC >> 10)) / (PIT_TICK_RATE>>10))
18 #define CLOCK_TICK_RATE PIT_TICK_RATE
19 ((PIT_TICK_RATE * CALIBRATE_TIME_MSEC + 1000/2)/1000)
21 #define PIT_LATCH ((PIT_TICK_RATE + HZ/2) / HZ)
171 #define PIT_TICK_RATE 1193182ul macro
43 count = PIT_TICK_RATE / value; in pcspkr_event()
373 #define CAL_LATCH (PIT_TICK_RATE / (1000 / CAL_MS))377 #define CAL2_LATCH (PIT_TICK_RATE / (1000 / CAL2_MS))524 #define MAX_QUICK_PIT_ITERATIONS (MAX_QUICK_PIT_MS * PIT_TICK_RATE / 1000 / 256)611 delta *= PIT_TICK_RATE; in quick_pit_calibrate()
67 #define RUFFIAN_LATCH DIV_ROUND_CLOSEST(PIT_TICK_RATE, HZ)
372 return ((long)cc * PIT_TICK_RATE) / (CALIBRATE_LATCH + 1); in calibrate_cc_with_pit()
302 arg = PIT_TICK_RATE / arg; in vt_k_ioctl()319 count = PIT_TICK_RATE / count; in vt_k_ioctl()
131 … (boot_cpu_has(X86_FEATURE_TSC) ? ((y) - (x)) : ((x) - (y) + ((x) < (y) ? PIT_TICK_RATE / HZ : 0)))