Lines Matching refs:Flags
233 if (!test_and_set_bit(FLG_ACTIVE, &bch->Flags)) { in hfcusb_l2l1B()
268 phi->dch.ch.Flags = dch->Flags; in hfcsusb_ph_info()
273 phi->bch[i].Flags = hw->bch[i].Flags; in hfcsusb_ph_info()
317 if (test_bit(FLG_ACTIVE, &dch->Flags)) { in hfcusb_l2l1D()
325 &dch->Flags); in hfcusb_l2l1D()
337 test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags); in hfcusb_l2l1D()
352 test_and_clear_bit(FLG_TX_BUSY, &dch->Flags); in hfcusb_l2l1D()
355 if (test_and_clear_bit(FLG_L1_BUSY, &dch->Flags)) in hfcusb_l2l1D()
401 test_and_clear_bit(FLG_TX_BUSY, &dch->Flags); in hfc_l1callback()
404 test_and_set_bit(FLG_ACTIVE, &dch->Flags); in hfc_l1callback()
409 test_and_clear_bit(FLG_ACTIVE, &dch->Flags); in hfc_l1callback()
436 test_and_clear_bit(FLG_ACTIVE, &hw->dch.Flags); in open_dchannel()
437 test_and_clear_bit(FLG_ACTIVE, &hw->ech.Flags); in open_dchannel()
444 set_bit(FLG_ACTIVE, &hw->ech.Flags); in open_dchannel()
492 if (test_and_set_bit(FLG_OPEN, &bch->Flags)) in open_bchannel()
641 test_and_clear_bit(FLG_ACTIVE, &dch->Flags); in ph_state_nt()
642 test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags); in ph_state_nt()
663 test_and_set_bit(FLG_ACTIVE, &dch->Flags); in ph_state_nt()
716 clear_bit(FLG_HDLC, &bch->Flags); in hfcsusb_setup_bch()
717 clear_bit(FLG_TRANSPARENT, &bch->Flags); in hfcsusb_setup_bch()
722 set_bit(FLG_TRANSPARENT, &bch->Flags); in hfcsusb_setup_bch()
726 set_bit(FLG_HDLC, &bch->Flags); in hfcsusb_setup_bch()
745 if (test_bit(FLG_ACTIVE, &hw->bch[0].Flags)) { in hfcsusb_setup_bch()
749 if (test_bit(FLG_ACTIVE, &hw->bch[1].Flags)) { in hfcsusb_setup_bch()
845 if (test_bit(FLG_RX_OFF, &fifo->bch->Flags)) { in hfcsusb_rx_frame()
861 hdlc = test_bit(FLG_HDLC, &fifo->bch->Flags); in hfcsusb_rx_frame()
1191 hdlc = test_bit(FLG_HDLC, &fifo->bch->Flags); in tx_iso_complete()
1193 test_bit(FLG_FILLEMPTY, &fifo->bch->Flags)) in tx_iso_complete()
1814 test_and_clear_bit(FLG_OPEN, &bch->Flags); in hfc_bctrl()