/openbmc/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)
|
/openbmc/linux/include/linux/ |
H A D | jiffies.h | 452 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) 460 return (m + (MSEC_PER_SEC / HZ) - 1) / (MSEC_PER_SEC / HZ); in _msecs_to_jiffies() 462 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC) 473 return m * (HZ / MSEC_PER_SEC); in _msecs_to_jiffies() 482 if (HZ > MSEC_PER_SEC && m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) in _msecs_to_jiffies()
|
/openbmc/linux/drivers/hwmon/ |
H A D | lm75.c | 129 .default_sample_time = MSEC_PER_SEC / 10, 168 .default_sample_time = MSEC_PER_SEC / 6, 180 .default_sample_time = MSEC_PER_SEC / 10, 184 .default_sample_time = MSEC_PER_SEC / 10, 188 .default_sample_time = MSEC_PER_SEC / 10, 192 .default_sample_time = MSEC_PER_SEC / 10, 196 .default_sample_time = MSEC_PER_SEC / 7, 200 .default_sample_time = MSEC_PER_SEC / 7, 205 .default_sample_time = MSEC_PER_SEC / 20, 297 MSEC_PER_SEC / 18, [all …]
|
/openbmc/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()
|
/openbmc/linux/kernel/time/ |
H A D | time.c | 379 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) in jiffies_to_msecs() 380 return (MSEC_PER_SEC / HZ) * j; in jiffies_to_msecs() 381 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC) in jiffies_to_msecs() 382 return (j + (HZ / MSEC_PER_SEC) - 1)/(HZ / MSEC_PER_SEC); in jiffies_to_msecs() 773 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) in jiffies64_to_msecs() 774 return (MSEC_PER_SEC / HZ) * j; in jiffies64_to_msecs()
|
/openbmc/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()
|
/openbmc/linux/include/linux/usb/ |
H A D | tcpm.h | 33 #define PD_ROLE_SWAP_TIMEOUT (MSEC_PER_SEC * 10) 34 #define PD_PPS_CTRL_TIMEOUT (MSEC_PER_SEC * 10)
|
/openbmc/linux/tools/include/linux/ |
H A D | time64.h | 5 #define MSEC_PER_SEC 1000L macro
|
/openbmc/linux/include/vdso/ |
H A D | time64.h | 6 #define MSEC_PER_SEC 1000L macro
|
/openbmc/linux/drivers/misc/ |
H A D | vcpu_stall_detector.c | 73 MSEC_PER_SEC / 2; in vcpu_stall_detect_timer_fn() 105 MSEC_PER_SEC / 2; in start_stall_detector_cpu()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/linux/drivers/input/mouse/ |
H A D | synaptics_i2c.c | 178 #define THREAD_IRQ_SLEEP_MSECS (THREAD_IRQ_SLEEP_SECS * MSEC_PER_SEC) 184 #define NO_DATA_THRES (MSEC_PER_SEC) 185 #define NO_DATA_SLEEP_MSECS (MSEC_PER_SEC / 4) 232 touch->scan_ms = MSEC_PER_SEC / scan_rate; in set_scan_rate()
|
/openbmc/linux/drivers/power/reset/ |
H A D | ltc2952-poweroff.c | 182 data->trigger_delay = ktime_set(trigger_delay_ms / MSEC_PER_SEC, in ltc2952_poweroff_init() 183 (trigger_delay_ms % MSEC_PER_SEC) * NSEC_PER_MSEC); in ltc2952_poweroff_init()
|
/openbmc/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()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_sysfs.c | 495 timeout = jiffies_to_msecs(cfg->retry_timeout) / MSEC_PER_SEC; in retry_timeout_seconds_show() 521 cfg->retry_timeout = msecs_to_jiffies(val * MSEC_PER_SEC); in retry_timeout_seconds_store() 522 ASSERT(msecs_to_jiffies(val * MSEC_PER_SEC) < LONG_MAX); in retry_timeout_seconds_store() 640 init[i].retry_timeout * MSEC_PER_SEC); in xfs_error_sysfs_init_class()
|
/openbmc/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()
|
/openbmc/linux/lib/kunit/ |
H A D | try-catch.c | 56 return 300 * msecs_to_jiffies(MSEC_PER_SEC); /* 5 min */ in kunit_test_timeout()
|
/openbmc/linux/sound/virtio/ |
H A D | virtio_pcm.c | 184 (vss->hw.rate_max / MSEC_PER_SEC)); in virtsnd_pcm_build_hw() 195 (vss->hw.rate_min / MSEC_PER_SEC); in virtsnd_pcm_build_hw() 203 (vss->hw.rate_max / MSEC_PER_SEC); in virtsnd_pcm_build_hw()
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | wow.c | 237 pno->fast_scan_period = nd_config->scan_plans[0].interval * MSEC_PER_SEC; in ath10k_wmi_pno_check() 240 nd_config->scan_plans[1].interval * MSEC_PER_SEC; in ath10k_wmi_pno_check() 242 pno->fast_scan_period = nd_config->scan_plans[0].interval * MSEC_PER_SEC; in ath10k_wmi_pno_check() 244 pno->slow_scan_period = nd_config->scan_plans[0].interval * MSEC_PER_SEC; in ath10k_wmi_pno_check()
|
/openbmc/linux/drivers/staging/most/i2c/ |
H A D | i2c.c | 101 delay = msecs_to_jiffies(MSEC_PER_SEC / polling_rate); in configure_channel() 103 pr = MSEC_PER_SEC / jiffies_to_msecs(dev->rx.delay); in configure_channel()
|
/openbmc/linux/drivers/input/misc/ |
H A D | hisi_powerkey.c | 27 #define MAX_HELD_TIME (4 * MSEC_PER_SEC)
|
/openbmc/linux/drivers/hid/intel-ish-hid/ishtp/ |
H A D | ishtp-dev.h | 223 return msecs_to_jiffies(sec * MSEC_PER_SEC); in ishtp_secs_to_jiffies()
|