Lines Matching refs:Flags
250 if (test_bit(FLG_ACTIVE, &fc->bch[0].Flags) && in Sel_BCS()
253 else if (test_bit(FLG_ACTIVE, &fc->bch[1].Flags) && in Sel_BCS()
359 test_and_clear_bit(FLG_HDLC, &bch->Flags); in modehdlc()
360 test_and_clear_bit(FLG_TRANSPARENT, &bch->Flags); in modehdlc()
370 test_and_set_bit(FLG_TRANSPARENT, &bch->Flags); in modehdlc()
380 test_and_set_bit(FLG_HDLC, &bch->Flags); in modehdlc()
399 if (test_bit(FLG_RX_OFF, &bch->Flags)) { in hdlc_empty_fifo()
450 if (!test_bit(FLG_TX_EMPTY, &bch->Flags)) in hdlc_fill_fifo()
465 if (test_bit(FLG_HDLC, &bch->Flags)) in hdlc_fill_fifo()
515 test_and_clear_bit(FLG_TX_EMPTY, &bch->Flags); in HDLC_irq_xpr()
516 } else if (test_bit(FLG_TX_EMPTY, &bch->Flags)) { in HDLC_irq_xpr()
557 if (test_bit(FLG_TRANSPARENT, &bch->Flags)) { in HDLC_irq()
580 if (!test_bit(FLG_TRANSPARENT, &bch->Flags)) in HDLC_irq()
582 } else if (test_bit(FLG_FILLEMPTY, &bch->Flags)) { in HDLC_irq()
583 test_and_set_bit(FLG_TX_EMPTY, &bch->Flags); in HDLC_irq()
700 if (!test_and_set_bit(FLG_ACTIVE, &bch->Flags)) in avm_l2l1B()
846 test_and_clear_bit(FLG_OPEN, &bch->Flags); in avm_bctrl()
904 if (test_and_set_bit(FLG_OPEN, &bch->Flags)) in open_bchannel()