Home
last modified time | relevance | path

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

/Linux-v5.4/sound/soc/codecs/
Drk3328_codec.c136 static int rk3328_codec_power_on(struct rk3328_codec_priv *rk3328, int wait_ms) in rk3328_codec_power_on() argument
144 mdelay(wait_ms); in rk3328_codec_power_on()
149 static int rk3328_codec_power_off(struct rk3328_codec_priv *rk3328, int wait_ms) in rk3328_codec_power_off() argument
157 mdelay(wait_ms); in rk3328_codec_power_off()
/Linux-v5.4/fs/f2fs/
Dgc.c28 unsigned int wait_ms; in gc_thread_func() local
30 wait_ms = gc_th->min_sleep_time; in gc_thread_func()
37 msecs_to_jiffies(wait_ms)); in gc_thread_func()
51 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()
80 wait_ms = gc_th->urgent_sleep_time; in gc_thread_func()
91 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()
98 decrease_sleep_time(gc_th, &wait_ms); in gc_thread_func()
100 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()
106 wait_ms = gc_th->no_gc_sleep_time; in gc_thread_func()
108 trace_f2fs_background_gc(sbi->sb, wait_ms, in gc_thread_func()
Dsegment.c1688 unsigned int wait_ms = DEF_MIN_DISCARD_ISSUE_TIME; in issue_discard_thread() local
1700 msecs_to_jiffies(wait_ms)); in issue_discard_thread()
1716 wait_ms = dpolicy.max_interval; in issue_discard_thread()
1728 wait_ms = dpolicy.min_interval; in issue_discard_thread()
1730 wait_ms = f2fs_time_to_wait(sbi, DISCARD_TIME); in issue_discard_thread()
1731 if (!wait_ms) in issue_discard_thread()
1732 wait_ms = dpolicy.mid_interval; in issue_discard_thread()
1734 wait_ms = dpolicy.max_interval; in issue_discard_thread()
Df2fs.h1439 unsigned int wait_ms = 0; in f2fs_time_to_wait() local
1444 wait_ms = jiffies_to_msecs(delta); in f2fs_time_to_wait()
1446 return wait_ms; in f2fs_time_to_wait()
/Linux-v5.4/drivers/staging/rtl8723bs/core/
Drtw_mlme_ext.c2919 int try_cnt, int wait_ms) in issue_probereq_ex() argument
2925 ret = _issue_probereq(padapter, pssid, da, ch, append_wps, wait_ms > 0?true:false); in issue_probereq_ex()
2932 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_probereq_ex()
2933 msleep(wait_ms); in issue_probereq_ex()
2935 } while ((i < try_cnt) && ((ret == _FAIL) || (wait_ms == 0))); in issue_probereq_ex()
2944 if (try_cnt && wait_ms) { in issue_probereq_ex()
2948 ret == _SUCCESS?", acked":"", i, try_cnt, (i + 1) * wait_ms); in issue_probereq_ex()
2952 ret == _SUCCESS?", acked":"", i, try_cnt, (i + 1) * wait_ms); in issue_probereq_ex()
3490 …ata(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms) in issue_nulldata() argument
3516 ret = _issue_nulldata(padapter, da, power_mode, wait_ms > 0?true:false); in issue_nulldata()
[all …]
/Linux-v5.4/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.4/drivers/staging/rtl8188eu/core/
Drtw_mlme_ext.c693 int try_cnt, int wait_ms) in issue_probereq_ex() argument
700 ret = issue_probereq(padapter, pssid, da, wait_ms > 0); in issue_probereq_ex()
707 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_probereq_ex()
708 msleep(wait_ms); in issue_probereq_ex()
710 } while ((i < try_cnt) && ((ret == _FAIL) || (wait_ms == 0))); in issue_probereq_ex()
717 if (try_cnt && wait_ms) { in issue_probereq_ex()
1256 unsigned int power_mode, int try_cnt, int wait_ms) in issue_nulldata() argument
1270 ret = _issue_nulldata(padapter, da, power_mode, wait_ms > 0); in issue_nulldata()
1277 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_nulldata()
1278 msleep(wait_ms); in issue_nulldata()
[all …]
/Linux-v5.4/drivers/staging/rtl8723bs/include/
Drtw_mlme_ext.h669 …adapter, struct ndis_802_11_ssid *pssid, u8 *da, u8 ch, bool append_wps, int try_cnt, int wait_ms);
670 …ta(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms);
672 …issue_qos_nulldata(struct adapter *padapter, unsigned char *da, u16 tid, int try_cnt, int wait_ms);
674 …issue_deauth_ex(struct adapter *padapter, u8 *da, unsigned short reason, int try_cnt, int wait_ms);
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/
Dbase.h91 void rtl_wait_tx_report_acked(struct ieee80211_hw *hw, u32 wait_ms);
Dbase.c1701 void rtl_wait_tx_report_acked(struct ieee80211_hw *hw, u32 wait_ms) in rtl_wait_tx_report_acked() argument
1706 for (i = 0; i < wait_ms; i++) { in rtl_wait_tx_report_acked()
1711 "Wait 1ms (%d/%d) to disable key.\n", i, wait_ms); in rtl_wait_tx_report_acked()
/Linux-v5.4/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.4/include/trace/events/
Df2fs.h602 TP_PROTO(struct super_block *sb, unsigned int wait_ms,
605 TP_ARGS(sb, wait_ms, prefree, free),
609 __field(unsigned int, wait_ms)
616 __entry->wait_ms = wait_ms;
623 __entry->wait_ms,
/Linux-v5.4/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.4/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.4/drivers/staging/rtl8188eu/include/
Drtw_mlme_ext.h546 unsigned int power_mode, int try_cnt, int wait_ms);
548 u16 tid, int try_cnt, int wait_ms);
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dchip.c1085 static int wait_link_transfer_active(struct hfi1_devdata *dd, int wait_ms);
10289 static int wait_link_transfer_active(struct hfi1_devdata *dd, int wait_ms) in wait_link_transfer_active() argument
10295 timeout = jiffies + msecs_to_jiffies(wait_ms); in wait_link_transfer_active()