/drivers/media/platform/mtk-vcodec/ |
D | mtk_vcodec_intr.c | 23 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()
|
D | mtk_vcodec_intr.h | 24 unsigned int timeout_ms);
|
/drivers/staging/lustre/lnet/lnet/ |
D | lib-eq.c | 310 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()
|
D | api-ni.c | 61 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/ |
D | mmc_ops.c | 473 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()
|
D | mmc_ops.h | 32 unsigned int timeout_ms, bool use_busy_signal, bool send_status,
|
/drivers/iio/magnetometer/ |
D | ak8975.c | 584 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/ |
D | sa_query.c | 1239 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 …]
|
D | sa.h | 56 int timeout_ms, gfp_t gfp_mask,
|
D | mad_priv.h | 223 int timeout_ms);
|
D | mad_rmpp.c | 599 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()
|
D | cm.c | 235 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()
|
D | mad.c | 1229 (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/ |
D | event.c | 172 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()
|
D | event.h | 125 int wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms);
|
/drivers/staging/rtl8188eu/include/ |
D | rtw_xmit.h | 171 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/ |
D | vibrator.c | 44 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/ |
D | spi-bcm53xx.c | 88 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/ |
D | be_iscsi.h | 79 int beiscsi_ep_poll(struct iscsi_endpoint *ep, int timeout_ms);
|
/drivers/staging/lustre/include/linux/lnet/ |
D | api.h | 171 int timeout_ms,
|
/drivers/gpu/drm/i915/ |
D | i915_gem_shrinker.c | 321 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/ |
D | ps3vram.c | 124 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/ |
D | rtw_xmit.c | 2069 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/ |
D | watchdog_dev.c | 109 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/ |
D | etnaviv_gpu.h | 219 int etnaviv_gpu_wait_idle(struct etnaviv_gpu *gpu, unsigned int timeout_ms);
|