Home
last modified time | relevance | path

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

1234

/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_intr.c15 unsigned int timeout_ms) in mtk_vcodec_wait_for_done_ctx() argument
22 timeout_jiff = msecs_to_jiffies(timeout_ms); in mtk_vcodec_wait_for_done_ctx()
31 ctx->id, ctx->type, command, timeout_ms, in mtk_vcodec_wait_for_done_ctx()
Dmtk_vcodec_intr.h16 unsigned int timeout_ms);
/drivers/mmc/core/
Dmmc_ops.c451 static int mmc_poll_for_busy(struct mmc_card *card, unsigned int timeout_ms, in mmc_poll_for_busy() argument
462 if (!timeout_ms) in mmc_poll_for_busy()
463 timeout_ms = MMC_OPS_TIMEOUT_MS; in mmc_poll_for_busy()
471 mmc_delay(timeout_ms); in mmc_poll_for_busy()
475 timeout = jiffies + msecs_to_jiffies(timeout_ms) + 1; in mmc_poll_for_busy()
526 unsigned int timeout_ms, unsigned char timing, in __mmc_switch() argument
543 if (timeout_ms && host->max_busy_timeout && in __mmc_switch()
544 (timeout_ms > host->max_busy_timeout)) in __mmc_switch()
559 cmd.busy_timeout = timeout_ms; in __mmc_switch()
581 err = mmc_poll_for_busy(card, timeout_ms, send_status, retry_crc_err); in __mmc_switch()
[all …]
Dmmc_ops.h35 unsigned int timeout_ms, unsigned char timing,
38 unsigned int timeout_ms);
Dmmc.c1810 unsigned int timeout_ms = MIN_CACHE_EN_TIMEOUT_MS; in mmc_init_card() local
1812 timeout_ms = max(card->ext_csd.generic_cmd6_time, timeout_ms); in mmc_init_card()
1814 EXT_CSD_CACHE_CTRL, 1, timeout_ms); in mmc_init_card()
1896 unsigned int timeout_ms = DIV_ROUND_UP(card->ext_csd.sa_timeout, 10000); in mmc_sleep() local
1916 if (host->max_busy_timeout && (timeout_ms > host->max_busy_timeout)) { in mmc_sleep()
1920 cmd.busy_timeout = timeout_ms; in mmc_sleep()
1934 mmc_delay(timeout_ms); in mmc_sleep()
/drivers/scsi/
Dscsi_debugfs.c38 int timeout_ms = jiffies_to_msecs(rq->timeout); in scsi_show_rq() local
49 timeout_ms / 1000, timeout_ms % 1000, in scsi_show_rq()
/drivers/soc/mediatek/
Dmtk-cmdq-helper.c33 client->timeout_ms = timeout; in cmdq_mbox_create()
59 if (client->timeout_ms != CMDQ_NO_TIMEOUT) { in cmdq_mbox_destroy()
213 if (client->timeout_ms != CMDQ_NO_TIMEOUT) { in cmdq_pkt_flush_async_cb()
221 msecs_to_jiffies(client->timeout_ms)); in cmdq_pkt_flush_async_cb()
252 if (client->timeout_ms != CMDQ_NO_TIMEOUT) { in cmdq_pkt_flush_async()
256 msecs_to_jiffies(client->timeout_ms)); in cmdq_pkt_flush_async()
/drivers/gpu/drm/i915/selftests/
Di915_selftest.c32 .timeout_ms = 1000,
120 i915_selftest.timeout_ms ? in __run_selftests()
121 msecs_to_jiffies_timeout(i915_selftest.timeout_ms) : in __run_selftests()
127 name, i915_selftest.random_seed, i915_selftest.timeout_ms); in __run_selftests()
355 module_param_named(st_timeout, i915_selftest.timeout_ms, uint, 0400);
/drivers/iio/magnetometer/
Dak8975.c571 u32 timeout_ms = AK8975_MAX_CONVERSION_TIMEOUT; in wait_conversion_complete_gpio() local
575 while (timeout_ms) { in wait_conversion_complete_gpio()
579 timeout_ms -= AK8975_CONVERSION_DONE_POLL_TIME; in wait_conversion_complete_gpio()
581 if (!timeout_ms) { in wait_conversion_complete_gpio()
597 u32 timeout_ms = AK8975_MAX_CONVERSION_TIMEOUT; in wait_conversion_complete_polled() local
601 while (timeout_ms) { in wait_conversion_complete_polled()
612 timeout_ms -= AK8975_CONVERSION_DONE_POLL_TIME; in wait_conversion_complete_polled()
614 if (!timeout_ms) { in wait_conversion_complete_polled()
/drivers/virt/vboxguest/
Dvboxguest_utils.c469 u32 timeout_ms, bool *leak_it) in vbg_hgcm_do_call() argument
491 if (timeout_ms == U32_MAX) in vbg_hgcm_do_call()
494 timeout = msecs_to_jiffies(timeout_ms); in vbg_hgcm_do_call()
601 u32 function, u32 timeout_ms, in vbg_hgcm_call() argument
632 ret = vbg_hgcm_do_call(gdev, call, timeout_ms, &leak_it); in vbg_hgcm_call()
656 u32 timeout_ms, struct vmmdev_hgcm_function_parameter32 *parm32, in vbg_hgcm_call32() argument
697 ret = vbg_hgcm_call(gdev, requestor, client_id, function, timeout_ms, in vbg_hgcm_call32()
/drivers/gpu/drm/i915/
Dintel_uncore.h235 unsigned int timeout_ms) in intel_wait_for_register() argument
238 timeout_ms, NULL); in intel_wait_for_register()
253 unsigned int timeout_ms) in intel_wait_for_register_fw() argument
256 2, timeout_ms, NULL); in intel_wait_for_register_fw()
Di915_selftest.h34 unsigned int timeout_ms; member
/drivers/net/wireless/ti/wl1251/
Devent.c158 int wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms) in wl1251_event_wait() argument
163 timeout = jiffies + msecs_to_jiffies(timeout_ms); in wl1251_event_wait()
Devent.h111 int wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms);
/drivers/staging/rtl8188eu/include/
Drtw_xmit.h165 u32 timeout_ms; /* <0: not synchronous, 0: wait forever, >0: up to ms waiting */ member
185 void rtw_sctx_init(struct submit_ctx *sctx, int timeout_ms);
352 int rtw_ack_tx_wait(struct xmit_priv *pxmitpriv, u32 timeout_ms);
/drivers/staging/greybus/
Dvibrator.c42 static int turn_on(struct gb_vibrator_device *vib, u16 timeout_ms) in turn_on() argument
62 schedule_delayed_work(&vib->delayed_work, msecs_to_jiffies(timeout_ms)); in turn_on()
/drivers/i2c/busses/
Di2c-synquacer.c144 u32 timeout_ms; member
339 msecs_to_jiffies(i2c->timeout_ms)); in synquacer_i2c_doxfer()
503 i2c->timeout_ms = calc_timeout_ms(i2c, msgs, num); in synquacer_i2c_xfer()
505 dev_dbg(i2c->dev, "calculated timeout %d ms\n", i2c->timeout_ms); in synquacer_i2c_xfer()
/drivers/infiniband/core/
Dsa_query.c1362 static int send_mad(struct ib_sa_query *query, unsigned long timeout_ms, in send_mad() argument
1374 query->mad_buf->timeout_ms = timeout_ms; in send_mad()
1546 unsigned long timeout_ms, gfp_t gfp_mask, in ib_sa_path_rec_get() argument
1629 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_path_rec_get()
1700 unsigned long timeout_ms, gfp_t gfp_mask, in ib_sa_service_rec_query() argument
1753 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_service_rec_query()
1797 unsigned long timeout_ms, gfp_t gfp_mask, in ib_sa_mcmember_rec_query() argument
1845 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_mcmember_rec_query()
1888 unsigned long timeout_ms, gfp_t gfp_mask, in ib_sa_guid_info_rec_query() argument
1943 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_guid_info_rec_query()
[all …]
Dsa.h55 unsigned long timeout_ms, gfp_t gfp_mask,
Dcma_priv.h73 int timeout_ms; member
/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_mutex.c175 unsigned int timeout_ms = 1; in nfp_cpp_mutex_lock() local
188 err = msleep_interruptible(timeout_ms); in nfp_cpp_mutex_lock()
/drivers/staging/rtl8723bs/include/
Drtw_xmit.h222 u32 timeout_ms; /* <0: not synchronous, 0: wait forever, >0: up to ms waiting */ member
244 void rtw_sctx_init(struct submit_ctx *sctx, int timeout_ms);
515 int rtw_ack_tx_wait(struct xmit_priv *pxmitpriv, u32 timeout_ms);
/drivers/mfd/
Dlochnagar-i2c.c235 int timeout_ms = LOCHNAGAR_BOOT_DELAY_MS * LOCHNAGAR_BOOT_RETRIES; in lochnagar_update_config() local
261 timeout_ms * 1000); in lochnagar_update_config()
/drivers/scsi/be2iscsi/
Dbe_iscsi.h69 int beiscsi_ep_poll(struct iscsi_endpoint *ep, int timeout_ms);
/drivers/mtd/nand/raw/
Dams-delta.c199 instr->ctx.waitrdy.timeout_ms) : in ams_delta_exec_op()
201 instr->ctx.waitrdy.timeout_ms); in ams_delta_exec_op()

1234