Home
last modified time | relevance | path

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

12345678910>>...40

/linux/kernel/time/
H A 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 …]
H A Dclocksource-wdtest.c99 schedule_timeout_uninterruptible(HZ / 10); in wdtest_ktime_clocksource_reset()
100 clocksource_register_khz(&clocksource_wdtest_ktime, 1000 * 1000); in wdtest_ktime_clocksource_reset()
111 schedule_timeout_uninterruptible(holdoff * HZ); in wdtest_func()
122 schedule_timeout_uninterruptible(HZ); in wdtest_func()
133 clocksource_register_khz(&clocksource_wdtest_ktime, 1000 * 1000); in wdtest_func()
141 "Expected at least 1000ns, got %lu.\n", j2 - j1); in wdtest_func()
154 schedule_timeout_uninterruptible(2 * HZ); in wdtest_func()
164 schedule_timeout_uninterruptible(2 * HZ); in wdtest_func()
/linux/arch/arm/boot/dts/nvidia/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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>;
54 opp-hz = /bits/ 64 <204000000>;
61 opp-hz = /bits/ 64 <204000000>;
68 opp-hz = /bits/ 64 <312000000>;
[all …]
/linux/arch/arm/include/asm/
H A 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 …]
/linux/drivers/cpufreq/
H A Dimx6q-cpufreq.c69 freq_hz = new_freq * 1000; in imx6q_set_target()
70 old_freq = clk_get_rate(clks[ARM].clk) / 1000; in imx6q_set_target()
84 old_freq / 1000, volt_old / 1000, in imx6q_set_target()
85 new_freq / 1000, volt / 1000); in imx6q_set_target()
129 clk_set_rate(clks[ARM].clk, (old_freq >> 1) * 1000); in imx6q_set_target()
140 clk_set_rate(clks[PLL1_SYS].clk, new_freq * 1000); in imx6q_set_target()
147 clk_set_rate(clks[PLL1_SYS].clk, new_freq * 1000); in imx6q_set_target()
157 ret = clk_set_rate(clks[ARM].clk, new_freq * 1000); in imx6q_set_target()
245 * 2b'11: 1200000000Hz; in imx6q_opp_check_speed_grading()
246 * 2b'10: 996000000Hz; in imx6q_opp_check_speed_grading()
[all …]
/linux/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.
45 #define MAX_UDELAY_HZ 1000
46 #define UDELAY_MULT (2147UL * HZ + 483648UL * HZ / 1000000UL)
49 #if HZ > MAX_UDELAY_HZ
[all …]
/linux/drivers/video/fbdev/core/
H A Dfbmon.c336 tmp *= 1000; in get_chroma()
342 tmp *= 1000; in get_chroma()
348 tmp *= 1000; in get_chroma()
354 tmp *= 1000; in get_chroma()
360 tmp *= 1000; in get_chroma()
366 tmp *= 1000; in get_chroma()
372 tmp *= 1000; in get_chroma()
378 tmp *= 1000; in get_chroma()
421 DPRINTK(" 720x400@70Hz\n"); in get_est_timing()
426 DPRINTK(" 720x400@88Hz\n"); in get_est_timing()
[all …]
/linux/arch/arm64/boot/dts/nvidia/
H A 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 …]
/linux/arch/loongarch/include/asm/
H A Ddelay.h18 #if HZ >= 1000
20 #elif HZ <= 200
23 #define MAX_UDELAY_MS (1000 / HZ)
/linux/arch/mips/include/asm/
H A Ddelay.h24 #if HZ >= 1000
26 #elif HZ <= 200
29 #define MAX_UDELAY_MS (1000 / HZ)
/linux/include/linux/
H A 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 …]
/linux/Documentation/fb/
H A Dviafb.modes10 # 640x480, 60 Hz, Non-Interlaced (25.175 MHz dotclock)
14 # Scan Frequency 31.469 kHz 59.94 Hz
29 # D: 25.175 MHz, H: 31.469 kHz, V: 59.94 Hz
32 # D: 24.823 MHz, H: 39.780 kHz, V: 60.00 Hz
35 # 640x480, 75 Hz, Non-Interlaced (31.50 MHz dotclock)
39 # Scan Frequency 37.500 kHz 75.00 Hz
53 # D: 31.50 MHz, H: 37.500 kHz, V: 75.00 Hz
56 # 640x480, 85 Hz, Non-Interlaced (36.000 MHz dotclock)
60 # Scan Frequency 43.269 kHz 85.00 Hz
74 # D: 36.000 MHz, H: 43.269 kHz, V: 85.00 Hz
[all …]
/linux/Documentation/devicetree/bindings/dpll/
H A Dmicrochip,zl30731.yaml59 supported-frequencies-hz = /bits/ 64 <1 1000>;
72 supported-frequencies-hz = /bits/ 64 <1 10000>;
97 supported-frequencies-hz = /bits/ 64 <1 1000>;
110 supported-frequencies-hz = /bits/ 64 <1 10000>;
/linux/Documentation/scheduler/
H A Dsched-nice-design.rst14 units were driven by the HZ tick, so the smallest timeslice was 1/HZ.
44 HZ=1000 it caused 1 jiffy to be 1 msec, which meant 0.1% CPU usage which
51 So for HZ=1000 we changed nice +19 to 5msecs, because that felt like the
53 But the fundamental HZ-sensitive property for nice+19 still remained,
59 within the constraints of HZ and jiffies and their nasty design level
91 enough), the scheduler was decoupled from 'time slice' and HZ concepts
94 support: with the new scheduler nice +19 tasks get a HZ-independent
/linux/drivers/leds/
H A Dleds-clevo-mail.c122 * start it. Let's blink the led slowly (0.5Hz). in clevo_mail_led_blink()
124 *delay_on = 1000; /* ms */ in clevo_mail_led_blink()
125 *delay_off = 1000; /* ms */ in clevo_mail_led_blink()
130 /* blink the led with 1Hz */ in clevo_mail_led_blink()
134 } else if (*delay_on == 1000 /* ms */ && *delay_off == 1000 /* ms */) { in clevo_mail_led_blink()
135 /* blink the led with 0.5Hz */ in clevo_mail_led_blink()
/linux/sound/hda/common/
H A Dbeep.c18 DIGBEEP_HZ_STEP = 46875, /* 46.875 Hz */
19 DIGBEEP_HZ_MIN = 93750, /* 93.750 Hz */
57 * defined from the 8bit tone parameter, in Hz,
59 * that is from 12kHz to 93.75Hz in steps of 46.875 Hz
61 static int beep_linear_tone(struct hda_beep *beep, int hz) in beep_linear_tone() argument
63 if (hz <= 0) in beep_linear_tone()
65 hz *= 1000; /* fixed point */ in beep_linear_tone()
66 hz = hz - DIGBEEP_HZ_MIN in beep_linear_tone()
68 if (hz < 0) in beep_linear_tone()
69 hz = 0; /* turn off PC beep*/ in beep_linear_tone()
[all …]
/linux/arch/m68k/include/asm/
H A Ddelay.h53 #define HZSCALE (268435456 / (1000000 / HZ))
67 __delay(xloops * HZ); in __xdelay()
100 * 1000 / ((((HZSCALE) >> 11) * (loops_per_jiffy >> 11)) >> 6) is the number of
103 * So n / ( 1000 / ((((HZSCALE) >> 11) * (loops_per_jiffy >> 11)) >> 6) ) would
114 #define HZSCALE (268435456 / (1000000 / HZ))
121 1000)); in ndelay()
/linux/drivers/iio/accel/
H A Dst_accel_core.c130 { .hz = 1, .value = 0x01, },
131 { .hz = 10, .value = 0x02, },
132 { .hz = 25, .value = 0x03, },
133 { .hz = 50, .value = 0x04, },
134 { .hz = 100, .value = 0x05, },
135 { .hz = 200, .value = 0x06, },
136 { .hz = 400, .value = 0x07, },
137 { .hz = 1600, .value = 0x08, },
156 .gain = IIO_G_TO_M_S_2(1000),
212 { .hz = 50, .value = 0x00, },
[all …]
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_dfs.h27 #define MT_DFS_SW_TIMEOUT (HZ / 20)
28 #define MT_DFS_EVENT_WINDOW (HZ / 5)
34 #define MT_DFS_FCC_MAX_PRI ((28570 << 1) + 1000)
36 #define MT_DFS_JP_MAX_PRI ((80000 << 1) + 1000)
38 #define MT_DFS_ETSI_MAX_PRI (133333 + 125000 + 117647 + 1000)
/linux/Documentation/hwmon/
H A Dsht3x.rst37 all values are scaled by 1000, i.e. the value for 31.5 degrees celsius is 31500.
53 2000 0.5 Hz periodic measurement
54 1000 1 Hz periodic measurement
55 500 2 Hz periodic measurement
56 250 4 Hz periodic measurement
57 100 10 Hz periodic measurement
/linux/drivers/hid/
H A Dhid-roccat-kone.h105 uint16_t main_sensitivity; /* range 100-1000 */
107 uint16_t x_sensitivity; /* range 100-1000 */
108 uint16_t y_sensitivity; /* range 100-1000 */
111 uint8_t polling_rate; /* 1 = 125Hz, 2 = 500Hz, 3 = 1000Hz */

12345678910>>...40