Home
last modified time | relevance | path

Searched refs:wait_ms (Results 1 – 13 of 13) 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/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.c2525 int try_cnt, int wait_ms) in issue_probereq_ex() argument
2532 wait_ms > 0); in issue_probereq_ex()
2539 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_probereq_ex()
2540 msleep(wait_ms); in issue_probereq_ex()
2542 } while ((i < try_cnt) && ((ret == _FAIL) || (wait_ms == 0))); in issue_probereq_ex()
3063 …ata(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms) in issue_nulldata() argument
3087 ret = _issue_nulldata(padapter, da, power_mode, wait_ms > 0); in issue_nulldata()
3094 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_nulldata()
3095 msleep(wait_ms); in issue_nulldata()
3097 } 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.h691 TP_PROTO(struct super_block *sb, unsigned int wait_ms,
694 TP_ARGS(sb, wait_ms, prefree, free),
698 __field(unsigned int, wait_ms)
705 __entry->wait_ms = wait_ms;
710 TP_printk("dev = (%d,%d), wait_ms = %u, prefree = %u, free = %u",
712 __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/net/wireless/realtek/rtlwifi/
H A Dbase.c1697 void rtl_wait_tx_report_acked(struct ieee80211_hw *hw, u32 wait_ms) in rtl_wait_tx_report_acked() argument
1702 for (i = 0; i < wait_ms; i++) { in rtl_wait_tx_report_acked()
1707 "Wait 1ms (%d/%d) to disable key.\n", i, wait_ms); in rtl_wait_tx_report_acked()
/linux/drivers/gpu/drm/xe/
H A Dxe_guc_submit.c1761 s64 wait_ms = q->vm->preempt.min_run_period_ms - in __guc_exec_queue_process_msg_suspend() local
1764 if (wait_ms > 0 && q->guc->resume_time) in __guc_exec_queue_process_msg_suspend()
1765 relaxed_ms_sleep(wait_ms); in __guc_exec_queue_process_msg_suspend()
/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()