Lines Matching refs:HZ
23 #if HZ >= 12 && HZ < 24
25 #elif HZ >= 24 && HZ < 48
27 #elif HZ >= 48 && HZ < 96
29 #elif HZ >= 96 && HZ < 192
31 #elif HZ >= 192 && HZ < 384
33 #elif HZ >= 384 && HZ < 768
35 #elif HZ >= 768 && HZ < 1536
37 #elif HZ >= 1536 && HZ < 3072
39 #elif HZ >= 3072 && HZ < 6144
41 #elif HZ >= 6144 && HZ < 12288
44 # error Invalid value of HZ.
60 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ) /* For divider */
65 #define TICK_USEC ((USEC_PER_SEC + HZ/2) / HZ)
173 #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()