Lines Matching refs:isr
549 static void talitos_error(struct device *dev, u32 isr, u32 isr_lo) in talitos_error() argument
562 if (!(isr & (1 << (29 + (ch & 1) * 2 - (ch & 2) * 6)))) in talitos_error()
565 if (!(isr & (1 << (ch * 2 + 1)))) in talitos_error()
627 if (reset_dev || (is_sec1 && isr & ~TALITOS1_ISR_4CHERR) || in talitos_error()
628 (!is_sec1 && isr & ~TALITOS2_ISR_4CHERR) || isr_lo) { in talitos_error()
631 isr, isr_lo); in talitos_error()
634 "rngu error: ISR 0x%08x_%08x\n", isr, isr_lo); in talitos_error()
650 u32 isr, isr_lo; \
654 isr = in_be32(priv->reg + TALITOS_ISR); \
657 out_be32(priv->reg + TALITOS_ICR, isr & (ch_done_mask | ch_err_mask)); \
660 if (unlikely(isr & ch_err_mask || isr_lo & TALITOS1_IMR_LO_INIT)) { \
662 talitos_error(dev, isr & ch_err_mask, isr_lo); \
665 if (likely(isr & ch_done_mask)) { \
674 return (isr & (ch_done_mask | ch_err_mask) || isr_lo) ? IRQ_HANDLED : \
685 u32 isr, isr_lo; \
689 isr = in_be32(priv->reg + TALITOS_ISR); \
692 out_be32(priv->reg + TALITOS_ICR, isr & (ch_done_mask | ch_err_mask)); \
695 if (unlikely(isr & ch_err_mask || isr_lo)) { \
697 talitos_error(dev, isr & ch_err_mask, isr_lo); \
700 if (likely(isr & ch_done_mask)) { \
709 return (isr & (ch_done_mask | ch_err_mask) || isr_lo) ? IRQ_HANDLED : \