Home
last modified time | relevance | path

Searched refs:HZ (Results 1 – 25 of 2447) sorted by relevance

12345678910>>...98

/Linux-v4.19/include/linux/
Djiffies.h21 #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
[all …]
Dn_r3964.h66 #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)
/Linux-v4.19/fs/fscache/
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; in fscache_histogram_show()
62 if ((unsigned long long)*_pos >= HZ + 2) in fscache_histogram_start()
75 return (unsigned long long)*pos > HZ + 2 ? in fscache_histogram_next()
/Linux-v4.19/kernel/time/
Dtime.c310 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) in jiffies_to_msecs()
311 return (MSEC_PER_SEC / HZ) * j; in jiffies_to_msecs()
312 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC) in jiffies_to_msecs()
313 return (j + (HZ / MSEC_PER_SEC) - 1)/(HZ / MSEC_PER_SEC); in jiffies_to_msecs()
331 BUILD_BUG_ON(HZ > USEC_PER_SEC); in jiffies_to_usecs()
333 #if !(USEC_PER_SEC % HZ) in jiffies_to_usecs()
334 return (USEC_PER_SEC / HZ) * j; in jiffies_to_usecs()
706 # if HZ < USER_HZ in jiffies_to_clock_t()
707 return x * (USER_HZ / HZ); in jiffies_to_clock_t()
709 return x / (HZ / USER_HZ); in jiffies_to_clock_t()
[all …]
Djiffies.c43 #if HZ < 34
45 #elif HZ < 67
122 cycles_per_tick = (cycles_per_second + HZ/2)/HZ; in register_refined_jiffies()
/Linux-v4.19/arch/microblaze/include/asm/
Ddelay.h41 #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-v4.19/arch/riscv/lib/
Ddelay.c50 #define UDELAY_MULT (2147UL * HZ + 483648UL * HZ / 1000000UL)
53 #if HZ > MAX_UDELAY_HZ
73 #define NDELAY_MULT ((unsigned long long)(2199ULL * HZ + 23255550ULL * HZ / 1000000000ULL))
76 #if HZ > MAX_NDELAY_HZ
/Linux-v4.19/net/netrom/
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};
/Linux-v4.19/net/bridge/
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-v4.19/drivers/media/usb/b2c2/
Dflexcop-usb.h94 #define B2C2_WAIT_FOR_OPERATION_RW (1*HZ)
95 #define B2C2_WAIT_FOR_OPERATION_RDW (3*HZ)
96 #define B2C2_WAIT_FOR_OPERATION_WDW (1*HZ)
98 #define B2C2_WAIT_FOR_OPERATION_V8READ (3*HZ)
99 #define B2C2_WAIT_FOR_OPERATION_V8WRITE (3*HZ)
100 #define B2C2_WAIT_FOR_OPERATION_V8FLASH (3*HZ)
/Linux-v4.19/arch/mips/sni/
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)
113 return (ct1 - ct0) / (500000/HZ) * (500000/HZ); in dosample()
159 (int) (r4k_tick / (500000 / HZ)), in plat_time_init()
160 (int) (r4k_tick % (500000 / HZ))); in plat_time_init()
162 mips_hpt_frequency = r4k_tick * HZ; in plat_time_init()
/Linux-v4.19/fs/cachefiles/
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; in cachefiles_histogram_show()
56 if ((unsigned long long)*_pos >= HZ + 2) in cachefiles_histogram_start()
69 return (unsigned long long)*pos > HZ + 2 ? in cachefiles_histogram_next()
/Linux-v4.19/net/rose/
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};
/Linux-v4.19/arch/nds32/include/asm/
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)
/Linux-v4.19/arch/mips/sgi-ip22/
Dip22-time.c63 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()
/Linux-v4.19/include/scsi/
Dscsi.h18 SCSI_DEFAULT_EH_TIMEOUT = 10 * HZ,
222 #define FORMAT_UNIT_TIMEOUT (2 * 60 * 60 * HZ)
223 #define START_STOP_TIMEOUT (60 * HZ)
224 #define MOVE_MEDIUM_TIMEOUT (5 * 60 * HZ)
225 #define READ_ELEMENT_STATUS_TIMEOUT (5 * 60 * HZ)
226 #define READ_DEFECT_DATA_TIMEOUT (60 * HZ )
/Linux-v4.19/drivers/net/ethernet/dec/tulip/
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()
Dpnic.c68 if (! tp->nwayset || time_after(jiffies, dev_trans_start(dev) + 1*HZ)) { in pnic_lnk_change()
92 int next_tick = 60*HZ; in pnic_timer()
106 next_tick = 3*HZ; in pnic_timer()
119 next_tick = 1*HZ; in pnic_timer()
123 next_tick = 60*HZ; in pnic_timer()
131 next_tick = 3*HZ; in pnic_timer()
134 next_tick = 1*HZ; in pnic_timer()
/Linux-v4.19/arch/h8300/kernel/
Dsetup.c140 (loops_per_jiffy*HZ)/500000, in show_cpuinfo()
141 ((loops_per_jiffy*HZ)/5000)%100, in show_cpuinfo()
142 (loops_per_jiffy*HZ)); in show_cpuinfo()
210 loops_per_jiffy = freq / HZ / (access_timing() * 2); in calibrate_delay()
212 loops_per_jiffy / (500000 / HZ), in calibrate_delay()
213 (loops_per_jiffy / (5000 / HZ)) % 100, loops_per_jiffy); in calibrate_delay()
/Linux-v4.19/arch/ia64/include/asm/
Dparam.h15 # define HZ CONFIG_HZ macro
16 # define USER_HZ HZ
17 # define CLOCKS_PER_SEC HZ /* frequency at which times() counts */
/Linux-v4.19/kernel/
DKconfig.hz15 environment leading to NR_CPUS * HZ number of timer interrupts
20 bool "100 HZ"
27 bool "250 HZ"
35 bool "300 HZ"
43 bool "1000 HZ"
50 config HZ config
/Linux-v4.19/net/ax25/
Daf_ax25.c330 ax25->dtimer.expires = jiffies + 2 * HZ; in ax25_destroy_socket()
365 if (ax25_ctl.arg > ULONG_MAX / HZ && ax25_ctl.cmd != AX25_KILL) in ax25_ctl_ioctl()
397 if (ax25_ctl.arg < 1 || ax25_ctl.arg > ULONG_MAX / HZ) in ax25_ctl_ioctl()
399 ax25->rtt = (ax25_ctl.arg * HZ) / 2; in ax25_ctl_ioctl()
400 ax25->t1 = ax25_ctl.arg * HZ; in ax25_ctl_ioctl()
404 if (ax25_ctl.arg < 1 || ax25_ctl.arg > ULONG_MAX / HZ) in ax25_ctl_ioctl()
406 ax25->t2 = ax25_ctl.arg * HZ; in ax25_ctl_ioctl()
417 if (ax25_ctl.arg > ULONG_MAX / HZ) in ax25_ctl_ioctl()
419 ax25->t3 = ax25_ctl.arg * HZ; in ax25_ctl_ioctl()
423 if (ax25_ctl.arg > ULONG_MAX / (60 * HZ)) in ax25_ctl_ioctl()
[all …]
/Linux-v4.19/arch/mips/include/asm/
Ddelay.h24 #if HZ >= 1000
26 #elif HZ <= 200
29 #define MAX_UDELAY_MS (1000 / HZ)
/Linux-v4.19/net/rxrpc/
Dmisc.c36 unsigned long rxrpc_soft_ack_delay = HZ;
45 unsigned long rxrpc_idle_ack_delay = HZ / 2;
73 unsigned long rxrpc_resend_timeout = 4 * HZ;
/Linux-v4.19/include/video/
Dudlfb.h74 #define GET_URB_TIMEOUT HZ
75 #define FREE_URB_TIMEOUT (HZ*2)
92 #define DL_DEFIO_WRITE_DELAY msecs_to_jiffies(HZ <= 300 ? 4 : 10) /* optimal value for 720p vide…
93 #define DL_DEFIO_WRITE_DISABLE (HZ*60) /* "disable" with long delay */

12345678910>>...98