Lines Matching refs:Flags
310 if (test_and_set_bit(FLG_BUSY_TIMER, &dch->Flags)) { in W6692_fill_Dfifo()
329 if (test_and_clear_bit(FLG_BUSY_TIMER, &dch->Flags)) in d_retransmit()
332 if (test_and_clear_bit(FLG_L1_BUSY, &dch->Flags)) in d_retransmit()
335 if (test_bit(FLG_TX_BUSY, &dch->Flags)) { in d_retransmit()
341 test_and_set_bit(FLG_TX_BUSY, &dch->Flags); in d_retransmit()
391 if (test_and_clear_bit(FLG_BUSY_TIMER, &card->dch.Flags)) in handle_txD()
478 if (test_bit(FLG_RX_OFF, &wch->bch.Flags)) { in W6692_empty_Bfifo()
511 if (!test_bit(FLG_TX_EMPTY, &wch->bch.Flags)) in W6692_fill_Bfifo()
524 else if (test_bit(FLG_HDLC, &wch->bch.Flags)) in W6692_fill_Bfifo()
555 !test_bit(FLG_TRANSPARENT, &wch->bch.Flags))
580 !test_bit(FLG_TRANSPARENT, &wch->bch.Flags))
621 test_and_clear_bit(FLG_HDLC, &wch->bch.Flags); in w6692_mode()
622 test_and_clear_bit(FLG_TRANSPARENT, &wch->bch.Flags); in w6692_mode()
630 test_and_set_bit(FLG_TRANSPARENT, &wch->bch.Flags); in w6692_mode()
640 test_and_set_bit(FLG_HDLC, &wch->bch.Flags); in w6692_mode()
660 test_and_clear_bit(FLG_TX_EMPTY, &wch->bch.Flags); in send_next()
661 } else if (test_bit(FLG_TX_EMPTY, &wch->bch.Flags)) { in send_next()
680 test_bit(FLG_ACTIVE, &wch->bch.Flags)) { in W6692B_interrupt()
687 if (test_bit(FLG_HDLC, &wch->bch.Flags)) { in W6692B_interrupt()
729 if (test_bit(FLG_TRANSPARENT, &wch->bch.Flags)) in W6692B_interrupt()
761 if (!test_bit(FLG_TRANSPARENT, &wch->bch.Flags)) in W6692B_interrupt()
777 if (!test_bit(FLG_TRANSPARENT, &wch->bch.Flags)) in W6692B_interrupt()
779 } else if (test_bit(FLG_FILLEMPTY, &wch->bch.Flags)) { in W6692B_interrupt()
780 test_and_set_bit(FLG_TX_EMPTY, &wch->bch.Flags); in W6692B_interrupt()
828 if (test_bit(FLG_BUSY_TIMER, &dch->Flags)) { in dbusy_timer_handler()
835 test_and_set_bit(FLG_L1_BUSY, &dch->Flags); in dbusy_timer_handler()
838 test_and_clear_bit(FLG_BUSY_TIMER, &dch->Flags); in dbusy_timer_handler()
973 if (!test_and_set_bit(FLG_ACTIVE, &bch->Flags)) in w6692_l2l1B()
1017 if (test_and_set_bit(FLG_OPEN, &bch->Flags)) in open_bchannel()
1056 test_and_clear_bit(FLG_OPEN, &bch->Flags); in w6692_bctrl()
1105 test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags); in w6692_l2l1D()
1151 test_and_clear_bit(FLG_TX_BUSY, &dch->Flags); in w6692_l1callback()
1152 if (test_and_clear_bit(FLG_BUSY_TIMER, &dch->Flags)) in w6692_l1callback()
1161 test_and_set_bit(FLG_ACTIVE, &dch->Flags); in w6692_l1callback()
1166 test_and_clear_bit(FLG_ACTIVE, &dch->Flags); in w6692_l1callback()