Lines Matching refs:HZ
21 #if HZ >= 12 && HZ < 24
23 #elif HZ >= 24 && HZ < 48
25 #elif HZ >= 48 && HZ < 96
27 #elif HZ >= 96 && HZ < 192
29 #elif HZ >= 192 && HZ < 384
31 #elif HZ >= 384 && HZ < 768
33 #elif HZ >= 768 && HZ < 1536
35 #elif HZ >= 1536 && HZ < 3072
37 #elif HZ >= 3072 && HZ < 6144
39 #elif HZ >= 6144 && HZ < 12288
42 # error Invalid value of HZ.
58 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ) /* For divider */
63 #define TICK_NSEC ((NSEC_PER_SEC+HZ/2)/HZ)
66 #define TICK_USEC ((USEC_PER_SEC + HZ/2) / HZ)
174 #define INITIAL_JIFFIES ((unsigned long)(unsigned int) (-300*HZ))
302 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ)
310 return (m + (MSEC_PER_SEC / HZ) - 1) / (MSEC_PER_SEC / HZ); in _msecs_to_jiffies()
312 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC)
323 return m * (HZ / MSEC_PER_SEC); in _msecs_to_jiffies()
332 if (HZ > MSEC_PER_SEC && m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) in _msecs_to_jiffies()
375 #if !(USEC_PER_SEC % HZ)
378 return (u + (USEC_PER_SEC / HZ) - 1) / (USEC_PER_SEC / HZ); in _usecs_to_jiffies()