/linux-master/arch/powerpc/kexec/ |
H A D | crash.c | 114 unsigned int msecs; local 141 msecs = IPI_TIMEOUT; 142 while ((atomic_read(&cpus_in_crash) < ncpus) && (--msecs > 0)) 201 int msecs = SECONDARY_TIMEOUT; local 207 if (--msecs < 0) { 245 unsigned int msecs; local 248 msecs = REAL_MODE_TIMEOUT; 249 for (i=0; i < nr_cpu_ids && msecs > 0; i++) { 255 if (!cpu_possible(i) || !cpu_online(i) || (msecs <= 0)) 257 msecs [all...] |
/linux-master/include/linux/ |
H A D | delay.h | 61 void msleep(unsigned int msecs); 62 unsigned long msleep_interruptible(unsigned int msecs);
|
H A D | hw_random.h | 65 extern long hwrng_msleep(struct hwrng *rng, unsigned int msecs);
|
H A D | gameport.h | 34 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 D | blk-mq.h | 875 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 D | crash.c | 58 unsigned int msecs; local 74 msecs = 10000; 75 while ((cpumask_weight(&cpus_in_crash) < ncpus) && (--msecs > 0)) {
|
/linux-master/tools/include/nolibc/ |
H A D | unistd.h | 22 int msleep(unsigned int msecs) argument 24 struct timeval my_timeval = { msecs / 1000, (msecs % 1000) * 1000 };
|
/linux-master/drivers/watchdog/ |
H A D | pseries-wdt.c | 104 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 D | blk-stat.h | 159 * @msecs: Number of milliseconds to gather statistics for. 164 unsigned int msecs) 166 mod_timer(&cb->timer, jiffies + msecs_to_jiffies(msecs)); 163 blk_stat_activate_msecs(struct blk_stat_callback *cb, unsigned int msecs) argument
|
/linux-master/drivers/net/dsa/microchip/ |
H A D | lan937x.h | 22 int lan937x_set_ageing_time(struct ksz_device *dev, unsigned int msecs);
|
H A D | ksz9477.h | 19 int ksz9477_set_ageing_time(struct ksz_device *dev, unsigned int msecs);
|
H A D | lan937x_main.c | 258 int lan937x_set_ageing_time(struct ksz_device *dev, unsigned int msecs) argument 260 u32 secs = msecs / 1000;
|
/linux-master/net/netfilter/ |
H A D | nft_last.c | 75 __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/staging/rts5208/ |
H A D | rtsx.h | 42 #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 D | machine_kexec.c | 103 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/drivers/staging/vt6656/ |
H A D | wcmd.c | 29 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/crypto/ |
H A D | atmel-i2c.c | 68 cmd->msecs = MAX_EXEC_TIME_READ; 83 cmd->msecs = MAX_EXEC_TIME_RANDOM; 99 cmd->msecs = MAX_EXEC_TIME_GENKEY; 130 cmd->msecs = MAX_EXEC_TIME_ECDH; 234 msleep(cmd->msecs);
|
H A D | atmel-i2c.h | 47 * @msecs : command execution time in milliseconds 56 u8 msecs; member in struct:atmel_i2c_cmd
|
/linux-master/drivers/net/dsa/mv88e6xxx/ |
H A D | global1_atu.c | 45 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 D | dm-rq.c | 171 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 D | bat_v_ogm.c | 89 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 D | bat_v_elp.c | 50 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 D | reboot.c | 893 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 D | rx.c | 139 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 D | adin.c | 437 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)
|