Searched refs:msecs (Results 1 - 25 of 90) sorted by relevance

1234

/linux-master/include/linux/
H A Ddelay.h61 void msleep(unsigned int msecs);
62 unsigned long msleep_interruptible(unsigned int msecs);
H A Dhw_random.h65 extern long hwrng_msleep(struct hwrng *rng, unsigned int msecs);
H A Dgameport.h34 unsigned int poll_interval; /* in msecs */
201 static inline void gameport_set_poll_interval(struct gameport *gameport, unsigned int msecs) argument
203 gameport->poll_interval = msecs;
H A Dblk-mq.h875 void blk_mq_delay_kick_requeue_list(struct request_queue *q, unsigned long msecs);
889 void blk_mq_delay_run_hw_queue(struct blk_mq_hw_ctx *hctx, unsigned long msecs);
892 void blk_mq_delay_run_hw_queues(struct request_queue *q, unsigned long msecs);
/linux-master/arch/mips/kernel/
H A Dcrash.c58 unsigned int msecs; local
74 msecs = 10000;
75 while ((cpumask_weight(&cpus_in_crash) < ncpus) && (--msecs > 0)) {
/linux-master/tools/include/nolibc/
H A Dunistd.h22 int msleep(unsigned int msecs) argument
24 struct timeval my_timeval = { msecs / 1000, (msecs % 1000) * 1000 };
/linux-master/drivers/watchdog/
H A Dpseries-wdt.c104 unsigned long flags, msecs; local
108 msecs = wdd->timeout * MSEC_PER_SEC;
109 rc = plpar_hcall_norets(H_WATCHDOG, flags, pw->num, msecs);
150 long msecs, rc; local
181 msecs = PSERIES_WDTQ_MIN_TIMEOUT(cap);
182 pw->wd.min_timeout = DIV_ROUND_UP(msecs, MSEC_PER_SEC);
/linux-master/block/
H A Dblk-stat.h158 * @msecs: Number of milliseconds to gather statistics for.
163 unsigned int msecs)
165 mod_timer(&cb->timer, jiffies + msecs_to_jiffies(msecs));
162 blk_stat_activate_msecs(struct blk_stat_callback *cb, unsigned int msecs) argument
/linux-master/arch/powerpc/kexec/
H A Dcrash.c117 unsigned int msecs; local
144 msecs = IPI_TIMEOUT;
145 while ((atomic_read(&cpus_in_crash) < ncpus) && (--msecs > 0))
204 int msecs = SECONDARY_TIMEOUT; local
210 if (--msecs < 0) {
248 unsigned int msecs; local
251 msecs = REAL_MODE_TIMEOUT;
252 for (i=0; i < nr_cpu_ids && msecs > 0; i++) {
258 if (!cpu_possible(i) || !cpu_online(i) || (msecs <= 0))
260 msecs
[all...]
/linux-master/drivers/net/dsa/microchip/
H A Dlan937x.h22 int lan937x_set_ageing_time(struct ksz_device *dev, unsigned int msecs);
H A Dksz9477.h19 int ksz9477_set_ageing_time(struct ksz_device *dev, unsigned int msecs);
H A Dlan937x_main.c258 int lan937x_set_ageing_time(struct ksz_device *dev, unsigned int msecs) argument
260 u32 secs = msecs / 1000;
/linux-master/drivers/staging/rts5208/
H A Drtsx.h42 #define wait_timeout_x(task_state, msecs) \
45 schedule_timeout((msecs) * HZ / 1000); \
47 #define wait_timeout(msecs) wait_timeout_x(TASK_INTERRUPTIBLE, (msecs))
/linux-master/arch/arm/kernel/
H A Dmachine_kexec.c103 unsigned long msecs; local
119 msecs = 1000; /* Wait at most a second for the other cpus to stop */
120 while ((atomic_read(&waiting_for_crash_ipi) > 0) && msecs) {
122 msecs--;
/linux-master/net/netfilter/
H A Dnft_last.c75 __be64 msecs; local
83 msecs = nf_jiffies64_to_msecs(jiffies - last_jiffies);
85 msecs = 0;
88 nla_put_be64(skb, NFTA_LAST_MSECS, msecs, NFTA_LAST_PAD))
/linux-master/drivers/crypto/
H A Datmel-i2c.c68 cmd->msecs = MAX_EXEC_TIME_READ;
90 cmd->msecs = MAX_EXEC_TIME_READ;
107 cmd->msecs = MAX_EXEC_TIME_RANDOM;
123 cmd->msecs = MAX_EXEC_TIME_GENKEY;
154 cmd->msecs = MAX_EXEC_TIME_ECDH;
258 msleep(cmd->msecs);
H A Datmel-i2c.h47 * @msecs : command execution time in milliseconds
56 u8 msecs; member in struct:atmel_i2c_cmd
/linux-master/drivers/staging/vt6656/
H A Dwcmd.c29 static void vnt_cmd_timer_wait(struct vnt_private *priv, unsigned long msecs) argument
31 schedule_delayed_work(&priv->run_command_work, msecs_to_jiffies(msecs));
/linux-master/drivers/net/dsa/mv88e6xxx/
H A Dglobal1_atu.c45 unsigned int msecs)
54 if (msecs < min || msecs > max)
58 age_time = (msecs + coeff / 2) / coeff;
44 mv88e6xxx_g1_atu_set_age_time(struct mv88e6xxx_chip *chip, unsigned int msecs) argument
/linux-master/drivers/md/
H A Ddm-rq.c171 static void __dm_mq_kick_requeue_list(struct request_queue *q, unsigned long msecs) argument
173 blk_mq_delay_kick_requeue_list(q, msecs);
182 static void dm_mq_delay_requeue_request(struct request *rq, unsigned long msecs) argument
185 __dm_mq_kick_requeue_list(rq->q, msecs);
/linux-master/net/batman-adv/
H A Dbat_v_ogm.c89 unsigned int msecs = BATADV_MAX_AGGREGATION_MS * 1000; local
91 /* msecs * [0.9, 1.1] */
92 msecs += get_random_u32_below(msecs / 5) - (msecs / 10);
94 msecs_to_jiffies(msecs / 1000));
103 unsigned long msecs; local
110 msecs = atomic_read(&bat_priv->orig_interval) - BATADV_JITTER;
111 msecs += get_random_u32_below(2 * BATADV_JITTER);
113 msecs_to_jiffies(msecs));
[all...]
H A Dbat_v_elp.c50 unsigned int msecs; local
52 msecs = atomic_read(&hard_iface->bat_v.elp_interval) - BATADV_JITTER;
53 msecs += get_random_u32_below(2 * BATADV_JITTER);
56 msecs_to_jiffies(msecs));
/linux-master/arch/x86/kernel/
H A Dreboot.c893 unsigned long msecs; local
926 msecs = 1000; /* Wait at most a second for the other cpus to stop */
927 while ((atomic_read(&waiting_for_crash_ipi) > 0) && msecs) {
929 msecs--;
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drx.c139 unsigned int msecs)
158 if ((delta * 100 / msecs) > threshold) {
160 "plcp health threshold %u delta %d msecs %u\n",
161 threshold, delta, msecs);
213 unsigned int msecs; local
218 msecs = jiffies_to_msecs(stamp - priv->rx_statistics_jiffies);
225 if (msecs < 99)
228 if (!iwlagn_good_plcp_health(priv, cur_ofdm, cur_ofdm_ht, msecs))
136 iwlagn_good_plcp_health(struct iwl_priv *priv, struct statistics_rx_phy *cur_ofdm, struct statistics_rx_ht_phy *cur_ofdm_ht, unsigned int msecs) argument
/linux-master/drivers/net/phy/
H A Dadin.c437 static int adin_get_fast_down(struct phy_device *phydev, u8 *msecs) argument
446 *msecs = ETHTOOL_PHY_FAST_LINK_DOWN_ON;
448 *msecs = ETHTOOL_PHY_FAST_LINK_DOWN_OFF;
453 static int adin_set_fast_down(struct phy_device *phydev, const u8 *msecs) argument
455 if (*msecs == ETHTOOL_PHY_FAST_LINK_DOWN_ON)
460 if (*msecs == ETHTOOL_PHY_FAST_LINK_DOWN_OFF)

Completed in 383 milliseconds

1234