Lines Matching refs:stat
468 static inline void hdlc_rpr_irq(struct fritz_bcs *bcs, u32 stat) in hdlc_rpr_irq() argument
474 if (stat & HDLC_STAT_RDO) { in hdlc_rpr_irq()
485 len = (stat & HDLC_STAT_RML_MASK) >> 8; in hdlc_rpr_irq()
491 if ((stat & HDLC_STAT_RME) || (bcs->mode == L1_MODE_TRANS)) { in hdlc_rpr_irq()
492 if (((stat & HDLC_STAT_CRCVFRRAB) == HDLC_STAT_CRCVFR) || in hdlc_rpr_irq()
506 bcs->channel, stat); in hdlc_rpr_irq()
555 static void hdlc_irq_one(struct fritz_bcs *bcs, u32 stat) in hdlc_irq_one() argument
557 DBG(0x10, "ch%d stat %#x", bcs->channel, stat); in hdlc_irq_one()
558 if (stat & HDLC_INT_RPR) { in hdlc_irq_one()
560 hdlc_rpr_irq(bcs, stat); in hdlc_irq_one()
562 if (stat & HDLC_INT_XDU) { in hdlc_irq_one()
568 if (stat & HDLC_INT_XPR) { in hdlc_irq_one()
577 u32 stat; in hdlc_irq() local
580 stat = adapter->read_hdlc_status(adapter, nr); in hdlc_irq()
581 DBG(0x10, "HDLC %c stat %#x", 'A' + nr, stat); in hdlc_irq()
582 if (stat & HDLC_INT_MASK) in hdlc_irq()
583 hdlc_irq_one(&adapter->bcs[nr], stat); in hdlc_irq()