Lines Matching +full:re +full:- +full:tuning

1 /*-
32 * Group. This Simplified Specification is provided on a non-confidential
35 * Association, SD Group, SD-3C LLC or other third parties.
41 * is provided "AS-IS" without any representations or warranties of any
42 * kind. No responsibility is assumed by the SD Group, SD-3C LLC or the SD
44 * right of the SD Group, SD-3C LLC, the SD Card Association or any third
47 * SD Group, SD-3C LLC, the SD Card Association or any third party. Nothing
48 * herein shall be construed as an obligation by the SD Group, the SD-3C LLC
50 * information, know-how or other confidential information to any third party.
81 memset(cmd->resp, 0, sizeof(cmd->resp)); in mmc_wait_for_cmd()
82 cmd->retries = 0; /* Retries done here, not in hardware. */ in mmc_wait_for_cmd()
83 cmd->mrq = &mreq; in mmc_wait_for_cmd()
84 if (cmd->data != NULL) in mmc_wait_for_cmd()
85 cmd->data->mrq = &mreq; in mmc_wait_for_cmd()
90 err = cmd->error; in mmc_wait_for_cmd()
91 } while (err != MMC_ERR_NONE && retries-- > 0); in mmc_wait_for_cmd()
95 if (sc->squelched == 0 && ppsratecheck(&sc->log_time, in mmc_wait_for_cmd()
96 &sc->log_count, LOG_PPS)) { in mmc_wait_for_cmd()
97 device_printf(sc->dev, "CMD%d failed, RESULT: %d\n", in mmc_wait_for_cmd()
98 cmd->opcode, err); in mmc_wait_for_cmd()
115 cmd->flags |= MMC_CMD_IS_APP; in mmc_wait_for_app_cmd()
118 sc->squelched++; in mmc_wait_for_app_cmd()
134 err = cmd->error; in mmc_wait_for_app_cmd()
136 } while (err != MMC_ERR_NONE && retries-- > 0); in mmc_wait_for_app_cmd()
137 sc->squelched--; in mmc_wait_for_app_cmd()
140 if (sc->squelched == 0 && ppsratecheck(&sc->log_time, in mmc_wait_for_app_cmd()
141 &sc->log_count, LOG_PPS)) { in mmc_wait_for_app_cmd()
142 device_printf(sc->dev, "ACMD%d failed, RESULT: %d\n", in mmc_wait_for_app_cmd()
143 cmd->opcode, err); in mmc_wait_for_app_cmd()
177 * Pause re-tuning so it won't interfere with the busy state and also in mmc_switch()
179 * than to a tuning command that may have snuck in between. in mmc_switch()
181 sc->retune_paused++; in mmc_switch()
187 sc->retune_paused--; in mmc_switch()