Home
last modified time | relevance | path

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

/Linux-v5.15/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.15/drivers/staging/r8188eu/include/
Drtw_mlme_ext.h554 int wait_ms);
570 u8* da, int try_cnt, int wait_ms);
572 unsigned int power_mode, int try_cnt, int wait_ms);
574 u16 tid, int try_cnt, int wait_ms);
578 int try_cnt, int wait_ms);
/Linux-v5.15/drivers/rapidio/
Drio.h27 u8 hopcount, int wait_ms);
Drio.c1533 u8 hopcount, int wait_ms) in rio_lock_device() argument
1545 if (wait_ms != 0 && tcnt == wait_ms) { in rio_lock_device()
/Linux-v5.15/fs/f2fs/
Dgc.c36 unsigned int wait_ms; in gc_thread_func() local
38 wait_ms = gc_th->min_sleep_time; in gc_thread_func()
48 msecs_to_jiffies(wait_ms)); in gc_thread_func()
65 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()
94 wait_ms = gc_th->urgent_sleep_time; in gc_thread_func()
108 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()
115 decrease_sleep_time(gc_th, &wait_ms); in gc_thread_func()
117 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()
130 wait_ms = gc_th->no_gc_sleep_time; in gc_thread_func()
135 trace_f2fs_background_gc(sbi->sb, wait_ms, in gc_thread_func()
Dsegment.c1767 unsigned int wait_ms = DEF_MIN_DISCARD_ISSUE_TIME; in issue_discard_thread() local
1781 wait_ms = dpolicy.max_interval; in issue_discard_thread()
1786 msecs_to_jiffies(wait_ms)); in issue_discard_thread()
1802 wait_ms = dpolicy.max_interval; in issue_discard_thread()
1813 wait_ms = dpolicy.min_interval; in issue_discard_thread()
1815 wait_ms = f2fs_time_to_wait(sbi, DISCARD_TIME); in issue_discard_thread()
1816 if (!wait_ms) in issue_discard_thread()
1817 wait_ms = dpolicy.mid_interval; in issue_discard_thread()
1819 wait_ms = dpolicy.max_interval; in issue_discard_thread()
Df2fs.h1863 unsigned int wait_ms = 0; in f2fs_time_to_wait() local
1868 wait_ms = jiffies_to_msecs(delta); in f2fs_time_to_wait()
1870 return wait_ms; in f2fs_time_to_wait()
/Linux-v5.15/drivers/staging/rtl8723bs/include/
Drtw_mlme_ext.h593 …adapter, struct ndis_802_11_ssid *pssid, u8 *da, u8 ch, bool append_wps, int try_cnt, int wait_ms);
594 …ta(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms);
596 …issue_qos_nulldata(struct adapter *padapter, unsigned char *da, u16 tid, int try_cnt, int wait_ms);
598 …issue_deauth_ex(struct adapter *padapter, u8 *da, unsigned short reason, int try_cnt, int wait_ms);
/Linux-v5.15/drivers/staging/r8188eu/core/
Drtw_mlme_ext.c3754 int issue_probereq_p2p_ex(struct adapter *adapter, u8 *da, int try_cnt, int wait_ms) in issue_probereq_p2p_ex() argument
3761 ret = _issue_probereq_p2p(adapter, da, wait_ms > 0); in issue_probereq_p2p_ex()
3768 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_probereq_p2p_ex()
3769 msleep(wait_ms); in issue_probereq_p2p_ex()
3770 } while ((i < try_cnt) && ((ret == _FAIL) || (wait_ms == 0))); in issue_probereq_p2p_ex()
3777 if (try_cnt && wait_ms) { in issue_probereq_p2p_ex()
4886 int try_cnt, int wait_ms) in issue_probereq_ex() argument
4893 ret = _issue_probereq(padapter, pssid, da, wait_ms > 0); in issue_probereq_ex()
4900 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_probereq_ex()
4901 msleep(wait_ms); in issue_probereq_ex()
[all …]
/Linux-v5.15/drivers/staging/rtl8723bs/core/
Drtw_mlme_ext.c2577 int try_cnt, int wait_ms) in issue_probereq_ex() argument
2584 wait_ms > 0); in issue_probereq_ex()
2591 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_probereq_ex()
2592 msleep(wait_ms); in issue_probereq_ex()
2594 } while ((i < try_cnt) && ((ret == _FAIL) || (wait_ms == 0))); in issue_probereq_ex()
3118 …ata(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms) in issue_nulldata() argument
3142 ret = _issue_nulldata(padapter, da, power_mode, wait_ms > 0); in issue_nulldata()
3149 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_nulldata()
3150 msleep(wait_ms); in issue_nulldata()
3152 } while ((i < try_cnt) && ((ret == _FAIL) || (wait_ms == 0))); in issue_nulldata()
[all …]
/Linux-v5.15/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.15/sound/usb/usx2y/
Dusb_stream.c755 int wait_ms = 3000; in usb_stream_start() local
757 while (s->state != usb_stream_ready && wait_ms > 0) { in usb_stream_start()
760 wait_ms -= 200; in usb_stream_start()
/Linux-v5.15/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.15/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtcoutsrc.c172 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-v5.15/include/trace/events/
Df2fs.h616 TP_PROTO(struct super_block *sb, unsigned int wait_ms,
619 TP_ARGS(sb, wait_ms, prefree, free),
623 __field(unsigned int, wait_ms)
630 __entry->wait_ms = wait_ms;
637 __entry->wait_ms,
/Linux-v5.15/drivers/infiniband/hw/hfi1/
Dchip.c1061 static int wait_link_transfer_active(struct hfi1_devdata *dd, int wait_ms);
10335 static int wait_link_transfer_active(struct hfi1_devdata *dd, int wait_ms) in wait_link_transfer_active() argument
10341 timeout = jiffies + msecs_to_jiffies(wait_ms); in wait_link_transfer_active()