Lines Matching refs:Flags

170 	if (test_and_set_bit(FLG_BUSY_TIMER, &isac->dch.Flags)) {  in isac_fill_fifo()
221 if (test_and_clear_bit(FLG_BUSY_TIMER, &isac->dch.Flags)) in isac_xpr_irq()
236 if (test_and_clear_bit(FLG_BUSY_TIMER, &isac->dch.Flags)) in isac_retransmit()
238 if (test_bit(FLG_TX_BUSY, &isac->dch.Flags)) { in isac_retransmit()
244 test_and_set_bit(FLG_TX_BUSY, &isac->dch.Flags); in isac_retransmit()
595 test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags); in isac_l1hw()
680 test_and_clear_bit(FLG_TX_BUSY, &dch->Flags); in isac_l1cmd()
681 if (test_and_clear_bit(FLG_BUSY_TIMER, &dch->Flags)) in isac_l1cmd()
690 test_and_set_bit(FLG_ACTIVE, &dch->Flags); in isac_l1cmd()
695 test_and_clear_bit(FLG_ACTIVE, &dch->Flags); in isac_l1cmd()
733 if (test_bit(FLG_BUSY_TIMER, &isac->dch.Flags)) { in dbusy_timer_handler()
740 test_and_set_bit(FLG_L1_BUSY, &isac->dch.Flags); in dbusy_timer_handler()
743 test_and_clear_bit(FLG_BUSY_TIMER, &isac->dch.Flags); in dbusy_timer_handler()
945 if (test_bit(FLG_RX_OFF, &hscx->bch.Flags)) { in hscx_empty_fifo()
984 if (!test_bit(FLG_TX_EMPTY, &hscx->bch.Flags)) in hscx_fill_fifo()
996 more = test_bit(FLG_TRANSPARENT, &hscx->bch.Flags) ? 1 : 0; in hscx_fill_fifo()
1032 test_and_clear_bit(FLG_TX_EMPTY, &hx->bch.Flags); in hscx_xpr()
1033 } else if (test_bit(FLG_TX_EMPTY, &hx->bch.Flags)) { in hscx_xpr()
1130 if (!test_bit(FLG_ACTIVE, &hx->bch.Flags)) in ipac_irq()
1138 if (test_bit(FLG_TRANSPARENT, &hx->bch.Flags)) in ipac_irq()
1151 if (test_bit(FLG_TRANSPARENT, &hx->bch.Flags)) { in ipac_irq()
1152 if (test_bit(FLG_FILLEMPTY, &hx->bch.Flags)) in ipac_irq()
1153 test_and_set_bit(FLG_TX_EMPTY, &hx->bch.Flags); in ipac_irq()
1248 test_and_clear_bit(FLG_HDLC, &hscx->bch.Flags); in hscx_mode()
1249 test_and_clear_bit(FLG_TRANSPARENT, &hscx->bch.Flags); in hscx_mode()
1256 test_and_set_bit(FLG_TRANSPARENT, &hscx->bch.Flags); in hscx_mode()
1263 test_and_set_bit(FLG_HDLC, &hscx->bch.Flags); in hscx_mode()
1284 test_and_clear_bit(FLG_HDLC, &hscx->bch.Flags); in hscx_mode()
1285 test_and_clear_bit(FLG_TRANSPARENT, &hscx->bch.Flags); in hscx_mode()
1292 test_and_set_bit(FLG_TRANSPARENT, &hscx->bch.Flags); in hscx_mode()
1299 test_and_set_bit(FLG_HDLC, &hscx->bch.Flags); in hscx_mode()
1320 test_and_clear_bit(FLG_HDLC, &hscx->bch.Flags); in hscx_mode()
1321 test_and_clear_bit(FLG_TRANSPARENT, &hscx->bch.Flags); in hscx_mode()
1328 test_and_set_bit(FLG_TRANSPARENT, &hscx->bch.Flags); in hscx_mode()
1335 test_and_set_bit(FLG_HDLC, &hscx->bch.Flags); in hscx_mode()
1369 if (!test_and_set_bit(FLG_ACTIVE, &bch->Flags)) in hscx_l2l1()
1414 test_and_clear_bit(FLG_OPEN, &bch->Flags); in hscx_bctrl()
1506 if (test_and_set_bit(FLG_OPEN, &bch->Flags)) in open_bchannel()
1508 test_and_clear_bit(FLG_FILLEMPTY, &bch->Flags); in open_bchannel()