Home
last modified time | relevance | path

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

12

/drivers/iio/magnetometer/
Dak8975.c223 u32 timeout_ms = AK8975_MAX_CONVERSION_TIMEOUT; in wait_conversion_complete_gpio() local
227 while (timeout_ms) { in wait_conversion_complete_gpio()
231 timeout_ms -= AK8975_CONVERSION_DONE_POLL_TIME; in wait_conversion_complete_gpio()
233 if (!timeout_ms) { in wait_conversion_complete_gpio()
249 u32 timeout_ms = AK8975_MAX_CONVERSION_TIMEOUT; in wait_conversion_complete_polled() local
253 while (timeout_ms) { in wait_conversion_complete_polled()
263 timeout_ms -= AK8975_CONVERSION_DONE_POLL_TIME; in wait_conversion_complete_polled()
265 if (!timeout_ms) { in wait_conversion_complete_polled()
/drivers/infiniband/core/
Dsa_query.c612 static int send_mad(struct ib_sa_query *query, int timeout_ms, gfp_t gfp_mask) in send_mad() argument
630 query->mad_buf->timeout_ms = timeout_ms; in send_mad()
706 int timeout_ms, gfp_t gfp_mask, in ib_sa_path_rec_get() argument
753 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_path_rec_get()
823 int timeout_ms, gfp_t gfp_mask, in ib_sa_service_rec_query() argument
876 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_service_rec_query()
920 int timeout_ms, gfp_t gfp_mask, in ib_sa_mcmember_rec_query() argument
968 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_mcmember_rec_query()
1011 int timeout_ms, gfp_t gfp_mask, in ib_sa_guid_info_rec_query() argument
1066 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.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()
2059 int timeout_ms) in ib_reset_mad_timeout() argument
2061 mad_send_wr->timeout = msecs_to_jiffies(timeout_ms); in ib_reset_mad_timeout()
2338 struct ib_mad_send_buf *send_buf, u32 timeout_ms) in ib_modify_mad() argument
2355 if (!timeout_ms) { in ib_modify_mad()
2360 mad_send_wr->send_buf.timeout_ms = timeout_ms; in ib_modify_mad()
2362 mad_send_wr->timeout = msecs_to_jiffies(timeout_ms); in ib_modify_mad()
2364 ib_reset_mad_timeout(mad_send_wr, timeout_ms); in ib_modify_mad()
2468 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.c350 struct rdma_dev_addr *addr, int timeout_ms, in rdma_resolve_ip() argument
391 req->timeout = msecs_to_jiffies(timeout_ms) + jiffies; in rdma_resolve_ip()
Dmad_priv.h228 int timeout_ms);
Dcm.c227 int timeout_ms; member
1146 cm_id_priv->timeout_ms = cm_convert_to_ms( in ib_send_cm_req()
1165 cm_id_priv->msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_req()
1579 cm_id_priv->timeout_ms = cm_convert_to_ms( in cm_req_handler()
1662 msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_rep()
2017 msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_dreq()
2638 msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_lap()
2935 cm_id_priv->timeout_ms = param->timeout_ms; in ib_send_cm_sidr_req()
2943 msg->timeout_ms = cm_id_priv->timeout_ms; in ib_send_cm_sidr_req()
Dcma.c132 int timeout_ms; member
1634 static int cma_query_ib_route(struct rdma_id_private *id_priv, int timeout_ms, in cma_query_ib_route() argument
1666 comp_mask, timeout_ms, in cma_query_ib_route()
1719 static int cma_resolve_ib_route(struct rdma_id_private *id_priv, int timeout_ms) in cma_resolve_ib_route() argument
1741 ret = cma_query_ib_route(id_priv, timeout_ms, work); in cma_resolve_ib_route()
1780 static int cma_resolve_iw_route(struct rdma_id_private *id_priv, int timeout_ms) in cma_resolve_iw_route() argument
1875 int rdma_resolve_route(struct rdma_cm_id *id, int timeout_ms) in rdma_resolve_route() argument
1889 ret = cma_resolve_ib_route(id_priv, timeout_ms); in rdma_resolve_route()
1899 ret = cma_resolve_iw_route(id_priv, timeout_ms); in rdma_resolve_route()
2058 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.c549 cmd.timeout_ms); in ucma_resolve_addr()
569 ret = rdma_resolve_route(ctx->cm_id, cmd.timeout_ms); in ucma_resolve_route()
Ducm.c1019 param.timeout_ms = cmd.timeout; in ib_ucm_send_sidr_req()
/drivers/net/wireless/ti/wl1251/
Devent.c123 int wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms) in wl1251_event_wait() argument
128 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/mmc/core/
Dmmc_ops.c411 unsigned int timeout_ms, bool use_busy_signal) in __mmc_switch() argument
433 cmd.cmd_timeout_ms = timeout_ms; in __mmc_switch()
478 unsigned int timeout_ms) in mmc_switch() argument
480 return __mmc_switch(card, set, index, value, timeout_ms, true); in mmc_switch()
/drivers/scsi/be2iscsi/
Dbe_iscsi.h84 int beiscsi_ep_poll(struct iscsi_endpoint *ep, int timeout_ms);
Dbe_iscsi.c1175 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()
Dnvme-core.c1429 timeout = cmd.timeout_ms ? msecs_to_jiffies(cmd.timeout_ms) : in nvme_user_admin_cmd()
/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/scsi/isci/
Dtask.c265 struct isci_tmf *tmf, unsigned long timeout_ms) in isci_task_execute_tmf() argument
327 msecs_to_jiffies(timeout_ms)); in isci_task_execute_tmf()
/drivers/mfd/
Dtwl4030-madc.c479 unsigned int timeout_ms, in twl4030_madc_wait_conversion_ready() argument
485 timeout = jiffies + msecs_to_jiffies(timeout_ms); in twl4030_madc_wait_conversion_ready()
/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c1939 static int bnx2i_ep_poll(struct iscsi_endpoint *ep, int timeout_ms) in bnx2i_ep_poll() argument
1959 msecs_to_jiffies(timeout_ms)); in bnx2i_ep_poll()
/drivers/scsi/cxgbi/
Dlibcxgbi.c2505 int cxgbi_ep_poll(struct iscsi_endpoint *ep, int timeout_ms) in cxgbi_ep_poll() argument
/drivers/scsi/qla4xxx/
Dql4_os.c124 static int qla4xxx_ep_poll(struct iscsi_endpoint *ep, int timeout_ms);
815 static int qla4xxx_ep_poll(struct iscsi_endpoint *ep, int timeout_ms) in qla4xxx_ep_poll() argument

12