Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/arm64/
H A Darch_timer_edge_cases.c56 u64 wait_ms; member
68 .wait_ms = WAIT_TEST_MS,
491 u64 base_wait = test_args.wait_ms; in test_reprogram_timers()
507 s32 tval = (s32)msec_to_cycles(test_args.wait_ms); in test_basic_functionality()
508 u64 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);
/linux/drivers/iio/accel/
H A Dmsa311.c490 unsigned long wait_ms; in msa311_wait_for_next_data() local
510 wait_ms = (MICROHZ_PER_HZ / freq_uhz) * MSEC_PER_SEC; in msa311_wait_for_next_data()
512 if (wait_ms < unintr_thresh_ms) in msa311_wait_for_next_data()
513 usleep_range(wait_ms * USEC_PER_MSEC, in msa311_wait_for_next_data()
515 else if (msleep_interruptible(wait_ms)) in msa311_wait_for_next_data()
/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.c2480 int try_cnt, int wait_ms) in issue_probereq_ex() argument
2487 wait_ms > 0); in issue_probereq_ex()
2494 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_probereq_ex()
2495 msleep(wait_ms); in issue_probereq_ex()
2497 } while ((i < try_cnt) && ((ret == _FAIL) || (wait_ms == 0))); in issue_probereq_ex()
3008 …ata(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms) in issue_nulldata() argument
3031 ret = _issue_nulldata(padapter, da, power_mode, wait_ms > 0); in issue_nulldata()
3038 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_nulldata()
3039 msleep(wait_ms); in issue_nulldata()
3041 } 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/drivers/block/
H A Dnbd.c824 unsigned int wait_ms = 2; in nbd_pending_cmd_work() local
839 if (READ_ONCE(jiffies) + msecs_to_jiffies(wait_ms) >= deadline) { in nbd_pending_cmd_work()
844 msleep(wait_ms); in nbd_pending_cmd_work()
845 wait_ms *= 2; in nbd_pending_cmd_work()