/drivers/media/platform/mtk-vcodec/ |
D | mtk_vcodec_intr.c | 15 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()
|
D | mtk_vcodec_intr.h | 16 unsigned int timeout_ms);
|
/drivers/mmc/core/ |
D | mmc_ops.c | 451 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 …]
|
D | mmc_ops.h | 35 unsigned int timeout_ms, unsigned char timing, 38 unsigned int timeout_ms);
|
D | mmc.c | 1810 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/ |
D | scsi_debugfs.c | 38 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/ |
D | mtk-cmdq-helper.c | 33 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/ |
D | i915_selftest.c | 32 .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/ |
D | ak8975.c | 571 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/ |
D | vboxguest_utils.c | 469 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/ |
D | intel_uncore.h | 235 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()
|
D | i915_selftest.h | 34 unsigned int timeout_ms; member
|
/drivers/net/wireless/ti/wl1251/ |
D | event.c | 158 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()
|
D | event.h | 111 int wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms);
|
/drivers/staging/rtl8188eu/include/ |
D | rtw_xmit.h | 165 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/ |
D | vibrator.c | 42 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/ |
D | i2c-synquacer.c | 144 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/ |
D | sa_query.c | 1362 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 …]
|
D | sa.h | 55 unsigned long timeout_ms, gfp_t gfp_mask,
|
D | cma_priv.h | 73 int timeout_ms; member
|
/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_mutex.c | 175 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/ |
D | rtw_xmit.h | 222 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/ |
D | lochnagar-i2c.c | 235 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/ |
D | be_iscsi.h | 69 int beiscsi_ep_poll(struct iscsi_endpoint *ep, int timeout_ms);
|
/drivers/mtd/nand/raw/ |
D | ams-delta.c | 199 instr->ctx.waitrdy.timeout_ms) : in ams_delta_exec_op() 201 instr->ctx.waitrdy.timeout_ms); in ams_delta_exec_op()
|