Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/misc/mei/
Dhw-txe-regs.h66 #define SEC_ALIVENESS_TIMER_TIMEOUT (5 * MSEC_PER_SEC)
67 #define SEC_ALIVENESS_WAIT_TIMEOUT (1 * MSEC_PER_SEC)
68 #define SEC_RESET_WAIT_TIMEOUT (1 * MSEC_PER_SEC)
69 #define SEC_READY_WAIT_TIMEOUT (5 * MSEC_PER_SEC)
70 #define START_MESSAGE_RESPONSE_WAIT_TIMEOUT (5 * MSEC_PER_SEC)
71 #define RESET_CANCEL_WAIT_TIMEOUT (1 * MSEC_PER_SEC)
/Linux-v4.19/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()
Dtime64.h31 #define MSEC_PER_SEC 1000L macro
/Linux-v4.19/drivers/hwmon/
Dlm75.c308 data->sample_time = MSEC_PER_SEC / 8; in lm75_probe()
316 data->sample_time = MSEC_PER_SEC; in lm75_probe()
321 data->sample_time = MSEC_PER_SEC / 4; in lm75_probe()
327 data->sample_time = MSEC_PER_SEC / 2; in lm75_probe()
331 data->sample_time = MSEC_PER_SEC / 4; in lm75_probe()
335 data->sample_time = MSEC_PER_SEC / 4; in lm75_probe()
340 data->sample_time = MSEC_PER_SEC / 4; in lm75_probe()
344 data->sample_time = MSEC_PER_SEC / 8; in lm75_probe()
353 data->sample_time = MSEC_PER_SEC; in lm75_probe()
360 data->sample_time = MSEC_PER_SEC / 4; in lm75_probe()
[all …]
/Linux-v4.19/include/linux/netfilter/ipset/
Dip_set_timeout.h27 #define IPSET_MAX_TIMEOUT (UINT_MAX >> 1)/MSEC_PER_SEC
60 t = msecs_to_jiffies(value * MSEC_PER_SEC) + jiffies; in ip_set_timeout_set()
75 t = jiffies_to_msecs(*timeout - jiffies)/MSEC_PER_SEC; in ip_set_timeout_get()
/Linux-v4.19/kernel/time/
Dtime.c310 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) in jiffies_to_msecs()
311 return (MSEC_PER_SEC / HZ) * j; in jiffies_to_msecs()
312 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC) in jiffies_to_msecs()
313 return (j + (HZ / MSEC_PER_SEC) - 1)/(HZ / MSEC_PER_SEC); in jiffies_to_msecs()
Dalarmtimer.c288 __pm_wakeup_event(ws, 2 * MSEC_PER_SEC); in alarmtimer_suspend()
303 __pm_wakeup_event(ws, MSEC_PER_SEC); in alarmtimer_suspend()
/Linux-v4.19/include/linux/usb/
Dtcpm.h38 #define PD_ROLE_SWAP_TIMEOUT (MSEC_PER_SEC * 10)
39 #define PD_PPS_CTRL_TIMEOUT (MSEC_PER_SEC * 10)
/Linux-v4.19/tools/include/linux/
Dtime64.h5 #define MSEC_PER_SEC 1000L macro
/Linux-v4.19/drivers/net/wireless/ti/wl18xx/
Dscan.c231 c->long_interval > req->scan_plans[0].interval * MSEC_PER_SEC) { in wl18xx_scan_sched_scan_config()
233 cpu_to_le16(req->scan_plans[0].interval * MSEC_PER_SEC); in wl18xx_scan_sched_scan_config()
239 cpu_to_le16(req->scan_plans[0].interval * MSEC_PER_SEC); in wl18xx_scan_sched_scan_config()
/Linux-v4.19/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)
233 touch->scan_ms = MSEC_PER_SEC / scan_rate; in set_scan_rate()
/Linux-v4.19/fs/xfs/
Dxfs_sysfs.c417 timeout = jiffies_to_msecs(cfg->retry_timeout) / MSEC_PER_SEC; in retry_timeout_seconds_show()
443 cfg->retry_timeout = msecs_to_jiffies(val * MSEC_PER_SEC); in retry_timeout_seconds_store()
444 ASSERT(msecs_to_jiffies(val * MSEC_PER_SEC) < LONG_MAX); in retry_timeout_seconds_store()
562 init[i].retry_timeout * MSEC_PER_SEC); in xfs_error_sysfs_init_class()
/Linux-v4.19/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()
/Linux-v4.19/sound/firewire/
Dlib.c70 #define PROBE_DELAY_MS (2 * MSEC_PER_SEC)
/Linux-v4.19/lib/
Drandom32.c230 seed_timer.expires = jiffies + msecs_to_jiffies(expires * MSEC_PER_SEC); in __prandom_timer()
237 seed_timer.expires = jiffies + msecs_to_jiffies(40 * MSEC_PER_SEC); in __prandom_start_seed_timer()
/Linux-v4.19/drivers/staging/most/i2c/
Di2c.c99 delay = msecs_to_jiffies(MSEC_PER_SEC / polling_rate); in configure_channel()
101 pr = MSEC_PER_SEC / jiffies_to_msecs(dev->rx.delay); in configure_channel()
/Linux-v4.19/drivers/input/misc/
Dhisi_powerkey.c27 #define MAX_HELD_TIME (4 * MSEC_PER_SEC)
/Linux-v4.19/drivers/hid/intel-ish-hid/ishtp/
Dishtp-dev.h258 return msecs_to_jiffies(sec * MSEC_PER_SEC); in ishtp_secs_to_jiffies()
/Linux-v4.19/kernel/power/
Dprocess.c29 unsigned int __read_mostly freeze_timeout_msecs = 20 * MSEC_PER_SEC;
/Linux-v4.19/net/hsr/
Dhsr_framereg.c470 #if HZ <= MSEC_PER_SEC in hsr_get_node_data()
480 #if HZ <= MSEC_PER_SEC in hsr_get_node_data()
/Linux-v4.19/drivers/clocksource/
Dtegra20_timer.c123 return (u64)s * MSEC_PER_SEC + ms; in tegra_rtc_read_ms()
/Linux-v4.19/drivers/misc/mic/cosm_client/
Dcosm_scif_client.c30 #define COSM_HEARTBEAT_SEND_MSEC (COSM_HEARTBEAT_SEND_SEC * MSEC_PER_SEC)
/Linux-v4.19/drivers/net/wireless/intel/ipw2x00/
Dlibipw_module.c100 unsigned long age_jiffies = msecs_to_jiffies(age_secs * MSEC_PER_SEC); in libipw_networks_age()
/Linux-v4.19/drivers/misc/mic/cosm/
Dcosm_scif_server.c101 #define COSM_HEARTBEAT_TIMEOUT_MSEC (COSM_HEARTBEAT_TIMEOUT_SEC * MSEC_PER_SEC)
/Linux-v4.19/drivers/memory/
Dpl172.c234 pl172->rate = clk_get_rate(pl172->clk) / MSEC_PER_SEC; in pl172_probe()

123