Home
last modified time | relevance | path

Searched +full:1000 +full:hz (Results 1 – 25 of 1393) sorted by relevance

12345678910>>...56

/kernel/linux/linux-5.10/kernel/time/
Dtimeconst.bc43 define timeconst(hz) {
45 print "/* Time conversion constants for HZ == ", hz, " */\n"
54 print "#if HZ != ", hz, "\n"
55 print "#error \qinclude/generated/timeconst.h has the wrong HZ value!\q\n"
58 if (hz < 2) {
59 print "#error Totally bogus HZ value!\n"
61 s=fmuls(32,1000,hz)
63 print "#define HZ_TO_MSEC_MUL32\tU64_C(0x", fmul(s,1000,hz), ")\n"
64 print "#define HZ_TO_MSEC_ADJ32\tU64_C(0x", fadj(s,1000,hz), ")\n"
68 s=fmuls(32,hz,1000)
[all …]
/kernel/linux/linux-6.6/kernel/time/
Dtimeconst.bc43 define timeconst(hz) {
45 print "/* Time conversion constants for HZ == ", hz, " */\n"
54 print "#if HZ != ", hz, "\n"
55 print "#error \qinclude/generated/timeconst.h has the wrong HZ value!\q\n"
58 if (hz < 2) {
59 print "#error Totally bogus HZ value!\n"
61 s=fmuls(32,1000,hz)
63 print "#define HZ_TO_MSEC_MUL32\tU64_C(0x", fmul(s,1000,hz), ")\n"
64 print "#define HZ_TO_MSEC_ADJ32\tU64_C(0x", fadj(s,1000,hz), ")\n"
68 s=fmuls(32,hz,1000)
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/nvidia/
Dtegra30-peripherals-opp.dtsi59 opp-hz = /bits/ 64 <12750000>;
64 opp-12750000-1000 {
66 opp-hz = /bits/ 64 <12750000>;
73 opp-hz = /bits/ 64 <12750000>;
80 opp-hz = /bits/ 64 <25500000>;
85 opp-25500000-1000 {
87 opp-hz = /bits/ 64 <25500000>;
94 opp-hz = /bits/ 64 <25500000>;
101 opp-hz = /bits/ 64 <27000000>;
106 opp-27000000-1000 {
[all …]
Dtegra20-peripherals-opp.dtsi49 opp-hz = /bits/ 64 <36000000>;
56 opp-hz = /bits/ 64 <47500000>;
63 opp-hz = /bits/ 64 <50000000>;
70 opp-hz = /bits/ 64 <54000000>;
77 opp-hz = /bits/ 64 <57000000>;
84 opp-hz = /bits/ 64 <100000000>;
91 opp-hz = /bits/ 64 <108000000>;
98 opp-hz = /bits/ 64 <126666000>;
105 opp-hz = /bits/ 64 <150000000>;
112 opp-hz = /bits/ 64 <190000000>;
[all …]
Dtegra20-cpu-opp.dtsi11 opp-hz = /bits/ 64 <216000000>;
18 opp-hz = /bits/ 64 <216000000>;
25 opp-hz = /bits/ 64 <312000000>;
31 opp-hz = /bits/ 64 <312000000>;
37 opp-hz = /bits/ 64 <456000000>;
44 opp-hz = /bits/ 64 <456000000>;
50 opp-hz = /bits/ 64 <456000000>;
56 opp-hz = /bits/ 64 <608000000>;
62 opp-hz = /bits/ 64 <608000000>;
68 opp-hz = /bits/ 64 <608000000>;
[all …]
Dtegra124-peripherals-opp.dtsi9 opp-hz = /bits/ 64 <12750000>;
15 opp-hz = /bits/ 64 <12750000>;
21 opp-hz = /bits/ 64 <12750000>;
27 opp-hz = /bits/ 64 <12750000>;
33 opp-hz = /bits/ 64 <20400000>;
39 opp-hz = /bits/ 64 <20400000>;
45 opp-hz = /bits/ 64 <20400000>;
51 opp-hz = /bits/ 64 <20400000>;
57 opp-hz = /bits/ 64 <40800000>;
63 opp-hz = /bits/ 64 <40800000>;
[all …]
/kernel/linux/linux-5.10/kernel/
DKconfig.hz11 to have the timer interrupt run at 1000 Hz but 100 Hz may be more
16 environment leading to NR_CPUS * HZ number of timer interrupts
21 bool "100 HZ"
23 100 Hz is a typical choice for servers, SMP and NUMA systems
28 bool "250 HZ"
30 250 Hz is a good compromise choice allowing server performance
33 or multimedia, selected 300Hz instead.
36 bool "300 HZ"
38 300 Hz is a good compromise choice allowing server performance
44 bool "1000 HZ"
[all …]
/kernel/linux/linux-6.6/kernel/
DKconfig.hz11 to have the timer interrupt run at 1000 Hz but 100 Hz may be more
16 environment leading to NR_CPUS * HZ number of timer interrupts
21 bool "100 HZ"
23 100 Hz is a typical choice for servers, SMP and NUMA systems
28 bool "250 HZ"
30 250 Hz is a good compromise choice allowing server performance
33 or multimedia, selected 300Hz instead.
36 bool "300 HZ"
38 300 Hz is a good compromise choice allowing server performance
44 bool "1000 HZ"
[all …]
/kernel/linux/linux-5.10/arch/arm/include/asm/
Ddelay.h11 #include <asm/param.h> /* HZ */
20 * 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.
41 #define UDELAY_MULT UL(2147 * HZ + 483648 * HZ / 1000000)
65 * of 2000us. Further limits: HZ<=1000
[all …]
/kernel/linux/linux-6.6/arch/arm/include/asm/
Ddelay.h11 #include <asm/param.h> /* HZ */
20 * 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.
41 #define UDELAY_MULT UL(2147 * HZ + 483648 * HZ / 1000000)
65 * of 2000us. Further limits: HZ<=1000
[all …]
/kernel/linux/linux-5.10/include/linux/
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)
Djiffies.h13 #include <asm/param.h> /* for HZ */
18 * model. The HZ variable establishes the timer interrupt frequency, 100 Hz
19 * for the SunOS kernel, 256 Hz for the Ultrix kernel and 1024 Hz for the
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
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dtegra20-cpu-opp.dtsi11 opp-hz = /bits/ 64 <216000000>;
17 opp-hz = /bits/ 64 <216000000>;
23 opp-hz = /bits/ 64 <312000000>;
29 opp-hz = /bits/ 64 <312000000>;
35 opp-hz = /bits/ 64 <456000000>;
42 opp-hz = /bits/ 64 <456000000>;
48 opp-hz = /bits/ 64 <456000000>;
54 opp-hz = /bits/ 64 <608000000>;
60 opp-hz = /bits/ 64 <608000000>;
66 opp-hz = /bits/ 64 <608000000>;
[all …]
Dtegra30-cpu-opp.dtsi11 opp-hz = /bits/ 64 <51000000>;
17 opp-hz = /bits/ 64 <51000000>;
23 opp-hz = /bits/ 64 <51000000>;
29 opp-hz = /bits/ 64 <102000000>;
35 opp-hz = /bits/ 64 <102000000>;
41 opp-hz = /bits/ 64 <102000000>;
47 opp-hz = /bits/ 64 <204000000>;
53 opp-hz = /bits/ 64 <204000000>;
59 opp-hz = /bits/ 64 <204000000>;
65 opp-hz = /bits/ 64 <312000000>;
[all …]
/kernel/linux/linux-5.10/arch/riscv/lib/
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.
41 #define MAX_UDELAY_HZ 1000
42 #define UDELAY_MULT (2147UL * HZ + 483648UL * HZ / 1000000UL)
45 #if HZ > MAX_UDELAY_HZ
[all …]
/kernel/linux/linux-6.6/arch/riscv/lib/
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.
45 #define MAX_UDELAY_HZ 1000
46 #define UDELAY_MULT (2147UL * HZ + 483648UL * HZ / 1000000UL)
49 #if HZ > MAX_UDELAY_HZ
[all …]
/kernel/linux/linux-5.10/drivers/cpufreq/
Dsh-cpufreq.c40 return (clk_get_rate(&per_cpu(sh_cpuclk, cpu)) + 500) / 1000; in sh_cpufreq_get()
58 /* Convert target_freq from kHz to Hz */ in __sh_cpufreq_target()
59 freq = clk_round_rate(cpuclk, target->freq * 1000); in __sh_cpufreq_target()
61 if (freq < (policy->min * 1000) || freq > (policy->max * 1000)) in __sh_cpufreq_target()
64 dev_dbg(dev, "requested frequency %u Hz\n", target->freq * 1000); in __sh_cpufreq_target()
67 freqs.new = (freq + 500) / 1000; in __sh_cpufreq_target()
74 dev_dbg(dev, "set frequency %lu Hz\n", freq); in __sh_cpufreq_target()
101 policy->min = (clk_round_rate(cpuclk, 1) + 500) / 1000; in sh_cpufreq_verify()
102 policy->max = (clk_round_rate(cpuclk, ~0UL) + 500) / 1000; in sh_cpufreq_verify()
131 (clk_round_rate(cpuclk, 1) + 500) / 1000; in sh_cpufreq_cpu_init()
[all …]
Dimx6q-cpufreq.c67 freq_hz = new_freq * 1000; in imx6q_set_target()
68 old_freq = clk_get_rate(clks[ARM].clk) / 1000; in imx6q_set_target()
82 old_freq / 1000, volt_old / 1000, in imx6q_set_target()
83 new_freq / 1000, volt / 1000); in imx6q_set_target()
127 clk_set_rate(clks[ARM].clk, (old_freq >> 1) * 1000); in imx6q_set_target()
138 clk_set_rate(clks[PLL1_SYS].clk, new_freq * 1000); in imx6q_set_target()
145 clk_set_rate(clks[PLL1_SYS].clk, new_freq * 1000); in imx6q_set_target()
155 ret = clk_set_rate(clks[ARM].clk, new_freq * 1000); in imx6q_set_target()
251 * 2b'11: 1200000000Hz; in imx6q_opp_check_speed_grading()
252 * 2b'10: 996000000Hz; in imx6q_opp_check_speed_grading()
[all …]
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-6.6/drivers/cpufreq/
Dimx6q-cpufreq.c67 freq_hz = new_freq * 1000; in imx6q_set_target()
68 old_freq = clk_get_rate(clks[ARM].clk) / 1000; in imx6q_set_target()
82 old_freq / 1000, volt_old / 1000, in imx6q_set_target()
83 new_freq / 1000, volt / 1000); in imx6q_set_target()
127 clk_set_rate(clks[ARM].clk, (old_freq >> 1) * 1000); in imx6q_set_target()
138 clk_set_rate(clks[PLL1_SYS].clk, new_freq * 1000); in imx6q_set_target()
145 clk_set_rate(clks[PLL1_SYS].clk, new_freq * 1000); in imx6q_set_target()
155 ret = clk_set_rate(clks[ARM].clk, new_freq * 1000); in imx6q_set_target()
251 * 2b'11: 1200000000Hz; in imx6q_opp_check_speed_grading()
252 * 2b'10: 996000000Hz; in imx6q_opp_check_speed_grading()
[all …]
Dsh-cpufreq.c39 return (clk_get_rate(&per_cpu(sh_cpuclk, cpu)) + 500) / 1000; in sh_cpufreq_get()
57 /* Convert target_freq from kHz to Hz */ in __sh_cpufreq_target()
58 freq = clk_round_rate(cpuclk, target->freq * 1000); in __sh_cpufreq_target()
60 if (freq < (policy->min * 1000) || freq > (policy->max * 1000)) in __sh_cpufreq_target()
63 dev_dbg(dev, "requested frequency %u Hz\n", target->freq * 1000); in __sh_cpufreq_target()
66 freqs.new = (freq + 500) / 1000; in __sh_cpufreq_target()
73 dev_dbg(dev, "set frequency %lu Hz\n", freq); in __sh_cpufreq_target()
100 policy->min = (clk_round_rate(cpuclk, 1) + 500) / 1000; in sh_cpufreq_verify()
101 policy->max = (clk_round_rate(cpuclk, ~0UL) + 500) / 1000; in sh_cpufreq_verify()
130 (clk_round_rate(cpuclk, 1) + 500) / 1000; in sh_cpufreq_cpu_init()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
Dfbmon.c333 tmp *= 1000; in get_chroma()
339 tmp *= 1000; in get_chroma()
345 tmp *= 1000; in get_chroma()
351 tmp *= 1000; in get_chroma()
357 tmp *= 1000; in get_chroma()
363 tmp *= 1000; in get_chroma()
369 tmp *= 1000; in get_chroma()
375 tmp *= 1000; in get_chroma()
418 DPRINTK(" 720x400@70Hz\n"); in get_est_timing()
423 DPRINTK(" 720x400@88Hz\n"); in get_est_timing()
[all …]
/kernel/linux/linux-6.6/drivers/video/fbdev/core/
Dfbmon.c333 tmp *= 1000; in get_chroma()
339 tmp *= 1000; in get_chroma()
345 tmp *= 1000; in get_chroma()
351 tmp *= 1000; in get_chroma()
357 tmp *= 1000; in get_chroma()
363 tmp *= 1000; in get_chroma()
369 tmp *= 1000; in get_chroma()
375 tmp *= 1000; in get_chroma()
418 DPRINTK(" 720x400@70Hz\n"); in get_est_timing()
423 DPRINTK(" 720x400@88Hz\n"); in get_est_timing()
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/nvidia/
Dtegra132-peripherals-opp.dtsi10 opp-hz = /bits/ 64 <12750000>;
16 opp-hz = /bits/ 64 <12750000>;
22 opp-hz = /bits/ 64 <12750000>;
28 opp-hz = /bits/ 64 <12750000>;
34 opp-hz = /bits/ 64 <20400000>;
40 opp-hz = /bits/ 64 <20400000>;
46 opp-hz = /bits/ 64 <20400000>;
52 opp-hz = /bits/ 64 <20400000>;
58 opp-hz = /bits/ 64 <40800000>;
64 opp-hz = /bits/ 64 <40800000>;
[all …]
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
Ddelay.h18 #if HZ >= 1000
20 #elif HZ <= 200
23 #define MAX_UDELAY_MS (1000 / HZ)

12345678910>>...56