Home
last modified time | relevance | path

Searched refs:wait_ms (Results 1 – 15 of 15) sorted by relevance

/linux/tools/testing/selftests/kvm/arm64/
H A Darch_timer_edge_cases.c56 uint64_t wait_ms; member
68 .wait_ms = WAIT_TEST_MS,
491 uint64_t base_wait = test_args.wait_ms; in test_reprogram_timers()
507 int32_t tval = (int32_t) msec_to_cycles(test_args.wait_ms); in test_basic_functionality()
508 uint64_t cval = DEF_CNT + msec_to_cycles(test_args.wait_ms); in test_basic_functionality()
532 msec_to_cycles(test_args.wait_ms)); in timers_sanity_checks()
548 msec_to_cycles(test_args.wait_ms)); in timers_sanity_checks()
559 msec_to_cycles(test_args.wait_ms)); in timers_sanity_checks()
563 msec_to_cycles(test_args.wait_ms)); in timers_sanity_checks()
567 timer_set_tval(timer, -1 * msec_to_cycles(test_args.wait_ms)); in timers_sanity_checks()
[all …]
/linux/sound/soc/codecs/
H A Drk3328_codec.c126 static int rk3328_codec_power_on(struct rk3328_codec_priv *rk3328, int wait_ms) in rk3328_codec_power_on() argument
134 mdelay(wait_ms); in rk3328_codec_power_on()
139 static int rk3328_codec_power_off(struct rk3328_codec_priv *rk3328, int wait_ms) in rk3328_codec_power_off() argument
147 mdelay(wait_ms); in rk3328_codec_power_off()
/linux/fs/f2fs/
H A Dgc.c37 unsigned int wait_ms; in gc_thread_func() local
44 wait_ms = gc_th->min_sleep_time; in gc_thread_func()
54 msecs_to_jiffies(wait_ms)); in gc_thread_func()
75 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()
104 wait_ms = gc_th->urgent_sleep_time; in gc_thread_func()
118 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()
127 wait_ms = gc_th->no_gc_sleep_time; in gc_thread_func()
131 if (wait_ms == gc_th->no_gc_sleep_time) in gc_thread_func()
132 wait_ms = gc_th->max_sleep_time; in gc_thread_func()
136 decrease_sleep_time(gc_th, &wait_ms); in gc_thread_func()
[all …]
H A Dsegment.c1921 unsigned int wait_ms = dcc->min_discard_issue_time; in issue_discard_thread() local
1929 msecs_to_jiffies(wait_ms)); in issue_discard_thread()
1952 wait_ms = dpolicy.max_interval; in issue_discard_thread()
1961 wait_ms = dpolicy.min_interval; in issue_discard_thread()
1963 wait_ms = f2fs_time_to_wait(sbi, DISCARD_TIME); in issue_discard_thread()
1964 if (!wait_ms) in issue_discard_thread()
1965 wait_ms = dpolicy.mid_interval; in issue_discard_thread()
1967 wait_ms = dpolicy.max_interval; in issue_discard_thread()
1970 wait_ms = dpolicy.max_interval; in issue_discard_thread()
H A Df2fs.h2056 unsigned int wait_ms = 0; in f2fs_time_to_wait() local
2061 wait_ms = jiffies_to_msecs(delta); in f2fs_time_to_wait()
2063 return wait_ms; in f2fs_time_to_wait()
/linux/drivers/staging/rtl8723bs/include/
H A Drtw_mlme_ext.h549 …adapter, struct ndis_802_11_ssid *pssid, u8 *da, u8 ch, bool append_wps, int try_cnt, int wait_ms);
550 …ta(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms);
552 …issue_qos_nulldata(struct adapter *padapter, unsigned char *da, u16 tid, int try_cnt, int wait_ms);
554 …issue_deauth_ex(struct adapter *padapter, u8 *da, unsigned short reason, int try_cnt, int wait_ms);
/linux/drivers/rapidio/
H A Drio.h27 u8 hopcount, int wait_ms);
H A Drio.c1533 u8 hopcount, int wait_ms) in rio_lock_device() argument
1545 if (wait_ms != 0 && tcnt == wait_ms) { in rio_lock_device()
/linux/tools/cgroup/
H A Diocost_monitor.py167 self.wait_ms = (iocg.stat.wait_us.value_() -
186 'wait_ms' : self.wait_ms,
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_mlme_ext.c2546 int try_cnt, int wait_ms) in issue_probereq_ex() argument
2553 wait_ms > 0); in issue_probereq_ex()
2560 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_probereq_ex()
2561 msleep(wait_ms); in issue_probereq_ex()
2563 } while ((i < try_cnt) && ((ret == _FAIL) || (wait_ms == 0))); in issue_probereq_ex()
3084 …ata(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms) in issue_nulldata() argument
3108 ret = _issue_nulldata(padapter, da, power_mode, wait_ms > 0); in issue_nulldata()
3115 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_nulldata()
3116 msleep(wait_ms); in issue_nulldata()
3118 } while ((i < try_cnt) && ((ret == _FAIL) || (wait_ms == 0))); in issue_nulldata()
[all …]
/linux/sound/usb/usx2y/
H A Dusb_stream.c749 int wait_ms = 3000; in usb_stream_start() local
751 while (s->state != usb_stream_ready && wait_ms > 0) { in usb_stream_start()
753 wait_ms -= 200; in usb_stream_start()
/linux/drivers/usb/musb/
H A Dmusb_dsps.c134 static void dsps_mod_timer(struct dsps_glue *glue, int wait_ms) in dsps_mod_timer() argument
139 if (wait_ms < 0) in dsps_mod_timer()
142 wait = msecs_to_jiffies(wait_ms); in dsps_mod_timer()
/linux/include/trace/events/
H A Df2fs.h682 TP_PROTO(struct super_block *sb, unsigned int wait_ms,
685 TP_ARGS(sb, wait_ms, prefree, free),
689 __field(unsigned int, wait_ms)
696 __entry->wait_ms = wait_ms;
703 __entry->wait_ms,
/linux/drivers/block/
H A Dnbd.c815 unsigned int wait_ms = 2; in nbd_pending_cmd_work() local
830 if (READ_ONCE(jiffies) + msecs_to_jiffies(wait_ms) >= deadline) { in nbd_pending_cmd_work()
835 msleep(wait_ms); in nbd_pending_cmd_work()
836 wait_ms *= 2; in nbd_pending_cmd_work()
/linux/drivers/infiniband/hw/hfi1/
H A Dchip.c1062 static int wait_link_transfer_active(struct hfi1_devdata *dd, int wait_ms);
10340 static int wait_link_transfer_active(struct hfi1_devdata *dd, int wait_ms) in wait_link_transfer_active() argument
10346 timeout = jiffies + msecs_to_jiffies(wait_ms); in wait_link_transfer_active()