Lines Matching full:busy

184 static int __mmc_send_op_cond_cb(void *cb_data, bool *busy)  in __mmc_send_op_cond_cb()  argument
198 *busy = false; in __mmc_send_op_cond_cb()
203 *busy = false; in __mmc_send_op_cond_cb()
208 *busy = true; in __mmc_send_op_cond_cb()
215 * the eMMC device is busy. in __mmc_send_op_cond_cb()
460 static int mmc_busy_cb(void *cb_data, bool *busy) in mmc_busy_cb() argument
468 *busy = host->ops->card_busy(host); in mmc_busy_cb()
474 *busy = true; in mmc_busy_cb()
498 *busy = !mmc_ready_for_data(status); in mmc_busy_cb()
504 int (*busy_cb)(void *cb_data, bool *busy), in __mmc_poll_for_busy() argument
511 bool busy = false; in __mmc_poll_for_busy() local
521 err = (*busy_cb)(cb_data, &busy); in __mmc_poll_for_busy()
525 /* Timeout if the device still remains busy. */ in __mmc_poll_for_busy()
526 if (expired && busy) { in __mmc_poll_for_busy()
527 pr_err("%s: Card stuck being busy! %s\n", in __mmc_poll_for_busy()
533 if (busy) { in __mmc_poll_for_busy()
538 } while (busy); in __mmc_poll_for_busy()
564 * the host to avoid HW busy detection, by converting to a R1 response in mmc_prepare_busy_cmd()
566 * they are on their own when it comes to deal with the busy timeout. in mmc_prepare_busy_cmd()
589 * @send_status: send status cmd to poll for busy
590 * @retry_crc_err: retry when CRC errors when polling with CMD13 for busy
624 /*If SPI or used HW busy detection above, then we don't need to poll. */ in __mmc_switch()
883 /* No need to poll when using HW busy detection. */ in mmc_send_hpi_cmd()
994 * If the BKOPS timed out, the card is probably still busy in the in mmc_run_bkops()
1059 * If the sanitize operation timed out, the card is probably still busy in mmc_sanitize()