Home
last modified time | relevance | path

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

/linux-6.1.9/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.c70 count = PIT_TICK_RATE / value; in pcspkr_input_event()
/linux-6.1.9/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))
/linux-6.1.9/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)
/linux-6.1.9/include/linux/
Di8253.h21 #define PIT_LATCH ((PIT_TICK_RATE + HZ/2) / HZ)
Dtimex.h170 #define PIT_TICK_RATE 1193182ul macro
/linux-6.1.9/drivers/input/misc/
Dpcspkr.c44 count = PIT_TICK_RATE / value; in pcspkr_event()
/linux-6.1.9/arch/x86/kernel/
Dtsc.c374 #define CAL_LATCH (PIT_TICK_RATE / (1000 / CAL_MS))
378 #define CAL2_LATCH (PIT_TICK_RATE / (1000 / CAL2_MS))
525 #define MAX_QUICK_PIT_ITERATIONS (MAX_QUICK_PIT_MS * PIT_TICK_RATE / 1000 / 256)
612 delta *= PIT_TICK_RATE; in quick_pit_calibrate()
/linux-6.1.9/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()
/linux-6.1.9/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()