/Linux-v6.1/kernel/time/ |
D | timeconst.bc | 43 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 …]
|
D | clocksource-wdtest.c | 98 schedule_timeout_uninterruptible(HZ / 10); in wdtest_ktime_clocksource_reset() 99 clocksource_register_khz(&clocksource_wdtest_ktime, 1000 * 1000); in wdtest_ktime_clocksource_reset() 110 schedule_timeout_uninterruptible(holdoff * HZ); in wdtest_func() 121 schedule_timeout_uninterruptible(HZ); in wdtest_func() 132 clocksource_register_khz(&clocksource_wdtest_ktime, 1000 * 1000); in wdtest_func() 151 schedule_timeout_uninterruptible(2 * HZ); in wdtest_func() 161 schedule_timeout_uninterruptible(2 * HZ); in wdtest_func()
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | tegra30-peripherals-opp.dtsi | 59 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 …]
|
D | tegra20-peripherals-opp.dtsi | 49 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 …]
|
D | tegra20-cpu-opp.dtsi | 11 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 …]
|
D | tegra124-peripherals-opp.dtsi | 9 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 …]
|
D | tegra30-cpu-opp.dtsi | 11 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-v6.1/kernel/ |
D | Kconfig.hz | 11 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 …]
|
/Linux-v6.1/arch/arm/include/asm/ |
D | delay.h | 11 #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-v6.1/arch/riscv/lib/ |
D | delay.c | 24 * 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-v6.1/include/linux/ |
D | jiffies.h | 13 #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-v6.1/drivers/cpufreq/ |
D | imx6q-cpufreq.c | 67 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() 243 * 2b'11: 1200000000Hz; in imx6q_opp_check_speed_grading() 244 * 2b'10: 996000000Hz; in imx6q_opp_check_speed_grading() [all …]
|
D | sh-cpufreq.c | 39 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 …]
|
/Linux-v6.1/drivers/video/fbdev/core/ |
D | fbmon.c | 333 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 …]
|
/Linux-v6.1/arch/arm64/boot/dts/nvidia/ |
D | tegra132-peripherals-opp.dtsi | 10 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-v6.1/arch/loongarch/include/asm/ |
D | delay.h | 18 #if HZ >= 1000 20 #elif HZ <= 200 23 #define MAX_UDELAY_MS (1000 / HZ)
|
/Linux-v6.1/arch/mips/include/asm/ |
D | delay.h | 24 #if HZ >= 1000 26 #elif HZ <= 200 29 #define MAX_UDELAY_MS (1000 / HZ)
|
/Linux-v6.1/arch/arm64/boot/dts/qcom/ |
D | sc8280xp.dtsi | 40 opp-hz = /bits/ 64 <300000000>; 43 opp-hz = /bits/ 64 <403200000>; 46 opp-hz = /bits/ 64 <499200000>; 49 opp-hz = /bits/ 64 <595200000>; 52 opp-hz = /bits/ 64 <691200000>; 55 opp-hz = /bits/ 64 <806400000>; 58 opp-hz = /bits/ 64 <902400000>; 61 opp-hz = /bits/ 64 <1017600000>; 64 opp-hz = /bits/ 64 <1113600000>; 67 opp-hz = /bits/ 64 <1209600000>; [all …]
|
D | sm8150.dtsi | 296 opp-hz = /bits/ 64 <300000000>; 301 opp-hz = /bits/ 64 <403200000>; 306 opp-hz = /bits/ 64 <499200000>; 311 opp-hz = /bits/ 64 <576000000>; 316 opp-hz = /bits/ 64 <672000000>; 321 opp-hz = /bits/ 64 <768000000>; 326 opp-hz = /bits/ 64 <844800000>; 331 opp-hz = /bits/ 64 <940800000>; 336 opp-hz = /bits/ 64 <1036800000>; 341 opp-hz = /bits/ 64 <1113600000>; [all …]
|
/Linux-v6.1/Documentation/fb/ |
D | viafb.modes | 10 # 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-v6.1/Documentation/scheduler/ |
D | sched-nice-design.rst | 14 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-v6.1/Documentation/hwmon/ |
D | sht3x.rst | 25 scaled by 1000, i.e. the value for 31.5 degrees celsius is 31500. 47 2000 0.5 Hz periodic measurement 48 1000 1 Hz periodic measurement 49 500 2 Hz periodic measurement 50 250 4 Hz periodic measurement 51 100 10 Hz periodic measurement
|
/Linux-v6.1/drivers/gpu/drm/amd/display/modules/freesync/ |
D | freesync.c | 34 /* Refresh rate ramp at a fixed rate of 65 Hz/second */ 35 #define STATIC_SCREEN_RAMP_DELTA_REFRESH_RATE_PER_FRAME ((1000 / 60) * 65) 105 ((unsigned int)(div64_u64((1000000000ULL * 1000), in calc_duration_in_us_from_refresh_in_uhz() 170 stream->timing.h_total), 1000); in calc_v_total_from_duration() 200 (1000 + div64_u64(((unsigned long long)( in update_v_total_for_static_ramp() 208 (1000 - frame_duration_ratio)), 1000); in update_v_total_for_static_ramp() 211 * standard frame duration (frame duration at 60 Hz refresh rate). in update_v_total_for_static_ramp() 246 stream->timing.h_total), 1000); in update_v_total_for_static_ramp() 419 + (1000*FIXED_REFRESH_EXIT_MARGIN_IN_HZ)); in apply_fixed_refresh() 604 /* PB7 = FreeSync Minimum refresh rate (Hz) */ in build_vrr_infopacket_data_v1() [all …]
|
/Linux-v6.1/drivers/leds/ |
D | leds-clevo-mail.c | 122 * 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-v6.1/arch/m68k/include/asm/ |
D | delay.h | 53 #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()
|