| /linux/scripts/coccinelle/misc/ |
| H A D | secs_to_jiffies.cocci | 5 /// - msecs_to_jiffies(value*MSEC_PER_SEC) 23 - msecs_to_jiffies(C * MSEC_PER_SEC) 33 - msecs_to_jiffies(E * MSEC_PER_SEC) 45 msecs_to_jiffies(C@p * MSEC_PER_SEC) 49 msecs_to_jiffies(E@p * MSEC_PER_SEC) 60 * msecs_to_jiffies(C * MSEC_PER_SEC) 64 * msecs_to_jiffies(E * MSEC_PER_SEC)
|
| /linux/drivers/misc/mei/ |
| H A D | hw-txe-regs.h | 11 #define SEC_ALIVENESS_TIMER_TIMEOUT (5 * MSEC_PER_SEC) 12 #define SEC_ALIVENESS_WAIT_TIMEOUT (1 * MSEC_PER_SEC) 13 #define SEC_RESET_WAIT_TIMEOUT (1 * MSEC_PER_SEC) 14 #define SEC_READY_WAIT_TIMEOUT (5 * MSEC_PER_SEC) 15 #define START_MESSAGE_RESPONSE_WAIT_TIMEOUT (5 * MSEC_PER_SEC) 16 #define RESET_CANCEL_WAIT_TIMEOUT (1 * MSEC_PER_SEC)
|
| /linux/include/linux/ |
| H A D | jiffies.h | 434 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) 445 return (MSEC_PER_SEC / HZ) * j; in jiffies_to_msecs() 487 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) 495 return (m + (MSEC_PER_SEC / HZ) - 1) / (MSEC_PER_SEC / HZ); in _msecs_to_jiffies() 497 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC) 508 return m * (HZ / MSEC_PER_SEC); in _msecs_to_jiffies() 517 if (HZ > MSEC_PER_SEC && m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) in _msecs_to_jiffies()
|
| /linux/tools/testing/selftests/intel_pstate/ |
| H A D | aperf.c | 16 #define MSEC_PER_SEC 1000L macro 86 start = before.tv_sec*MSEC_PER_SEC + before.tv_nsec/NSEC_PER_MSEC; in main() 87 finish = after.tv_sec*MSEC_PER_SEC + after.tv_nsec/NSEC_PER_MSEC; in main() 90 printf("runTime: %4.2f\n", 1.0*total/MSEC_PER_SEC); in main()
|
| /linux/drivers/net/wireguard/selftest/ |
| H A D | ratelimiter.c | 16 [PACKETS_BURSTABLE + 1] = { true, MSEC_PER_SEC / PACKETS_PER_SECOND }, 18 [PACKETS_BURSTABLE + 3] = { true, (MSEC_PER_SEC / PACKETS_PER_SECOND) * 2 }, 25 unsigned int total_msecs = 2 * MSEC_PER_SEC / PACKETS_PER_SECOND / 3; in maximum_jiffies_at_index() 130 BUILD_BUG_ON(MSEC_PER_SEC % PACKETS_PER_SECOND != 0); in wg_ratelimiter_selftest()
|
| /linux/tools/include/linux/ |
| H A D | time64.h | 5 #define MSEC_PER_SEC 1000L macro
|
| /linux/include/vdso/ |
| H A D | time64.h | 6 #define MSEC_PER_SEC 1000L macro
|
| /linux/drivers/nvmem/ |
| H A D | jz4780-efuse.c | 96 1 * MSEC_PER_SEC, in jz4780_efuse_read() 97 50 * MSEC_PER_SEC); in jz4780_efuse_read()
|
| /linux/drivers/watchdog/ |
| H A D | pseries-wdt.c | 108 msecs = wdd->timeout * MSEC_PER_SEC; in pseries_wdt_start() 182 pw->wd.min_timeout = DIV_ROUND_UP(msecs, MSEC_PER_SEC); in pseries_wdt_probe()
|
| H A D | dw_wdt.c | 166 msec = (u64)timeout->sec * MSEC_PER_SEC + timeout->msec; in dw_wdt_get_max_timeout_ms() 438 msec = (u64)tops[val] * MSEC_PER_SEC; in dw_wdt_handle_tops() 440 tout.msec = msec - ((u64)tout.sec * MSEC_PER_SEC); in dw_wdt_handle_tops()
|
| /linux/drivers/net/wireless/ti/wl18xx/ |
| H A D | scan.c | 217 c->long_interval > req->scan_plans[0].interval * MSEC_PER_SEC) { in wl18xx_scan_sched_scan_config() 219 cpu_to_le16(req->scan_plans[0].interval * MSEC_PER_SEC); in wl18xx_scan_sched_scan_config() 225 cpu_to_le16(req->scan_plans[0].interval * MSEC_PER_SEC); in wl18xx_scan_sched_scan_config()
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_lpc18xx.c | 54 * baud_clk, MSEC_PER_SEC); in lpc18xx_rs485_config() 60 rs485->delay_rts_after_send = (rs485_dly_reg * MSEC_PER_SEC) in lpc18xx_rs485_config()
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_debugfs.c | 591 (entry->timestamp / (MSEC_PER_SEC * 60 * 60 * 24)), in fbnic_dbg_fw_log_show() 592 (entry->timestamp / (MSEC_PER_SEC * 60 * 60)) % 24, in fbnic_dbg_fw_log_show() 593 ((entry->timestamp / (MSEC_PER_SEC * 60) % 60)), in fbnic_dbg_fw_log_show() 594 ((entry->timestamp / MSEC_PER_SEC) % 60), in fbnic_dbg_fw_log_show() 595 (entry->timestamp % MSEC_PER_SEC), in fbnic_dbg_fw_log_show()
|
| /linux/lib/ |
| H A D | dhry_1.c | 286 if (User_Time < 2 * MSEC_PER_SEC) in dhry() 289 return div_u64(mul_u32_u32(MSEC_PER_SEC, Number_Of_Runs), User_Time); in dhry()
|
| /linux/sound/virtio/ |
| H A D | virtio_pcm.c | 187 (vss->hw.rate_max / MSEC_PER_SEC)); in virtsnd_pcm_build_hw() 198 (vss->hw.rate_min / MSEC_PER_SEC); in virtsnd_pcm_build_hw() 206 (vss->hw.rate_max / MSEC_PER_SEC); in virtsnd_pcm_build_hw()
|
| /linux/drivers/input/misc/ |
| H A D | hisi_powerkey.c | 27 #define MAX_HELD_TIME (4 * MSEC_PER_SEC)
|
| /linux/kernel/power/ |
| H A D | process.c | 26 unsigned int __read_mostly freeze_timeout_msecs = 20 * MSEC_PER_SEC;
|
| /linux/samples/damon/ |
| H A D | mtier.c | 91 .ops_update_interval = 60 * USEC_PER_MSEC * MSEC_PER_SEC, in damon_sample_mtier_build_ctx()
|
| /linux/arch/loongarch/kernel/ |
| H A D | machine_kexec.c | 205 timeout = MSEC_PER_SEC * 10; in crash_smp_send_stop()
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | wow.c | 331 pno->fast_scan_period = nd_config->scan_plans[0].interval * MSEC_PER_SEC; in ath12k_wow_pno_check_and_convert() 334 nd_config->scan_plans[1].interval * MSEC_PER_SEC; in ath12k_wow_pno_check_and_convert() 336 pno->fast_scan_period = nd_config->scan_plans[0].interval * MSEC_PER_SEC; in ath12k_wow_pno_check_and_convert() 338 pno->slow_scan_period = nd_config->scan_plans[0].interval * MSEC_PER_SEC; in ath12k_wow_pno_check_and_convert()
|
| /linux/include/linux/netfilter/ipset/ |
| H A D | ip_set.h | 462 #define IPSET_MAX_TIMEOUT (UINT_MAX >> 1)/MSEC_PER_SEC 495 t = msecs_to_jiffies(value * MSEC_PER_SEC) + jiffies; in ip_set_timeout_set()
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_nvme.h | 95 #define LPFC_NVMET_WAIT_TMO (5 * MSEC_PER_SEC)
|
| /linux/lib/kunit/ |
| H A D | kunit-test.c | 48 300 * msecs_to_jiffies(MSEC_PER_SEC)); in kunit_test_try_catch_successful_try_no_catch() 81 300 * msecs_to_jiffies(MSEC_PER_SEC)); in kunit_test_try_catch_unsuccessful_try_does_catch() 136 300 * msecs_to_jiffies(MSEC_PER_SEC)); in kunit_test_fault_null_dereference()
|
| /linux/drivers/s390/scsi/ |
| H A D | zfcp_qdio.c | 22 #define ZFCP_QDIO_REQUEST_RESCAN_MSECS (MSEC_PER_SEC * 10) 23 #define ZFCP_QDIO_REQUEST_SCAN_MSECS MSEC_PER_SEC
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | link.c | 55 #define RX_INACTIVE_CHECK_INTERVAL (4 * MSEC_PER_SEC) 75 count >= interval / MSEC_PER_SEC) in ath_hw_rx_inactive_check()
|