/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/contrib/device-tree/Bindings/mfd/ |
H A D | rohm,bd71847-pmic.yaml | 65 # Shortest being 10ms, next 500ms and then multiple of 500ms up to 7,5s 67 # Shortest being 10ms, next 1000ms and then multiple of 1000ms up to 15s 71 rohm,short-press-ms: 77 - 1000 [all...] |
H A D | rohm,bd71837-pmic.yaml | 65 # Shortest being 10ms, next 500ms and then multiple of 500ms up to 7,5s 67 # Shortest being 10ms, next 1000ms and then multiple of 1000ms up to 15s 71 rohm,short-press-ms: 77 - 1000 91 rohm,long-press-ms: 96 - 1000 142 rohm,short-press-ms = <10>; 143 rohm,long-press-ms = <2000>;
|
/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/ |
H A D | azoteq,iqs7211.yaml | 61 azoteq,rate-active-ms: 64 description: Specifies the report rate (in ms) during active mode. 66 azoteq,rate-touch-ms: 69 description: Specifies the report rate (in ms) during idle-touch mode. 71 azoteq,rate-idle-ms: 74 description: Specifies the report rate (in ms) during idle mode. 76 azoteq,rate-lp1-ms: 79 description: Specifies the report rate (in ms) during low-power mode 1. 81 azoteq,rate-lp2-ms: 84 description: Specifies the report rate (in ms) during low-power mode 2. [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | cirrus,cs42l43.yaml | 88 cirrus,bias-ramp-ms: 99 enum: [ 20, 100, 1000, 10000, 50000, 75000, 100000, 200000 ] 100 default: 1000 115 cirrus,tip-debounce-ms: 131 cirrus,tip-fall-db-ms: 135 enum: [ 0, 125, 250, 500, 750, 1000, 1250, 1500 ] 138 cirrus,tip-rise-db-ms: 142 enum: [ 0, 125, 250, 500, 750, 1000, 1250, 1500 ] 161 cirrus,ring-fall-db-ms: 165 enum: [ 0, 125, 250, 500, 750, 1000, 1250, 1500 ] [all …]
|
H A D | cs35l36.txt | 28 1000 = 1uH (Default) 61 (in ms) before the Class H algorithm switches to the weak-FET voltage 64 0 = 0ms 65 1 = 5ms 66 2 = 10ms 67 3 = 50ms 68 4 = 100ms (Default) 69 5 = 200ms 70 6 = 500ms 71 7 = 1000m [all...] |
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | delay.h | 37 linux_msleep(unsigned int ms) in linux_msleep() argument 40 if (ms == 0) in linux_msleep() 41 ms = 1; in linux_msleep() 42 pause_sbt("lnxsleep", mstosbt(ms), 0, C_HARDCLOCK); in linux_msleep() 46 #define msleep(ms) linux_msleep(ms) argument 49 #define msleep_interruptible(ms) linux_msleep_interruptible(ms) argument 57 DELAY(1000); in mdelay() 63 DELAY(howmany(x, 1000)); in ndelay() 75 extern unsigned int linux_msleep_interruptible(unsigned int ms);
|
/freebsd/contrib/libfido2/openbsd-compat/ |
H A D | clock_gettime.c | 16 ULONGLONG ms; in clock_gettime() local 23 ms = GetTickCount64(); in clock_gettime() 24 tp->tv_sec = ms / 1000L; in clock_gettime() 25 tp->tv_nsec = (ms % 1000L) * 1000000L; in clock_gettime()
|
/freebsd/contrib/libfido2/src/ |
H A D | time.c | 20 if ((uint64_t)ts->tv_sec >= INT64_MAX / 1000LL) in timespec_to_ms() 23 x = ts->tv_sec * 1000LL; in timespec_to_ms() 47 int ms; in fido_time_delta() local 64 if ((ms = timespec_to_ms(&ts_delta)) < 0) { in fido_time_delta() 69 if (ms > *ms_remain) in fido_time_delta() 70 ms = *ms_remain; in fido_time_delta() 72 *ms_remain -= ms; in fido_time_delta()
|
H A D | hid_unix.c | 51 fido_hid_unix_wait(int fd, int ms, const fido_sigset_t *sigmask) in fido_hid_unix_wait() argument 64 if (ms > -1) { in fido_hid_unix_wait() 65 ts.tv_sec = ms / 1000; in fido_hid_unix_wait() 66 ts.tv_nsec = (ms % 1000) * 1000000; in fido_hid_unix_wait() 69 if ((r = ppoll(&pfd, 1, ms > -1 ? &ts : NULL, sigmask)) < 1) { in fido_hid_unix_wait()
|
/freebsd/usr.sbin/traceroute/ |
H A D | Makefile | 14 # > 1000ms times is plain useless. Uncomment this to enable variable precision 15 # reporting, ie: print a variable precision from 0.001ms through 1000ms
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | lib_napms.c | 58 NCURSES_SP_NAME(napms) (NCURSES_SP_DCLx int ms) in NCURSES_EXPORT() 60 T((T_CALLED("napms(%d)"), ms)); in NCURSES_EXPORT() 62 if (ms > MAX_DELAY_MSECS) in NCURSES_EXPORT() 63 ms = MAX_DELAY_MSECS; in NCURSES_EXPORT() 66 CallDriver_1(SP_PARM, td_nap, ms); in NCURSES_EXPORT() 74 request.tv_sec = ms / 1000; in NCURSES_EXPORT() 75 request.tv_nsec = (ms % 1000) * 1000000; in NCURSES_EXPORT() 82 Sleep((DWORD) ms); in NCURSES_EXPORT() 84 _nc_timed_wait(0, 0, ms, (int *) 0 EVENTLIST_2nd(0)); in NCURSES_EXPORT() 93 napms(int ms) in napms() argument [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestAbort.java | 48 "tick-101ms { printa(@); }"); in main() 52 Thread.currentThread().sleep(1000); in main() 76 "tick-101ms { printa(@); }"); in main() 80 Thread.currentThread().sleep(1000); in main() 102 "tick-101ms { printa(@); }"); in main() 128 "tick-101ms { printa(@); }"); in main() 132 Thread.currentThread().sleep(1000); in main()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_os.h | 91 static __inline int qlnx_ms_to_hz(int ms) in qlnx_ms_to_hz() argument 97 t.tv_sec = ms / 1000; in qlnx_ms_to_hz() 98 t.tv_usec = (ms % 1000) * 1000; in qlnx_ms_to_hz() 125 DELAY((msecs * 1000)); \
|
/freebsd/sys/contrib/device-tree/Bindings/peci/ |
H A D | peci-aspeed.yaml | 38 cmd-timeout-ms: 40 maximum: 1000 41 default: 1000 69 cmd-timeout-ms = <1000>;
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.aggpackzoom.d | 19 tick-1ms 22 @[1] = lquantize(i, 0, 40, 1, 1000); 23 @[2] = lquantize(i, 0, 40, 1, 1000); 24 @[3] = lquantize(i, 0, 40, 1, 1000); 27 tick-1ms
|
H A D | tst.multiaggs2.d | 43 tick-10ms 44 /i < 1000/ 51 @f = lquantize(i, 0, 1000, 100); 57 tick-10ms 58 /i == 1000/
|
H A D | tst.multiaggs3.d | 46 tick-10ms 47 /i < 1000/ 55 @g = lquantize(i, 0, 1000, 100); 61 tick-10ms 62 /i == 1000/
|
/freebsd/contrib/libfido2/regress/ |
H A D | dev.c | 38 Sleep((DWORD)(rqtp->tv_sec * 1000) + (DWORD)(rqtp->tv_nsec / 1000000)); in nanosleep() 59 dummy_read(void *handle, unsigned char *ptr, size_t len, int ms) in dummy_read() argument 78 if (ms >= 0 && ms < interval_ms) in dummy_read() 79 d = ms; in dummy_read() 84 tv.tv_sec = d / 1000; in dummy_read() 85 tv.tv_nsec = (d % 1000) * 1000000; in dummy_read() 118 tv.tv_sec = interval_ms / 1000; in dummy_write() 119 tv.tv_nsec = (interval_ms % 1000) * 1000000; in dummy_write() 366 assert(fido_dev_set_timeout(dev, 3 * 1000) == FIDO_OK); in timeout_rx() 367 interval_ms = 1000; in timeout_rx() [all …]
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | ibping.c | 137 printf("Pong from %s (%s): time %" PRIu64 ".%03" PRIu64 " ms\n", in ibping() 138 data, portid2str(portid), rtt / 1000, rtt % 1000); in ibping() 156 "%% packet loss, time %" PRIu64 " ms\n", ntrans, replied, in report() 157 (lost != 0) ? lost * 100 / ntrans : 0, total_time / 1000); in report() 159 PRIu64 "/%" PRIu64 ".%03" PRIu64 " ms\n", in report() 160 minrtt == ~0ull ? 0 : minrtt / 1000, in report() 161 minrtt == ~0ull ? 0 : minrtt % 1000, in report() 162 replied ? total_rtt / replied / 1000 : 0, in report() 163 replied ? (total_rtt / replied) % 1000 : 0, maxrtt / 1000, in report() 164 maxrtt % 1000); in report()
|
/freebsd/sys/dev/qlxge/ |
H A D | qls_os.h | 93 static __inline int qls_ms_to_hz(int ms) in qls_ms_to_hz() argument 99 t.tv_sec = ms / 1000; in qls_ms_to_hz() 100 t.tv_usec = (ms % 1000) * 1000; in qls_ms_to_hz() 141 DELAY((msecs * 1000)); \
|
/freebsd/sys/dev/qlxgbe/ |
H A D | ql_os.h | 92 static __inline int qla_ms_to_hz(int ms) in qla_ms_to_hz() argument 98 t.tv_sec = ms / 1000; in qla_ms_to_hz() 99 t.tv_usec = (ms % 1000) * 1000; in qla_ms_to_hz() 149 DELAY((msecs * 1000)); \
|
/freebsd/sys/contrib/device-tree/Bindings/leds/ |
H A D | leds-trigger-pattern.txt | 3 The pattern is given by a series of tuples, of brightness and duration (ms). 9 the tuple with duration less than dimming interval (50ms) is treated as a step 17 echo 0 1000 255 2000 > pattern 20 1000 milliseconds, then back to zero intensity in 2000 milliseconds: 37 echo 0 1000 0 0 255 2000 255 0 > pattern
|
/freebsd/contrib/tcpdump/ |
H A D | print-bfd.c | 327 … ND_PRINT("\n\tDetection Timer Multiplier: %u (%u ms Detection time), BFD Length: %u", in bfd_print() 329 …GET_U_1(bfd_header->detect_time_multiplier) * GET_BE_U_4(bfd_header->desired_min_tx_interval)/1000, in bfd_print() 337 ND_PRINT("\n\t Desired min Tx Interval: %4u ms", in bfd_print() 338 GET_BE_U_4(bfd_header->desired_min_tx_interval)/1000); in bfd_print() 339 ND_PRINT("\n\t Required min Rx Interval: %4u ms", in bfd_print() 340 GET_BE_U_4(bfd_header->required_min_rx_interval)/1000); in bfd_print() 341 ND_PRINT("\n\t Required min Echo Interval: %4u ms", in bfd_print() 342 GET_BE_U_4(bfd_header->required_min_echo_interval)/1000); in bfd_print() 368 … ND_PRINT("\n\tDetection Timer Multiplier: %u (%u ms Detection time), BFD Length: %u", in bfd_print() 370 …GET_U_1(bfd_header->detect_time_multiplier) * GET_BE_U_4(bfd_header->desired_min_tx_interval)/1000, in bfd_print() [all …]
|
/freebsd/sys/dev/qlxgb/ |
H A D | qla_os.h | 91 static __inline int qla_ms_to_hz(int ms) in qla_ms_to_hz() argument 97 t.tv_sec = ms / 1000; in qla_ms_to_hz() 98 t.tv_usec = (ms % 1000) * 1000; in qla_ms_to_hz() 139 DELAY((msecs * 1000)); \
|