Home
last modified time | relevance | path

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

/drivers/staging/iio/magnetometer/
Dak8975.c297 u32 timeout_ms = AK8975_MAX_CONVERSION_TIMEOUT; in wait_conversion_complete_gpio() local
301 while (timeout_ms) { in wait_conversion_complete_gpio()
305 timeout_ms -= AK8975_CONVERSION_DONE_POLL_TIME; in wait_conversion_complete_gpio()
307 if (!timeout_ms) { in wait_conversion_complete_gpio()
324 u32 timeout_ms = AK8975_MAX_CONVERSION_TIMEOUT; in wait_conversion_complete_polled() local
328 while (timeout_ms) { in wait_conversion_complete_polled()
337 timeout_ms -= AK8975_CONVERSION_DONE_POLL_TIME; in wait_conversion_complete_polled()
339 if (!timeout_ms) { in wait_conversion_complete_polled()
/drivers/infiniband/core/
Dsa_query.c578 static int send_mad(struct ib_sa_query *query, int timeout_ms, gfp_t gfp_mask) in send_mad() argument
594 query->mad_buf->timeout_ms = timeout_ms; in send_mad()
670 int timeout_ms, gfp_t gfp_mask, in ib_sa_path_rec_get() argument
717 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_path_rec_get()
787 int timeout_ms, gfp_t gfp_mask, in ib_sa_service_rec_query() argument
840 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_service_rec_query()
884 int timeout_ms, gfp_t gfp_mask, in ib_sa_mcmember_rec_query() argument
932 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_mcmember_rec_query()
Dsa.h56 int timeout_ms, gfp_t gfp_mask,
Dmad.c1081 (send_buf->timeout_ms && in ib_post_send_mad()
1114 mad_send_wr->timeout = msecs_to_jiffies(send_buf->timeout_ms); in ib_post_send_mad()
2063 int timeout_ms) in ib_reset_mad_timeout() argument
2065 mad_send_wr->timeout = msecs_to_jiffies(timeout_ms); in ib_reset_mad_timeout()
2342 struct ib_mad_send_buf *send_buf, u32 timeout_ms) in ib_modify_mad() argument
2359 if (!timeout_ms) { in ib_modify_mad()
2364 mad_send_wr->send_buf.timeout_ms = timeout_ms; in ib_modify_mad()
2366 mad_send_wr->timeout = msecs_to_jiffies(timeout_ms); in ib_modify_mad()
2368 ib_reset_mad_timeout(mad_send_wr, timeout_ms); in ib_modify_mad()
2472 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()
Daddr.c352 struct rdma_dev_addr *addr, int timeout_ms, in rdma_resolve_ip() argument
393 req->timeout = msecs_to_jiffies(timeout_ms) + jiffies; in rdma_resolve_ip()
Dcm.c227 int timeout_ms; member
1145 cm_id_priv->timeout_ms = cm_convert_to_ms( in ib_send_cm_req()
1164 cm_id_priv->msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_req()
1578 cm_id_priv->timeout_ms = cm_convert_to_ms( in cm_req_handler()
1661 msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_rep()
2016 msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_dreq()
2637 msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_lap()
2934 cm_id_priv->timeout_ms = param->timeout_ms; in ib_send_cm_sidr_req()
2942 msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_sidr_req()
Dmad_priv.h228 int timeout_ms);
Dcma.c127 int timeout_ms; member
1621 static int cma_query_ib_route(struct rdma_id_private *id_priv, int timeout_ms, in cma_query_ib_route() argument
1653 comp_mask, timeout_ms, in cma_query_ib_route()
1706 static int cma_resolve_ib_route(struct rdma_id_private *id_priv, int timeout_ms) in cma_resolve_ib_route() argument
1728 ret = cma_query_ib_route(id_priv, timeout_ms, work); in cma_resolve_ib_route()
1767 static int cma_resolve_iw_route(struct rdma_id_private *id_priv, int timeout_ms) in cma_resolve_iw_route() argument
1859 int rdma_resolve_route(struct rdma_cm_id *id, int timeout_ms) in rdma_resolve_route() argument
1873 ret = cma_resolve_ib_route(id_priv, timeout_ms); in rdma_resolve_route()
1883 ret = cma_resolve_iw_route(id_priv, timeout_ms); in rdma_resolve_route()
2042 struct sockaddr *dst_addr, int timeout_ms) in rdma_resolve_addr() argument
[all …]
Duser_mad.c523 packet->msg->timeout_ms = packet->mad.hdr.timeout_ms; in ib_umad_write()
Ducma.c572 cmd.timeout_ms); in ucma_resolve_addr()
592 ret = rdma_resolve_route(ctx->cm_id, cmd.timeout_ms); in ucma_resolve_route()
Ducm.c1028 param.timeout_ms = cmd.timeout; in ib_ucm_send_sidr_req()
/drivers/net/wireless/wl1251/
Devent.c120 int wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms) in wl1251_event_wait() argument
125 timeout = jiffies + msecs_to_jiffies(timeout_ms); in wl1251_event_wait()
Devent.h118 int wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms);
/drivers/scsi/be2iscsi/
Dbe_iscsi.h69 int beiscsi_ep_poll(struct iscsi_endpoint *ep, int timeout_ms);
Dbe_iscsi.c635 int beiscsi_ep_poll(struct iscsi_endpoint *ep, int timeout_ms) in beiscsi_ep_poll() argument
/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/mmc/core/
Dmmc_ops.c381 unsigned int timeout_ms) in mmc_switch() argument
396 cmd.cmd_timeout_ms = timeout_ms; in mmc_switch()
/drivers/infiniband/ulp/iser/
Discsi_iser.c584 iscsi_iser_ep_poll(struct iscsi_endpoint *ep, int timeout_ms) in iscsi_iser_ep_poll() argument
592 msecs_to_jiffies(timeout_ms)); in iscsi_iser_ep_poll()
/drivers/mfd/
Dtwl4030-madc.c473 unsigned int timeout_ms, in twl4030_madc_wait_conversion_ready() argument
479 timeout = jiffies + msecs_to_jiffies(timeout_ms); in twl4030_madc_wait_conversion_ready()
/drivers/scsi/isci/
Dtask.c348 struct isci_tmf *tmf, unsigned long timeout_ms) in isci_task_execute_tmf() argument
416 msecs_to_jiffies(timeout_ms)); in isci_task_execute_tmf()
/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c1928 static int bnx2i_ep_poll(struct iscsi_endpoint *ep, int timeout_ms) in bnx2i_ep_poll() argument
1948 msecs_to_jiffies(timeout_ms)); in bnx2i_ep_poll()
/drivers/scsi/qla4xxx/
Dql4_os.c101 static int qla4xxx_ep_poll(struct iscsi_endpoint *ep, int timeout_ms);
700 static int qla4xxx_ep_poll(struct iscsi_endpoint *ep, int timeout_ms) in qla4xxx_ep_poll() argument
/drivers/scsi/cxgbi/
Dlibcxgbi.c2501 int cxgbi_ep_poll(struct iscsi_endpoint *ep, int timeout_ms) in cxgbi_ep_poll() argument
/drivers/scsi/
Dscsi_transport_iscsi.c1871 ev->u.ep_poll.timeout_ms); in iscsi_if_transport_ep()