Lines Matching refs:intr_status
348 u32 intr_status, intr_done_mask; in mvsd_irq() local
351 intr_status = mvsd_read(MVSD_NOR_INTR_STATUS); in mvsd_irq()
353 intr_status, mvsd_read(MVSD_NOR_INTR_EN), in mvsd_irq()
374 (intr_status & host->intr_en & in mvsd_irq()
378 while (s >= 32 && (intr_status & MVSD_NOR_RX_FIFO_8W)) { in mvsd_irq()
382 intr_status = mvsd_read(MVSD_NOR_INTR_STATUS); in mvsd_irq()
390 while (s >= 4 && (intr_status & MVSD_NOR_RX_READY)) { in mvsd_irq()
394 intr_status = mvsd_read(MVSD_NOR_INTR_STATUS); in mvsd_irq()
396 if (s && s < 4 && (intr_status & MVSD_NOR_RX_READY)) { in mvsd_irq()
402 intr_status = mvsd_read(MVSD_NOR_INTR_STATUS); in mvsd_irq()
415 s, intr_status, mvsd_read(MVSD_HW_STATE)); in mvsd_irq()
420 (intr_status & host->intr_en & in mvsd_irq()
430 while (s >= 4 && (intr_status & MVSD_NOR_TX_AVAIL)) { in mvsd_irq()
434 intr_status = mvsd_read(MVSD_NOR_INTR_STATUS); in mvsd_irq()
437 if (s && (intr_status & MVSD_NOR_TX_AVAIL)) { in mvsd_irq()
443 intr_status = mvsd_read(MVSD_NOR_INTR_STATUS); in mvsd_irq()
452 s, intr_status, mvsd_read(MVSD_HW_STATE)); in mvsd_irq()
458 mvsd_write(MVSD_NOR_INTR_STATUS, intr_status); in mvsd_irq()
462 if (intr_status & host->intr_en & ~intr_done_mask) { in mvsd_irq()
476 if (intr_status & MVSD_NOR_UNEXP_RSP) { in mvsd_irq()
478 } else if (intr_status & MVSD_NOR_ERROR) { in mvsd_irq()
497 if (intr_status & MVSD_NOR_CARD_INT) { in mvsd_irq()
506 intr_status, host->intr_en, host->pio_size); in mvsd_irq()