Home
last modified time | relevance | path

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

123

/linux/drivers/watchdog/
H A Dpseries-wdt.c52 unsigned long flags, msecs; in pseries_wdt_start() local
56 msecs = wdd->timeout * MSEC_PER_SEC; in pseries_wdt_start()
57 rc = plpar_hcall_norets(H_WATCHDOG, flags, pw->num, msecs); in pseries_wdt_start()
98 long msecs, rc; in pseries_wdt_probe() local
129 msecs = PSERIES_WDTQ_MIN_TIMEOUT(cap); in pseries_wdt_probe()
130 pw->wd.min_timeout = DIV_ROUND_UP(msecs, MSEC_PER_SEC); in pseries_wdt_probe()
/linux/arch/arm/kernel/
H 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/arch/mips/kernel/
H 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/
H A Dunistd.h119 int msleep(unsigned int msecs)
121 struct timeval my_timeval = { msecs / 1000, (msecs % 1000) * 1000 };
53 msleep(unsigned int msecs) msleep() argument
/linux/kernel/time/
H A Dsleep_timeout.c313 void msleep(unsigned int msecs) in msleep() argument
315 unsigned long timeout = msecs_to_jiffies(msecs); in msleep()
334 unsigned long msleep_interruptible(unsigned int msecs) in msleep_interruptible() argument
336 unsigned long timeout = msecs_to_jiffies(msecs); in msleep_interruptible()
/linux/net/batman-adv/
H 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
111 msecs = READ_ONCE(bat_priv->orig_interval) - BATADV_JITTER; in batadv_v_ogm_start_timer()
112 msecs += get_random_u32_below(2 * BATADV_JITTER); in batadv_v_ogm_start_timer()
114 msecs_to_jiffies(msecs)); in batadv_v_ogm_start_timer()
H A Dbat_v_elp.c64 unsigned int msecs; in batadv_v_elp_start_timer() local
66 msecs = READ_ONCE(hard_iface->bat_v.elp_interval) - BATADV_JITTER; in batadv_v_elp_start_timer()
67 msecs += get_random_u32_below(2 * BATADV_JITTER); in batadv_v_elp_start_timer()
70 msecs_to_jiffies(msecs)); in batadv_v_elp_start_timer()
H A Ddistributed-arp-table.c938 int msecs; in batadv_dat_cache_dump_entry() local
949 msecs = jiffies_to_msecs(jiffies - dat_entry->last_update); in batadv_dat_cache_dump_entry()
956 nla_put_u32(msg, BATADV_ATTR_LAST_SEEN_MSECS, msecs)) { in batadv_dat_cache_dump_entry()
/linux/drivers/net/dsa/mv88e6xxx/
H 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()
H A Dglobal1.h326 unsigned int msecs);
/linux/include/linux/
H 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()
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H 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/drivers/infiniband/core/
H A Dsysfs.c808 int msecs; in show_stats_lifespan() local
811 msecs = jiffies_to_msecs(stats->lifespan); in show_stats_lifespan()
814 return sysfs_emit(buf, "%d\n", msecs); in show_stats_lifespan()
822 int msecs; in set_stats_lifespan() local
826 ret = kstrtoint(buf, 10, &msecs); in set_stats_lifespan()
829 if (msecs < 0 || msecs > 10000) in set_stats_lifespan()
831 jiffies = msecs_to_jiffies(msecs); in set_stats_lifespan()
/linux/rust/kernel/
H A Dtime.rs50 pub fn msecs_to_jiffies(msecs: Msecs) -> Jiffies { in msecs_to_jiffies()
53 unsafe { bindings::__msecs_to_jiffies(msecs) } in msecs_to_jiffies()
/linux/drivers/crypto/
H A Datmel-i2c.h56 u8 msecs; member
/linux/Documentation/trace/
H A Devents-nmi.rst17 INFO: NMI handler took too long to run: 9.207 msecs
/linux/arch/x86/hyperv/
H A Dhv_crash.c286 int msecs = 1000, ccpu = smp_processor_id(); in crash_nmi_callback() local
300 while (atomic_read(&crash_cpus_wait) < num_online_cpus() && msecs--) in crash_nmi_callback()
/linux/drivers/iio/adc/
H A Dad7280a.c520 unsigned int msecs; in ad7280_show_balance_timer() local
528 msecs = FIELD_GET(AD7280A_CB_TIMER_VAL_MSK, ret) * 71500; in ad7280_show_balance_timer()
530 return sysfs_emit(buf, "%u.%u\n", msecs / 1000, msecs % 1000); in ad7280_show_balance_timer()
/linux/drivers/net/phy/
H A Dmarvell.c1516 static int m88e1540_get_fld(struct phy_device *phydev, u8 *msecs) in m88e1540_get_fld() argument
1525 *msecs = ETHTOOL_PHY_FAST_LINK_DOWN_OFF; in m88e1540_get_fld()
1533 *msecs = 0; in m88e1540_get_fld()
1536 *msecs = 10; in m88e1540_get_fld()
1539 *msecs = 20; in m88e1540_get_fld()
1542 *msecs = 40; in m88e1540_get_fld()
1551 static int m88e1540_set_fld(struct phy_device *phydev, const u8 *msecs) in m88e1540_set_fld() argument
1555 if (*msecs == ETHTOOL_PHY_FAST_LINK_DOWN_OFF) in m88e1540_set_fld()
1567 if (*msecs <= 5) in m88e1540_set_fld()
1569 else if (*msecs <= 15) in m88e1540_set_fld()
[all …]
/linux/drivers/net/dsa/microchip/
H A Dlan937x_main.c497 static int lan937x_set_ageing_time(struct dsa_switch *ds, unsigned int msecs) in lan937x_set_ageing_time() argument
503 u32 secs = msecs; in lan937x_set_ageing_time()
515 if (msecs % 1000) in lan937x_set_ageing_time()
/linux/tools/perf/Documentation/
H A Dperf-stat.txt275 -I msecs::
276 --interval-print msecs::
291 --timeout msecs::
345 -D msecs::
346 --delay msecs::
347 After starting the program, wait msecs before measuring (-1: start with events
H A Dperf-trace.txt50 -D msecs::
51 --delay msecs::
52 After starting the program, wait msecs before measuring. This is useful to
/linux/drivers/usb/musb/
H A Dtusb6010.c551 #define OTG_TIMER_MS(msecs) ((msecs) \ argument
552 ? (TUSB_DEV_OTG_TIMER_VAL((DEVCLOCK/1000)*(msecs)) \
/linux/drivers/platform/x86/
H A Dmsi-laptop.c593 static unsigned long msi_work_delay(int msecs) in msi_work_delay() argument
596 return msecs_to_jiffies(msecs); in msi_work_delay()
/linux/tools/testing/selftests/filesystems/epoll/
H A Depoll_wakeup_test.c3212 static inline unsigned long long msecs(void) in msecs() function
3215 unsigned long long msecs; in msecs() local
3218 msecs = ts.tv_sec * 1000ull; in msecs()
3219 msecs += ts.tv_nsec / 1000000ull; in msecs()
3221 return msecs; in msecs()
3282 ms = msecs(); in TEST()
3283 while (count_waiters(&ctx) && msecs() < ms + 1000) in TEST()
3441 tdiff = msecs(); in TEST()
3443 tdiff = msecs() - tdiff; in TEST()

123