Home
last modified time | relevance | path

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

123

/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_intr.c23 unsigned int timeout_ms) in mtk_vcodec_wait_for_done_ctx() argument
30 timeout_jiff = msecs_to_jiffies(timeout_ms); in mtk_vcodec_wait_for_done_ctx()
40 ctx->id, ctx->type, command, timeout_ms, in mtk_vcodec_wait_for_done_ctx()
Dmtk_vcodec_intr.h24 unsigned int timeout_ms);
/drivers/staging/lustre/lnet/lnet/
Dlib-eq.c310 lnet_eq_wait_locked(int *timeout_ms) in lnet_eq_wait_locked() argument
313 int tms = *timeout_ms; in lnet_eq_wait_locked()
338 *timeout_ms = tms; in lnet_eq_wait_locked()
373 LNetEQPoll(lnet_handle_eq_t *eventqs, int neq, int timeout_ms, in LNetEQPoll() argument
414 wait = lnet_eq_wait_locked(&timeout_ms); in LNetEQPoll()
Dapi-ni.c61 static int lnet_ping(lnet_process_id_t id, int timeout_ms,
2138 static int lnet_ping(lnet_process_id_t id, int timeout_ms, in lnet_ping() argument
2162 timeout_ms > 500000 || /* arbitrary limit! */ in lnet_ping()
2207 timeout_ms = a_long_time; in lnet_ping()
2215 rc2 = LNetEQPoll(&eqh, 1, timeout_ms, &event, &which); in lnet_ping()
2239 timeout_ms = a_long_time; in lnet_ping()
/drivers/mmc/core/
Dmmc_ops.c473 unsigned int timeout_ms, bool use_busy_signal, bool send_status, in __mmc_switch() argument
493 if (timeout_ms && host->max_busy_timeout && in __mmc_switch()
494 (timeout_ms > host->max_busy_timeout)) in __mmc_switch()
509 cmd.busy_timeout = timeout_ms; in __mmc_switch()
533 if (!timeout_ms) in __mmc_switch()
534 timeout_ms = MMC_OPS_TIMEOUT_MS; in __mmc_switch()
537 timeout = jiffies + msecs_to_jiffies(timeout_ms) + 1; in __mmc_switch()
566 mmc_delay(timeout_ms); in __mmc_switch()
588 unsigned int timeout_ms) in mmc_switch() argument
590 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.c584 u32 timeout_ms = AK8975_MAX_CONVERSION_TIMEOUT; in wait_conversion_complete_gpio() local
588 while (timeout_ms) { in wait_conversion_complete_gpio()
592 timeout_ms -= AK8975_CONVERSION_DONE_POLL_TIME; in wait_conversion_complete_gpio()
594 if (!timeout_ms) { in wait_conversion_complete_gpio()
610 u32 timeout_ms = AK8975_MAX_CONVERSION_TIMEOUT; in wait_conversion_complete_polled() local
614 while (timeout_ms) { in wait_conversion_complete_polled()
625 timeout_ms -= AK8975_CONVERSION_DONE_POLL_TIME; in wait_conversion_complete_polled()
627 if (!timeout_ms) { in wait_conversion_complete_polled()
/drivers/infiniband/core/
Dsa_query.c1239 static int send_mad(struct ib_sa_query *query, int timeout_ms, gfp_t gfp_mask) in send_mad() argument
1257 query->mad_buf->timeout_ms = timeout_ms; in send_mad()
1351 int timeout_ms, gfp_t gfp_mask, in ib_sa_path_rec_get() argument
1401 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_path_rec_get()
1471 int timeout_ms, gfp_t gfp_mask, in ib_sa_service_rec_query() argument
1524 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_service_rec_query()
1568 int timeout_ms, gfp_t gfp_mask, in ib_sa_mcmember_rec_query() argument
1616 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_mcmember_rec_query()
1659 int timeout_ms, gfp_t gfp_mask, in ib_sa_guid_info_rec_query() argument
1714 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_guid_info_rec_query()
[all …]
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
1269 cm_id_priv->timeout_ms = cm_convert_to_ms( in ib_send_cm_req()
1288 cm_id_priv->msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_req()
1749 cm_id_priv->timeout_ms = cm_convert_to_ms( in cm_req_handler()
1832 msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_rep()
2187 msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_dreq()
2809 msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_lap()
3107 cm_id_priv->timeout_ms = param->timeout_ms; in ib_send_cm_sidr_req()
3115 msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_sidr_req()
Dmad.c1229 (send_buf->timeout_ms && in ib_post_send_mad()
1262 mad_send_wr->timeout = msecs_to_jiffies(send_buf->timeout_ms); in ib_post_send_mad()
2370 int timeout_ms) in ib_reset_mad_timeout() argument
2372 mad_send_wr->timeout = msecs_to_jiffies(timeout_ms); in ib_reset_mad_timeout()
2622 struct ib_mad_send_buf *send_buf, u32 timeout_ms) in ib_modify_mad() argument
2639 if (!timeout_ms) { in ib_modify_mad()
2644 mad_send_wr->send_buf.timeout_ms = timeout_ms; in ib_modify_mad()
2646 mad_send_wr->timeout = msecs_to_jiffies(timeout_ms); in ib_modify_mad()
2648 ib_reset_mad_timeout(mad_send_wr, timeout_ms); in ib_modify_mad()
2768 mad_send_wr->timeout = msecs_to_jiffies(mad_send_wr->send_buf.timeout_ms); in retry_send()
/drivers/net/wireless/ti/wl1251/
Devent.c172 int wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms) in wl1251_event_wait() argument
177 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.h171 u32 timeout_ms; /* <0: not synchronous, 0: wait forever, >0: up to ms waiting */ member
191 void rtw_sctx_init(struct submit_ctx *sctx, int timeout_ms);
358 int rtw_ack_tx_wait(struct xmit_priv *pxmitpriv, u32 timeout_ms);
/drivers/staging/greybus/
Dvibrator.c44 static int turn_on(struct gb_vibrator_device *vib, u16 timeout_ms) in turn_on() argument
64 schedule_delayed_work(&vib->delayed_work, msecs_to_jiffies(timeout_ms)); in turn_on()
/drivers/spi/
Dspi-bcm53xx.c88 static int bcm53xxspi_wait(struct bcm53xxspi *b53spi, unsigned int timeout_ms) in bcm53xxspi_wait() argument
106 deadline = jiffies + msecs_to_jiffies(timeout_ms); in bcm53xxspi_wait()
/drivers/scsi/be2iscsi/
Dbe_iscsi.h79 int beiscsi_ep_poll(struct iscsi_endpoint *ep, int timeout_ms);
/drivers/staging/lustre/include/linux/lnet/
Dapi.h171 int timeout_ms,
/drivers/gpu/drm/i915/
Di915_gem_shrinker.c321 int timeout_ms) in i915_gem_shrinker_lock_uninterruptible() argument
323 unsigned long timeout = jiffies + msecs_to_jiffies_timeout(timeout_ms); in i915_gem_shrinker_lock_uninterruptible()
/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.c2069 void rtw_sctx_init(struct submit_ctx *sctx, int timeout_ms) in rtw_sctx_init() argument
2071 sctx->timeout_ms = timeout_ms; in rtw_sctx_init()
2083 expire = sctx->timeout_ms ? msecs_to_jiffies(sctx->timeout_ms) : MAX_SCHEDULE_TIMEOUT; in rtw_sctx_wait()
2124 int rtw_ack_tx_wait(struct xmit_priv *pxmitpriv, u32 timeout_ms) in rtw_ack_tx_wait() argument
2129 pack_tx_ops->timeout_ms = timeout_ms; in rtw_ack_tx_wait()
/drivers/watchdog/
Dwatchdog_dev.c109 unsigned int timeout_ms = wdd->timeout * 1000; in watchdog_next_keepalive() local
115 virt_timeout = wd_data->last_keepalive + msecs_to_jiffies(timeout_ms); in watchdog_next_keepalive()
116 hw_heartbeat_ms = min_not_zero(timeout_ms, wdd->max_hw_heartbeat_ms); in watchdog_next_keepalive()
/drivers/gpu/drm/etnaviv/
Detnaviv_gpu.h219 int etnaviv_gpu_wait_idle(struct etnaviv_gpu *gpu, unsigned int timeout_ms);

123