Searched refs:HZ (Results 1 - 200 of 2551) sorted by relevance

1234567891011>>

/linux-4.4.14/arch/alpha/include/asm/
H A Dparam.h6 # undef HZ macro
7 # define HZ CONFIG_HZ macro
H A Dtimex.h10 the 32.768kHz reference clock, which nicely divides down to our HZ. */
/linux-4.4.14/include/uapi/asm-generic/
H A Dparam.h4 #ifndef HZ
5 #define HZ 100 macro
/linux-4.4.14/include/asm-generic/
H A Dparam.h6 # undef HZ macro
7 # define HZ CONFIG_HZ /* Internal kernel timer frequency */ macro
H A Dcputime_nsecs.h33 * Convert cputime <-> jiffies (HZ)
36 cputime_div(__ct, NSEC_PER_SEC / HZ)
39 (__force cputime_t)((__jif) * (NSEC_PER_SEC / HZ))
41 cputime_div(__ct, NSEC_PER_SEC / HZ)
43 (__force cputime64_t)((__jif) * (NSEC_PER_SEC / HZ))
H A Dcputime_jiffies.h43 #define cputime_to_secs(jif) (cputime_to_jiffies(jif) / HZ)
44 #define secs_to_cputime(sec) jiffies_to_cputime((sec) * HZ)
/linux-4.4.14/arch/um/include/asm/
H A Dtimex.h11 #define CLOCK_TICK_RATE (HZ)
/linux-4.4.14/arch/ia64/include/asm/
H A Dparam.h14 # define HZ CONFIG_HZ macro
15 # define USER_HZ HZ
16 # define CLOCKS_PER_SEC HZ /* frequency at which times() counts */
H A Dtimex.h24 * calculation assumes that you will use enough of these so that your tick size <= 1/HZ.
25 * If the calculation shows that your CLOCK_TICK_RATE can not supply exactly 1/HZ ticks,
27 * the CLOCK_TICK_RATE to x*HZ insures that the calculation will find no errors. Hence we
28 * pick a multiple of HZ which gives us a (totally virtual) CLOCK_TICK_RATE of about
31 #define CLOCK_TICK_RATE (HZ * 100000UL)
/linux-4.4.14/arch/microblaze/include/asm/
H A Ddelay.h30 * loops = (4294 * usecs * loops_per_jiffy * HZ) / 2^32.
33 * We choose a = usecs * 19 * HZ and b = loops_per_jiffy * 226
34 * because this lets us support a wide range of HZ and
36 * Thus we need usecs * HZ <= (2^32 - 1) / 19 = 226050910 and
38 * (which corresponds to ~3800 bogomips at HZ = 100).
41 #define __MAX_UDELAY (226050910UL/HZ) /* maximum udelay argument */
42 #define __MAX_NDELAY (4294967295UL/HZ) /* maximum ndelay argument */
70 __udelay((n) * (19 * HZ)); \
72 __udelay((n) * (19 * HZ)); \
82 __udelay((n) * HZ); \
84 __udelay((n) * HZ); \
/linux-4.4.14/arch/mn10300/unit-asb2303/include/unit/
H A Dtimex.h30 #ifndef HZ
31 # error HZ undeclared.
32 #endif /* !HZ */
34 #if (MN10300_SRC_IOCLK + HZ / 2) / HZ - 1 <= TMJCBR_MAX
38 #elif (MN10300_SRC_IOCLK / 8 + HZ / 2) / HZ - 1 <= TMJCBR_MAX
42 #elif (MN10300_SRC_IOCLK / 32 + HZ / 2) / HZ - 1 <= TMJCBR_MAX
53 #define MN10300_JC_PER_HZ ((MN10300_JCCLK + HZ / 2) / HZ)
54 #define MN10300_TSC_PER_HZ ((MN10300_TSCCLK + HZ / 2) / HZ)
/linux-4.4.14/arch/mn10300/unit-asb2305/include/unit/
H A Dtimex.h30 #ifndef HZ
31 # error HZ undeclared.
32 #endif /* !HZ */
34 #if (MN10300_SRC_IOCLK + HZ / 2) / HZ - 1 <= TMJCBR_MAX
38 #elif (MN10300_SRC_IOCLK / 8 + HZ / 2) / HZ - 1 <= TMJCBR_MAX
42 #elif (MN10300_SRC_IOCLK / 32 + HZ / 2) / HZ - 1 <= TMJCBR_MAX
53 #define MN10300_JC_PER_HZ ((MN10300_JCCLK + HZ / 2) / HZ)
54 #define MN10300_TSC_PER_HZ ((MN10300_TSCCLK + HZ / 2) / HZ)
/linux-4.4.14/arch/alpha/include/uapi/asm/
H A Dparam.h4 #define HZ 1024 macro
/linux-4.4.14/arch/cris/include/arch-v10/arch/
H A Dtimex.h13 #define CLOCK_TICK_RATE 25000 /* Underlying frequency of the HZ timer */
14 /* The timer0 values gives 40us resolution (1/25000) but interrupts at HZ*/
17 #define TIMER0_DIV (TIMER0_FREQ/(HZ))
21 ( (TIMER0_DIV - *R_TIMER0_DATA) * (1000000/HZ)/TIMER0_DIV )
/linux-4.4.14/arch/cris/include/uapi/asm/
H A Dparam.h4 /* Currently we assume that HZ=100 is good for CRIS. */
/linux-4.4.14/arch/arc/include/asm/
H A Ddelay.h20 #include <asm/param.h> /* HZ */
36 * -1 sec has HZ jiffies
37 * loops per "N" usecs = ((loops_per_jiffy * HZ / 1000000) * N)
43 * -> (((loops_per_jiffy * HZ / 1000000) * N) * 2^32) / 2^32
44 * -> (loops_per_jiffy * HZ * N * 4295) / 2^32
56 * HZ * 4295 is pre-evaluated by gcc - hence only 2 mpy ops __udelay()
58 loops = ((u64) usecs * 4295 * HZ * loops_per_jiffy) >> 32; __udelay()
/linux-4.4.14/arch/mips/include/asm/
H A Ddelay.h24 #if HZ >= 1000
26 #elif HZ <= 200
29 #define MAX_UDELAY_MS (1000 / HZ)
H A Dhpet.h68 #define HPET_COMPARE_VAL ((HPET_FREQ + HZ / 2) / HZ)
/linux-4.4.14/arch/cris/include/arch-v32/arch/
H A Dtimex.h13 #define CLOCK_TICK_RATE 100000000 /* Underlying frequency of the HZ timer */
15 /* The timer0 values gives 10 ns resolution but interrupts at HZ. */
17 #define TIMER0_DIV (TIMER0_FREQ/(HZ))
/linux-4.4.14/drivers/staging/dgnc/
H A Ddgnc_utils.c16 schedule_timeout((ms * HZ) / 1000); dgnc_ms_sleep()
/linux-4.4.14/include/uapi/linux/nfsd/
H A Dstats.h15 #define NFSD_USAGE_WRAP (HZ*1000000)
/linux-4.4.14/arch/sparc/include/asm/
H A Dtimex_32.h9 #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
H A Dtimex_64.h11 #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
/linux-4.4.14/arch/parisc/include/asm/
H A Dtimex.h10 #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
/linux-4.4.14/arch/frv/include/asm/
H A Dtimex.h6 #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
/linux-4.4.14/fs/fscache/
H A Dhistogram.c18 atomic_t fscache_obj_instantiate_histogram[HZ];
19 atomic_t fscache_objs_histogram[HZ];
20 atomic_t fscache_ops_histogram[HZ];
21 atomic_t fscache_retrieval_delay_histogram[HZ];
22 atomic_t fscache_retrieval_histogram[HZ];
49 t = (index * 1000) / HZ; fscache_histogram_show()
62 if ((unsigned long long)*_pos >= HZ + 2) fscache_histogram_start()
75 return (unsigned long long)*pos > HZ + 2 ? fscache_histogram_next()
H A Dinternal.h64 extern atomic_t fscache_obj_instantiate_histogram[HZ];
65 extern atomic_t fscache_objs_histogram[HZ];
66 extern atomic_t fscache_ops_histogram[HZ];
67 extern atomic_t fscache_retrieval_delay_histogram[HZ];
68 extern atomic_t fscache_retrieval_histogram[HZ];
73 if (jif >= HZ) fscache_hist()
74 jif = HZ - 1; fscache_hist()
/linux-4.4.14/arch/mips/include/asm/mach-loongson64/cs5536/
H A Dcs5536_mfgpt.h28 #define COMPARE ((MFGPT_TICK_RATE + HZ/2) / HZ)
/linux-4.4.14/arch/ia64/include/uapi/asm/
H A Dparam.h24 * get the HZ value is via sysconf(_SC_CLK_TCK).
26 # define HZ 1024 macro
/linux-4.4.14/arch/arm/mach-pxa/include/mach/
H A Dregs-rtc.h18 #define RTSR_HZE (1 << 3) /* HZ interrupt enable */
20 #define RTSR_HZ (1 << 1) /* HZ rising-edge detected */
/linux-4.4.14/net/netrom/
H A Dsysctl_net_netrom.c21 static int min_t1[] = {5 * HZ};
22 static int max_t1[] = {600 * HZ};
24 static int min_t2[] = {1 * HZ};
25 static int max_t2[] = {60 * HZ};
26 static int min_t4[] = {1 * HZ};
27 static int max_t4[] = {1000 * HZ};
29 static int min_idle[] = {0 * HZ};
30 static int max_idle[] = {65535 * HZ};
H A Daf_netrom.c288 sk->sk_timer.expires = jiffies + 2 * HZ; nr_destroy_socket()
317 if (opt < 1 || opt > ULONG_MAX / HZ) nr_setsockopt()
319 nr->t1 = opt * HZ; nr_setsockopt()
323 if (opt < 1 || opt > ULONG_MAX / HZ) nr_setsockopt()
325 nr->t2 = opt * HZ; nr_setsockopt()
335 if (opt < 1 || opt > ULONG_MAX / HZ) nr_setsockopt()
337 nr->t4 = opt * HZ; nr_setsockopt()
341 if (opt > ULONG_MAX / (60 * HZ)) nr_setsockopt()
343 nr->idle = opt * 60 * HZ; nr_setsockopt()
370 val = nr->t1 / HZ; nr_getsockopt()
374 val = nr->t2 / HZ; nr_getsockopt()
382 val = nr->t4 / HZ; nr_getsockopt()
386 val = nr->idle / (60 * HZ); nr_getsockopt()
995 if (timeout * HZ < nr_make->t1) nr_rx_frame()
996 nr_make->t1 = timeout * HZ; nr_rx_frame()
1313 ax25_display_timer(&nr->t1timer) / HZ, nr_info_show()
1314 nr->t1 / HZ, nr_info_show()
1315 ax25_display_timer(&nr->t2timer) / HZ, nr_info_show()
1316 nr->t2 / HZ, nr_info_show()
1317 ax25_display_timer(&nr->t4timer) / HZ, nr_info_show()
1318 nr->t4 / HZ, nr_info_show()
1319 ax25_display_timer(&nr->idletimer) / (60 * HZ), nr_info_show()
1320 nr->idle / (60 * HZ), nr_info_show()
/linux-4.4.14/drivers/media/usb/b2c2/
H A Dflexcop-usb.h89 #define B2C2_WAIT_FOR_OPERATION_RW (1*HZ)
90 #define B2C2_WAIT_FOR_OPERATION_RDW (3*HZ)
91 #define B2C2_WAIT_FOR_OPERATION_WDW (1*HZ)
93 #define B2C2_WAIT_FOR_OPERATION_V8READ (3*HZ)
94 #define B2C2_WAIT_FOR_OPERATION_V8WRITE (3*HZ)
95 #define B2C2_WAIT_FOR_OPERATION_V8FLASH (3*HZ)
/linux-4.4.14/net/bridge/
H A Dbr_private_stp.h20 #define BR_MIN_HELLO_TIME (1*HZ)
21 #define BR_MAX_HELLO_TIME (10*HZ)
23 #define BR_MIN_FORWARD_DELAY (2*HZ)
24 #define BR_MAX_FORWARD_DELAY (30*HZ)
26 #define BR_MIN_MAX_AGE (6*HZ)
27 #define BR_MAX_MAX_AGE (40*HZ)
/linux-4.4.14/kernel/time/
H A Djiffies.c33 * the timer interrupt frequency HZ and it suffers
37 * requested HZ value. It is also not recommended
40 #define NSEC_PER_JIFFY ((NSEC_PER_SEC+HZ/2)/HZ)
51 * HZ shrinks, so values greater than 8 overflow 32bits when
52 * HZ=100.
54 #if HZ < 34
56 #elif HZ < 67
122 cycles_per_tick = (cycles_per_second + HZ/2)/HZ; register_refined_jiffies()
H A Dtime.c251 * two most common HZ cases:
255 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) jiffies_to_msecs()
256 return (MSEC_PER_SEC / HZ) * j; jiffies_to_msecs()
257 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC) jiffies_to_msecs()
258 return (j + (HZ / MSEC_PER_SEC) - 1)/(HZ / MSEC_PER_SEC); jiffies_to_msecs()
275 BUILD_BUG_ON(HZ > USEC_PER_SEC); jiffies_to_usecs()
277 #if !(USEC_PER_SEC % HZ) jiffies_to_usecs()
278 return (USEC_PER_SEC / HZ) * j; jiffies_to_usecs()
509 * the _msecs_to_jiffies helpers are the HZ dependent conversion
632 # if HZ < USER_HZ jiffies_to_clock_t()
633 return x * (USER_HZ / HZ); jiffies_to_clock_t()
635 return x / (HZ / USER_HZ); jiffies_to_clock_t()
645 #if (HZ % USER_HZ)==0 clock_t_to_jiffies()
646 if (x >= ~0UL / (HZ / USER_HZ)) clock_t_to_jiffies()
648 return x * (HZ / USER_HZ); clock_t_to_jiffies()
651 if (x >= ~0UL / HZ * USER_HZ) clock_t_to_jiffies()
655 return div_u64((u64)x * HZ, USER_HZ); clock_t_to_jiffies()
663 # if HZ < USER_HZ jiffies_64_to_clock_t()
664 x = div_u64(x * USER_HZ, HZ); jiffies_64_to_clock_t()
665 # elif HZ > USER_HZ jiffies_64_to_clock_t()
666 x = div_u64(x, HZ / USER_HZ); jiffies_64_to_clock_t()
692 * exact for HZ=60, 72, 90, 120, 144, 180, 300, 600, 900, ... nsec_to_clock_t()
713 #if (NSEC_PER_SEC % HZ) == 0 nsecs_to_jiffies64()
714 /* Common case, HZ = 100, 128, 200, 250, 256, 500, 512, 1000 etc. */ nsecs_to_jiffies64()
715 return div_u64(n, NSEC_PER_SEC / HZ); nsecs_to_jiffies64()
716 #elif (HZ % 512) == 0 nsecs_to_jiffies64()
717 /* overflow after 292 years if HZ = 1024 */ nsecs_to_jiffies64()
718 return div_u64(n * HZ / 512, NSEC_PER_SEC / 512); nsecs_to_jiffies64()
721 * Generic case - optimized for cases where HZ is a multiple of 3. nsecs_to_jiffies64()
722 * overflow after 64.99 years, exact for HZ = 60, 72, 90, 120 etc. nsecs_to_jiffies64()
724 return div_u64(n * 9, (9ull * NSEC_PER_SEC + HZ / 2) / HZ); nsecs_to_jiffies64()
/linux-4.4.14/include/linux/
H A Djiffies.h9 #include <asm/param.h> /* for HZ */
14 * model. The HZ variable establishes the timer interrupt frequency, 100 Hz
19 #if HZ >= 12 && HZ < 24
21 #elif HZ >= 24 && HZ < 48
23 #elif HZ >= 48 && HZ < 96
25 #elif HZ >= 96 && HZ < 192
27 #elif HZ >= 192 && HZ < 384
29 #elif HZ >= 384 && HZ < 768
31 #elif HZ >= 768 && HZ < 1536
33 #elif HZ >= 1536 && HZ < 3072
35 #elif HZ >= 3072 && HZ < 6144
37 #elif HZ >= 6144 && HZ < 12288
40 # error Invalid value of HZ.
56 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ) /* For divider */
61 #define TICK_NSEC ((NSEC_PER_SEC+HZ/2)/HZ)
167 #define INITIAL_JIFFIES ((unsigned long)(unsigned int) (-300*HZ))
193 * timex.h) adjusts the scaling for different HZ values.
210 * about 3-4 bits of precision (less for smaller values of HZ).
226 * that means using a different scale for each range of HZ values (as
249 * We know it is set for HZ = 1024 and HZ = 100 not for 1000.
293 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ)
295 * HZ is equal to or smaller than 1000, and 1000 is a nice round
296 * multiple of HZ, divide with the factor between them, but round
301 return (m + (MSEC_PER_SEC / HZ) - 1) / (MSEC_PER_SEC / HZ); _msecs_to_jiffies()
303 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC)
305 * HZ is larger than 1000, and HZ is a nice round multiple of 1000 -
314 return m * (HZ / MSEC_PER_SEC); _msecs_to_jiffies()
323 if (HZ > MSEC_PER_SEC && m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) _msecs_to_jiffies()
350 * the HZ range specific helpers _msecs_to_jiffies() are called both
366 #if !(USEC_PER_SEC % HZ) _usecs_to_jiffies()
369 return (u + (USEC_PER_SEC / HZ) - 1) / (USEC_PER_SEC / HZ); _usecs_to_jiffies()
397 * the HZ range specific helpers _usecs_to_jiffies() are called both
H A Di8253.h21 #define PIT_LATCH ((PIT_TICK_RATE + HZ/2) / HZ)
H A Dacct.h66 * Yet another set of HZ to *HZ helper functions.
73 # if HZ < AHZ jiffies_to_AHZ()
74 return x * (AHZ / HZ); jiffies_to_AHZ()
76 return x / (HZ / AHZ); jiffies_to_AHZ()
H A Dn_r3964.h16 * Fixed HZ usage on 2.6 kernels
66 #define R3964_TO_QVZ ((550)*HZ/1000)
67 #define R3964_TO_ZVZ ((220)*HZ/1000)
68 #define R3964_TO_NO_BUF ((400)*HZ/1000)
69 #define R3964_NO_TX_ROOM ((100)*HZ/1000)
70 #define R3964_TO_RX_PANIC ((4000)*HZ/1000)
H A Dratelimit.h7 #define DEFAULT_RATELIMIT_INTERVAL (5 * HZ)
H A Datalk.h96 #define AARP_EXPIRY_TIME (5 * 60 * HZ)
100 #define AARP_TICK_TIME (HZ / 5)
107 #define AARP_RESOLVE_TIME (10 * HZ)
/linux-4.4.14/arch/mips/sni/
H A Dtime.c15 #define SNI_COUNTER0_DIV ((SNI_CLOCK_TICK_RATE / SNI_COUNTER2_DIV) / HZ)
82 #define SNI_8254_TCSAMP_COUNTER ((SNI_8254_TICK_RATE / HZ) + 255)
109 * for every 1/HZ seconds. We round off the nearest 1 MHz of master dosample()
110 * clock (= 1000000 / HZ / 2). dosample()
112 /*return (ct1 - ct0 + (500000/HZ/2)) / (500000/HZ) * (500000/HZ);*/ dosample()
113 return (ct1 - ct0) / (500000/HZ) * (500000/HZ); dosample()
159 (int) (r4k_tick / (500000 / HZ)), plat_time_init()
160 (int) (r4k_tick % (500000 / HZ))); plat_time_init()
162 mips_hpt_frequency = r4k_tick * HZ; plat_time_init()
/linux-4.4.14/fs/cachefiles/
H A Dproc.c17 atomic_t cachefiles_lookup_histogram[HZ];
18 atomic_t cachefiles_mkdir_histogram[HZ];
19 atomic_t cachefiles_create_histogram[HZ];
44 t = (index * 1000) / HZ; cachefiles_histogram_show()
56 if ((unsigned long long)*_pos >= HZ + 2) cachefiles_histogram_start()
69 return (unsigned long long)*pos > HZ + 2 ? cachefiles_histogram_next()
/linux-4.4.14/net/rose/
H A Dsysctl_net_rose.c15 static int min_timer[] = {1 * HZ};
16 static int max_timer[] = {300 * HZ};
17 static int min_idle[] = {0 * HZ};
18 static int max_idle[] = {65535 * HZ};
20 static int min_ftimer[] = {60 * HZ};
21 static int max_ftimer[] = {600 * HZ};
H A Daf_rose.c358 sk->sk_timer.expires = jiffies + 10 * HZ; rose_destroy_socket()
393 rose->t1 = opt * HZ; rose_setsockopt()
399 rose->t2 = opt * HZ; rose_setsockopt()
405 rose->t3 = opt * HZ; rose_setsockopt()
411 rose->hb = opt * HZ; rose_setsockopt()
417 rose->idle = opt * 60 * HZ; rose_setsockopt()
452 val = rose->t1 / HZ; rose_getsockopt()
456 val = rose->t2 / HZ; rose_getsockopt()
460 val = rose->t3 / HZ; rose_getsockopt()
464 val = rose->hb / HZ; rose_getsockopt()
468 val = rose->idle / (60 * HZ); rose_getsockopt()
1434 ax25_display_timer(&rose->timer) / HZ, rose_info_show()
1435 rose->t1 / HZ, rose_info_show()
1436 rose->t2 / HZ, rose_info_show()
1437 rose->t3 / HZ, rose_info_show()
1438 rose->hb / HZ, rose_info_show()
1439 ax25_display_timer(&rose->idletimer) / (60 * HZ), rose_info_show()
1440 rose->idle / (60 * HZ), rose_info_show()
/linux-4.4.14/include/net/irda/
H A Dtimer.h33 #include <asm/param.h> /* for HZ */
46 #define POLL_TIMEOUT (450*HZ/1000) /* Must never exceed 500 ms */
47 #define FINAL_TIMEOUT (500*HZ/1000) /* Must never exceed 500 ms */
55 #define MEDIABUSY_TIMEOUT (500*HZ/1000) /* 500 msec */
56 #define SMALLBUSY_TIMEOUT (100*HZ/1000) /* 100 msec - IrLAP 6.13.4 */
64 #define SLOT_TIMEOUT (90*HZ/1000)
71 #define XIDEXTRA_TIMEOUT (34*HZ/1000) /* 34 msec */
73 #define WATCHDOG_TIMEOUT (20*HZ) /* 20 sec */
/linux-4.4.14/arch/blackfin/include/asm/
H A Ddelay.h25 #include <linux/param.h> /* needed for HZ */
31 #define HZSCALE (268435456 / (1000000/HZ))
H A Dtimex.h12 #define CLOCK_TICK_RATE 1000000 /* Underlying HZ */
/linux-4.4.14/arch/blackfin/kernel/
H A Dtime.c42 set_gptimer_period(TIMER0_id, get_sclk() / HZ); setup_system_timer0()
59 tcount = ((get_cclk() / (HZ * TIME_SCALE)) - 1); setup_core_timer()
96 (((clocks_per_jiffy + 1) * HZ) / USEC_PER_SEC); blackfin_gettimeoffset()
98 if ((get_gptimer_status(0) & TIMER_STATUS_TIMIL0) && offset < (100000 / HZ / 2)) blackfin_gettimeoffset()
99 offset += (USEC_PER_SEC / HZ); blackfin_gettimeoffset()
103 (((clocks_per_jiffy + 1) * HZ) / USEC_PER_SEC); blackfin_gettimeoffset()
107 && (offset < (100000 / HZ / 2))) blackfin_gettimeoffset()
108 offset += (USEC_PER_SEC / HZ); blackfin_gettimeoffset()
/linux-4.4.14/arch/tile/include/asm/
H A Dtimex.h19 * This rate should be a multiple of the possible HZ values (100, 250, 1000)
22 * of this value (setting ACT_HZ from HZ) we just pick a value that causes
23 * ACT_HZ to be set to HZ. We make the value somewhat large just to be
24 * more robust in case someone tries out a new value of HZ.
/linux-4.4.14/arch/score/include/asm/
H A Ddelay.h21 loops_per_usec = (loops_per_jiffy * HZ) / 1000000; __udelay()
/linux-4.4.14/arch/m32r/lib/
H A Ddelay.c64 * * HZ [jiffy/sec] __const_udelay()
65 * = (xloops >> 32) [sec] * (loops_per_jiffy * HZ) [1/sec] __const_udelay()
66 * = (((xloops * loops_per_jiffy) >> 32) * HZ) [1] __const_udelay()
113 __delay(xloops * HZ); __const_udelay()
/linux-4.4.14/arch/mips/sgi-ip22/
H A Dip22-time.c59 * for every 1/HZ seconds. We round off the nearest 1 MHz of master dosample()
60 * clock (= 1000000 / HZ / 2). dosample()
63 return (ct1 - ct0) / (500000/HZ) * (500000/HZ); dosample()
109 (int) (r4k_tick / (500000 / HZ)), plat_time_init()
110 (int) (r4k_tick % (500000 / HZ))); plat_time_init()
112 mips_hpt_frequency = r4k_tick * HZ; plat_time_init()
H A Dip22-reset.c38 #define POWERDOWN_FREQ (HZ / 4)
39 #define PANIC_FREQ (HZ / 8)
104 debounce_timer.expires = jiffies + (HZ / 20); /* 0.05s */ debounce()
137 power_timer.expires = jiffies + POWERDOWN_TIMEOUT * HZ; power_button()
/linux-4.4.14/arch/mn10300/unit-asb2364/include/unit/
H A Dtimex.h29 #ifndef HZ
30 # error HZ undeclared.
31 #endif /* !HZ */
36 #define MN10300_JC_PER_HZ ((MN10300_JCCLK + HZ / 2) / HZ)
37 #define MN10300_TSC_PER_HZ ((MN10300_TSCCLK + HZ / 2) / HZ)
/linux-4.4.14/drivers/target/
H A Dtarget_core_pscsi.h15 #define PS_TIMEOUT_DISK (15*HZ)
16 #define PS_TIMEOUT_OTHER (500*HZ)
/linux-4.4.14/arch/alpha/lib/
H A Dudelay.c44 usecs *= (((unsigned long)HZ << 32) / 1000000) * LPJ; udelay()
52 nsecs *= (((unsigned long)HZ << 32) / 1000000000) * LPJ; ndelay()
/linux-4.4.14/net/x25/
H A Dsysctl_net_x25.c15 static int min_timer[] = { 1 * HZ };
16 static int max_timer[] = { 300 * HZ };
H A Dx25_proc.c109 x25->va, x25_display_timer(s) / HZ, x25->t2 / HZ, x25_seq_socket_show()
110 x25->t21 / HZ, x25->t22 / HZ, x25->t23 / HZ, x25_seq_socket_show()
/linux-4.4.14/include/uapi/linux/
H A Dnfs_fs.h20 #define NFS_MAX_UDP_TIMEOUT (60*HZ)
21 #define NFS_MAX_TCP_TIMEOUT (600*HZ)
H A Dif_eql.h25 #define EQL_DEFAULT_RESCHED_IVAL HZ
/linux-4.4.14/arch/mips/mti-malta/
H A Dmalta-display.c40 static DEFINE_TIMER(mips_scroll_timer, scroll_display_message, HZ, 0);
48 mod_timer(&mips_scroll_timer, jiffies + HZ); scroll_display_message()
/linux-4.4.14/arch/avr32/include/asm/
H A Dtimex.h20 * - a multiple of HZ
28 #define CLOCK_TICK_RATE 500000 /* Underlying HZ */
/linux-4.4.14/arch/xtensa/include/asm/
H A Dparam.h15 # define HZ CONFIG_HZ /* internal timer frequency */ macro
H A Dplatform.h53 * platform_heartbeat is called every HZ
/linux-4.4.14/arch/xtensa/include/uapi/asm/
H A Dparam.h15 # define HZ 100 macro
/linux-4.4.14/net/bridge/netfilter/
H A Debt_limit.c23 #define MAX_CPJ (0xFFFFFFFF / (HZ*60*60*24))
61 if (user > 0xFFFFFFFF / (HZ*CREDITS_PER_JIFFY)) user2credits()
63 return (user / EBT_LIMIT_SCALE) * HZ * CREDITS_PER_JIFFY; user2credits()
65 return (user * HZ * CREDITS_PER_JIFFY) / EBT_LIMIT_SCALE; user2credits()
/linux-4.4.14/arch/sh/include/asm/
H A Dtimex.h16 #define CLOCK_TICK_RATE (CONFIG_SH_PCLK_FREQ / 4) /* Underlying HZ */
/linux-4.4.14/arch/h8300/lib/
H A Ddelay.c24 loops = (u64)xloops * loops_per_jiffy * HZ; __const_udelay()
/linux-4.4.14/arch/unicore32/include/asm/
H A Ddelay.h17 #include <asm/param.h> /* HZ */
26 * of 2000us. Further limits: HZ<=1000 and bogomips<=3355
48 __const_udelay((n) * ((2199023U*HZ)>>11))) : \
/linux-4.4.14/arch/arm/include/asm/
H A Ddelay.h10 #include <asm/param.h> /* HZ */
13 #define UDELAY_MULT ((UL(2199023) * HZ) >> 11)
37 * of 2000us. Further limits: HZ<=1000 and bogomips<=3355
/linux-4.4.14/drivers/net/ethernet/dec/tulip/
H A Dpnic.c68 if (! tp->nwayset || time_after(jiffies, dev_trans_start(dev) + 1*HZ)) { pnic_lnk_change()
92 int next_tick = 60*HZ; pnic_timer()
106 next_tick = 3*HZ; pnic_timer()
119 next_tick = 1*HZ; pnic_timer()
123 next_tick = 60*HZ; pnic_timer()
131 next_tick = 3*HZ; pnic_timer()
134 next_tick = 1*HZ; pnic_timer()
H A Dtimer.c24 int next_tick = 2*HZ; tulip_media_task()
46 next_tick = 60*HZ; tulip_media_task()
104 next_tick = (24*HZ)/10; tulip_media_task()
111 next_tick = 3*HZ; tulip_media_task()
114 next_tick = 60*HZ; tulip_media_task()
145 int next_tick = 60*HZ; mxic_timer()
161 int next_tick = 2*HZ; comet_timer()
H A D21142.c35 int next_tick = 60*HZ; t21142_media_task()
48 next_tick = 3*HZ; t21142_media_task()
51 next_tick = 60*HZ; t21142_media_task()
68 next_tick = 3*HZ; t21142_media_task()
101 next_tick = 3*HZ; t21142_media_task()
221 tp->timer.expires = RUN_AT(3*HZ); t21142_lnk_change()
231 tp->timer.expires = RUN_AT(3*HZ); t21142_lnk_change()
/linux-4.4.14/arch/powerpc/include/asm/
H A Dcputime.h74 ct = jif % HZ; jiffies_to_cputime()
75 sec = jif / HZ; jiffies_to_cputime()
78 do_div(ct, HZ); jiffies_to_cputime()
96 ct = jif % HZ; jiffies64_to_cputime64()
97 sec = jif / HZ; jiffies64_to_cputime64()
100 do_div(ct, HZ); jiffies64_to_cputime64()
H A Dtimex.h13 #define CLOCK_TICK_RATE 1024000 /* Underlying HZ */
/linux-4.4.14/arch/h8300/kernel/
H A Dsetup.c167 (loops_per_jiffy*HZ)/500000, show_cpuinfo()
168 ((loops_per_jiffy*HZ)/5000)%100, show_cpuinfo()
169 (loops_per_jiffy*HZ)); show_cpuinfo()
246 loops_per_jiffy = freq / HZ / (access_timing() * 2); calibrate_delay()
248 loops_per_jiffy / (500000 / HZ), calibrate_delay()
249 (loops_per_jiffy / (5000 / HZ)) % 100, loops_per_jiffy); calibrate_delay()
/linux-4.4.14/drivers/net/wireless/b43/
H A Dlo.h68 #define B43_LO_CALIB_EXPIRE (HZ * (30 - 2))
69 #define B43_LO_PWRVEC_EXPIRE (HZ * (30 - 2))
70 #define B43_LO_TXCTL_EXPIRE (HZ * (180 - 4))
/linux-4.4.14/fs/nfsd/
H A Dstats.c55 unsigned int sec = jifs / HZ, msec = (jifs % HZ)*1000/HZ; nfsd_proc_show()
H A Dcache.h72 #define RC_DELAY (HZ/5)
75 #define RC_EXPIRE (120 * HZ)
/linux-4.4.14/include/video/
H A Dudlfb.h72 #define GET_URB_TIMEOUT HZ
73 #define FREE_URB_TIMEOUT (HZ*2)
91 #define DL_DEFIO_WRITE_DISABLE (HZ*60) /* "disable" with long delay */
/linux-4.4.14/drivers/staging/lustre/lustre/include/linux/
H A Dobd.h84 if (time_before(cur + 5 * HZ, jiffies) && __client_obd_list_lock()
85 time_before(lock->time + 5 * HZ, jiffies)) { __client_obd_list_lock()
95 (jiffies - lock->time) / HZ); __client_obd_list_lock()
100 schedule_timeout(1000 * HZ); __client_obd_list_lock()
/linux-4.4.14/arch/xtensa/kernel/
H A Dtime.c155 * The timer interrupt is called HZ times per second.
174 loops_per_jiffy = ccount_freq / HZ; calibrate_delay()
177 loops_per_jiffy/(1000000/HZ), calibrate_delay()
178 (loops_per_jiffy/(10000/HZ)) % 100); calibrate_delay()
H A Dplatform.c20 #include <asm/param.h> /* HZ */
/linux-4.4.14/arch/s390/include/asm/
H A Dcputime.h35 return __div((__force unsigned long long) cputime, CPUTIME_PER_SEC / HZ); cputime_to_jiffies()
40 return (__force cputime_t)(jif * (CPUTIME_PER_SEC / HZ)); jiffies_to_cputime()
46 do_div(jif, CPUTIME_PER_SEC / HZ); cputime64_to_jiffies64()
52 return (__force cputime64_t)(jif * (CPUTIME_PER_SEC / HZ)); jiffies64_to_cputime64()
/linux-4.4.14/arch/sh/include/mach-dreamcast/mach/
H A Dmaple.h5 #define MAPLE_PNP_INTERVAL HZ
/linux-4.4.14/arch/sh/lib/
H A Ddelay.c39 "r" (cpu_data[raw_smp_processor_id()].loops_per_jiffy * (HZ/4)) __const_udelay()
/linux-4.4.14/arch/m68k/include/asm/
H A Dtimex.h21 #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
H A Ddelay.h54 #define HZSCALE (268435456 / (1000000 / HZ))
68 __delay(xloops * HZ); __xdelay()
115 #define HZSCALE (268435456 / (1000000 / HZ))
/linux-4.4.14/arch/mn10300/include/asm/
H A Dtimex.h18 #define CLOCK_TICK_RATE MN10300_JCCLK /* Underlying HZ */
/linux-4.4.14/net/ipv4/
H A Dtcp_lp.c13 * o Error correcting in remote HZ, therefore remote HZ will be keeped
44 * @LP_VALID_RHZ: is remote HZ valid?
66 * @remote_hz: estimated remote HZ
129 * Estimate remote HZ.
137 s64 rhz = lp->remote_hz << 6; /* remote HZ << 6 */ tcp_lp_remote_hz_estimator()
145 /* we can't calc remote HZ with no different!! */ tcp_lp_remote_hz_estimator()
150 m = HZ * (tp->rx_opt.rcv_tsval - tcp_lp_remote_hz_estimator()
157 m -= rhz >> 6; /* m is now error in remote HZ est */ tcp_lp_remote_hz_estimator()
163 /* record time for successful remote HZ calc */ tcp_lp_remote_hz_estimator()
197 tp->rx_opt.rcv_tsecr * (LP_RESOL / HZ); tcp_lp_owd_calculator()
H A Dtcp_htcp.c130 __u32 cur_Bi = ca->packetcount * HZ / (now - ca->lasttime); measure_achieved_throughput()
179 if (diff > HZ) { htcp_alpha_update()
180 diff -= HZ; htcp_alpha_update()
181 factor = 1 + (10 * diff + ((diff / 2) * (diff / 2) / HZ)) / HZ; htcp_alpha_update()
185 u32 scale = (HZ << 3) / (10 * minRTT); htcp_alpha_update()
H A Dtcp_cubic.c34 #define BICTCP_HZ 10 /* BIC HZ 2^10 = 1024 */
122 #if HZ < 1000 bictcp_clock()
234 (s32)(tcp_time_stamp - ca->last_time) <= HZ / 32) bictcp_update()
257 * (wmax-cwnd) * (srtt>>3 / HZ) / c * 2^(3*bictcp_HZ) bictcp_update()
274 * rtt = (srtt >> 3) / HZ bictcp_update()
281 /* change the unit from HZ to bictcp_HZ */ bictcp_update()
283 do_div(t, HZ); bictcp_update()
451 if (ca->epoch_start && (s32)(tcp_time_stamp - ca->epoch_start) < HZ) bictcp_acked()
495 * the unit of K is bictcp_HZ=2^10, not HZ cubictcp_register()
503 * HZ < 1,000,00 (corresponding to 10 nano-second) cubictcp_register()
/linux-4.4.14/drivers/net/fjes/
H A Dfjes.h31 #define FJES_TX_RETRY_INTERVAL (20 * HZ)
35 #define FJES_IRQ_WATCH_DELAY (HZ)
/linux-4.4.14/arch/sparc/oprofile/
H A Dinit.c14 #include <linux/param.h> /* for HZ */
47 nmi_adjust_hz(HZ); timer_start()
/linux-4.4.14/include/drm/
H A Ddrm_os_linux.h57 schedule_timeout((HZ/100 > 1) ? HZ/100 : 1); \
/linux-4.4.14/arch/s390/kernel/
H A Dprocessor.c72 num_online_cpus(), loops_per_jiffy/(500000/HZ), show_cpuinfo()
73 (loops_per_jiffy/(5000/HZ))%100); show_cpuinfo()
/linux-4.4.14/arch/mips/lib/
H A Ddelay.c54 __delay((us * 0x000010c7ull * HZ * lpj) >> 32); __udelay()
62 __delay((ns * 0x00000005ull * HZ * lpj) >> 32); __ndelay()
/linux-4.4.14/arch/mips/mti-sead3/
H A Dsead3-display.c26 static DEFINE_TIMER(mips_scroll_timer, scroll_display_message, HZ, 0);
69 mod_timer(&mips_scroll_timer, jiffies + HZ); scroll_display_message()
/linux-4.4.14/arch/mips/rb532/
H A Dtime.c46 return mips_hpt_frequency / HZ; cal_r4koff()
60 est_freq = 2 * r4k_offset * HZ; plat_time_init()
/linux-4.4.14/arch/cris/kernel/
H A Dtime.c60 return (unsigned long long)jiffies * (NSEC_PER_SEC / HZ) + sched_clock()
68 loops_per_usec = (loops_per_jiffy * HZ) / 1000000; init_udelay()
/linux-4.4.14/arch/arm/mach-footbridge/
H A Ddc21285-timer.c69 *CSR_TIMER1_LOAD = (mem_fclk_21285 + 8 * HZ) / (16 * HZ); ckevt_dc21285_set_periodic()
/linux-4.4.14/net/ax25/
H A Daf_ax25.c331 ax25->dtimer.expires = jiffies + 2 * HZ; ax25_destroy_socket()
366 if (ax25_ctl.arg > ULONG_MAX / HZ && ax25_ctl.cmd != AX25_KILL) ax25_ctl_ioctl()
398 if (ax25_ctl.arg < 1 || ax25_ctl.arg > ULONG_MAX / HZ) ax25_ctl_ioctl()
400 ax25->rtt = (ax25_ctl.arg * HZ) / 2; ax25_ctl_ioctl()
401 ax25->t1 = ax25_ctl.arg * HZ; ax25_ctl_ioctl()
405 if (ax25_ctl.arg < 1 || ax25_ctl.arg > ULONG_MAX / HZ) ax25_ctl_ioctl()
407 ax25->t2 = ax25_ctl.arg * HZ; ax25_ctl_ioctl()
418 if (ax25_ctl.arg > ULONG_MAX / HZ) ax25_ctl_ioctl()
420 ax25->t3 = ax25_ctl.arg * HZ; ax25_ctl_ioctl()
424 if (ax25_ctl.arg > ULONG_MAX / (60 * HZ)) ax25_ctl_ioctl()
427 ax25->idle = ax25_ctl.arg * 60 * HZ; ax25_ctl_ioctl()
573 if (opt < 1 || opt > ULONG_MAX / HZ) { ax25_setsockopt()
577 ax25->rtt = (opt * HZ) >> 1; ax25_setsockopt()
578 ax25->t1 = opt * HZ; ax25_setsockopt()
582 if (opt < 1 || opt > ULONG_MAX / HZ) { ax25_setsockopt()
586 ax25->t2 = opt * HZ; ax25_setsockopt()
598 if (opt < 1 || opt > ULONG_MAX / HZ) { ax25_setsockopt()
602 ax25->t3 = opt * HZ; ax25_setsockopt()
606 if (opt > ULONG_MAX / (60 * HZ)) { ax25_setsockopt()
610 ax25->idle = opt * 60 * HZ; ax25_setsockopt()
708 val = ax25->t1 / HZ; ax25_getsockopt()
712 val = ax25->t2 / HZ; ax25_getsockopt()
720 val = ax25->t3 / HZ; ax25_getsockopt()
724 val = ax25->idle / (60 * HZ); ax25_getsockopt()
1771 ax25_info.t1 = ax25->t1 / HZ; ax25_ioctl()
1772 ax25_info.t2 = ax25->t2 / HZ; ax25_ioctl()
1773 ax25_info.t3 = ax25->t3 / HZ; ax25_ioctl()
1774 ax25_info.idle = ax25->idle / (60 * HZ); ax25_ioctl()
1776 ax25_info.t1timer = ax25_display_timer(&ax25->t1timer) / HZ; ax25_ioctl()
1777 ax25_info.t2timer = ax25_display_timer(&ax25->t2timer) / HZ; ax25_ioctl()
1778 ax25_info.t3timer = ax25_display_timer(&ax25->t3timer) / HZ; ax25_ioctl()
1779 ax25_info.idletimer = ax25_display_timer(&ax25->idletimer) / (60 * HZ); ax25_ioctl()
1899 ax25_display_timer(&ax25->t1timer) / HZ, ax25->t1 / HZ, ax25_info_show()
1900 ax25_display_timer(&ax25->t2timer) / HZ, ax25->t2 / HZ, ax25_info_show()
1901 ax25_display_timer(&ax25->t3timer) / HZ, ax25->t3 / HZ, ax25_info_show()
1902 ax25_display_timer(&ax25->idletimer) / (60 * HZ), ax25_info_show()
1903 ax25->idle / (60 * HZ), ax25_info_show()
1905 ax25->rtt / HZ, ax25_info_show()
/linux-4.4.14/net/dccp/ccids/
H A Dccid3.h54 * Hence we can use a constant t_delta = %USEC_PER_MSEC when HZ >= 500. A coarse
55 * resolution of HZ < 500 means that the error is below one timer tick (t_gran)
56 * when using the constant t_delta = t_gran / 2 = %USEC_PER_SEC / (2 * HZ).
58 #if (HZ >= 500)
61 # define TFRC_T_DELTA (USEC_PER_SEC / (2 * HZ))
/linux-4.4.14/arch/arm/mach-omap1/
H A Dtimer32k.c81 * TRM says 1 / HZ = ( TVR + 1) / 32768, so TRV = (32768 / HZ) - 1
82 * so with HZ = 128, TVR = 255.
84 #define OMAP_32K_TIMER_TICK_PERIOD ((OMAP_32K_TICKS_PER_SEC / HZ) - 1)
87 (((nr_jiffies) * (clock_rate)) / HZ)
/linux-4.4.14/drivers/hwmon/
H A Dlm75.c221 data->sample_time = HZ / 8; lm75_probe()
229 data->sample_time = HZ; lm75_probe()
234 data->sample_time = HZ / 4; lm75_probe()
240 data->sample_time = HZ / 2; lm75_probe()
244 data->sample_time = HZ / 4; lm75_probe()
248 data->sample_time = HZ / 4; lm75_probe()
253 data->sample_time = HZ / 4; lm75_probe()
257 data->sample_time = HZ / 8; lm75_probe()
266 data->sample_time = HZ; lm75_probe()
273 data->sample_time = HZ / 4; lm75_probe()
282 data->sample_time = HZ / 2; lm75_probe()
287 data->sample_time = HZ / 4; lm75_probe()
/linux-4.4.14/drivers/clocksource/
H A Dtime-orion.c73 /* setup and enable periodic timer at 1/HZ intervals */ orion_clkevt_set_periodic()
142 ticks_per_jiffy = (clk_get_rate(clk) + HZ/2) / HZ; orion_timer_init()
H A Dclps711x-timer.c84 writew(DIV_ROUND_CLOSEST(rate, HZ), base); _clps711x_clkevt_init()
90 clockevents_config_and_register(clkevt, HZ, 0, 0); _clps711x_clkevt_init()
H A Dtimer-integrator-ap.c149 if (rate > 0x100000 * HZ) { integrator_clockevent_init()
152 } else if (rate > 0x10000 * HZ) { integrator_clockevent_init()
156 timer_reload = rate / HZ; integrator_clockevent_init()
/linux-4.4.14/net/sunrpc/
H A Dtimer.c24 #define RPC_RTO_MAX (60*HZ)
25 #define RPC_RTO_INIT (HZ/5)
26 #define RPC_RTO_MIN (HZ/10)
/linux-4.4.14/include/net/iucv/
H A Daf_iucv.h37 #define IUCV_CONN_TIMEOUT (HZ * 40)
38 #define IUCV_DISCONN_TIMEOUT (HZ * 2)
39 #define IUCV_CONN_IDLE_TIMEOUT (HZ * 60)
/linux-4.4.14/arch/mips/kernel/
H A Dbinfmt_elfn32.c129 value->tv_usec = (jiffies % HZ) * (1000000L / HZ); cputime_to_compat_timeval()
130 value->tv_sec = jiffies / HZ; cputime_to_compat_timeval()
H A Dbinfmt_elfo32.c148 value->tv_usec = (jiffies % HZ) * (1000000L / HZ); cputime_to_compat_timeval()
149 value->tv_sec = jiffies / HZ; cputime_to_compat_timeval()
H A Dcevt-gt641xx.c42 GT_WRITE(GT_TC0_OFS, gt641xx_base_clock / HZ); gt641xx_timer0_state()
149 GT_WRITE(GT_TC0_OFS, gt641xx_base_clock / HZ); gt641xx_timer0_clockevent_init()
H A Dproc.c66 cpu_data[n].udelay_val / (500000/HZ), show_cpuinfo()
67 (cpu_data[n].udelay_val / (5000/HZ)) % 100); show_cpuinfo()
/linux-4.4.14/arch/mips/sgi-ip32/
H A Dip32-reset.c34 #define POWERDOWN_FREQ (HZ / 4)
35 #define PANIC_FREQ (HZ / 8)
106 power_timer.expires = jiffies + POWERDOWN_TIMEOUT * HZ; ip32_prepare_poweroff()
/linux-4.4.14/arch/parisc/kernel/
H A Dbinfmt_elf32.c100 value->tv_usec = (jiffies % HZ) * (1000000L / HZ); cputime_to_compat_timeval()
101 value->tv_sec = jiffies / HZ; cputime_to_compat_timeval()
/linux-4.4.14/arch/hexagon/kernel/
H A Dsetup.c44 loops_per_jiffy = thread_freq_mhz * 1000000 / HZ; calibrate_delay()
139 (loops_per_jiffy * HZ) / 500000, show_cpuinfo()
140 ((loops_per_jiffy * HZ) / 5000) % 100); show_cpuinfo()
/linux-4.4.14/drivers/watchdog/
H A Dep93xx_wdt.c58 #define WDT_INTERVAL (HZ/5)
71 next_heartbeat = jiffies + (timeout * HZ); ep93xx_wdt_start()
90 next_heartbeat = jiffies + (timeout * HZ); ep93xx_wdt_keepalive()
/linux-4.4.14/drivers/net/ethernet/cisco/enic/
H A Denic_clsf.h25 mod_timer(&enic->rfs_h.rfs_may_expire, jiffies + HZ/4); enic_rfs_timer_start()
/linux-4.4.14/drivers/gpu/drm/gma500/
H A Dblitter.c25 unsigned long stop = jiffies + HZ; gma_blt_wait_idle()
/linux-4.4.14/arch/x86/kvm/
H A Di8254.h57 #define KVM_MAX_PIT_INTR_INTERVAL HZ / 100
/linux-4.4.14/arch/x86/um/
H A Ddelay.c44 (loops_per_jiffy * (HZ/4))); __const_udelay()
/linux-4.4.14/fs/nfs/
H A Dnfs4renewd.c124 if (timeout < 5 * HZ) nfs4_schedule_state_renewal()
125 timeout = 5 * HZ; nfs4_schedule_state_renewal()
127 __func__, (timeout + HZ - 1) / HZ); nfs4_schedule_state_renewal()
/linux-4.4.14/lib/raid6/
H A Dalgos.c162 (perf*HZ) >> (20-16+RAID6_TIME_JIFFIES_LG2)); raid6_choose_gen()
185 (perf*HZ) >> (20-16+RAID6_TIME_JIFFIES_LG2+1)); raid6_choose_gen()
192 (bestgenperf*HZ) >> (20-16+RAID6_TIME_JIFFIES_LG2)); raid6_choose_gen()
195 (bestxorperf*HZ) >> (20-16+RAID6_TIME_JIFFIES_LG2+1)); raid6_choose_gen()
/linux-4.4.14/net/core/
H A Dlink_watch.c129 /* If we wrap around we'll delay it by at most HZ. */ linkwatch_schedule_work()
130 if (delay > HZ) linkwatch_schedule_work()
182 linkwatch_nextevent = jiffies + HZ; __linkwatch_run_queue()
184 else if (time_after(linkwatch_nextevent, jiffies + HZ)) __linkwatch_run_queue()
H A Dgen_estimator.c72 * Minimal interval is HZ/4=250msec (it is the greatest common divisor
73 for HZ=100 and HZ=1024 8)), maximal interval
74 is (HZ*2^EST_MAX_INTERVAL)/4 = 8sec. Shorter intervals
147 mod_timer(&elist[idx].timer, jiffies + ((HZ/4) << idx)); est_timer()
248 mod_timer(&elist[idx].timer, jiffies + ((HZ/4) << idx)); gen_new_estimator()
/linux-4.4.14/include/linux/sched/
H A Drt.h58 #define RR_TIMESLICE (100 * HZ / 1000)
/linux-4.4.14/arch/mips/jazz/
H A Dreset.c40 unsigned long timeout = start + HZ/2; kb_wait()
/linux-4.4.14/arch/sh/lib64/
H A Dudelay.c38 __delay(xloops * (HZ * cpu_data[raw_smp_processor_id()].loops_per_jiffy)); __const_udelay()
/linux-4.4.14/arch/metag/lib/
H A Ddelay.c41 u64 loops = (u64)xloops * (u64)loops_per_jiffy * HZ; __const_udelay()
/linux-4.4.14/arch/mips/paravirt/
H A Dsetup.c28 preset_lpj = mips_hpt_frequency / (2 * HZ); plat_time_init()
/linux-4.4.14/arch/mn10300/kernel/
H A Dsetup.c252 c->loops_per_jiffy / (500000 / HZ), show_cpuinfo()
253 (c->loops_per_jiffy / (5000 / HZ)) % 100 show_cpuinfo()
255 loops_per_jiffy / (500000 / HZ), show_cpuinfo()
256 (loops_per_jiffy / (5000 / HZ)) % 100 show_cpuinfo()
/linux-4.4.14/arch/openrisc/lib/
H A Ddelay.c44 loops = (unsigned long long)xloops * loops_per_jiffy * HZ; __const_udelay()
/linux-4.4.14/arch/m32r/kernel/
H A Dtime.c56 #define USECS_PER_JIFFY (1000000/HZ)
161 ts->tv_nsec = (INITIAL_JIFFIES % HZ) * (NSEC_PER_SEC / HZ); read_persistent_clock()
181 latch = DIV_ROUND_CLOSEST(bus_clock/divide, HZ); time_init()
/linux-4.4.14/arch/avr32/lib/
H A Ddelay.c45 : "r"(current_cpu_data.loops_per_jiffy * HZ), "r"(xloops)); __const_udelay()
/linux-4.4.14/drivers/staging/wilc1000/
H A Dwilc_wfi_cfgoperations.h49 #define nl80211_SCAN_RESULT_EXPIRE (3 * HZ)
50 #define SCAN_RESULT_EXPIRE (40 * HZ)
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/linux/
H A Dlinux-time.h73 return ((long)seconds) * HZ; cfs_time_seconds()
78 return d / HZ; cfs_duration_sec()
/linux-4.4.14/drivers/scsi/
H A Dsr.h24 #define SR_TIMEOUT (30 * HZ)
30 #define IOCTL_TIMEOUT 30*HZ
H A Dipr.h227 #define IPR_SHUTDOWN_TIMEOUT (ipr_fastfail ? 60 * HZ : 10 * 60 * HZ)
228 #define IPR_VSET_RW_TIMEOUT (ipr_fastfail ? 30 * HZ : 2 * 60 * HZ)
229 #define IPR_ABBREV_SHUTDOWN_TIMEOUT (10 * HZ)
230 #define IPR_DUAL_IOA_ABBR_SHUTDOWN_TO (2 * 60 * HZ)
231 #define IPR_DEVICE_RESET_TIMEOUT (ipr_fastfail ? 10 * HZ : 30 * HZ)
232 #define IPR_CANCEL_TIMEOUT (ipr_fastfail ? 10 * HZ : 30 * HZ)
233 #define IPR_CANCEL_ALL_TIMEOUT (ipr_fastfail ? 10 * HZ : 30 * HZ)
234 #define IPR_ABORT_TASK_TIMEOUT (ipr_fastfail ? 10 * HZ : 30 * HZ)
235 #define IPR_INTERNAL_TIMEOUT (ipr_fastfail ? 10 * HZ : 30 * HZ)
236 #define IPR_WRITE_BUFFER_TIMEOUT (30 * 60 * HZ)
237 #define IPR_SET_SUP_DEVICE_TIMEOUT (2 * 60 * HZ)
238 #define IPR_REQUEST_SENSE_TIMEOUT (10 * HZ)
241 #define IPR_WAIT_FOR_RESET_TIMEOUT (2 * HZ)
242 #define IPR_CHECK_FOR_RESET_TIMEOUT (HZ / 10)
243 #define IPR_WAIT_FOR_BIST_TIMEOUT (2 * HZ)
244 #define IPR_PCI_ERROR_RECOVERY_TIMEOUT (120 * HZ)
245 #define IPR_PCI_RESET_TIMEOUT (HZ / 2)
246 #define IPR_SIS32_DUMP_TIMEOUT (15 * HZ)
247 #define IPR_SIS64_DUMP_TIMEOUT (40 * HZ)
249 #define IPR_DUMP_DELAY_TIMEOUT (IPR_DUMP_DELAY_SECONDS * HZ)
287 #define IPR_WAIT_FOR_MAILBOX (2 * HZ)
/linux-4.4.14/drivers/soc/mediatek/
H A Dmtk-infracfg.c40 expired = jiffies + HZ; mtk_infracfg_set_bus_protection()
73 expired = jiffies + HZ; mtk_infracfg_clear_bus_protection()
/linux-4.4.14/drivers/net/ethernet/sun/
H A Dsunvnet.h12 #define VNET_TX_TIMEOUT (5 * HZ)
17 #define VNET_CLEAN_TIMEOUT ((HZ/100)+1)
/linux-4.4.14/drivers/pps/clients/
H A Dpps-ktimer.c51 mod_timer(&ktimer, jiffies + HZ); pps_ktimer_event()
89 mod_timer(&ktimer, jiffies + HZ); pps_ktimer_init()
/linux-4.4.14/arch/x86/kernel/cpu/
H A Dproc.c110 c->loops_per_jiffy/(500000/HZ), show_cpuinfo()
111 (c->loops_per_jiffy/(5000/HZ)) % 100); show_cpuinfo()
/linux-4.4.14/arch/cris/arch-v10/kernel/
H A Dsetup.c93 (loops_per_jiffy * HZ + 500) / 500000, show_cpuinfo()
94 ((loops_per_jiffy * HZ + 500) / 5000) % 100); show_cpuinfo()
/linux-4.4.14/samples/trace_events/
H A Dtrace-events-sample.c28 schedule_timeout(HZ); simple_thread_func()
63 schedule_timeout(HZ); simple_thread_func_fn()
/linux-4.4.14/net/netfilter/
H A Dnf_conntrack_proto_gre.c52 [GRE_CT_UNREPLIED] = 30*HZ,
53 [GRE_CT_REPLIED] = 180*HZ,
240 (ct->proto.gre.timeout / HZ), gre_print_conntrack()
241 (ct->proto.gre.stream_timeout / HZ)); gre_print_conntrack()
318 ntohl(nla_get_be32(tb[CTA_TIMEOUT_GRE_UNREPLIED])) * HZ; gre_timeout_nlattr_to_obj()
322 ntohl(nla_get_be32(tb[CTA_TIMEOUT_GRE_REPLIED])) * HZ; gre_timeout_nlattr_to_obj()
333 htonl(timeouts[GRE_CT_UNREPLIED] / HZ)) || gre_timeout_obj_to_nlattr()
335 htonl(timeouts[GRE_CT_REPLIED] / HZ))) gre_timeout_obj_to_nlattr()
H A Dnf_conntrack_proto_udp.c30 [UDP_CT_UNREPLIED] = 30*HZ,
31 [UDP_CT_REPLIED] = 180*HZ,
173 ntohl(nla_get_be32(tb[CTA_TIMEOUT_UDP_UNREPLIED])) * HZ; udp_timeout_nlattr_to_obj()
177 ntohl(nla_get_be32(tb[CTA_TIMEOUT_UDP_REPLIED])) * HZ; udp_timeout_nlattr_to_obj()
188 htonl(timeouts[UDP_CT_UNREPLIED] / HZ)) || udp_timeout_obj_to_nlattr()
190 htonl(timeouts[UDP_CT_REPLIED] / HZ))) udp_timeout_obj_to_nlattr()
H A Dnf_conntrack_proto_udplite.c34 [UDPLITE_CT_UNREPLIED] = 30*HZ,
35 [UDPLITE_CT_REPLIED] = 180*HZ,
188 ntohl(nla_get_be32(tb[CTA_TIMEOUT_UDPLITE_UNREPLIED])) * HZ; udplite_timeout_nlattr_to_obj()
192 ntohl(nla_get_be32(tb[CTA_TIMEOUT_UDPLITE_REPLIED])) * HZ; udplite_timeout_nlattr_to_obj()
203 htonl(timeouts[UDPLITE_CT_UNREPLIED] / HZ)) || udplite_timeout_obj_to_nlattr()
205 htonl(timeouts[UDPLITE_CT_REPLIED] / HZ))) udplite_timeout_obj_to_nlattr()
H A Dxt_limit.c53 CREDITS_PER_JIFFY*HZ*60*60*24 < 2^32. ie. */
54 #define MAX_CPJ (0xFFFFFFFF / (HZ*60*60*24))
95 if (user > 0xFFFFFFFF / (HZ*CREDITS_PER_JIFFY)) user2credits()
97 return (user / XT_LIMIT_SCALE) * HZ * CREDITS_PER_JIFFY; user2credits()
99 return (user * HZ * CREDITS_PER_JIFFY) / XT_LIMIT_SCALE; user2credits()
H A Dnf_conntrack_proto_generic.c15 static unsigned int nf_ct_generic_timeout __read_mostly = 600*HZ;
115 ntohl(nla_get_be32(tb[CTA_TIMEOUT_GENERIC_TIMEOUT])) * HZ; generic_timeout_nlattr_to_obj()
129 if (nla_put_be32(skb, CTA_TIMEOUT_GENERIC_TIMEOUT, htonl(*timeout / HZ))) generic_timeout_obj_to_nlattr()
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8187/
H A Drtl8187.h172 &priv->io_dmabuf->bits8, sizeof(val), HZ / 2); rtl818x_ioread8_idx()
194 &priv->io_dmabuf->bits16, sizeof(val), HZ / 2); rtl818x_ioread16_idx()
216 &priv->io_dmabuf->bits32, sizeof(val), HZ / 2); rtl818x_ioread32_idx()
238 &priv->io_dmabuf->bits8, sizeof(val), HZ / 2); rtl818x_iowrite8_idx()
257 &priv->io_dmabuf->bits16, sizeof(val), HZ / 2); rtl818x_iowrite16_idx()
277 &priv->io_dmabuf->bits32, sizeof(val), HZ / 2); rtl818x_iowrite32_idx()
/linux-4.4.14/include/scsi/
H A Dscsi.h17 SCSI_DEFAULT_EH_TIMEOUT = 10 * HZ,
248 #define FORMAT_UNIT_TIMEOUT (2 * 60 * 60 * HZ)
249 #define START_STOP_TIMEOUT (60 * HZ)
250 #define MOVE_MEDIUM_TIMEOUT (5 * 60 * HZ)
251 #define READ_ELEMENT_STATUS_TIMEOUT (5 * 60 * HZ)
252 #define READ_DEFECT_DATA_TIMEOUT (60 * HZ )
/linux-4.4.14/arch/openrisc/kernel/
H A Dsetup.c277 loops_per_jiffy = *val / HZ; calibrate_delay()
279 loops_per_jiffy / (500000 / HZ), calibrate_delay()
280 (loops_per_jiffy / (5000 / HZ)) % 100, loops_per_jiffy); calibrate_delay()
345 loops_per_jiffy * HZ, show_cpuinfo()
354 (loops_per_jiffy * HZ) / 500000, show_cpuinfo()
355 ((loops_per_jiffy * HZ) / 5000) % 100); show_cpuinfo()
/linux-4.4.14/net/lapb/
H A Dlapb_iface.c209 parms->t1 = lapb->t1 / HZ; lapb_getparms()
210 parms->t2 = lapb->t2 / HZ; lapb_getparms()
220 parms->t1timer = (lapb->t1timer.expires - jiffies) / HZ; lapb_getparms()
225 parms->t2timer = (lapb->t2timer.expires - jiffies) / HZ; lapb_getparms()
258 lapb->t1 = parms->t1 * HZ; lapb_setparms()
259 lapb->t2 = parms->t2 * HZ; lapb_setparms()
/linux-4.4.14/init/
H A Dcalibrate.c31 #define DELAY_CALIBRATION_TICKS ((HZ < 100) ? 1 : (HZ/100))
177 * time we refine our estimate after the first takes 1.5/HZ seconds, so try
308 lpj/(500000/HZ), calibrate_delay()
309 (lpj/(5000/HZ)) % 100, lpj); calibrate_delay()
/linux-4.4.14/include/net/
H A Dx25.h73 #define X25_DEFAULT_T20 (180 * HZ) /* Default T20 value */
74 #define X25_DEFAULT_T21 (200 * HZ) /* Default T21 value */
75 #define X25_DEFAULT_T22 (180 * HZ) /* Default T22 value */
76 #define X25_DEFAULT_T23 (180 * HZ) /* Default T23 value */
77 #define X25_DEFAULT_T2 (3 * HZ) /* Default ack holdback value */
H A Dndisc.h41 #define MAX_RTR_SOLICITATION_DELAY HZ
43 #define ND_REACHABLE_TIME (30*HZ)
44 #define ND_RETRANS_TIMER HZ
H A Daddrconf.h5 #define RTR_SOLICITATION_INTERVAL (4*HZ)
14 #define ADDR_CHECK_FREQUENCY (120*HZ)
18 #define ADDRCONF_TIMER_FUZZ_MINUS (HZ > 50 ? HZ / 50 : 1)
19 #define ADDRCONF_TIMER_FUZZ (HZ / 4)
20 #define ADDRCONF_TIMER_FUZZ_MAX (HZ)
/linux-4.4.14/arch/blackfin/mach-bf537/boards/
H A Dstamp.c943 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
954 .max_speed_hz = 33250000, /* max spi clock (SCK) speed in HZ */
966 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
977 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
987 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
997 .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
1101 .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */
1114 .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */
1124 .max_speed_hz = 5000000, /* max spi clock (SCK) speed in HZ */
1133 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
1141 .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */
1150 .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */
1163 .max_speed_hz = 5000000, /* max spi clock (SCK) speed in HZ */
1172 .max_speed_hz = 16000000, /* max spi clock (SCK) speed in HZ */
1182 .max_speed_hz = 2000000, /* max spi clock (SCK) speed in HZ */
1193 .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */
1204 .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
1214 .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
1224 .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
1234 .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
1244 .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
1254 .max_speed_hz = 2900000, /* max spi clock (SCK) speed in HZ */
1262 .max_speed_hz = 2900000, /* max spi clock (SCK) speed in HZ */
1272 .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
1282 .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
1293 .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
1304 .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
1315 .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
1326 .max_speed_hz = 2000000, /* max spi clock (SCK) speed in HZ */
1337 .max_speed_hz = 1500000, /* max spi clock (SCK) speed in HZ */
1348 .max_speed_hz = 1500000, /* max spi clock (SCK) speed in HZ */
1359 .max_speed_hz = 2500000, /* max spi clock (SCK) speed in HZ */
1369 .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
1380 .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
1391 .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
/linux-4.4.14/drivers/phy/
H A Dphy-pxa-28nm-hsic.c88 PHY_28NM_HSIC_H2S_PLL_LOCK, HZ / 10)) { mv_hsic_phy_init()
121 PHY_28NM_HSIC_H2S_IMPCAL_DONE, HZ / 10)) { mv_hsic_phy_power_on()
128 PHY_28NM_HSIC_CONNECT_INT, HZ / 5)) { mv_hsic_phy_power_on()
/linux-4.4.14/include/net/caif/
H A Dcaif_hsi.h83 #define CFHSI_INACTIVITY_TOUT (1 * HZ)
87 #define CFHSI_WAKE_TOUT (3 * HZ)
91 #define CFHSI_MAX_RX_RETRIES (10 * HZ)
/linux-4.4.14/arch/nios2/kernel/
H A Dcpuinfo.c141 (loops_per_jiffy * HZ) / 500000, show_cpuinfo()
142 ((loops_per_jiffy * HZ) / 5000) % 100, show_cpuinfo()
143 (loops_per_jiffy * HZ)); show_cpuinfo()
/linux-4.4.14/arch/arm/plat-orion/
H A Dtime.c139 /* Setup timer to fire at 1/HZ intervals */ orion_clkevt_set_periodic()
203 ticks_per_jiffy = (tclk + HZ/2) / HZ; orion_time_init()
/linux-4.4.14/net/netfilter/ipvs/
H A Dip_vs_proto_tcp.c369 [IP_VS_TCP_S_NONE] = 2*HZ,
370 [IP_VS_TCP_S_ESTABLISHED] = 15*60*HZ,
371 [IP_VS_TCP_S_SYN_SENT] = 2*60*HZ,
372 [IP_VS_TCP_S_SYN_RECV] = 1*60*HZ,
373 [IP_VS_TCP_S_FIN_WAIT] = 2*60*HZ,
374 [IP_VS_TCP_S_TIME_WAIT] = 2*60*HZ,
375 [IP_VS_TCP_S_CLOSE] = 10*HZ,
376 [IP_VS_TCP_S_CLOSE_WAIT] = 60*HZ,
377 [IP_VS_TCP_S_LAST_ACK] = 30*HZ,
378 [IP_VS_TCP_S_LISTEN] = 2*60*HZ,
379 [IP_VS_TCP_S_SYNACK] = 120*HZ,
380 [IP_VS_TCP_S_LAST] = 2*HZ,
/linux-4.4.14/sound/oss/
H A Dsys_timer.c5 * Uses the (1/HZ sec) timer of kernel.
44 1000000 (usecs per sec) / HZ (ticks per sec) -=> usecs */ tmr2ticks()
45 tmp = tmr_value * (1000000 / HZ); tmr2ticks()
/linux-4.4.14/sound/soc/txx9/
H A Dtxx9aclc-ac97.c61 if (!wait_event_timeout(ac97_waitq, txx9aclc_regready(txx9aclc_drvdata), HZ)) { txx9aclc_ac97_read()
91 if (!wait_event_timeout(ac97_waitq, txx9aclc_regready(txx9aclc_drvdata), HZ)) { txx9aclc_ac97_write()
112 HZ)) { txx9aclc_ac97_cold_reset()
/linux-4.4.14/drivers/media/pci/pt1/
H A Dva1j5jf8007t.c282 *delay = 3 * HZ; va1j5jf8007t_tune()
302 *delay = (HZ + 999) / 1000; va1j5jf8007t_tune()
330 *delay = 3 * HZ; va1j5jf8007t_tune()
334 *delay = (HZ + 999) / 1000; va1j5jf8007t_tune()
343 *delay = 3 * HZ; va1j5jf8007t_tune()
348 *delay = 3 * HZ; va1j5jf8007t_tune()
/linux-4.4.14/fs/ext4/
H A Dmmp.c196 if (diff < mmp_update_interval * HZ) kmmpd()
198 HZ - diff); kmmpd()
206 if (diff > mmp_check_interval * HZ) { kmmpd()
237 mmp_check_interval = max(min(EXT4_MMP_CHECK_MULT * diff / HZ, kmmpd()
326 if (schedule_timeout_interruptible(HZ * wait_time) != 0) { ext4_multi_mount_protect()
355 if (schedule_timeout_interruptible(HZ * wait_time) != 0) { ext4_multi_mount_protect()
/linux-4.4.14/arch/blackfin/mach-bf518/boards/
H A Dtcm-bf518.c170 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
182 .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */
194 .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */
203 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
212 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
220 .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
H A Dlib-socket.c256 long ticks = timeout * HZ; lnet_sock_write()
276 .tv_sec = ticks / HZ, lnet_sock_write()
277 .tv_usec = ((ticks % HZ) * 1000000) / HZ lnet_sock_write()
317 long ticks = timeout * HZ; lnet_sock_read()
335 .tv_sec = ticks / HZ, lnet_sock_read()
336 .tv_usec = ((ticks % HZ) * 1000000) / HZ lnet_sock_read()
/linux-4.4.14/drivers/rtc/
H A Drtc-bfin.c37 * runs in units of seconds (N/HZ) but the Linux framework runs in units of HZ
38 * (2^N HZ), there is no point in keeping code that only provides 1 HZ PIEs.
130 * inc rate for all RTC registers from 1HZ to 32.768kHZ ...
147 wait_for_completion_timeout(&bfin_write_complete, HZ * 5); bfin_rtc_sync_pending()
350 unsigned long timeout = jiffies + HZ; bfin_rtc_probe()
420 * the core after waking up. This happens every RTC 1HZ. Once that bfin_rtc_resume()
/linux-4.4.14/drivers/isdn/isdnloop/
H A Disdnloop.h57 #define ISDNLOOP_TIMER_DCREAD (HZ/2) /* D-Channel poll-cycle */
58 #define ISDNLOOP_TIMER_ALERTWAIT (10 * HZ) /* Alert timeout */
/linux-4.4.14/drivers/isdn/pcbit/
H A Dpcbit.h101 #define STATS_TIMER (10 * HZ)
102 #define ERRTIME (HZ / 10)
/linux-4.4.14/drivers/net/wireless/ath/ar5523/
H A Dar5523.h51 #define AR5523_TX_WD_TIMEOUT (HZ * 2)
52 #define AR5523_FLUSH_TIMEOUT (HZ * 3)
/linux-4.4.14/drivers/atm/
H A Didt77105.h87 #define IDT77105_STATS_TIMER_PERIOD (HZ)
89 #define IDT77105_RESTART_TIMER_PERIOD (5 * HZ)
/linux-4.4.14/drivers/block/
H A Dcpqarray.h42 #define IDA_TIMER (5*HZ)
43 #define IDA_TIMEOUT (10*HZ)
/linux-4.4.14/arch/tile/kernel/
H A Dproc.c57 loops_per_jiffy/(500000/HZ), show_cpuinfo()
58 (loops_per_jiffy/(5000/HZ)) % 100); show_cpuinfo()
/linux-4.4.14/drivers/char/
H A Ddtlk.c203 retries < loops_per_jiffy / (4000/HZ); dtlk_write()
218 if (++retries > 10 * HZ) { /* wait no more than 10 sec dtlk_write()
256 expires = jiffies + 3*HZ / 100; dtlk_poll()
441 __delay(loops_per_jiffy/(1000000/HZ)); \ dtlk_dev_probe()
452 __delay(50 * loops_per_jiffy / (1000/HZ)); dtlk_dev_probe()
471 __delay(loops_per_jiffy/(1000000/HZ)); /* 1 us */ \ dtlk_dev_probe()
611 retries = (loops_per_jiffy * 20) / (1000000/HZ); dtlk_read_lpc()
653 for (retries = 0; retries < loops_per_jiffy / (100000/HZ); retries++) dtlk_write_tts()
/linux-4.4.14/arch/cris/arch-v32/kernel/
H A Dsetup.c103 (loops_per_jiffy * HZ + 500) / 500000, show_cpuinfo()
104 ((loops_per_jiffy * HZ + 500) / 5000) % 100); show_cpuinfo()
/linux-4.4.14/net/decnet/
H A Ddn_timer.c34 #define SLOW_INTERVAL (HZ/2)
57 sk_reset_timer(sk, &sk->sk_timer, jiffies + HZ / 10); dn_slow_timer()
/linux-4.4.14/fs/xfs/
H A Dkmem.c61 congestion_wait(BLK_RW_ASYNC, HZ/50); kmem_alloc()
127 congestion_wait(BLK_RW_ASYNC, HZ/50); kmem_zone_alloc()
/linux-4.4.14/arch/sh/kernel/cpu/
H A Dproc.c126 c->loops_per_jiffy/(500000/HZ), show_cpuinfo()
127 (c->loops_per_jiffy/(5000/HZ)) % 100); show_cpuinfo()
/linux-4.4.14/arch/sparc/kernel/
H A Dled.c41 ((1 + (avenrun[0] >> FSHIFT)) * HZ); led_blink()
44 led_blink_timer.expires = jiffies + (timeout * HZ); led_blink()
/linux-4.4.14/arch/microblaze/kernel/cpu/
H A Dmb.c61 loops_per_jiffy / (500000 / HZ), show_cpuinfo()
62 (loops_per_jiffy / (5000 / HZ)) % 100); show_cpuinfo()
/linux-4.4.14/arch/mips/netlogic/common/
H A Dtime.c105 preset_lpj = mips_hpt_frequency / (3 * HZ); plat_time_init()
107 preset_lpj = mips_hpt_frequency / (2 * HZ); plat_time_init()
/linux-4.4.14/arch/frv/kernel/
H A Dtime.c78 base = __res_bus_clock_speed_HZ / pre / HZ / (1 << prediv); time_divisor_init()
121 return jiffies_64 * (1000000000 / HZ); sched_clock()
/linux-4.4.14/drivers/tty/hvc/
H A Dhvc_dcc.c53 unsigned long time = jiffies + (HZ / 10); hvc_dcc_check()
/linux-4.4.14/drivers/isdn/hisax/
H A Davm_a1p.c183 HZDELAY(HZ / 5 + 1); AVM_card_msg()
185 HZDELAY(HZ / 5 + 1); AVM_card_msg()
235 HZDELAY(HZ / 5 + 1); setup_avm_a1_pcmcia()
237 HZDELAY(HZ / 5 + 1); setup_avm_a1_pcmcia()
H A Dhfcscard.c118 delay = (75 * HZ) / 100 + 1; hfcs_card_msg()
124 delay = (80 * HZ) / 1000 + 1; hfcs_card_msg()
243 "HFCS: defined at 0x%x IRQ %d HZ %d\n", setup_hfcs()
245 cs->irq, HZ); setup_hfcs()
/linux-4.4.14/drivers/mmc/host/
H A Ddw_mmc-exynos.h70 /* Minimal required clock frequency for cclkin, unit: HZ */
/linux-4.4.14/drivers/mtd/devices/
H A Dbcm47xxsflash.c91 err = bcm47xxsflash_poll(b47s, HZ); bcm47xxsflash_erase()
158 if (bcm47xxsflash_poll(b47s, HZ / 10)) bcm47xxsflash_write_st()
180 err = bcm47xxsflash_poll(b47s, HZ / 1000); bcm47xxsflash_write_at()
312 if (bcm47xxsflash_poll(b47s, HZ / 10)) bcm47xxsflash_bcma_probe()
/linux-4.4.14/drivers/i2c/busses/
H A Di2c-acorn.c81 .timeout = HZ,
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
H A Dthermal.h23 #define ATH10K_THERMAL_SYNC_TIMEOUT_HZ (5*HZ)
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/
H A Dvxge-ethtool.h39 #define VXGE_MAX_FLICKER_TIME (60 * HZ) /* 60 seconds */
/linux-4.4.14/drivers/block/aoe/
H A Daoemain.c27 enum { DTIMERTICK = HZ * 60 }; /* one minute */ discover_timer()
/linux-4.4.14/arch/x86/platform/intel-mid/
H A Dmfld.c51 lapic_timer_frequency = fsb * 1000 / HZ; mfld_calibrate_tsc()
H A Dmrfl.c76 lapic_timer_frequency = (fsb * 1000) / HZ; tangier_calibrate_tsc()
/linux-4.4.14/fs/gfs2/
H A Dglock.h116 #define GL_GLOCK_MAX_HOLD (long)(HZ / 5)
117 #define GL_GLOCK_DFT_HOLD (long)(HZ / 5)
119 #define GL_GLOCK_HOLD_INCR (long)(HZ / 20)
120 #define GL_GLOCK_HOLD_DECR (long)(HZ / 40)

Completed in 6109 milliseconds

1234567891011>>