Home
last modified time | relevance | path

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

123456

/Linux-v6.1/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)
/Linux-v6.1/drivers/hwmon/
Dlm75.c130 .default_sample_time = MSEC_PER_SEC / 10,
169 .default_sample_time = MSEC_PER_SEC / 6,
181 .default_sample_time = MSEC_PER_SEC / 10,
185 .default_sample_time = MSEC_PER_SEC / 10,
189 .default_sample_time = MSEC_PER_SEC / 10,
193 .default_sample_time = MSEC_PER_SEC / 10,
197 .default_sample_time = MSEC_PER_SEC / 7,
201 .default_sample_time = MSEC_PER_SEC / 7,
206 .default_sample_time = MSEC_PER_SEC / 20,
210 .default_sample_time = MSEC_PER_SEC / 18,
[all …]
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/include/linux/usb/
Dtcpm.h33 #define PD_ROLE_SWAP_TIMEOUT (MSEC_PER_SEC * 10)
34 #define PD_PPS_CTRL_TIMEOUT (MSEC_PER_SEC * 10)
/Linux-v6.1/drivers/misc/
Dvcpu_stall_detector.c74 MSEC_PER_SEC / 2; in vcpu_stall_detect_timer_fn()
106 MSEC_PER_SEC / 2; in start_stall_detector_cpu()
/Linux-v6.1/tools/include/linux/
Dtime64.h5 #define MSEC_PER_SEC 1000L macro
/Linux-v6.1/include/vdso/
Dtime64.h6 #define MSEC_PER_SEC 1000L macro
/Linux-v6.1/drivers/nvmem/
Djz4780-efuse.c96 1 * MSEC_PER_SEC, in jz4780_efuse_read()
97 50 * MSEC_PER_SEC); in jz4780_efuse_read()
/Linux-v6.1/drivers/watchdog/
Dpseries-wdt.c108 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()
Ddw_wdt.c166 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-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/drivers/power/reset/
Dltc2952-poweroff.c182 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()
/Linux-v6.1/drivers/tty/serial/8250/
D8250_lpc18xx.c54 * 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-v6.1/fs/xfs/
Dxfs_sysfs.c495 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()
/Linux-v6.1/lib/kunit/
Dtry-catch.c55 return 300 * msecs_to_jiffies(MSEC_PER_SEC); /* 5 min */ in kunit_test_timeout()
/Linux-v6.1/sound/virtio/
Dvirtio_pcm.c184 (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()
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/drivers/input/misc/
Dhisi_powerkey.c27 #define MAX_HELD_TIME (4 * MSEC_PER_SEC)
/Linux-v6.1/drivers/soc/qcom/
Dicc-bwmon.c415 bwmon->data->sample_ms, MSEC_PER_SEC); in bwmon_set_threshold()
426 window = mult_frac(bwmon->data->sample_ms, HW_TIMER_HZ, MSEC_PER_SEC); in bwmon_start()
495 bwmon->target_kbps = mult_frac(max, MSEC_PER_SEC, bwmon->data->sample_ms); in bwmon_intr()
/Linux-v6.1/drivers/hid/intel-ish-hid/ishtp/
Dishtp-dev.h223 return msecs_to_jiffies(sec * MSEC_PER_SEC); in ishtp_secs_to_jiffies()

123456