Home
last modified time | relevance | path

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

/Linux-v5.10/sound/soc/codecs/
Drk3328_codec.c127 static int rk3328_codec_power_on(struct rk3328_codec_priv *rk3328, int wait_ms) in rk3328_codec_power_on() argument
135 mdelay(wait_ms); in rk3328_codec_power_on()
140 static int rk3328_codec_power_off(struct rk3328_codec_priv *rk3328, int wait_ms) in rk3328_codec_power_off() argument
148 mdelay(wait_ms); in rk3328_codec_power_off()
/Linux-v5.10/fs/f2fs/
Dgc.c34 unsigned int wait_ms; in gc_thread_func() local
36 wait_ms = gc_th->min_sleep_time; in gc_thread_func()
45 msecs_to_jiffies(wait_ms)); in gc_thread_func()
59 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()
88 wait_ms = gc_th->urgent_sleep_time; in gc_thread_func()
99 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()
106 decrease_sleep_time(gc_th, &wait_ms); in gc_thread_func()
108 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()
116 wait_ms = gc_th->no_gc_sleep_time; in gc_thread_func()
118 trace_f2fs_background_gc(sbi->sb, wait_ms, in gc_thread_func()
Dsegment.c1737 unsigned int wait_ms = DEF_MIN_DISCARD_ISSUE_TIME; in issue_discard_thread() local
1749 msecs_to_jiffies(wait_ms)); in issue_discard_thread()
1765 wait_ms = dpolicy.max_interval; in issue_discard_thread()
1777 wait_ms = dpolicy.min_interval; in issue_discard_thread()
1779 wait_ms = f2fs_time_to_wait(sbi, DISCARD_TIME); in issue_discard_thread()
1780 if (!wait_ms) in issue_discard_thread()
1781 wait_ms = dpolicy.mid_interval; in issue_discard_thread()
1783 wait_ms = dpolicy.max_interval; in issue_discard_thread()
Df2fs.h1705 unsigned int wait_ms = 0; in f2fs_time_to_wait() local
1710 wait_ms = jiffies_to_msecs(delta); in f2fs_time_to_wait()
1712 return wait_ms; in f2fs_time_to_wait()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_mlme_ext.c2921 int try_cnt, int wait_ms) in issue_probereq_ex() argument
2928 wait_ms > 0); in issue_probereq_ex()
2935 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_probereq_ex()
2936 msleep(wait_ms); in issue_probereq_ex()
2938 } while ((i < try_cnt) && ((ret == _FAIL) || (wait_ms == 0))); in issue_probereq_ex()
2947 if (try_cnt && wait_ms) { in issue_probereq_ex()
2951 ret == _SUCCESS?", acked":"", i, try_cnt, (i + 1) * wait_ms); in issue_probereq_ex()
2955 ret == _SUCCESS?", acked":"", i, try_cnt, (i + 1) * wait_ms); in issue_probereq_ex()
3491 …ata(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms) in issue_nulldata() argument
3517 ret = _issue_nulldata(padapter, da, power_mode, wait_ms > 0); in issue_nulldata()
[all …]
/Linux-v5.10/drivers/rapidio/
Drio.h27 u8 hopcount, int wait_ms);
Drio.c1598 u8 hopcount, int wait_ms) in rio_lock_device() argument
1610 if (wait_ms != 0 && tcnt == wait_ms) { in rio_lock_device()
/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_mlme_ext.c687 int try_cnt, int wait_ms) in issue_probereq_ex() argument
694 ret = issue_probereq(padapter, pssid, da, wait_ms > 0); in issue_probereq_ex()
701 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_probereq_ex()
702 msleep(wait_ms); in issue_probereq_ex()
704 } while ((i < try_cnt) && ((ret == _FAIL) || (wait_ms == 0))); in issue_probereq_ex()
711 if (try_cnt && wait_ms) { in issue_probereq_ex()
1250 unsigned int power_mode, int try_cnt, int wait_ms) in issue_nulldata() argument
1264 ret = _issue_nulldata(padapter, da, power_mode, wait_ms > 0); in issue_nulldata()
1271 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_nulldata()
1272 msleep(wait_ms); in issue_nulldata()
[all …]
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Drtw_mlme_ext.h653 …adapter, struct ndis_802_11_ssid *pssid, u8 *da, u8 ch, bool append_wps, int try_cnt, int wait_ms);
654 …ta(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms);
656 …issue_qos_nulldata(struct adapter *padapter, unsigned char *da, u16 tid, int try_cnt, int wait_ms);
658 …issue_deauth_ex(struct adapter *padapter, u8 *da, unsigned short reason, int try_cnt, int wait_ms);
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/
Dbase.h91 void rtl_wait_tx_report_acked(struct ieee80211_hw *hw, u32 wait_ms);
Dbase.c1702 void rtl_wait_tx_report_acked(struct ieee80211_hw *hw, u32 wait_ms) in rtl_wait_tx_report_acked() argument
1707 for (i = 0; i < wait_ms; i++) { in rtl_wait_tx_report_acked()
1712 "Wait 1ms (%d/%d) to disable key.\n", i, wait_ms); in rtl_wait_tx_report_acked()
/Linux-v5.10/sound/usb/usx2y/
Dusb_stream.c731 int wait_ms = 3000; in usb_stream_start() local
732 while (s->state != usb_stream_ready && wait_ms > 0) { in usb_stream_start()
735 wait_ms -= 200; in usb_stream_start()
/Linux-v5.10/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-v5.10/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtcoutsrc.c185 u8 *cmd, u32 len, unsigned long wait_ms) in halbtc_send_bt_mp_operation() argument
194 if (wait_ms) /* before h2c to avoid race condition */ in halbtc_send_bt_mp_operation()
250 if (!wait_ms) in halbtc_send_bt_mp_operation()
254 "btmpinfo wait req_num=%d wait=%ld\n", req_num, wait_ms); in halbtc_send_bt_mp_operation()
260 msecs_to_jiffies(wait_ms)) == 0) { in halbtc_send_bt_mp_operation()
/Linux-v5.10/drivers/staging/rtl8188eu/include/
Drtw_mlme_ext.h544 unsigned int power_mode, int try_cnt, int wait_ms);
546 u16 tid, int try_cnt, int wait_ms);
/Linux-v5.10/include/trace/events/
Df2fs.h615 TP_PROTO(struct super_block *sb, unsigned int wait_ms,
618 TP_ARGS(sb, wait_ms, prefree, free),
622 __field(unsigned int, wait_ms)
629 __entry->wait_ms = wait_ms;
636 __entry->wait_ms,
/Linux-v5.10/drivers/infiniband/hw/hfi1/
Dchip.c1103 static int wait_link_transfer_active(struct hfi1_devdata *dd, int wait_ms);
10377 static int wait_link_transfer_active(struct hfi1_devdata *dd, int wait_ms) in wait_link_transfer_active() argument
10383 timeout = jiffies + msecs_to_jiffies(wait_ms); in wait_link_transfer_active()