Home
last modified time | relevance | path

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

12

/drivers/staging/lustre/lnet/lnet/
Dlib-eq.c322 lnet_eq_wait_locked(int *timeout_ms) in lnet_eq_wait_locked() argument
325 int tms = *timeout_ms; in lnet_eq_wait_locked()
351 *timeout_ms = tms; in lnet_eq_wait_locked()
386 LNetEQPoll(lnet_handle_eq_t *eventqs, int neq, int timeout_ms, in LNetEQPoll() argument
428 wait = lnet_eq_wait_locked(&timeout_ms); in LNetEQPoll()
Dapi-ni.c1653 int timeout_ms = 1000; in lnet_ping_target_fini() local
1661 timeout_ms, &event, &which); in lnet_ping_target_fini()
1669 timeout_ms *= 2; in lnet_ping_target_fini()
1685 lnet_ping(lnet_process_id_t id, int timeout_ms, lnet_process_id_t *ids, int n_ids) in lnet_ping() argument
1706 timeout_ms > 500000 || /* arbitrary limit! */ in lnet_ping()
1751 timeout_ms = a_long_time; in lnet_ping()
1759 rc2 = LNetEQPoll(&eqh, 1, timeout_ms, &event, &which); in lnet_ping()
1783 timeout_ms = a_long_time; in lnet_ping()
/drivers/mmc/core/
Dmmc_ops.c483 unsigned int timeout_ms, bool use_busy_signal, bool send_status, in __mmc_switch() argument
501 if (timeout_ms && host->max_busy_timeout && in __mmc_switch()
502 (timeout_ms > host->max_busy_timeout)) in __mmc_switch()
517 cmd.busy_timeout = timeout_ms; in __mmc_switch()
541 if (!timeout_ms) in __mmc_switch()
542 timeout_ms = MMC_OPS_TIMEOUT_MS; in __mmc_switch()
545 timeout = jiffies + msecs_to_jiffies(timeout_ms) + 1; in __mmc_switch()
563 mmc_delay(timeout_ms); in __mmc_switch()
584 unsigned int timeout_ms) in mmc_switch() argument
586 return __mmc_switch(card, set, index, value, timeout_ms, true, true, in mmc_switch()
Dmmc_ops.h32 unsigned int timeout_ms, bool use_busy_signal, bool send_status,
/drivers/iio/magnetometer/
Dak8975.c540 u32 timeout_ms = AK8975_MAX_CONVERSION_TIMEOUT; in wait_conversion_complete_gpio() local
544 while (timeout_ms) { in wait_conversion_complete_gpio()
548 timeout_ms -= AK8975_CONVERSION_DONE_POLL_TIME; in wait_conversion_complete_gpio()
550 if (!timeout_ms) { in wait_conversion_complete_gpio()
566 u32 timeout_ms = AK8975_MAX_CONVERSION_TIMEOUT; in wait_conversion_complete_polled() local
570 while (timeout_ms) { in wait_conversion_complete_polled()
581 timeout_ms -= AK8975_CONVERSION_DONE_POLL_TIME; in wait_conversion_complete_polled()
583 if (!timeout_ms) { in wait_conversion_complete_polled()
/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/infiniband/core/
Dsa_query.c1089 static int send_mad(struct ib_sa_query *query, int timeout_ms, gfp_t gfp_mask) in send_mad() argument
1107 query->mad_buf->timeout_ms = timeout_ms; in send_mad()
1200 int timeout_ms, gfp_t gfp_mask, in ib_sa_path_rec_get() argument
1250 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_path_rec_get()
1320 int timeout_ms, gfp_t gfp_mask, in ib_sa_service_rec_query() argument
1373 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_service_rec_query()
1417 int timeout_ms, gfp_t gfp_mask, in ib_sa_mcmember_rec_query() argument
1465 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_mcmember_rec_query()
1508 int timeout_ms, gfp_t gfp_mask, in ib_sa_guid_info_rec_query() argument
1563 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_priv.h223 int timeout_ms);
Dmad_rmpp.c599 timeout = mad_send_wr->send_buf.timeout_ms; in send_next_seg()
716 if (!mad_send_wr->send_buf.timeout_ms) { in process_rmpp_ack()
730 mad_send_wr->send_buf.timeout_ms); in process_rmpp_ack()
931 msecs_to_jiffies(mad_send_wr->send_buf.timeout_ms); in ib_process_rmpp_send_wc()
Dcm.c235 int timeout_ms; member
1271 cm_id_priv->timeout_ms = cm_convert_to_ms( in ib_send_cm_req()
1290 cm_id_priv->msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_req()
1730 cm_id_priv->timeout_ms = cm_convert_to_ms( in cm_req_handler()
1813 msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_rep()
2168 msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_dreq()
2790 msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_lap()
3088 cm_id_priv->timeout_ms = param->timeout_ms; in ib_send_cm_sidr_req()
3096 msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_sidr_req()
Dmad.c1228 (send_buf->timeout_ms && in ib_post_send_mad()
1261 mad_send_wr->timeout = msecs_to_jiffies(send_buf->timeout_ms); in ib_post_send_mad()
2360 int timeout_ms) in ib_reset_mad_timeout() argument
2362 mad_send_wr->timeout = msecs_to_jiffies(timeout_ms); in ib_reset_mad_timeout()
2642 struct ib_mad_send_buf *send_buf, u32 timeout_ms) in ib_modify_mad() argument
2659 if (!timeout_ms) { in ib_modify_mad()
2664 mad_send_wr->send_buf.timeout_ms = timeout_ms; in ib_modify_mad()
2666 mad_send_wr->timeout = msecs_to_jiffies(timeout_ms); in ib_modify_mad()
2668 ib_reset_mad_timeout(mad_send_wr, timeout_ms); in ib_modify_mad()
2787 mad_send_wr->timeout = msecs_to_jiffies(mad_send_wr->send_buf.timeout_ms); in retry_send()
Daddr.c388 struct rdma_dev_addr *addr, int timeout_ms, in rdma_resolve_ip() argument
429 req->timeout = msecs_to_jiffies(timeout_ms) + jiffies; in rdma_resolve_ip()
/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);
380 int rtw_ack_tx_wait23a(struct xmit_priv *pxmitpriv, u32 timeout_ms);
Drtw_mlme_ext.h554 struct xmit_frame *pmgntframe, int timeout_ms);
558 void issue_beacon23a(struct rtw_adapter *padapter, int 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 + msecs_to_jiffies(timeout_ms); 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.h172 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/rtl8188eu/core/
Drtw_xmit.c2134 void rtw_sctx_init(struct submit_ctx *sctx, int timeout_ms) in rtw_sctx_init() argument
2136 sctx->timeout_ms = timeout_ms; in rtw_sctx_init()
2148 expire = sctx->timeout_ms ? msecs_to_jiffies(sctx->timeout_ms) : MAX_SCHEDULE_TIMEOUT; in rtw_sctx_wait()
2194 int rtw_ack_tx_wait(struct xmit_priv *pxmitpriv, u32 timeout_ms) in rtw_ack_tx_wait() argument
2199 pack_tx_ops->timeout_ms = timeout_ms; in rtw_ack_tx_wait()
/drivers/staging/rtl8723au/core/
Drtw_xmit.c2314 void rtw_sctx_init23a(struct submit_ctx *sctx, int timeout_ms) in rtw_sctx_init23a() argument
2316 sctx->timeout_ms = timeout_ms; in rtw_sctx_init23a()
2327 expire = sctx->timeout_ms ? msecs_to_jiffies(sctx->timeout_ms) : in rtw_sctx_wait23a()
2368 int rtw_ack_tx_wait23a(struct xmit_priv *pxmitpriv, u32 timeout_ms) in rtw_ack_tx_wait23a() argument
2372 pack_tx_ops->timeout_ms = timeout_ms; in rtw_ack_tx_wait23a()
/drivers/scsi/isci/
Dtask.c258 struct isci_tmf *tmf, unsigned long timeout_ms) in isci_task_execute_tmf() argument
320 msecs_to_jiffies(timeout_ms)); in isci_task_execute_tmf()
/drivers/mtd/nand/
Dsunxi_nand.c302 unsigned int timeout_ms) in sunxi_nfc_wait_int() argument
308 if (!timeout_ms) in sunxi_nfc_wait_int()
309 timeout_ms = NFC_DEFAULT_TIMEOUT_MS; in sunxi_nfc_wait_int()
312 msecs_to_jiffies(timeout_ms))) { in sunxi_nfc_wait_int()

12