Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/drivers/pcsp/
Dpcsp.h34 #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_RATE
39 #define PCSP_MAX_RATE__1 MIN_DIV/PIT_TICK_RATE
44 do_div(__val, PIT_TICK_RATE); \
Dpcsp_input.c69 count = PIT_TICK_RATE / value; in pcspkr_input_event()
/kernel/linux/linux-5.10/drivers/clocksource/
Di8253.c106 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()
Dacpi_pm.c140 ((CALIBRATE_LATCH * (PMTMR_TICKS_PER_SEC >> 10)) / (PIT_TICK_RATE>>10))
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dtimex.h18 #define CLOCK_TICK_RATE PIT_TICK_RATE
Dmach_timer.h19 ((PIT_TICK_RATE * CALIBRATE_TIME_MSEC + 1000/2)/1000)
/kernel/linux/linux-5.10/include/linux/
Di8253.h21 #define PIT_LATCH ((PIT_TICK_RATE + HZ/2) / HZ)
Dtimex.h171 #define PIT_TICK_RATE 1193182ul macro
/kernel/linux/linux-5.10/drivers/input/misc/
Dpcspkr.c43 count = PIT_TICK_RATE / value; in pcspkr_event()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dtsc.c373 #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()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dsys_ruffian.c67 #define RUFFIAN_LATCH DIV_ROUND_CLOSEST(PIT_TICK_RATE, HZ)
Dtime.c372 return ((long)cc * PIT_TICK_RATE) / (CALIBRATE_LATCH + 1); in calibrate_cc_with_pit()
/kernel/linux/linux-5.10/drivers/tty/vt/
Dvt_ioctl.c302 arg = PIT_TICK_RATE / arg; in vt_k_ioctl()
319 count = PIT_TICK_RATE / count; in vt_k_ioctl()
/kernel/linux/linux-5.10/drivers/input/joystick/
Danalog.c131 … (boot_cpu_has(X86_FEATURE_TSC) ? ((y) - (x)) : ((x) - (y) + ((x) < (y) ? PIT_TICK_RATE / HZ : 0)))