Lines Matching refs:err_status
242 u32 err_status) in mvsd_finish_cmd() argument
273 if (err_status & MVSD_ERR_CMD_TIMEOUT) { in mvsd_finish_cmd()
275 } else if (err_status & (MVSD_ERR_CMD_CRC | MVSD_ERR_CMD_ENDBIT | in mvsd_finish_cmd()
279 err_status &= ~(MVSD_ERR_CMD_TIMEOUT | MVSD_ERR_CMD_CRC | in mvsd_finish_cmd()
283 return err_status; in mvsd_finish_cmd()
287 u32 err_status) in mvsd_finish_data() argument
299 if (err_status & MVSD_ERR_DATA_TIMEOUT) in mvsd_finish_data()
301 else if (err_status & (MVSD_ERR_DATA_CRC | MVSD_ERR_DATA_ENDBIT)) in mvsd_finish_data()
303 else if (err_status & MVSD_ERR_XFER_SIZE) in mvsd_finish_data()
305 err_status &= ~(MVSD_ERR_DATA_TIMEOUT | MVSD_ERR_DATA_CRC | in mvsd_finish_data()
328 if (err_status & MVSD_ERR_AUTOCMD12) { in mvsd_finish_data()
337 err_status &= ~MVSD_ERR_AUTOCMD12; in mvsd_finish_data()
341 return err_status; in mvsd_finish_data()
465 u32 err_status = 0; in mvsd_irq() local
479 err_status = mvsd_read(MVSD_ERR_INTR_STATUS); in mvsd_irq()
480 dev_dbg(host->dev, "err 0x%04x\n", err_status); in mvsd_irq()
483 err_status = mvsd_finish_cmd(host, cmd, err_status); in mvsd_irq()
485 err_status = mvsd_finish_data(host, mrq->data, err_status); in mvsd_irq()
486 if (err_status) { in mvsd_irq()
488 err_status); in mvsd_irq()