Home
last modified time | relevance | path

Searched refs:msecs (Results 1 – 25 of 107) sorted by relevance

12345

/linux/arch/powerpc/kexec/
A Dcrash.c117 unsigned int msecs; in crash_kexec_prepare_cpus() local
144 msecs = IPI_TIMEOUT; in crash_kexec_prepare_cpus()
145 while ((atomic_read(&cpus_in_crash) < ncpus) && (--msecs > 0)) in crash_kexec_prepare_cpus()
204 int msecs = SECONDARY_TIMEOUT; in crash_kexec_secondary() local
210 if (--msecs < 0) { in crash_kexec_secondary()
248 unsigned int msecs; in crash_kexec_wait_realmode() local
251 msecs = REAL_MODE_TIMEOUT; in crash_kexec_wait_realmode()
252 for (i=0; i < nr_cpu_ids && msecs > 0; i++) { in crash_kexec_wait_realmode()
258 if (!cpu_possible(i) || !cpu_online(i) || (msecs <= 0)) in crash_kexec_wait_realmode()
260 msecs--; in crash_kexec_wait_realmode()
/linux/drivers/watchdog/
A Dpseries-wdt.c104 unsigned long flags, msecs; in pseries_wdt_start() local
108 msecs = wdd->timeout * MSEC_PER_SEC; in pseries_wdt_start()
109 rc = plpar_hcall_norets(H_WATCHDOG, flags, pw->num, msecs); in pseries_wdt_start()
150 long msecs, rc; in pseries_wdt_probe() local
181 msecs = PSERIES_WDTQ_MIN_TIMEOUT(cap); in pseries_wdt_probe()
182 pw->wd.min_timeout = DIV_ROUND_UP(msecs, MSEC_PER_SEC); in pseries_wdt_probe()
/linux/arch/mips/kernel/
A Dcrash.c58 unsigned int msecs; in crash_kexec_prepare_cpus() local
74 msecs = 10000; in crash_kexec_prepare_cpus()
75 while ((cpumask_weight(&cpus_in_crash) < ncpus) && (--msecs > 0)) { in crash_kexec_prepare_cpus()
/linux/tools/include/nolibc/
A Dunistd.h22 int msleep(unsigned int msecs) in msleep() argument
24 struct timeval my_timeval = { msecs / 1000, (msecs % 1000) * 1000 }; in msleep()
/linux/drivers/staging/rts5208/
A Drtsx.h42 #define wait_timeout_x(task_state, msecs) \ argument
45 schedule_timeout((msecs) * HZ / 1000); \
47 #define wait_timeout(msecs) wait_timeout_x(TASK_INTERRUPTIBLE, (msecs)) argument
/linux/arch/arm/kernel/
A Dmachine_kexec.c103 unsigned long msecs; in crash_smp_send_stop() local
119 msecs = 1000; /* Wait at most a second for the other cpus to stop */ in crash_smp_send_stop()
120 while ((atomic_read(&waiting_for_crash_ipi) > 0) && msecs) { in crash_smp_send_stop()
122 msecs--; in crash_smp_send_stop()
/linux/net/netfilter/
A Dnft_last.c75 __be64 msecs; in nft_last_dump() local
83 msecs = nf_jiffies64_to_msecs(jiffies - last_jiffies); in nft_last_dump()
85 msecs = 0; in nft_last_dump()
88 nla_put_be64(skb, NFTA_LAST_MSECS, msecs, NFTA_LAST_PAD)) in nft_last_dump()
/linux/drivers/crypto/
A Datmel-i2c.c68 cmd->msecs = MAX_EXEC_TIME_READ; in atmel_i2c_init_read_config_cmd()
90 cmd->msecs = MAX_EXEC_TIME_READ; in atmel_i2c_init_read_otp_cmd()
107 cmd->msecs = MAX_EXEC_TIME_RANDOM; in atmel_i2c_init_random_cmd()
123 cmd->msecs = MAX_EXEC_TIME_GENKEY; in atmel_i2c_init_genkey_cmd()
154 cmd->msecs = MAX_EXEC_TIME_ECDH; in atmel_i2c_init_ecdh_cmd()
258 msleep(cmd->msecs); in atmel_i2c_send_receive()
/linux/include/linux/
A Ddelay.h61 void msleep(unsigned int msecs);
62 unsigned long msleep_interruptible(unsigned int msecs);
A Dgameport.h201 static inline void gameport_set_poll_interval(struct gameport *gameport, unsigned int msecs) in gameport_set_poll_interval() argument
203 gameport->poll_interval = msecs; in gameport_set_poll_interval()
A Dhw_random.h64 extern long hwrng_msleep(struct hwrng *rng, unsigned int msecs);
/linux/rust/kernel/
A Dtime.rs22 pub fn msecs_to_jiffies(msecs: Msecs) -> Jiffies { in msecs_to_jiffies()
25 unsafe { bindings::__msecs_to_jiffies(msecs) } in msecs_to_jiffies()
/linux/block/
A Dblk-stat.h163 unsigned int msecs) in blk_stat_activate_msecs() argument
165 mod_timer(&cb->timer, jiffies + msecs_to_jiffies(msecs)); in blk_stat_activate_msecs()
/linux/net/batman-adv/
A Dbat_v_ogm.c89 unsigned int msecs = BATADV_MAX_AGGREGATION_MS * 1000; in batadv_v_ogm_start_queue_timer() local
92 msecs += get_random_u32_below(msecs / 5) - (msecs / 10); in batadv_v_ogm_start_queue_timer()
94 msecs_to_jiffies(msecs / 1000)); in batadv_v_ogm_start_queue_timer()
103 unsigned long msecs; in batadv_v_ogm_start_timer() local
110 msecs = atomic_read(&bat_priv->orig_interval) - BATADV_JITTER; in batadv_v_ogm_start_timer()
111 msecs += get_random_u32_below(2 * BATADV_JITTER); in batadv_v_ogm_start_timer()
113 msecs_to_jiffies(msecs)); in batadv_v_ogm_start_timer()
A Dbat_v_elp.c50 unsigned int msecs; in batadv_v_elp_start_timer() local
52 msecs = atomic_read(&hard_iface->bat_v.elp_interval) - BATADV_JITTER; in batadv_v_elp_start_timer()
53 msecs += get_random_u32_below(2 * BATADV_JITTER); in batadv_v_elp_start_timer()
56 msecs_to_jiffies(msecs)); in batadv_v_elp_start_timer()
/linux/Documentation/locking/
A Dhwspinlock.rst104 msecs). If the hwspinlock is already taken, the function will busy loop
112 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs).
120 msecs). If the hwspinlock is already taken, the function will busy loop
127 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs).
136 msecs). If the hwspinlock is already taken, the function will busy loop
144 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs).
153 msecs). If the hwspinlock is already taken, the function will busy loop
161 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs).
170 msecs). If the hwspinlock is already taken, the function will busy loop
174 value shall not exceed a few msecs.
[all …]
/linux/drivers/staging/vt6656/
A Dwcmd.c29 static void vnt_cmd_timer_wait(struct vnt_private *priv, unsigned long msecs) in vnt_cmd_timer_wait() argument
31 schedule_delayed_work(&priv->run_command_work, msecs_to_jiffies(msecs)); in vnt_cmd_timer_wait()
/linux/drivers/net/dsa/mv88e6xxx/
A Dglobal1_atu.c45 unsigned int msecs) in mv88e6xxx_g1_atu_set_age_time() argument
54 if (msecs < min || msecs > max) in mv88e6xxx_g1_atu_set_age_time()
58 age_time = (msecs + coeff / 2) / coeff; in mv88e6xxx_g1_atu_set_age_time()
/linux/arch/x86/kernel/
A Dreboot.c911 unsigned long msecs; in nmi_shootdown_cpus() local
944 msecs = 1000; /* Wait at most a second for the other cpus to stop */ in nmi_shootdown_cpus()
945 while ((atomic_read(&waiting_for_crash_ipi) > 0) && msecs) { in nmi_shootdown_cpus()
947 msecs--; in nmi_shootdown_cpus()
/linux/drivers/md/
A Ddm-rq.c171 static void __dm_mq_kick_requeue_list(struct request_queue *q, unsigned long msecs) in __dm_mq_kick_requeue_list() argument
173 blk_mq_delay_kick_requeue_list(q, msecs); in __dm_mq_kick_requeue_list()
182 static void dm_mq_delay_requeue_request(struct request *rq, unsigned long msecs) in dm_mq_delay_requeue_request() argument
185 __dm_mq_kick_requeue_list(rq->q, msecs); in dm_mq_delay_requeue_request()
/linux/drivers/net/phy/
A Dadin.c437 static int adin_get_fast_down(struct phy_device *phydev, u8 *msecs) in adin_get_fast_down() argument
446 *msecs = ETHTOOL_PHY_FAST_LINK_DOWN_ON; in adin_get_fast_down()
448 *msecs = ETHTOOL_PHY_FAST_LINK_DOWN_OFF; in adin_get_fast_down()
453 static int adin_set_fast_down(struct phy_device *phydev, const u8 *msecs) in adin_set_fast_down() argument
455 if (*msecs == ETHTOOL_PHY_FAST_LINK_DOWN_ON) in adin_set_fast_down()
460 if (*msecs == ETHTOOL_PHY_FAST_LINK_DOWN_OFF) in adin_set_fast_down()
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
A Drx.c139 unsigned int msecs) in iwlagn_good_plcp_health() argument
158 if ((delta * 100 / msecs) > threshold) { in iwlagn_good_plcp_health()
161 threshold, delta, msecs); in iwlagn_good_plcp_health()
213 unsigned int msecs; in iwlagn_recover_from_statistics() local
218 msecs = jiffies_to_msecs(stamp - priv->rx_statistics_jiffies); in iwlagn_recover_from_statistics()
225 if (msecs < 99) in iwlagn_recover_from_statistics()
228 if (!iwlagn_good_plcp_health(priv, cur_ofdm, cur_ofdm_ht, msecs)) in iwlagn_recover_from_statistics()
/linux/Documentation/timers/
A Dtimers-howto.rst28 mdelay(unsigned long msecs)
55 msleep(unsigned long msecs)
56 msleep_interruptible(unsigned long msecs)
/linux/drivers/net/dsa/microchip/
A Dlan937x.h22 int lan937x_set_ageing_time(struct ksz_device *dev, unsigned int msecs);
/linux/Documentation/netlink/specs/
A Dtcp_metrics.yaml96 Round Trip Time (RTT), in msecs with 3 bits fractional
102 Round Trip Time VARiance (RTT), in msecs with 2 bits fractional

Completed in 47 milliseconds

12345