Home
last modified time | relevance | path

Searched refs:HZ (Results 1 - 25 of 5271) sorted by relevance

12345678910>>...211

/kernel/linux/linux-5.10/include/linux/
H A Djiffies.h13 #include <asm/param.h> /* for HZ */
18 * model. The HZ variable establishes the timer interrupt frequency, 100 Hz
23 #if HZ >= 12 && HZ < 24
25 #elif HZ >= 24 && HZ < 48
27 #elif HZ >= 48 && HZ < 96
29 #elif HZ >= 96 && HZ < 19
[all...]
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)
/kernel/linux/linux-6.6/include/linux/
H A Djiffies.h13 #include <asm/param.h> /* for HZ */
18 * model. The HZ variable establishes the timer interrupt frequency, 100 Hz
23 #if HZ >= 12 && HZ < 24
25 #elif HZ >= 24 && HZ < 48
27 #elif HZ >= 48 && HZ < 96
29 #elif HZ >= 96 && HZ < 19
[all...]
/kernel/linux/linux-5.10/fs/fscache/
H A Dhistogram.c14 atomic_t fscache_obj_instantiate_histogram[HZ];
15 atomic_t fscache_objs_histogram[HZ];
16 atomic_t fscache_ops_histogram[HZ];
17 atomic_t fscache_retrieval_delay_histogram[HZ];
18 atomic_t fscache_retrieval_histogram[HZ];
45 t = (index * 1000) / HZ; in fscache_histogram_show()
58 if ((unsigned long long)*_pos >= HZ + 2) in fscache_histogram_start()
71 return (unsigned long long)*pos > HZ + 2 ? in fscache_histogram_next()
/kernel/linux/linux-5.10/kernel/time/
H A Dtime.c372 * two most common HZ cases:
376 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) in jiffies_to_msecs()
377 return (MSEC_PER_SEC / HZ) * j; in jiffies_to_msecs()
378 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC) in jiffies_to_msecs()
379 return (j + (HZ / MSEC_PER_SEC) - 1)/(HZ / MSEC_PER_SEC); in jiffies_to_msecs()
397 BUILD_BUG_ON(HZ > USEC_PER_SEC); in jiffies_to_usecs()
399 #if !(USEC_PER_SEC % HZ) in jiffies_to_usecs()
[all...]
/kernel/linux/linux-6.6/kernel/time/
H A Dtime.c373 * two most common HZ cases.
379 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) in jiffies_to_msecs()
380 return (MSEC_PER_SEC / HZ) * j; in jiffies_to_msecs()
381 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC) in jiffies_to_msecs()
382 return (j + (HZ / MSEC_PER_SEC) - 1)/(HZ / MSEC_PER_SEC); in jiffies_to_msecs()
406 BUILD_BUG_ON(HZ > USEC_PER_SEC); in jiffies_to_usecs()
408 #if !(USEC_PER_SEC % HZ) in jiffies_to_usecs()
[all...]
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
H A Ddelay.h25 * loops = (4294 * usecs * loops_per_jiffy * HZ) / 2^32.
28 * We choose a = usecs * 19 * HZ and b = loops_per_jiffy * 226
29 * because this lets us support a wide range of HZ and
31 * Thus we need usecs * HZ <= (2^32 - 1) / 19 = 226050910 and
33 * (which corresponds to ~3800 bogomips at HZ = 100).
36 #define __MAX_UDELAY (226050910UL/HZ) /* maximum udelay argument */
37 #define __MAX_NDELAY (4294967295UL/HZ) /* maximum ndelay argument */
65 __udelay((n) * (19 * HZ)); \
67 __udelay((n) * (19 * HZ)); \
77 __udelay((n) * HZ); \
[all...]
/kernel/linux/linux-6.6/arch/microblaze/include/asm/
H A Ddelay.h25 * loops = (4294 * usecs * loops_per_jiffy * HZ) / 2^32.
28 * We choose a = usecs * 19 * HZ and b = loops_per_jiffy * 226
29 * because this lets us support a wide range of HZ and
31 * Thus we need usecs * HZ <= (2^32 - 1) / 19 = 226050910 and
33 * (which corresponds to ~3800 bogomips at HZ = 100).
36 #define __MAX_UDELAY (226050910UL/HZ) /* maximum udelay argument */
37 #define __MAX_NDELAY (4294967295UL/HZ) /* maximum ndelay argument */
65 __udelay((n) * (19 * HZ)); \
67 __udelay((n) * (19 * HZ)); \
77 __udelay((n) * HZ); \
[all...]
/kernel/linux/linux-5.10/net/bridge/
H A Dbr_private_stp.h16 #define BR_MIN_HELLO_TIME (1*HZ)
17 #define BR_MAX_HELLO_TIME (10*HZ)
19 #define BR_MIN_FORWARD_DELAY (2*HZ)
20 #define BR_MAX_FORWARD_DELAY (30*HZ)
22 #define BR_MIN_MAX_AGE (6*HZ)
23 #define BR_MAX_MAX_AGE (40*HZ)
/kernel/linux/linux-6.6/net/bridge/
H A Dbr_private_stp.h16 #define BR_MIN_HELLO_TIME (1*HZ)
17 #define BR_MAX_HELLO_TIME (10*HZ)
19 #define BR_MIN_FORWARD_DELAY (2*HZ)
20 #define BR_MAX_FORWARD_DELAY (30*HZ)
22 #define BR_MIN_MAX_AGE (6*HZ)
23 #define BR_MAX_MAX_AGE (40*HZ)
/kernel/linux/linux-5.10/arch/riscv/lib/
H A Ddelay.c20 * 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.
42 #define UDELAY_MULT (2147UL * HZ + 483648UL * HZ / 100000
[all...]
/kernel/linux/linux-6.6/arch/riscv/lib/
H A Ddelay.c24 * jiffies_per_sec = HZ
27 * Therefore the constant part is HZ / 1000000 which is a small
36 * UDELAY_MULT = 2^31 * HZ / 1000000
37 * = (2^31 / 1000000) * HZ
38 * = 2147.483648 * HZ
39 * = 2147 * HZ + 483648 * HZ / 1000000
42 * delay_us * UDELAY_MULT assuming HZ <= 1000 and delay_us <= 2000.
46 #define UDELAY_MULT (2147UL * HZ + 483648UL * HZ / 100000
[all...]
/kernel/linux/linux-5.10/net/netrom/
H A Dsysctl_net_netrom.c18 static int min_t1[] = {5 * HZ};
19 static int max_t1[] = {600 * HZ};
21 static int min_t2[] = {1 * HZ};
22 static int max_t2[] = {60 * HZ};
23 static int min_t4[] = {1 * HZ};
24 static int max_t4[] = {1000 * HZ};
26 static int min_idle[] = {0 * HZ};
27 static int max_idle[] = {65535 * HZ};
/kernel/linux/linux-6.6/net/netrom/
H A Dsysctl_net_netrom.c18 static int min_t1[] = {5 * HZ};
19 static int max_t1[] = {600 * HZ};
21 static int min_t2[] = {1 * HZ};
22 static int max_t2[] = {60 * HZ};
23 static int min_t4[] = {1 * HZ};
24 static int max_t4[] = {1000 * HZ};
26 static int min_idle[] = {0 * HZ};
27 static int max_idle[] = {65535 * HZ};
/kernel/linux/linux-5.10/net/rose/
H A Dsysctl_net_rose.c12 static int min_timer[] = {1 * HZ};
13 static int max_timer[] = {300 * HZ};
14 static int min_idle[] = {0 * HZ};
15 static int max_idle[] = {65535 * HZ};
17 static int min_ftimer[] = {60 * HZ};
18 static int max_ftimer[] = {600 * HZ};
/kernel/linux/linux-5.10/fs/cachefiles/
H A Dproc.c13 atomic_t cachefiles_lookup_histogram[HZ];
14 atomic_t cachefiles_mkdir_histogram[HZ];
15 atomic_t cachefiles_create_histogram[HZ];
40 t = (index * 1000) / HZ; in cachefiles_histogram_show()
52 if ((unsigned long long)*_pos >= HZ + 2) in cachefiles_histogram_start()
65 return (unsigned long long)*pos > HZ + 2 ? in cachefiles_histogram_next()
/kernel/linux/linux-6.6/net/rose/
H A Dsysctl_net_rose.c12 static int min_timer[] = {1 * HZ};
13 static int max_timer[] = {300 * HZ};
14 static int min_idle[] = {0 * HZ};
15 static int max_idle[] = {65535 * HZ};
17 static int min_ftimer[] = {60 * HZ};
18 static int max_ftimer[] = {600 * HZ};
/kernel/linux/linux-5.10/arch/mips/sni/
H A Dtime.c15 #define SNI_COUNTER0_DIV ((SNI_CLOCK_TICK_RATE / SNI_COUNTER2_DIV) / HZ)
76 #define SNI_8254_TCSAMP_COUNTER ((SNI_8254_TICK_RATE / HZ) + 255)
103 * for every 1/HZ seconds. We round off the nearest 1 MHz of master in dosample()
104 * clock (= 1000000 / HZ / 2). in dosample()
106 /*return (ct1 - ct0 + (500000/HZ/2)) / (500000/HZ) * (500000/HZ);*/ in dosample()
107 return (ct1 - ct0) / (500000/HZ) * (500000/HZ); in dosample()
153 (int) (r4k_tick / (500000 / HZ)), in plat_time_init()
[all...]
/kernel/linux/linux-6.6/arch/mips/sni/
H A Dtime.c15 #define SNI_COUNTER0_DIV ((SNI_CLOCK_TICK_RATE / SNI_COUNTER2_DIV) / HZ)
76 #define SNI_8254_TCSAMP_COUNTER ((SNI_8254_TICK_RATE / HZ) + 255)
103 * for every 1/HZ seconds. We round off the nearest 1 MHz of master in dosample()
104 * clock (= 1000000 / HZ / 2). in dosample()
106 /*return (ct1 - ct0 + (500000/HZ/2)) / (500000/HZ) * (500000/HZ);*/ in dosample()
107 return (ct1 - ct0) / (500000/HZ) * (500000/HZ); in dosample()
153 (int) (r4k_tick / (500000 / HZ)), in plat_time_init()
[all...]
/kernel/linux/linux-5.10/arch/nds32/include/asm/
H A Ddelay.h22 usecs *= (unsigned long)(((0x8000000000000000ULL / (500000 / HZ)) + in __udelay()
31 #if HZ >= 1000
33 #elif HZ <= 200
36 #define MAX_UDELAY_MS (1000 / HZ)
/kernel/linux/linux-5.10/arch/mips/sgi-ip22/
H A Dip22-time.c59 * for every 1/HZ seconds. We round off the nearest 1 MHz of master in dosample()
60 * clock (= 1000000 / HZ / 2). in dosample()
63 return (ct1 - ct0) / (500000/HZ) * (500000/HZ); in dosample()
109 (int) (r4k_tick / (500000 / HZ)), in plat_time_init()
110 (int) (r4k_tick % (500000 / HZ))); in plat_time_init()
112 mips_hpt_frequency = r4k_tick * HZ; in plat_time_init()
/kernel/linux/linux-6.6/arch/mips/sgi-ip22/
H A Dip22-time.c59 * for every 1/HZ seconds. We round off the nearest 1 MHz of master in dosample()
60 * clock (= 1000000 / HZ / 2). in dosample()
63 return (ct1 - ct0) / (500000/HZ) * (500000/HZ); in dosample()
109 (int) (r4k_tick / (500000 / HZ)), in plat_time_init()
110 (int) (r4k_tick % (500000 / HZ))); in plat_time_init()
112 mips_hpt_frequency = r4k_tick * HZ; in plat_time_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
H A Dtimer.c24 int next_tick = 2*HZ; in tulip_media_task()
46 next_tick = 60*HZ; in tulip_media_task()
104 next_tick = (24*HZ)/10; in tulip_media_task()
111 next_tick = 3*HZ; in tulip_media_task()
114 next_tick = 60*HZ; in tulip_media_task()
145 int next_tick = 60*HZ; in mxic_timer()
161 int next_tick = 2*HZ; in comet_timer()
/kernel/linux/linux-6.6/drivers/net/ethernet/dec/tulip/
H A Dtimer.c24 int next_tick = 2*HZ; in tulip_media_task()
46 next_tick = 60*HZ; in tulip_media_task()
104 next_tick = (24*HZ)/10; in tulip_media_task()
111 next_tick = 3*HZ; in tulip_media_task()
114 next_tick = 60*HZ; in tulip_media_task()
145 int next_tick = 60*HZ; in mxic_timer()
161 int next_tick = 2*HZ; in comet_timer()
/kernel/linux/linux-6.6/include/scsi/
H A Dscsi.h19 SCSI_DEFAULT_EH_TIMEOUT = 10 * HZ,
134 #define FORMAT_UNIT_TIMEOUT (2 * 60 * 60 * HZ)
135 #define START_STOP_TIMEOUT (60 * HZ)
136 #define MOVE_MEDIUM_TIMEOUT (5 * 60 * HZ)
137 #define READ_ELEMENT_STATUS_TIMEOUT (5 * 60 * HZ)
138 #define READ_DEFECT_DATA_TIMEOUT (60 * HZ )

Completed in 9 milliseconds

12345678910>>...211