Lines Matching refs:status
181 u32 mask, u32 *status)
187 *status = readl(host->base + REG_STATUS);
188 if (!(*status & mask)) {
192 writel(*status & mask, host->base + REG_CLEAR);
198 dev_err(mmc_dev(host->mmc), "timed out waiting for status\n");
207 u32 status, cmdctrl;
227 if (moxart_wait_for_status(host, MASK_RSP, &status) == -ETIMEDOUT)
230 if (status & RSP_TIMEOUT) {
234 if (status & RSP_CRC_FAIL) {
238 if (status & RSP_CRC_OK) {
308 u32 *sgp, len = 0, remain, status;
318 if (moxart_wait_for_status(host, FIFO_URUN, &status)
334 if (moxart_wait_for_status(host, FIFO_ORUN, &status)
392 u32 status;
438 if (moxart_wait_for_status(host, MASK_DATA, &status)
444 if (status & DATA_CRC_FAIL)
459 u32 status;
463 status = readl(host->base + REG_STATUS);
464 if (status & CARD_CHANGE) {
465 host->is_removed = status & CARD_DETECT;
475 if (status & (FIFO_ORUN | FIFO_URUN) && host->mrq)