Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/staging/r8188eu/include/
Drtw_mlme_ext.h517 u8* da, int try_cnt, int wait_ms);
519 unsigned int power_mode, int try_cnt, int wait_ms);
521 u16 tid, int try_cnt, int wait_ms);
525 int try_cnt, int wait_ms);
/linux-6.1.9/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-6.1.9/drivers/iio/accel/
Dmsa311.c492 unsigned long wait_ms; in msa311_wait_for_next_data() local
512 wait_ms = (MICROHZ_PER_HZ / freq_uhz) * MSEC_PER_SEC; in msa311_wait_for_next_data()
514 if (wait_ms < unintr_thresh_ms) in msa311_wait_for_next_data()
515 usleep_range(wait_ms * USEC_PER_MSEC, in msa311_wait_for_next_data()
517 else if (msleep_interruptible(wait_ms)) in msa311_wait_for_next_data()
/linux-6.1.9/fs/f2fs/
Dgc.c37 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()
122 decrease_sleep_time(gc_th, &wait_ms); in gc_thread_func()
124 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()
143 wait_ms = gc_th->no_gc_sleep_time; in gc_thread_func()
149 trace_f2fs_background_gc(sbi->sb, wait_ms, in gc_thread_func()
Dsegment.c1666 unsigned int wait_ms = dcc->min_discard_issue_time; in issue_discard_thread() local
1680 wait_ms = dpolicy.max_interval; in issue_discard_thread()
1685 msecs_to_jiffies(wait_ms)); in issue_discard_thread()
1701 wait_ms = dpolicy.max_interval; in issue_discard_thread()
1712 wait_ms = dpolicy.min_interval; in issue_discard_thread()
1714 wait_ms = f2fs_time_to_wait(sbi, DISCARD_TIME); in issue_discard_thread()
1715 if (!wait_ms) in issue_discard_thread()
1716 wait_ms = dpolicy.mid_interval; in issue_discard_thread()
1718 wait_ms = dpolicy.max_interval; in issue_discard_thread()
Df2fs.h1937 unsigned int wait_ms = 0; in f2fs_time_to_wait() local
1942 wait_ms = jiffies_to_msecs(delta); in f2fs_time_to_wait()
1944 return wait_ms; in f2fs_time_to_wait()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_mlme_ext.c2555 int try_cnt, int wait_ms) in issue_probereq_ex() argument
2562 wait_ms > 0); in issue_probereq_ex()
2569 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_probereq_ex()
2570 msleep(wait_ms); in issue_probereq_ex()
2572 } while ((i < try_cnt) && ((ret == _FAIL) || (wait_ms == 0))); in issue_probereq_ex()
3093 …ata(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms) in issue_nulldata() argument
3117 ret = _issue_nulldata(padapter, da, power_mode, wait_ms > 0); in issue_nulldata()
3124 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_nulldata()
3125 msleep(wait_ms); in issue_nulldata()
3127 } while ((i < try_cnt) && ((ret == _FAIL) || (wait_ms == 0))); in issue_nulldata()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/usb/musb/
Dmusb_dsps.c135 static void dsps_mod_timer(struct dsps_glue *glue, int wait_ms) in dsps_mod_timer() argument
140 if (wait_ms < 0) in dsps_mod_timer()
143 wait = msecs_to_jiffies(wait_ms); in dsps_mod_timer()
/linux-6.1.9/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-6.1.9/drivers/staging/r8188eu/core/
Drtw_mlme_ext.c4592 int try_cnt, int wait_ms) in issue_probereq_ex() argument
4598 ret = _issue_probereq(padapter, pssid, da, wait_ms > 0); in issue_probereq_ex()
4605 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_probereq_ex()
4606 msleep(wait_ms); in issue_probereq_ex()
4608 } while ((i < try_cnt) && ((ret == _FAIL) || (wait_ms == 0))); in issue_probereq_ex()
5243 …ata(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms) in issue_nulldata() argument
5255 ret = _issue_nulldata(padapter, da, power_mode, wait_ms > 0); in issue_nulldata()
5262 if (i < try_cnt && wait_ms > 0 && ret == _FAIL) in issue_nulldata()
5263 msleep(wait_ms); in issue_nulldata()
5264 } while ((i < try_cnt) && ((ret == _FAIL) || (wait_ms == 0))); in issue_nulldata()
[all …]
/linux-6.1.9/include/trace/events/
Df2fs.h619 TP_PROTO(struct super_block *sb, unsigned int wait_ms,
622 TP_ARGS(sb, wait_ms, prefree, free),
626 __field(unsigned int, wait_ms)
633 __entry->wait_ms = wait_ms;
640 __entry->wait_ms,
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dchip.c1062 static int wait_link_transfer_active(struct hfi1_devdata *dd, int wait_ms);
10338 static int wait_link_transfer_active(struct hfi1_devdata *dd, int wait_ms) in wait_link_transfer_active() argument
10344 timeout = jiffies + msecs_to_jiffies(wait_ms); in wait_link_transfer_active()