Home
last modified time | relevance | path

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

/linux-4.1.27/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)
Dmei_dev.h605 return msecs_to_jiffies(sec * MSEC_PER_SEC); in mei_secs_to_jiffies()
/linux-4.1.27/kernel/time/
Dtime.c251 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) in jiffies_to_msecs()
252 return (MSEC_PER_SEC / HZ) * j; in jiffies_to_msecs()
253 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC) in jiffies_to_msecs()
254 return (j + (HZ / MSEC_PER_SEC) - 1)/(HZ / MSEC_PER_SEC); in jiffies_to_msecs()
508 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) in msecs_to_jiffies()
514 return (m + (MSEC_PER_SEC / HZ) - 1) / (MSEC_PER_SEC / HZ); in msecs_to_jiffies()
515 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC) in msecs_to_jiffies()
526 return m * (HZ / MSEC_PER_SEC); in msecs_to_jiffies()
533 if (HZ > MSEC_PER_SEC && m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) in msecs_to_jiffies()
Dalarmtimer.c258 __pm_wakeup_event(ws, 2 * MSEC_PER_SEC); in alarmtimer_suspend()
271 __pm_wakeup_event(ws, MSEC_PER_SEC); in alarmtimer_suspend()
/linux-4.1.27/include/linux/netfilter/ipset/
Dip_set_timeout.h35 if (timeout > UINT_MAX/MSEC_PER_SEC) in ip_set_timeout_uget()
36 timeout = UINT_MAX/MSEC_PER_SEC; in ip_set_timeout_uget()
/linux-4.1.27/drivers/staging/ozwpan/
Dozproto.c365 (pd->presleep < MSEC_PER_SEC)) { in oz_rx_frame()
541 MSEC_PER_SEC, (pd->pulse_period % MSEC_PER_SEC) * NSEC_PER_MSEC)); in oz_pd_heartbeat_event()
571 MSEC_PER_SEC, (due_time % MSEC_PER_SEC) * in oz_timer_add()
576 MSEC_PER_SEC, (due_time % MSEC_PER_SEC) * in oz_timer_add()
584 MSEC_PER_SEC, (due_time % MSEC_PER_SEC) * in oz_timer_add()
/linux-4.1.27/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-4.1.27/lib/
Drandom32.c229 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-4.1.27/net/netfilter/
Dxt_set.c402 add_opt.ext.timeout > UINT_MAX/MSEC_PER_SEC) in set_target_v2()
403 add_opt.ext.timeout = UINT_MAX/MSEC_PER_SEC; in set_target_v2()
432 add_opt.ext.timeout > UINT_MAX/MSEC_PER_SEC) in set_target_v3()
433 add_opt.ext.timeout = UINT_MAX/MSEC_PER_SEC; in set_target_v3()
/linux-4.1.27/include/linux/
Dtime64.h22 #define MSEC_PER_SEC 1000L macro
/linux-4.1.27/kernel/power/
Dprocess.c25 unsigned int __read_mostly freeze_timeout_msecs = 20 * MSEC_PER_SEC;
/linux-4.1.27/net/hsr/
Dhsr_framereg.c459 #if HZ <= MSEC_PER_SEC in hsr_get_node_data()
469 #if HZ <= MSEC_PER_SEC in hsr_get_node_data()
/linux-4.1.27/drivers/clocksource/
Dtegra20_timer.c119 return (u64)s * MSEC_PER_SEC + ms; in tegra_rtc_read_ms()
/linux-4.1.27/drivers/net/wireless/ipw2x00/
Dlibipw_module.c100 unsigned long age_jiffies = msecs_to_jiffies(age_secs * MSEC_PER_SEC); in libipw_networks_age()
/linux-4.1.27/kernel/
Dpanic.c348 spin_msec(MSEC_PER_SEC); in do_oops_enter_exit()
/linux-4.1.27/net/ipv4/
Dip_options.c64 midtime = htonl((tv.tv_sec % 86400) * MSEC_PER_SEC + tv.tv_nsec / NSEC_PER_MSEC); in ip_options_build()
421 midtime = (tv.tv_sec % 86400) * MSEC_PER_SEC + tv.tv_nsec / NSEC_PER_MSEC; in ip_options_compile()
Dicmp.c922 icmp_param.data.times[1] = htonl((tv.tv_sec % 86400) * MSEC_PER_SEC + in icmp_timestamp()
/linux-4.1.27/drivers/usb/chipidea/
Dotg_fsm.c219 timer_sec = otg_timer_ms[t] / MSEC_PER_SEC; in ci_otg_add_timer()
220 timer_nsec = (otg_timer_ms[t] % MSEC_PER_SEC) * NSEC_PER_MSEC; in ci_otg_add_timer()
/linux-4.1.27/net/sched/
Dsch_sfb.c480 .rehash_interval = 600 * MSEC_PER_SEC,
481 .warmup_time = 60 * MSEC_PER_SEC,
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Ddebugfs-vif.c83 if (val * MSEC_PER_SEC < 3 * dtimper_msec) in iwl_dbgfs_update_pm()
86 val * MSEC_PER_SEC, 3 * dtimper_msec); in iwl_dbgfs_update_pm()
Dscan.c967 cmd->schedule[0].delay = cpu_to_le16(req->interval / MSEC_PER_SEC); in iwl_mvm_unified_sched_scan_lmac()
971 cmd->schedule[1].delay = cpu_to_le16(req->interval / MSEC_PER_SEC); in iwl_mvm_unified_sched_scan_lmac()
1450 cpu_to_le16(req->interval / MSEC_PER_SEC); in iwl_mvm_sched_scan_umac()
/linux-4.1.27/drivers/power/
Dcharger-manager.c1107 wakeup_ms < CM_RTC_SMALL * MSEC_PER_SEC) in cm_setup_timer()
1108 wakeup_ms = 2 * CM_RTC_SMALL * MSEC_PER_SEC; in cm_setup_timer()
1113 add = ktime_set(wakeup_ms / MSEC_PER_SEC, in cm_setup_timer()
1114 (wakeup_ms % MSEC_PER_SEC) * NSEC_PER_MSEC); in cm_setup_timer()
/linux-4.1.27/drivers/memory/
Dti-aemif.c354 aemif->clk_rate = clk_get_rate(aemif->clk) / MSEC_PER_SEC; in aemif_probe()
/linux-4.1.27/fs/
Dselect.c965 poll_select_set_timeout(to, timeout_msecs / MSEC_PER_SEC, in SYSCALL_DEFINE3()
966 NSEC_PER_MSEC * (timeout_msecs % MSEC_PER_SEC)); in SYSCALL_DEFINE3()
Deventpoll.c1560 .tv_sec = ms / MSEC_PER_SEC, in ep_set_mstimeout()
1561 .tv_nsec = NSEC_PER_MSEC * (ms % MSEC_PER_SEC), in ep_set_mstimeout()
/linux-4.1.27/drivers/spi/
Dspi-qup.c623 timeout = DIV_ROUND_UP(xfer->speed_hz, MSEC_PER_SEC); in spi_qup_transfer_one()
907 pm_runtime_set_autosuspend_delay(dev, MSEC_PER_SEC); in spi_qup_probe()
/linux-4.1.27/drivers/i2c/busses/
Di2c-hix5hd2.c475 pm_runtime_set_autosuspend_delay(priv->dev, MSEC_PER_SEC); in hix5hd2_i2c_probe()
Di2c-qup.c676 pm_runtime_set_autosuspend_delay(qup->dev, MSEC_PER_SEC); in qup_i2c_probe()
/linux-4.1.27/drivers/scsi/ufs/
Dufs-qcom.c424 (core_clk_rate / MSEC_PER_SEC) * 100; in ufs_qcom_link_startup_notify()
/linux-4.1.27/net/openvswitch/
Dflow.c60 cur_ms = (u64)cur_ts.tv_sec * MSEC_PER_SEC + in ovs_flow_used_time()
/linux-4.1.27/drivers/target/
Dtarget_core_user.c61 #define TCMU_TIME_OUT (30 * MSEC_PER_SEC)
/linux-4.1.27/drivers/base/
Dfirmware_class.c1628 device_uncache_fw_images_delay(10 * MSEC_PER_SEC); in fw_pm_notify()
/linux-4.1.27/arch/powerpc/kernel/
Dtraps.c187 mdelay(MSEC_PER_SEC); in oops_end()
/linux-4.1.27/net/wireless/
Dscan.c341 unsigned long age_jiffies = msecs_to_jiffies(age_secs * MSEC_PER_SEC); in cfg80211_bss_age()
/linux-4.1.27/drivers/net/ethernet/intel/igb/
Digb_main.c4347 MSEC_PER_SEC * 5); in igb_watchdog_task()
7509 pm_schedule_suspend(dev, MSEC_PER_SEC * 5); in igb_runtime_idle()
/linux-4.1.27/kernel/sched/
Dcore.c293 const_debug unsigned int sysctl_sched_time_avg = MSEC_PER_SEC;
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
Dnetdev.c6410 pm_schedule_suspend(dev, 5 * MSEC_PER_SEC); in e1000e_pm_runtime_idle()