Lines Matching refs:timeout_ms
503 unsigned int timeout_ms, in __mmc_poll_for_busy() argument
513 timeout = jiffies + msecs_to_jiffies(timeout_ms) + 1; in __mmc_poll_for_busy()
544 int mmc_poll_for_busy(struct mmc_card *card, unsigned int timeout_ms, in mmc_poll_for_busy() argument
554 return __mmc_poll_for_busy(host, 0, timeout_ms, &mmc_busy_cb, &cb_data); in mmc_poll_for_busy()
559 unsigned int timeout_ms) in mmc_prepare_busy_cmd() argument
569 (timeout_ms > host->max_busy_timeout)) { in mmc_prepare_busy_cmd()
575 cmd->busy_timeout = timeout_ms; in mmc_prepare_busy_cmd()
596 unsigned int timeout_ms, unsigned char timing, in __mmc_switch() argument
607 if (!timeout_ms) { in __mmc_switch()
610 timeout_ms = card->ext_csd.generic_cmd6_time; in __mmc_switch()
618 use_r1b_resp = mmc_prepare_busy_cmd(host, &cmd, timeout_ms); in __mmc_switch()
635 mmc_delay(timeout_ms); in __mmc_switch()
640 err = mmc_poll_for_busy(card, timeout_ms, retry_crc_err, MMC_BUSY_CMD6); in __mmc_switch()
661 unsigned int timeout_ms) in mmc_switch() argument
663 return __mmc_switch(card, set, index, value, timeout_ms, 0, in mmc_switch()
1036 int mmc_sanitize(struct mmc_card *card, unsigned int timeout_ms) in mmc_sanitize() argument
1046 if (!timeout_ms) in mmc_sanitize()
1047 timeout_ms = MMC_SANITIZE_TIMEOUT_MS; in mmc_sanitize()
1054 1, timeout_ms, 0, true, false, 0); in mmc_sanitize()