/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 | sc8180x.dtsi | 316 opp-hz = /bits/ 64 <300000000>; 321 opp-hz = /bits/ 64 <422400000>; 326 opp-hz = /bits/ 64 <537600000>; 331 opp-hz = /bits/ 64 <652800000>; 336 opp-hz = /bits/ 64 <768000000>; 341 opp-hz = /bits/ 64 <883200000>; 346 opp-hz = /bits/ 64 <998400000>; 351 opp-hz = /bits/ 64 <1113600000>; 356 opp-hz = /bits/ 64 <1228800000>; 361 opp-hz [all...] |
H A D | sm8150.dtsi | 322 opp-hz = /bits/ 64 <300000000>; 327 opp-hz = /bits/ 64 <403200000>; 332 opp-hz = /bits/ 64 <499200000>; 337 opp-hz = /bits/ 64 <576000000>; 342 opp-hz = /bits/ 64 <672000000>; 347 opp-hz = /bits/ 64 <768000000>; 352 opp-hz = /bits/ 64 <844800000>; 357 opp-hz = /bits/ 64 <940800000>; 362 opp-hz = /bits/ 64 <1036800000>; 367 opp-hz [all...] |
H A D | sm8250.dtsi | 386 opp-hz = /bits/ 64 <300000000>; 391 opp-hz = /bits/ 64 <403200000>; 396 opp-hz = /bits/ 64 <518400000>; 401 opp-hz = /bits/ 64 <614400000>; 406 opp-hz = /bits/ 64 <691200000>; 411 opp-hz = /bits/ 64 <787200000>; 416 opp-hz = /bits/ 64 <883200000>; 421 opp-hz = /bits/ 64 <979200000>; 426 opp-hz = /bits/ 64 <1075200000>; 431 opp-hz [all...] |
H A D | sdm630.dtsi | 237 min-residency-us = <1000>; 256 min-residency-us = <1000>; 338 opp-hz = /bits/ 64 <131250000>; 343 opp-hz = /bits/ 64 <210000000>; 348 opp-hz = /bits/ 64 <262500000>; 1109 opp-hz = /bits/ 64 <775000000>; 1115 opp-hz = /bits/ 64 <647000000>; 1121 opp-hz = /bits/ 64 <588000000>; 1127 opp-hz = /bits/ 64 <465000000>; 1133 opp-hz [all...] |
H A D | sm8350.dtsi | 370 opp-hz = /bits/ 64 <50000000>; 375 opp-hz = /bits/ 64 <75000000>; 380 opp-hz = /bits/ 64 <100000000>; 389 opp-hz = /bits/ 64 <50000000>; 394 opp-hz = /bits/ 64 <75000000>; 399 opp-hz = /bits/ 64 <120000000>; 1713 freq-table-hz = 1862 opp-hz = /bits/ 64 <840000000>; 1867 opp-hz = /bits/ 64 <778000000>; 1872 opp-hz [all...] |
H A D | ipq9574.dtsi | 114 opp-hz = /bits/ 64 <936000000>; 121 opp-hz = /bits/ 64 <1104000000>; 128 opp-hz = /bits/ 64 <1200000000>; 135 opp-hz = /bits/ 64 <1416000000>; 142 opp-hz = /bits/ 64 <1488000000>; 149 opp-hz = /bits/ 64 <1800000000>; 156 opp-hz = /bits/ 64 <2208000000>; 648 v2m1: v2m@1000 { 755 hysteresis = <1000>; 769 hysteresis = <1000>; [all...] |
H A D | sdm845.dtsi | 378 opp-hz = /bits/ 64 <300000000>; 383 opp-hz = /bits/ 64 <403200000>; 388 opp-hz = /bits/ 64 <480000000>; 393 opp-hz = /bits/ 64 <576000000>; 398 opp-hz = /bits/ 64 <652800000>; 403 opp-hz = /bits/ 64 <748800000>; 408 opp-hz = /bits/ 64 <825600000>; 413 opp-hz = /bits/ 64 <902400000>; 418 opp-hz = /bits/ 64 <979200000>; 423 opp-hz [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 | mt8365.dtsi | 29 opp-hz = /bits/ 64 <850000000>; 34 opp-hz = /bits/ 64 <918000000>; 39 opp-hz = /bits/ 64 <987000000>; 44 opp-hz = /bits/ 64 <1056000000>; 49 opp-hz = /bits/ 64 <1125000000>; 54 opp-hz = /bits/ 64 <1216000000>; 59 opp-hz = /bits/ 64 <1308000000>; 64 opp-hz = /bits/ 64 <1400000000>; 69 opp-hz = /bits/ 64 <1466000000>; 74 opp-hz [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/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/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/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 …]
|