Home
last modified time | relevance | path

Searched refs:MSEC_PER_SEC (Results 1 – 25 of 102) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/misc/mei/
Dhw-txe-regs.h11 #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)
/kernel/linux/linux-5.10/include/linux/
Djiffies.h302 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ)
310 return (m + (MSEC_PER_SEC / HZ) - 1) / (MSEC_PER_SEC / HZ); in _msecs_to_jiffies()
312 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC)
323 return m * (HZ / MSEC_PER_SEC); in _msecs_to_jiffies()
332 if (HZ > MSEC_PER_SEC && m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) in _msecs_to_jiffies()
/kernel/linux/linux-5.10/drivers/hwmon/
Dlm75.c128 .default_sample_time = MSEC_PER_SEC / 10,
159 .default_sample_time = MSEC_PER_SEC / 6,
171 .default_sample_time = MSEC_PER_SEC / 10,
175 .default_sample_time = MSEC_PER_SEC / 10,
179 .default_sample_time = MSEC_PER_SEC / 10,
183 .default_sample_time = MSEC_PER_SEC / 10,
187 .default_sample_time = MSEC_PER_SEC / 7,
191 .default_sample_time = MSEC_PER_SEC / 7,
196 .default_sample_time = MSEC_PER_SEC / 20,
200 .default_sample_time = MSEC_PER_SEC / 18,
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/intel_pstate/
Daperf.c16 #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()
/kernel/linux/linux-5.10/kernel/time/
Dtime.c376 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) in jiffies_to_msecs()
377 return (MSEC_PER_SEC / HZ) * j; in jiffies_to_msecs()
378 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC) in jiffies_to_msecs()
379 return (j + (HZ / MSEC_PER_SEC) - 1)/(HZ / MSEC_PER_SEC); in jiffies_to_msecs()
702 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) in jiffies64_to_msecs()
703 return (MSEC_PER_SEC / HZ) * j; in jiffies64_to_msecs()
/kernel/linux/linux-5.10/drivers/net/wireguard/selftest/
Dratelimiter.c16 [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()
/kernel/linux/linux-5.10/include/linux/usb/
Dtcpm.h29 #define PD_ROLE_SWAP_TIMEOUT (MSEC_PER_SEC * 10)
30 #define PD_PPS_CTRL_TIMEOUT (MSEC_PER_SEC * 10)
/kernel/linux/linux-5.10/tools/include/linux/
Dtime64.h5 #define MSEC_PER_SEC 1000L macro
/kernel/linux/linux-5.10/include/vdso/
Dtime64.h6 #define MSEC_PER_SEC 1000L macro
/kernel/linux/linux-5.10/drivers/nvmem/
Djz4780-efuse.c96 1 * MSEC_PER_SEC, in jz4780_efuse_read()
97 50 * MSEC_PER_SEC); in jz4780_efuse_read()
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl18xx/
Dscan.c217 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()
/kernel/linux/linux-5.10/drivers/input/mouse/
Dsynaptics_i2c.c178 #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()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_sysfs.c466 timeout = jiffies_to_msecs(cfg->retry_timeout) / MSEC_PER_SEC; in retry_timeout_seconds_show()
492 cfg->retry_timeout = msecs_to_jiffies(val * MSEC_PER_SEC); in retry_timeout_seconds_store()
493 ASSERT(msecs_to_jiffies(val * MSEC_PER_SEC) < LONG_MAX); in retry_timeout_seconds_store()
611 init[i].retry_timeout * MSEC_PER_SEC); in xfs_error_sysfs_init_class()
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250_lpc18xx.c66 * baud_clk, MSEC_PER_SEC); in lpc18xx_rs485_config()
72 rs485->delay_rts_after_send = (rs485_dly_reg * MSEC_PER_SEC) in lpc18xx_rs485_config()
/kernel/linux/linux-5.10/lib/kunit/
Dtry-catch.c55 return 300 * msecs_to_jiffies(MSEC_PER_SEC); /* 5 min */ in kunit_test_timeout()
/kernel/linux/linux-5.10/sound/firewire/
Dlib.c70 #define PROBE_DELAY_MS (2 * MSEC_PER_SEC)
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dwow.c237 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()
/kernel/linux/linux-5.10/fs/btrfs/
Ddiscard.c59 #define BTRFS_DISCARD_TARGET_MSEC (6 * 60 * 60UL * MSEC_PER_SEC)
354 MSEC_PER_SEC, bps_limit); in __btrfs_discard_schedule_work()
560 MSEC_PER_SEC / iops_limit); in btrfs_discard_calc_delay()
/kernel/linux/linux-5.10/drivers/staging/most/i2c/
Di2c.c98 delay = msecs_to_jiffies(MSEC_PER_SEC / polling_rate); in configure_channel()
100 pr = MSEC_PER_SEC / jiffies_to_msecs(dev->rx.delay); in configure_channel()
/kernel/linux/linux-5.10/drivers/input/misc/
Dhisi_powerkey.c27 #define MAX_HELD_TIME (4 * MSEC_PER_SEC)
/kernel/linux/linux-5.10/drivers/watchdog/
Ddw_wdt.c167 msec = (u64)timeout->sec * MSEC_PER_SEC + timeout->msec; in dw_wdt_get_max_timeout_ms()
441 msec = (u64)tops[val] * MSEC_PER_SEC; in dw_wdt_handle_tops()
443 tout.msec = msec - ((u64)tout.sec * MSEC_PER_SEC); in dw_wdt_handle_tops()
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ishtp/
Dishtp-dev.h222 return msecs_to_jiffies(sec * MSEC_PER_SEC); in ishtp_secs_to_jiffies()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dtime.c667 mod_timer(&stp_timer, jiffies + msecs_to_jiffies(14400 * MSEC_PER_SEC)); in stp_check_leap()
672 mod_timer(&stp_timer, jiffies + msecs_to_jiffies(3600 * MSEC_PER_SEC)); in stp_check_leap()
716 mod_timer(&stp_timer, jiffies + msecs_to_jiffies(MSEC_PER_SEC)); in stp_work_fn()
Dlgr.c170 mod_timer(&lgr_timer, jiffies + msecs_to_jiffies(LGR_TIMER_INTERVAL_SECS * MSEC_PER_SEC)); in lgr_timer_set()
/kernel/linux/linux-5.10/kernel/power/
Dprocess.c29 unsigned int __read_mostly freeze_timeout_msecs = 20 * MSEC_PER_SEC;

12345