Home
last modified time | relevance | path

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

/linux-4.4.14/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.h572 return msecs_to_jiffies(sec * MSEC_PER_SEC); in mei_secs_to_jiffies()
/linux-4.4.14/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()
58 t = msecs_to_jiffies(value * MSEC_PER_SEC) + jiffies; in ip_set_timeout_set()
69 jiffies_to_msecs(*timeout - jiffies)/MSEC_PER_SEC; in ip_set_timeout_get()
/linux-4.4.14/include/linux/
Djiffies.h293 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ)
301 return (m + (MSEC_PER_SEC / HZ) - 1) / (MSEC_PER_SEC / HZ); in _msecs_to_jiffies()
303 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC)
314 return m * (HZ / MSEC_PER_SEC); in _msecs_to_jiffies()
323 if (HZ > MSEC_PER_SEC && m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) in _msecs_to_jiffies()
Dtime64.h30 #define MSEC_PER_SEC 1000L macro
/linux-4.4.14/kernel/time/
Dtime.c255 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) in jiffies_to_msecs()
256 return (MSEC_PER_SEC / HZ) * j; in jiffies_to_msecs()
257 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC) in jiffies_to_msecs()
258 return (j + (HZ / MSEC_PER_SEC) - 1)/(HZ / MSEC_PER_SEC); in jiffies_to_msecs()
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.4.14/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-4.4.14/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.4.14/drivers/tty/serial/8250/
D8250_lpc18xx.c70 * baud_clk, MSEC_PER_SEC); in lpc18xx_rs485_config()
76 rs485->delay_rts_after_send = (rs485_dly_reg * MSEC_PER_SEC) in lpc18xx_rs485_config()
/linux-4.4.14/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.4.14/drivers/staging/most/hdm-i2c/
Dhdm_i2c.c97 msecs_to_jiffies(MSEC_PER_SEC / 4)); in configure_channel()
269 msecs_to_jiffies(MSEC_PER_SEC in pending_rx_work()
/linux-4.4.14/net/netfilter/
Dxt_set.c411 add_opt.ext.timeout > UINT_MAX / MSEC_PER_SEC) in set_target_v2()
412 add_opt.ext.timeout = UINT_MAX / MSEC_PER_SEC; in set_target_v2()
441 add_opt.ext.timeout > UINT_MAX / MSEC_PER_SEC) in set_target_v3()
442 add_opt.ext.timeout = UINT_MAX / MSEC_PER_SEC; in set_target_v3()
/linux-4.4.14/kernel/power/
Dprocess.c25 unsigned int __read_mostly freeze_timeout_msecs = 20 * MSEC_PER_SEC;
/linux-4.4.14/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.4.14/drivers/clocksource/
Dtegra20_timer.c122 return (u64)s * MSEC_PER_SEC + ms; in tegra_rtc_read_ms()
/linux-4.4.14/drivers/misc/mic/cosm_client/
Dcosm_scif_client.c28 #define COSM_HEARTBEAT_SEND_MSEC (COSM_HEARTBEAT_SEND_SEC * MSEC_PER_SEC)
/linux-4.4.14/drivers/misc/mic/cosm/
Dcosm_scif_server.c99 #define COSM_HEARTBEAT_TIMEOUT_MSEC (COSM_HEARTBEAT_TIMEOUT_SEC * MSEC_PER_SEC)
/linux-4.4.14/kernel/
Dpanic.c349 spin_msec(MSEC_PER_SEC); in do_oops_enter_exit()
/linux-4.4.14/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.4.14/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.c946 icmp_param.data.times[1] = htonl((tv.tv_sec % 86400) * MSEC_PER_SEC + in icmp_timestamp()
/linux-4.4.14/drivers/memory/
Dpl172.c234 pl172->rate = clk_get_rate(pl172->clk) / MSEC_PER_SEC; in pl172_probe()
Dti-aemif.c355 aemif->clk_rate = clk_get_rate(aemif->clk) / MSEC_PER_SEC; in aemif_probe()
/linux-4.4.14/drivers/watchdog/
Dlpc18xx_wdt.c92 msecs_to_jiffies((wdt_dev->timeout * MSEC_PER_SEC) / 2)); in lpc18xx_wdt_timer_feed()
/linux-4.4.14/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.4.14/net/sched/
Dsch_sfb.c472 .rehash_interval = 600 * MSEC_PER_SEC,
473 .warmup_time = 60 * MSEC_PER_SEC,
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/net/wireless/ti/wl12xx/
Dscan.c354 MSEC_PER_SEC); in wl1271_scan_sched_scan_config()
/linux-4.4.14/net/openvswitch/
Dflow.c62 cur_ms = (u64)cur_ts.tv_sec * MSEC_PER_SEC + in ovs_flow_used_time()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Ddebugfs-vif.c84 if (val * MSEC_PER_SEC < 3 * dtimper_msec) in iwl_dbgfs_update_pm()
87 val * MSEC_PER_SEC, 3 * dtimper_msec); in iwl_dbgfs_update_pm()
/linux-4.4.14/drivers/target/
Dtarget_core_user.c64 #define TCMU_TIME_OUT (30 * MSEC_PER_SEC)
/linux-4.4.14/drivers/scsi/ufs/
Dufs-qcom.c482 ufshcd_writel(hba, ((core_clk_rate / MSEC_PER_SEC) * 100), in ufs_qcom_cfg_timers()
/linux-4.4.14/drivers/base/
Dfirmware_class.c1659 device_uncache_fw_images_delay(10 * MSEC_PER_SEC); in fw_pm_notify()
/linux-4.4.14/arch/powerpc/kernel/
Dtraps.c187 mdelay(MSEC_PER_SEC); in oops_end()
/linux-4.4.14/net/wireless/
Dscan.c340 unsigned long age_jiffies = msecs_to_jiffies(age_secs * MSEC_PER_SEC); in cfg80211_bss_age()
Dnl80211.c6025 DIV_ROUND_UP(interval, MSEC_PER_SEC); in nl80211_parse_sched_scan_plans()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_main.c4343 MSEC_PER_SEC * 5); in igb_watchdog_task()
7463 pm_schedule_suspend(dev, MSEC_PER_SEC * 5); in igb_runtime_idle()
/linux-4.4.14/kernel/sched/
Dcore.c271 const_debug unsigned int sysctl_sched_time_avg = MSEC_PER_SEC;
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
Dnetdev.c6616 pm_schedule_suspend(dev, 5 * MSEC_PER_SEC); in e1000e_pm_runtime_idle()