Lines Matching +full:freq +full:- +full:table +full:- +full:hz
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 1995-2004 Russell King
5 * Delay routines, using a pre-computed "loops_per_second" value.
11 #include <asm/param.h> /* HZ */
20 * jiffies_per_sec = HZ
23 * Therefore the constant part is HZ / 1000000 which is a small
32 * UDELAY_MULT = 2^31 * HZ / 1000000
33 * = (2^31 / 1000000) * HZ
34 * = 2147.483648 * HZ
35 * = 2147 * HZ + 483648 * HZ / 1000000
38 * delay_us * UDELAY_MULT assuming HZ <= 1000 and delay_us <= 2000.
41 #define UDELAY_MULT UL(2147 * HZ + 483648 * HZ / 1000000)
48 unsigned long freq; member
65 * of 2000us. Further limits: HZ<=1000
74 * lookup table, really, as the multiplications take much too long with
88 /* Loop-based definitions for assembly code. */
93 /* Delay-loop timer registration. */