Home
last modified time | relevance | path

Searched refs:timeout_ms (Results 1 – 25 of 50) sorted by relevance

12

/drivers/mmc/core/
Dmmc_ops.c433 unsigned int timeout_ms, bool use_busy_signal, bool send_status, in __mmc_switch() argument
449 if (timeout_ms && host->max_busy_timeout && in __mmc_switch()
450 (timeout_ms > host->max_busy_timeout)) in __mmc_switch()
465 cmd.busy_timeout = timeout_ms; in __mmc_switch()
489 if (!timeout_ms) in __mmc_switch()
490 timeout_ms = MMC_OPS_TIMEOUT_MS; in __mmc_switch()
493 timeout = jiffies + msecs_to_jiffies(timeout_ms); in __mmc_switch()
511 mmc_delay(timeout_ms); in __mmc_switch()
539 unsigned int timeout_ms) in mmc_switch() argument
541 return __mmc_switch(card, set, index, value, timeout_ms, true, true, in mmc_switch()
/drivers/iio/magnetometer/
Dak8975.c306 u32 timeout_ms = AK8975_MAX_CONVERSION_TIMEOUT; in wait_conversion_complete_gpio() local
310 while (timeout_ms) { in wait_conversion_complete_gpio()
314 timeout_ms -= AK8975_CONVERSION_DONE_POLL_TIME; in wait_conversion_complete_gpio()
316 if (!timeout_ms) { in wait_conversion_complete_gpio()
332 u32 timeout_ms = AK8975_MAX_CONVERSION_TIMEOUT; in wait_conversion_complete_polled() local
336 while (timeout_ms) { in wait_conversion_complete_polled()
346 timeout_ms -= AK8975_CONVERSION_DONE_POLL_TIME; in wait_conversion_complete_polled()
348 if (!timeout_ms) { in wait_conversion_complete_polled()
Dak09911.c156 u32 timeout_ms = AK09911_MAX_CONVERSION_TIMEOUT_MS; in wait_conversion_complete_polled() local
160 while (timeout_ms) { in wait_conversion_complete_polled()
170 timeout_ms -= AK09911_CONVERSION_DONE_POLL_TIME_MS; in wait_conversion_complete_polled()
172 if (!timeout_ms) { in wait_conversion_complete_polled()
/drivers/staging/lustre/lnet/lnet/
Dlib-eq.c324 lnet_eq_wait_locked(int *timeout_ms) in lnet_eq_wait_locked() argument
327 int tms = *timeout_ms; in lnet_eq_wait_locked()
356 *timeout_ms = tms; in lnet_eq_wait_locked()
393 LNetEQPoll(lnet_handle_eq_t *eventqs, int neq, int timeout_ms, in LNetEQPoll() argument
435 wait = lnet_eq_wait_locked(&timeout_ms); in LNetEQPoll()
Dapi-ni.c1732 int timeout_ms = 1000; in lnet_ping_target_fini() local
1740 timeout_ms, &event, &which); in lnet_ping_target_fini()
1748 timeout_ms *= 2; in lnet_ping_target_fini()
1764 lnet_ping(lnet_process_id_t id, int timeout_ms, lnet_process_id_t *ids, int n_ids) in lnet_ping() argument
1785 timeout_ms > 500000 || /* arbitrary limit! */ in lnet_ping()
1830 timeout_ms = a_long_time; in lnet_ping()
1838 rc2 = LNetEQPoll(&eqh, 1, timeout_ms, &event, &which); in lnet_ping()
1862 timeout_ms = a_long_time; in lnet_ping()
/drivers/infiniband/core/
Dsa_query.c619 static int send_mad(struct ib_sa_query *query, int timeout_ms, gfp_t gfp_mask) in send_mad() argument
637 query->mad_buf->timeout_ms = timeout_ms; in send_mad()
722 int timeout_ms, gfp_t gfp_mask, in ib_sa_path_rec_get() argument
769 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_path_rec_get()
839 int timeout_ms, gfp_t gfp_mask, in ib_sa_service_rec_query() argument
892 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_service_rec_query()
936 int timeout_ms, gfp_t gfp_mask, in ib_sa_mcmember_rec_query() argument
984 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_mcmember_rec_query()
1027 int timeout_ms, gfp_t gfp_mask, in ib_sa_guid_info_rec_query() argument
1082 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_guid_info_rec_query()
Dsa.h56 int timeout_ms, gfp_t gfp_mask,
Dmad.c1146 (send_buf->timeout_ms && in ib_post_send_mad()
1179 mad_send_wr->timeout = msecs_to_jiffies(send_buf->timeout_ms); in ib_post_send_mad()
2141 int timeout_ms) in ib_reset_mad_timeout() argument
2143 mad_send_wr->timeout = msecs_to_jiffies(timeout_ms); in ib_reset_mad_timeout()
2422 struct ib_mad_send_buf *send_buf, u32 timeout_ms) in ib_modify_mad() argument
2439 if (!timeout_ms) { in ib_modify_mad()
2444 mad_send_wr->send_buf.timeout_ms = timeout_ms; in ib_modify_mad()
2446 mad_send_wr->timeout = msecs_to_jiffies(timeout_ms); in ib_modify_mad()
2448 ib_reset_mad_timeout(mad_send_wr, timeout_ms); in ib_modify_mad()
2553 mad_send_wr->timeout = msecs_to_jiffies(mad_send_wr->send_buf.timeout_ms); in retry_send()
Dmad_rmpp.c584 timeout = mad_send_wr->send_buf.timeout_ms; in send_next_seg()
701 if (!mad_send_wr->send_buf.timeout_ms) { in process_rmpp_ack()
715 mad_send_wr->send_buf.timeout_ms); in process_rmpp_ack()
916 msecs_to_jiffies(mad_send_wr->send_buf.timeout_ms); in ib_process_rmpp_send_wc()
Dmad_priv.h225 int timeout_ms);
Dcm.c230 int timeout_ms; member
1154 cm_id_priv->timeout_ms = cm_convert_to_ms( in ib_send_cm_req()
1173 cm_id_priv->msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_req()
1590 cm_id_priv->timeout_ms = cm_convert_to_ms( in cm_req_handler()
1673 msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_rep()
2028 msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_dreq()
2649 msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_lap()
2946 cm_id_priv->timeout_ms = param->timeout_ms; in ib_send_cm_sidr_req()
2954 msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_sidr_req()
Daddr.c373 struct rdma_dev_addr *addr, int timeout_ms, in rdma_resolve_ip() argument
414 req->timeout = msecs_to_jiffies(timeout_ms) + jiffies; in rdma_resolve_ip()
Dcma.c132 int timeout_ms; member
1703 static int cma_query_ib_route(struct rdma_id_private *id_priv, int timeout_ms, in cma_query_ib_route() argument
1743 comp_mask, timeout_ms, in cma_query_ib_route()
1796 static int cma_resolve_ib_route(struct rdma_id_private *id_priv, int timeout_ms) in cma_resolve_ib_route() argument
1818 ret = cma_query_ib_route(id_priv, timeout_ms, work); in cma_resolve_ib_route()
1857 static int cma_resolve_iw_route(struct rdma_id_private *id_priv, int timeout_ms) in cma_resolve_iw_route() argument
1967 int rdma_resolve_route(struct rdma_cm_id *id, int timeout_ms) in rdma_resolve_route() argument
1981 ret = cma_resolve_ib_route(id_priv, timeout_ms); in rdma_resolve_route()
1991 ret = cma_resolve_iw_route(id_priv, timeout_ms); in rdma_resolve_route()
2199 struct sockaddr *dst_addr, int timeout_ms) in rdma_resolve_addr() argument
[all …]
/drivers/net/wireless/ti/wl1251/
Devent.c168 int wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms) in wl1251_event_wait() argument
173 timeout = jiffies + msecs_to_jiffies(timeout_ms); in wl1251_event_wait()
Devent.h125 int wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms);
/drivers/staging/rtl8188eu/include/
Drtw_xmit.h177 u32 timeout_ms; /* <0: not synchronous, 0: wait forever, >0: up to ms waiting */ member
197 void rtw_sctx_init(struct submit_ctx *sctx, int timeout_ms);
373 int rtw_ack_tx_wait(struct xmit_priv *pxmitpriv, u32 timeout_ms);
/drivers/staging/rtl8723au/include/
Drtw_xmit.h174 u32 timeout_ms; /* <0: not synchronous, 0: wait forever, member
196 void rtw_sctx_init23a(struct submit_ctx *sctx, int timeout_ms);
393 int rtw_ack_tx_wait23a(struct xmit_priv *pxmitpriv, u32 timeout_ms);
/drivers/spi/
Dspi-bcm53xx.c41 static int bcm53xxspi_wait(struct bcm53xxspi *b53spi, unsigned int timeout_ms) in bcm53xxspi_wait() argument
59 deadline = jiffies + timeout_ms * HZ / 1000; in bcm53xxspi_wait()
/drivers/scsi/be2iscsi/
Dbe_iscsi.h84 int beiscsi_ep_poll(struct iscsi_endpoint *ep, int timeout_ms);
/drivers/staging/lustre/include/linux/lnet/
Dapi.h178 int timeout_ms,
/drivers/block/
Dps3vram.c124 unsigned int timeout_ms) in ps3vram_notifier_wait() argument
136 timeout = jiffies + msecs_to_jiffies(timeout_ms); in ps3vram_notifier_wait()
156 unsigned int timeout_ms) in ps3vram_wait_ring() argument
159 unsigned long timeout = jiffies + msecs_to_jiffies(timeout_ms); in ps3vram_wait_ring()
/drivers/staging/rtl8723au/core/
Drtw_xmit.c2360 void rtw_sctx_init23a(struct submit_ctx *sctx, int timeout_ms) in rtw_sctx_init23a() argument
2362 sctx->timeout_ms = timeout_ms; in rtw_sctx_init23a()
2373 expire = sctx->timeout_ms ? msecs_to_jiffies(sctx->timeout_ms) : in rtw_sctx_wait23a()
2419 int rtw_ack_tx_wait23a(struct xmit_priv *pxmitpriv, u32 timeout_ms) in rtw_ack_tx_wait23a() argument
2423 pack_tx_ops->timeout_ms = timeout_ms; in rtw_ack_tx_wait23a()
/drivers/staging/rtl8188eu/core/
Drtw_xmit.c2140 void rtw_sctx_init(struct submit_ctx *sctx, int timeout_ms) in rtw_sctx_init() argument
2142 sctx->timeout_ms = timeout_ms; in rtw_sctx_init()
2154 expire = sctx->timeout_ms ? msecs_to_jiffies(sctx->timeout_ms) : MAX_SCHEDULE_TIMEOUT; in rtw_sctx_wait()
2200 int rtw_ack_tx_wait(struct xmit_priv *pxmitpriv, u32 timeout_ms) in rtw_ack_tx_wait() argument
2205 pack_tx_ops->timeout_ms = timeout_ms; in rtw_ack_tx_wait()
/drivers/md/
Ddm-android-verity.c730 const unsigned int timeout_ms = DM_VERITY_WAIT_DEV_TIMEOUT_MS; in android_verity_ctr() local
738 if (wait_time_ms > timeout_ms) { in android_verity_ctr()
739 DMERR("android_verity_ctr: retry timeout(%dms)\n", timeout_ms); in android_verity_ctr()
/drivers/usb/chipidea/
Dci.h358 u32 value, unsigned int timeout_ms);

12