Lines Matching refs:Flags
158 if (test_and_set_bit(FLG_BUSY_TIMER, &isac->dch.Flags)) { in isac_fill_fifo()
207 if (test_and_clear_bit(FLG_BUSY_TIMER, &isac->dch.Flags)) in isac_xpr_irq()
221 if (test_and_clear_bit(FLG_BUSY_TIMER, &isac->dch.Flags)) in isac_retransmit()
223 if (test_bit(FLG_TX_BUSY, &isac->dch.Flags)) { in isac_retransmit()
229 test_and_set_bit(FLG_TX_BUSY, &isac->dch.Flags); in isac_retransmit()
579 test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags); in isac_l1hw()
665 test_and_clear_bit(FLG_TX_BUSY, &dch->Flags); in isac_l1cmd()
666 if (test_and_clear_bit(FLG_BUSY_TIMER, &dch->Flags)) in isac_l1cmd()
675 test_and_set_bit(FLG_ACTIVE, &dch->Flags); in isac_l1cmd()
680 test_and_clear_bit(FLG_ACTIVE, &dch->Flags); in isac_l1cmd()
719 if (test_bit(FLG_BUSY_TIMER, &isac->dch.Flags)) { in dbusy_timer_handler()
726 test_and_set_bit(FLG_L1_BUSY, &isac->dch.Flags); in dbusy_timer_handler()
729 test_and_clear_bit(FLG_BUSY_TIMER, &isac->dch.Flags); in dbusy_timer_handler()
929 if (test_bit(FLG_RX_OFF, &hscx->bch.Flags)) { in hscx_empty_fifo()
968 if (!test_bit(FLG_TX_EMPTY, &hscx->bch.Flags)) in hscx_fill_fifo()
980 more = test_bit(FLG_TRANSPARENT, &hscx->bch.Flags) ? 1 : 0; in hscx_fill_fifo()
1015 test_and_clear_bit(FLG_TX_EMPTY, &hx->bch.Flags); in hscx_xpr()
1016 } else if (test_bit(FLG_TX_EMPTY, &hx->bch.Flags)) { in hscx_xpr()
1113 if (!test_bit(FLG_ACTIVE, &hx->bch.Flags)) in ipac_irq()
1121 if (test_bit(FLG_TRANSPARENT, &hx->bch.Flags)) in ipac_irq()
1134 if (test_bit(FLG_TRANSPARENT, &hx->bch.Flags)) { in ipac_irq()
1135 if (test_bit(FLG_FILLEMPTY, &hx->bch.Flags)) in ipac_irq()
1136 test_and_set_bit(FLG_TX_EMPTY, &hx->bch.Flags); in ipac_irq()
1230 test_and_clear_bit(FLG_HDLC, &hscx->bch.Flags); in hscx_mode()
1231 test_and_clear_bit(FLG_TRANSPARENT, &hscx->bch.Flags); in hscx_mode()
1238 test_and_set_bit(FLG_TRANSPARENT, &hscx->bch.Flags); in hscx_mode()
1245 test_and_set_bit(FLG_HDLC, &hscx->bch.Flags); in hscx_mode()
1266 test_and_clear_bit(FLG_HDLC, &hscx->bch.Flags); in hscx_mode()
1267 test_and_clear_bit(FLG_TRANSPARENT, &hscx->bch.Flags); in hscx_mode()
1274 test_and_set_bit(FLG_TRANSPARENT, &hscx->bch.Flags); in hscx_mode()
1281 test_and_set_bit(FLG_HDLC, &hscx->bch.Flags); in hscx_mode()
1302 test_and_clear_bit(FLG_HDLC, &hscx->bch.Flags); in hscx_mode()
1303 test_and_clear_bit(FLG_TRANSPARENT, &hscx->bch.Flags); in hscx_mode()
1310 test_and_set_bit(FLG_TRANSPARENT, &hscx->bch.Flags); in hscx_mode()
1317 test_and_set_bit(FLG_HDLC, &hscx->bch.Flags); in hscx_mode()
1351 if (!test_and_set_bit(FLG_ACTIVE, &bch->Flags)) in hscx_l2l1()
1396 test_and_clear_bit(FLG_OPEN, &bch->Flags); in hscx_bctrl()
1488 if (test_and_set_bit(FLG_OPEN, &bch->Flags)) in open_bchannel()
1490 test_and_clear_bit(FLG_FILLEMPTY, &bch->Flags); in open_bchannel()