Lines Matching refs:Flags
263 if (test_bit(FLG_ACTIVE, &fc->bch[0].Flags) && in Sel_BCS()
266 else if (test_bit(FLG_ACTIVE, &fc->bch[1].Flags) && in Sel_BCS()
371 test_and_clear_bit(FLG_HDLC, &bch->Flags); in modehdlc()
372 test_and_clear_bit(FLG_TRANSPARENT, &bch->Flags); in modehdlc()
382 test_and_set_bit(FLG_TRANSPARENT, &bch->Flags); in modehdlc()
392 test_and_set_bit(FLG_HDLC, &bch->Flags); in modehdlc()
411 if (test_bit(FLG_RX_OFF, &bch->Flags)) { in hdlc_empty_fifo()
462 if (!test_bit(FLG_TX_EMPTY, &bch->Flags)) in hdlc_fill_fifo()
477 if (test_bit(FLG_HDLC, &bch->Flags)) in hdlc_fill_fifo()
528 test_and_clear_bit(FLG_TX_EMPTY, &bch->Flags); in HDLC_irq_xpr()
529 } else if (test_bit(FLG_TX_EMPTY, &bch->Flags)) { in HDLC_irq_xpr()
570 if (test_bit(FLG_TRANSPARENT, &bch->Flags)) { in HDLC_irq()
593 if (!test_bit(FLG_TRANSPARENT, &bch->Flags)) in HDLC_irq()
595 } else if (test_bit(FLG_FILLEMPTY, &bch->Flags)) { in HDLC_irq()
596 test_and_set_bit(FLG_TX_EMPTY, &bch->Flags); in HDLC_irq()
713 if (!test_and_set_bit(FLG_ACTIVE, &bch->Flags)) in avm_l2l1B()
859 test_and_clear_bit(FLG_OPEN, &bch->Flags); in avm_bctrl()
917 if (test_and_set_bit(FLG_OPEN, &bch->Flags)) in open_bchannel()