Lines Matching full:busy

192 static int __mmc_send_op_cond_cb(void *cb_data, bool *busy)  in __mmc_send_op_cond_cb()  argument
206 *busy = false; in __mmc_send_op_cond_cb()
211 *busy = false; in __mmc_send_op_cond_cb()
216 *busy = true; in __mmc_send_op_cond_cb()
223 * the eMMC device is busy. in __mmc_send_op_cond_cb()
468 static int mmc_busy_cb(void *cb_data, bool *busy) in mmc_busy_cb() argument
476 *busy = host->ops->card_busy(host); in mmc_busy_cb()
482 *busy = true; in mmc_busy_cb()
506 *busy = !mmc_ready_for_data(status); in mmc_busy_cb()
512 int (*busy_cb)(void *cb_data, bool *busy), in __mmc_poll_for_busy() argument
519 bool busy = false; in __mmc_poll_for_busy() local
529 err = (*busy_cb)(cb_data, &busy); in __mmc_poll_for_busy()
533 /* Timeout if the device still remains busy. */ in __mmc_poll_for_busy()
534 if (expired && busy) { in __mmc_poll_for_busy()
535 pr_err("%s: Card stuck being busy! %s\n", in __mmc_poll_for_busy()
541 if (busy) { in __mmc_poll_for_busy()
546 } while (busy); in __mmc_poll_for_busy()
572 * the host to avoid HW busy detection, by converting to a R1 response in mmc_prepare_busy_cmd()
574 * they are on their own when it comes to deal with the busy timeout. in mmc_prepare_busy_cmd()
597 * @send_status: send status cmd to poll for busy
598 * @retry_crc_err: retry when CRC errors when polling with CMD13 for busy
632 /*If SPI or used HW busy detection above, then we don't need to poll. */ in __mmc_switch()
891 /* No need to poll when using HW busy detection. */ in mmc_send_hpi_cmd()
1002 * If the BKOPS timed out, the card is probably still busy in the in mmc_run_bkops()
1067 * If the sanitize operation timed out, the card is probably still busy in mmc_sanitize()