Home
last modified time | relevance | path

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

/Linux-v4.19/fs/f2fs/
Dgc.c31 unsigned int wait_ms; in gc_thread_func() local
33 wait_ms = gc_th->min_sleep_time; in gc_thread_func()
40 msecs_to_jiffies(wait_ms)); in gc_thread_func()
52 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()
78 wait_ms = gc_th->urgent_sleep_time; in gc_thread_func()
87 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()
93 decrease_sleep_time(gc_th, &wait_ms); in gc_thread_func()
95 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()
101 wait_ms = gc_th->no_gc_sleep_time; in gc_thread_func()
103 trace_f2fs_background_gc(sbi->sb, wait_ms, in gc_thread_func()
Dsegment.c1565 unsigned int wait_ms = DEF_MIN_DISCARD_ISSUE_TIME; in issue_discard_thread() local
1577 msecs_to_jiffies(wait_ms)); in issue_discard_thread()
1589 wait_ms = dpolicy.max_interval; in issue_discard_thread()
1601 wait_ms = dpolicy.min_interval; in issue_discard_thread()
1603 wait_ms = dpolicy.mid_interval; in issue_discard_thread()
1605 wait_ms = dpolicy.max_interval; in issue_discard_thread()
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_plane.h155 int dpu_plane_wait_input_fence(struct drm_plane *plane, uint32_t wait_ms);
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_mlme_ext.c2933 int try_cnt, int wait_ms) in issue_probereq_ex() argument
2939 ret = _issue_probereq(padapter, pssid, da, ch, append_wps, wait_ms > 0?true:false); in issue_probereq_ex()
2946 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_probereq_ex()
2947 msleep(wait_ms); in issue_probereq_ex()
2949 } while ((i < try_cnt) && ((ret == _FAIL) || (wait_ms == 0))); in issue_probereq_ex()
2958 if (try_cnt && wait_ms) { in issue_probereq_ex()
2962 ret == _SUCCESS?", acked":"", i, try_cnt, (i + 1) * wait_ms); in issue_probereq_ex()
2966 ret == _SUCCESS?", acked":"", i, try_cnt, (i + 1) * wait_ms); in issue_probereq_ex()
3506 …ata(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms) in issue_nulldata() argument
3532 ret = _issue_nulldata(padapter, da, power_mode, wait_ms > 0?true:false); in issue_nulldata()
[all …]
/Linux-v4.19/drivers/rapidio/
Drio.h31 u8 hopcount, int wait_ms);
Drio.c1602 u8 hopcount, int wait_ms) in rio_lock_device() argument
1614 if (wait_ms != 0 && tcnt == wait_ms) { in rio_lock_device()
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_mlme_ext.c694 int try_cnt, int wait_ms) in issue_probereq_ex() argument
701 ret = issue_probereq(padapter, pssid, da, wait_ms > 0); in issue_probereq_ex()
708 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_probereq_ex()
709 msleep(wait_ms); in issue_probereq_ex()
711 } while ((i < try_cnt) && ((ret == _FAIL) || (wait_ms == 0))); in issue_probereq_ex()
718 if (try_cnt && wait_ms) { in issue_probereq_ex()
1257 unsigned int power_mode, int try_cnt, int wait_ms) in issue_nulldata() argument
1271 ret = _issue_nulldata(padapter, da, power_mode, wait_ms > 0); in issue_nulldata()
1278 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_nulldata()
1279 msleep(wait_ms); in issue_nulldata()
[all …]
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Drtw_mlme_ext.h671 …adapter, struct ndis_802_11_ssid *pssid, u8 *da, u8 ch, bool append_wps, int try_cnt, int wait_ms);
672 …ta(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms);
674 …issue_qos_nulldata(struct adapter *padapter, unsigned char *da, u16 tid, int try_cnt, int wait_ms);
676 …issue_deauth_ex(struct adapter *padapter, u8 *da, unsigned short reason, int try_cnt, int wait_ms);
/Linux-v4.19/include/trace/events/
Df2fs.h560 TP_PROTO(struct super_block *sb, unsigned int wait_ms,
563 TP_ARGS(sb, wait_ms, prefree, free),
567 __field(unsigned int, wait_ms)
574 __entry->wait_ms = wait_ms;
581 __entry->wait_ms,
/Linux-v4.19/sound/usb/usx2y/
Dusb_stream.c743 int wait_ms = 3000; in usb_stream_start() local
744 while (s->state != usb_stream_ready && wait_ms > 0) { in usb_stream_start()
747 wait_ms -= 200; in usb_stream_start()
/Linux-v4.19/drivers/staging/rtlwifi/btcoexist/
Dhalbtcoutsrc.c201 u8 *cmd, u32 len, unsigned long wait_ms) in halbtc_send_bt_mp_operation() argument
210 if (wait_ms) /* before h2c to avoid race condition */ in halbtc_send_bt_mp_operation()
261 if (!wait_ms) in halbtc_send_bt_mp_operation()
265 "btmpinfo wait req_num=%d wait=%ld\n", req_num, wait_ms); in halbtc_send_bt_mp_operation()
271 msecs_to_jiffies(wait_ms)) == 0) { in halbtc_send_bt_mp_operation()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/
Dbase.h140 void rtl_wait_tx_report_acked(struct ieee80211_hw *hw, u32 wait_ms);
Dbase.c1717 void rtl_wait_tx_report_acked(struct ieee80211_hw *hw, u32 wait_ms) in rtl_wait_tx_report_acked() argument
1722 for (i = 0; i < wait_ms; i++) { in rtl_wait_tx_report_acked()
1727 "Wait 1ms (%d/%d) to disable key.\n", i, wait_ms); in rtl_wait_tx_report_acked()
/Linux-v4.19/drivers/staging/rtlwifi/
Dbase.h128 void rtl_wait_tx_report_acked(struct ieee80211_hw *hw, u32 wait_ms);
Dbase.c1637 void rtl_wait_tx_report_acked(struct ieee80211_hw *hw, u32 wait_ms) in rtl_wait_tx_report_acked() argument
1642 for (i = 0; i < wait_ms; i++) { in rtl_wait_tx_report_acked()
1647 "Wait 1ms (%d/%d) to disable key.\n", i, wait_ms); in rtl_wait_tx_report_acked()
Dwifi.h2719 u32 wait_ms; member
/Linux-v4.19/drivers/usb/musb/
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-v4.19/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtcoutsrc.c207 u8 *cmd, u32 len, unsigned long wait_ms) in halbtc_send_bt_mp_operation() argument
216 if (wait_ms) /* before h2c to avoid race condition */ in halbtc_send_bt_mp_operation()
272 if (!wait_ms) in halbtc_send_bt_mp_operation()
276 "btmpinfo wait req_num=%d wait=%ld\n", req_num, wait_ms); in halbtc_send_bt_mp_operation()
282 msecs_to_jiffies(wait_ms)) == 0) { in halbtc_send_bt_mp_operation()
/Linux-v4.19/drivers/staging/rtl8188eu/include/
Drtw_mlme_ext.h556 unsigned int power_mode, int try_cnt, int wait_ms);
558 u16 tid, int try_cnt, int wait_ms);
/Linux-v4.19/drivers/staging/rtlwifi/halmac/
Drtl_halmac.c222 rtlpriv->halmac.indicator[id].wait_ms = time; in init_halmac_event_with_waittime()
266 comp, rtlpriv->halmac.indicator[id].wait_ms); in wait_halmac_event()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dchip.c1085 static int wait_link_transfer_active(struct hfi1_devdata *dd, int wait_ms);
10285 static int wait_link_transfer_active(struct hfi1_devdata *dd, int wait_ms) in wait_link_transfer_active() argument
10291 timeout = jiffies + msecs_to_jiffies(wait_ms); in wait_link_transfer_active()