| /freebsd/sys/contrib/device-tree/src/arm/nvidia/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/nvidia/ |
| H A 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 …]
|
| /freebsd/sys/sys/ |
| H A D | time.h | 129 #define SBT_1MS (SBT_1S / 1000) 207 * 0000 0111 + 1 -> 0000 1000). 275 SBT_DECLARE_CONVERSION_PAIR(ms, 1000) 382 #define TICKS_2_MSEC(t) max(1, (uint32_t)(hz == 1000) ? \ 383 (t) : (((uint64_t)(t) * (uint64_t)1000)/(uint64_t)hz)) 384 #define TICKS_2_USEC(t) max(1, (uint32_t)(hz == 1000) ? \ 385 ((t) * 1000) : (((uint64_t)(t) * (uint64_t)1000000)/(uint64_t)hz)) 386 #define MSEC_2_TICKS(m) max(1, (uint32_t)((hz == 1000) ? \ 387 (m) : ((uint64_t)(m) * (uint64_t)hz)/(uint64_t)1000)) 388 #define USEC_2_TICKS(u) max(1, (uint32_t)((hz == 1000) ? \ [all …]
|
| /freebsd/contrib/ntp/util/ |
| H A D | tg.c | 126 * WWV/H format (100-Hz, 9 digits, 1 m frame) 193 * IRIG format except first frame (1000 Hz, 20 digits, 1 s frame) 209 * IRIG format first frame (1000 Hz, 20 digits, 1 s frame) 239 int tone = 1000; /* WWV sync frequency */ 365 delay(SECOND - tv.tv_usec * 8 / 1000); in main() 457 * percent on the 1000-Hz carrier. in main() 472 peep(M5, 1000, HIGH); in main() 473 peep(M5, 1000, LOW); in main() 476 peep(M2, 1000, HIGH); in main() 477 peep(M8, 1000, LOW); in main() [all …]
|
| H A D | tickadj.c | 194 #ifdef hz /* Was: RS6000 */ 195 # undef hz 196 #endif /* hz */ 211 #ifndef HZ 212 # define HZ DEFAULT_HZ macro 256 int hz; in main() local 279 if (writetickadj % HZ) in main() 281 writetickadj = (writetickadj / HZ) * HZ; in main() 375 tick /= 1000; in main() 389 tickadj /= (1000L * HZ); in main() [all …]
|
| H A D | tg2.c | 334 * WWV/H format (100-Hz, 9 digits, 1 m frame) 401 * IRIG format frames (1000 Hz, 1 second for 10 frames of data) 411 {DECC, 1}, /* 3 0x0 1000 */ 515 int tone = 1000; /* WWV sync frequency */ 1023 if (SampleRateDifference > (SetSampleRate/1000)) 1084 delay(SECOND - TimeValue.tv_usec * 8 / 1000); 1098 …Year = %02d, Day of year = %03d, Time = %02d:%02d:%02d, Minute tone = %d Hz, Hour tone = %d Hz.\n", 1167 printf (" Adjusted by %2.1f%%, apparent send frequency is %4.2f Hz not %d Hz.\n\n", 1386 printf (" Adjusted by %2.1f%%, apparent send frequency is %4.2f Hz not %d Hz.\n\n", 1537 * percent on the 1000-Hz carrier. [all …]
|
| /freebsd/stand/usb/test/ |
| H A D | bsd_usbloader_test.c | 37 #define hz 1000 macro 71 usleep((1000000 / hz) * timeout); in pause() 89 usleep(1000); in main() 91 if (++time >= (1000 / hz)) { in main()
|
| /freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
| H A D | sm6375.dtsi | 344 opp-hz = /bits/ 64 <300000000>; 349 opp-hz = /bits/ 64 <576000000>; 354 opp-hz = /bits/ 64 <691200000>; 359 opp-hz = /bits/ 64 <940800000>; 364 opp-hz = /bits/ 64 <1113600000>; 369 opp-hz = /bits/ 64 <1324800000>; 374 opp-hz = /bits/ 64 <1516800000>; 379 opp-hz = /bits/ 64 <1651200000>; 384 opp-hz = /bits/ 64 <1708800000>; 389 opp-hz = /bits/ 64 <1804800000>; [all …]
|
| H A D | sm8250.dtsi | 384 opp-hz = /bits/ 64 <300000000>; 389 opp-hz = /bits/ 64 <403200000>; 394 opp-hz = /bits/ 64 <518400000>; 399 opp-hz = /bits/ 64 <614400000>; 404 opp-hz = /bits/ 64 <691200000>; 409 opp-hz = /bits/ 64 <787200000>; 414 opp-hz = /bits/ 64 <883200000>; 419 opp-hz = /bits/ 64 <979200000>; 424 opp-hz = /bits/ 64 <1075200000>; 429 opp-hz = /bits/ 64 <1171200000>; [all …]
|
| H A D | qcm2290.dtsi | 782 opp-peak-kBps = <(200 * 4 * 1000)>; 786 opp-peak-kBps = <(300 * 4 * 1000)>; 790 opp-peak-kBps = <(451 * 4 * 1000)>; 794 opp-peak-kBps = <(547 * 4 * 1000)>; 798 opp-peak-kBps = <(681 * 4 * 1000)>; 802 opp-peak-kBps = <(768 * 4 * 1000)>; 806 opp-peak-kBps = <(1017 * 4 * 1000)>; 810 opp-peak-kBps = <(1353 * 4 * 1000)>; 814 opp-peak-kBps = <(1555 * 4 * 1000)>; 818 opp-peak-kBps = <(1804 * 4 * 1000)>; [all …]
|
| H A D | sm6115.dtsi | 285 opp-hz = /bits/ 64 <75000000>; 290 opp-hz = /bits/ 64 <100000000>; 295 opp-hz = /bits/ 64 <128000000>; 988 opp-peak-kBps = <(200 * 4 * 1000)>; 992 opp-peak-kBps = <(300 * 4 * 1000)>; 996 opp-peak-kBps = <(451 * 4 * 1000)>; 1000 opp-peak-kBps = <(547 * 4 * 1000)>; 1004 opp-peak-kBps = <(681 * 4 * 1000)>; 1008 opp-peak-kBps = <(768 * 4 * 1000)>; 1012 opp-peak-kBps = <(1017 * 4 * 1000)>; [all …]
|
| H A D | ipq9574.dtsi | 115 opp-hz = /bits/ 64 <936000000>; 122 opp-hz = /bits/ 64 <1104000000>; 129 opp-hz = /bits/ 64 <1200000000>; 136 opp-hz = /bits/ 64 <1416000000>; 143 opp-hz = /bits/ 64 <1488000000>; 150 opp-hz = /bits/ 64 <1800000000>; 157 opp-hz = /bits/ 64 <2208000000>; 663 v2m1: v2m@1000 { 768 hysteresis = <1000>; 780 hysteresis = <1000>; [all …]
|
| /freebsd/sys/dev/e1000/ |
| H A D | e1000_osdep.h | 70 #define us_scale(x) max(1, (x/(1000000/hz))) 73 if (hz == 1000) { in ms_scale() 75 } else if (hz > 1000) { in ms_scale() 76 return (x*(hz/1000)); in ms_scale() 78 return (max(1, x/(1000/hz))); in ms_scale() 89 pause("e1000_delay", max(1, x/(1000000/hz))); in safe_pause_us() 96 DELAY(x*1000); in safe_pause_ms()
|
| /freebsd/sys/dev/liquidio/ |
| H A D | lio_bsd.h | 83 ((hz > 1000) ? ((x) * (hz/1000)) : ((x) / (1000/hz))) 87 DELAY(1000 * (x)); \
|
| /freebsd/sys/contrib/device-tree/src/arm64/mediatek/ |
| H A D | mt8188.dtsi | 245 min-residency-us = <1000>; 305 opp-hz = /bits/ 64 <390000000>; 310 opp-hz = /bits/ 64 <431000000>; 315 opp-hz = /bits/ 64 <473000000>; 320 opp-hz = /bits/ 64 <515000000>; 325 opp-hz = /bits/ 64 <556000000>; 330 opp-hz = /bits/ 64 <598000000>; 335 opp-hz = /bits/ 64 <640000000>; 340 opp-hz = /bits/ 64 <670000000>; 345 opp-hz = /bits/ 64 <700000000>; [all …]
|
| H A D | mt8186.dtsi | 45 opp-hz = /bits/ 64 <500000000>; 50 opp-hz = /bits/ 64 <560000000>; 55 opp-hz = /bits/ 64 <612000000>; 60 opp-hz = /bits/ 64 <682000000>; 65 opp-hz = /bits/ 64 <752000000>; 70 opp-hz = /bits/ 64 <822000000>; 75 opp-hz = /bits/ 64 <875000000>; 80 opp-hz = /bits/ 64 <927000000>; 85 opp-hz = /bits/ 64 <980000000>; 90 opp-hz = /bits/ 64 <1050000000>; [all …]
|
| /freebsd/sys/contrib/dev/mediatek/mt76/ |
| H A D | mt76x02_dfs.h | 27 #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)
|
| /freebsd/sys/arm/broadcom/bcm2835/ |
| H A D | bcm2835_cpufreq.c | 61 #define HZ2MHZ(freq) ((freq) / (1000 * 1000)) 62 #define MHZ2HZ(freq) ((freq) * (1000 * 1000)) 64 #define OFFSET2MVOLT(val) (((val) / 1000)) 65 #define MVOLT2OFFSET(val) (((val) * 1000)) 70 #define TRANSITION_LATENCY 1000 168 * u32: rate (in Hz) in bcm2835_cpufreq_get_clock_rate() 184 /* result (Hz) */ in bcm2835_cpufreq_get_clock_rate() 186 DPRINTF("clock = %d(Hz)\n", rate); in bcm2835_cpufreq_get_clock_rate() 209 * u32: rate (in Hz) in bcm2835_cpufreq_get_max_clock_rate() 225 /* result (Hz) */ in bcm2835_cpufreq_get_max_clock_rate() [all …]
|
| /freebsd/sys/netinet/ |
| H A D | tcp_seq.h | 77 #define TCP_TS_TO_TICKS(_t) ((_t) * hz / 1000) 80 #define TCP_PAWS_IDLE (24 * 24 * 60 * 60 * 1000) 83 * tcp_ts_getticks() in ms, should be 1ms < x < 1000ms according to RFC 1323. 84 * We always use 1ms granularity independent of hz. 92 * getmicrouptime() should be good enough for any 1-1000ms granularity. in tcp_ts_getticks() 96 return (tv.tv_sec * 1000 + tv.tv_usec / 1000); in tcp_ts_getticks()
|
| /freebsd/sys/dev/bhnd/cores/chipc/pwrctl/ |
| H A D | bhnd_pwrctl_subr.c | 96 * Calculate the backplane clock speed (in Hz) for a given a set of clock 143 *fixed_hz = 200 * 1000 * 1000; in bhnd_pwrctl_cpu_clkreg_m() 150 *fixed_hz = 200 * 1000 * 1000; in bhnd_pwrctl_cpu_clkreg_m() 162 * Calculate the CPU clock speed (in Hz) for a given a set of clock control 181 * Calculate the clock speed (in Hz) for a given a set of clockcontrol 294 * Return the backplane clock speed in Hz. 362 uint32_t hz; in bhnd_pwrctl_slowclk_freq() local 392 hz = max_freq ? CHIPC_LPOMAXFREQ : CHIPC_LPOMINFREQ; in bhnd_pwrctl_slowclk_freq() 395 hz = max_freq ? CHIPC_XTALMAXFREQ : CHIPC_XTALMINFREQ; in bhnd_pwrctl_slowclk_freq() 398 hz = max_freq ? CHIPC_PCIMAXFREQ : CHIPC_PCIMINFREQ; in bhnd_pwrctl_slowclk_freq() [all …]
|
| /freebsd/sys/dev/ocs_fc/ |
| H A D | ocs_os.c | 945 int hz; in ocs_setup_timer() local 961 tv.tv_sec = timeout_ms / 1000; in ocs_setup_timer() 962 tv.tv_usec = (timeout_ms % 1000) * 1000; in ocs_setup_timer() 964 hz = tvtohz(&tv); in ocs_setup_timer() 965 if (hz < 0) in ocs_setup_timer() 966 hz = INT32_MAX; in ocs_setup_timer() 967 if (hz == 0) in ocs_setup_timer() 968 hz = 1; in ocs_setup_timer() 971 callout_reset(&timer->callout, hz, __ocs_callout, timer); in ocs_setup_timer() 981 int hz; in ocs_mod_timer() local [all …]
|