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()
355 test_and_clear_bit(FLG_TX_BUSY, &dch->Flags); in hfcusb_l2l1D()
359 if (test_and_clear_bit(FLG_L1_BUSY, &dch->Flags)) in hfcusb_l2l1D()
405 test_and_clear_bit(FLG_TX_BUSY, &dch->Flags); in hfc_l1callback()
408 test_and_set_bit(FLG_ACTIVE, &dch->Flags); in hfc_l1callback()
413 test_and_clear_bit(FLG_ACTIVE, &dch->Flags); in hfc_l1callback()
440 test_and_clear_bit(FLG_ACTIVE, &hw->dch.Flags); in open_dchannel()
441 test_and_clear_bit(FLG_ACTIVE, &hw->ech.Flags); in open_dchannel()
448 set_bit(FLG_ACTIVE, &hw->ech.Flags); in open_dchannel()
496 if (test_and_set_bit(FLG_OPEN, &bch->Flags)) in open_bchannel()
645 test_and_clear_bit(FLG_ACTIVE, &dch->Flags); in ph_state_nt()
646 test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags); in ph_state_nt()
667 test_and_set_bit(FLG_ACTIVE, &dch->Flags); in ph_state_nt()
720 clear_bit(FLG_HDLC, &bch->Flags); in hfcsusb_setup_bch()
721 clear_bit(FLG_TRANSPARENT, &bch->Flags); in hfcsusb_setup_bch()
726 set_bit(FLG_TRANSPARENT, &bch->Flags); in hfcsusb_setup_bch()
730 set_bit(FLG_HDLC, &bch->Flags); in hfcsusb_setup_bch()
749 if (test_bit(FLG_ACTIVE, &hw->bch[0].Flags)) { in hfcsusb_setup_bch()
753 if (test_bit(FLG_ACTIVE, &hw->bch[1].Flags)) { in hfcsusb_setup_bch()
850 if (test_bit(FLG_RX_OFF, &fifo->bch->Flags)) { in hfcsusb_rx_frame()
866 hdlc = test_bit(FLG_HDLC, &fifo->bch->Flags); in hfcsusb_rx_frame()
1199 hdlc = test_bit(FLG_HDLC, &fifo->bch->Flags); in tx_iso_complete()
1201 test_bit(FLG_FILLEMPTY, &fifo->bch->Flags)) in tx_iso_complete()
1833 test_and_clear_bit(FLG_OPEN, &bch->Flags); in hfc_bctrl()