/linux/tools/testing/selftests/kvm/arm64/ |
H A D | arch_timer_edge_cases.c | 56 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 D | rk3328_codec.c | 126 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 D | gc.c | 37 unsigned int wait_ms; in gc_thread_func() local 43 wait_ms = gc_th->min_sleep_time; in gc_thread_func() 53 msecs_to_jiffies(wait_ms)); in gc_thread_func() 70 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func() 101 wait_ms = gc_th->urgent_sleep_time; in gc_thread_func() 115 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func() 124 wait_ms = gc_th->no_gc_sleep_time; in gc_thread_func() 128 if (wait_ms == gc_th->no_gc_sleep_time) in gc_thread_func() 129 wait_ms = gc_th->max_sleep_time; in gc_thread_func() 133 decrease_sleep_time(gc_th, &wait_ms); in gc_thread_func() [all...] |
H A D | segment.c | 1925 unsigned int wait_ms = dcc->min_discard_issue_time; in issue_discard_thread() local 1933 msecs_to_jiffies(wait_ms)); in issue_discard_thread() 1956 wait_ms = dpolicy.max_interval; in issue_discard_thread() 1965 wait_ms = dpolicy.min_interval; in issue_discard_thread() 1967 wait_ms = f2fs_time_to_wait(sbi, DISCARD_TIME); in issue_discard_thread() 1968 if (!wait_ms) in issue_discard_thread() 1969 wait_ms = dpolicy.mid_interval; in issue_discard_thread() 1971 wait_ms = dpolicy.max_interval; in issue_discard_thread() 1974 wait_ms = dpolicy.max_interval; in issue_discard_thread()
|
H A D | f2fs.h | 1977 unsigned int wait_ms = 0; in f2fs_time_to_wait() local 1982 wait_ms = jiffies_to_msecs(delta); in f2fs_time_to_wait() 1984 return wait_ms; in f2fs_time_to_wait()
|
/linux/drivers/iio/light/ |
H A D | rohm-bu27034.c | 1160 int wait_ms; in bu27034_buffer_thread() local 1164 wait_ms = bu27034_get_int_time(data); in bu27034_buffer_thread() 1165 wait_ms /= 1000; in bu27034_buffer_thread() 1167 wait_ms -= BU27034_MEAS_WAIT_PREMATURE_MS; in bu27034_buffer_thread() 1173 msleep(wait_ms); in bu27034_buffer_thread()
|
/linux/drivers/rapidio/ |
H A D | rio.h | 27 u8 hopcount, int wait_ms);
|
H A D | rio.c | 1527 * @wait_ms: Max wait time in msec (0 = no timeout) 1533 u8 hopcount, int wait_ms) in rio_lock_device() argument 1545 if (wait_ms != 0 && tcnt == wait_ms) { in rio_lock_device()
|
/linux/drivers/staging/rtl8723bs/include/ |
H A D | rtw_mlme_ext.h | 551 s32 issue_probereq_ex(struct adapter *padapter, struct ndis_802_11_ssid *pssid, u8 *da, u8 ch, bool append_wps, int try_cnt, int wait_ms); 552 int issue_nulldata(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms); 554 int issue_qos_nulldata(struct adapter *padapter, unsigned char *da, u16 tid, int try_cnt, int wait_ms); 556 int issue_deauth_ex(struct adapter *padapter, u8 *da, unsigned short reason, int try_cnt, int wait_ms);
|
/linux/tools/cgroup/ |
H A D | iocost_monitor.py | 167 self.wait_ms = (iocg.stat.wait_us.value_() - 186 'wait_ms' : self.wait_ms, 199 f'{self.wait_ms:7.2f} ' \
|
/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_mlme_ext.c | 2552 int try_cnt, int wait_ms) in issue_probereq_ex() argument 2559 wait_ms > 0); in issue_probereq_ex() 2566 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_probereq_ex() 2567 msleep(wait_ms); in issue_probereq_ex() 2569 } while ((i < try_cnt) && ((ret == _FAIL) || (wait_ms == 0))); in issue_probereq_ex() 3087 * When wait_ms > 0, this function should be called at process context 3090 int issue_nulldata(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms) in issue_nulldata() argument 3114 ret = _issue_nulldata(padapter, da, power_mode, wait_ms > 0); in issue_nulldata() 3121 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_nulldata() 3122 msleep(wait_ms); in issue_nulldata() 3235 issue_qos_nulldata(struct adapter * padapter,unsigned char * da,u16 tid,int try_cnt,int wait_ms) issue_qos_nulldata() argument 3335 issue_deauth_ex(struct adapter * padapter,u8 * da,unsigned short reason,int try_cnt,int wait_ms) issue_deauth_ex() argument [all...] |
/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | base.h | 91 void rtl_wait_tx_report_acked(struct ieee80211_hw *hw, u32 wait_ms);
|
H A D | base.c | 1697 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/sound/usb/usx2y/ |
H A D | usb_stream.c | 749 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 D | musb_dsps.c | 134 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/net/wireless/realtek/rtlwifi/btcoexist/ |
H A D | halbtcoutsrc.c | 172 u8 *cmd, u32 len, unsigned long wait_ms) in halbtc_send_bt_mp_operation() argument 181 if (wait_ms) /* before h2c to avoid race condition */ in halbtc_send_bt_mp_operation() 237 if (!wait_ms) in halbtc_send_bt_mp_operation() 241 "btmpinfo wait req_num=%d wait=%ld\n", req_num, wait_ms); in halbtc_send_bt_mp_operation() 244 msecs_to_jiffies(wait_ms)) == 0) { in halbtc_send_bt_mp_operation()
|
/linux/include/trace/events/ |
H A D | f2fs.h | 641 TP_PROTO(struct super_block *sb, unsigned int wait_ms, 644 TP_ARGS(sb, wait_ms, prefree, free), 648 __field(unsigned int, wait_ms) 655 __entry->wait_ms = wait_ms; 660 TP_printk("dev = (%d,%d), wait_ms = %u, prefree = %u, free = %u", 662 __entry->wait_ms,
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_guc_submit.c | 1396 s64 wait_ms = q->vm->preempt.min_run_period_ms - in __guc_exec_queue_process_msg_suspend() local 1399 if (wait_ms > 0 && q->guc->resume_time) in __guc_exec_queue_process_msg_suspend() 1400 msleep(wait_ms); in __guc_exec_queue_process_msg_suspend()
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | chip.c | 1062 static int wait_link_transfer_active(struct hfi1_devdata *dd, int wait_ms); 10339 /* wait for wait_ms for LINK_TRANSFER_ACTIVE to go to 1 */ 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()
|