Lines Matching refs:Flags

309 	if (test_bit(FLG_ACTIVE, &hc->bch[0].Flags) &&  in Sel_BCS()
312 else if (test_bit(FLG_ACTIVE, &hc->bch[1].Flags) && in Sel_BCS()
563 if (test_bit(FLG_RX_OFF, &bch->Flags)) { in hfcpci_empty_fifo_trans()
648 } else if (test_bit(FLG_TRANSPARENT, &bch->Flags)) { in main_rec_hfcpci()
752 if (!test_bit(FLG_FILLEMPTY, &bch->Flags) && in hfcpci_fill_fifo()
753 !test_bit(FLG_TRANSPARENT, &bch->Flags)) in hfcpci_fill_fifo()
767 if (test_bit(FLG_TRANSPARENT, &bch->Flags)) { in hfcpci_fill_fifo()
777 if (test_bit(FLG_FILLEMPTY, &bch->Flags)) { in hfcpci_fill_fifo()
942 test_and_clear_bit(FLG_HFC_TIMER_T3, &dch->Flags); in handle_nt_timer3()
946 test_and_set_bit(FLG_ACTIVE, &dch->Flags); in handle_nt_timer3()
966 test_and_clear_bit(FLG_HFC_TIMER_T3, &dch->Flags); in ph_state_nt()
967 test_and_clear_bit(FLG_HFC_TIMER_T1, &dch->Flags); in ph_state_nt()
984 test_and_clear_bit(FLG_HFC_TIMER_T3, &dch->Flags); in ph_state_nt()
985 test_and_set_bit(FLG_HFC_TIMER_T1, &dch->Flags); in ph_state_nt()
994 test_and_clear_bit(FLG_HFC_TIMER_T3, &dch->Flags); in ph_state_nt()
995 test_and_clear_bit(FLG_HFC_TIMER_T1, &dch->Flags); in ph_state_nt()
998 test_and_clear_bit(FLG_ACTIVE, &dch->Flags); in ph_state_nt()
1001 test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags); in ph_state_nt()
1007 test_and_clear_bit(FLG_HFC_TIMER_T3, &dch->Flags); in ph_state_nt()
1008 test_and_clear_bit(FLG_HFC_TIMER_T1, &dch->Flags); in ph_state_nt()
1013 if (!test_and_set_bit(FLG_HFC_TIMER_T3, &dch->Flags)) { in ph_state_nt()
1015 &dch->Flags)) { in ph_state_nt()
1019 test_and_clear_bit(FLG_HFC_TIMER_T1, &dch->Flags); in ph_state_nt()
1038 if (test_bit(FLG_HFC_TIMER_T3, &dch->Flags) && in ph_state()
1087 test_and_clear_bit(FLG_TX_BUSY, &dch->Flags); in hfc_l1callback()
1088 if (test_and_clear_bit(FLG_BUSY_TIMER, &dch->Flags)) in hfc_l1callback()
1095 test_and_set_bit(FLG_ACTIVE, &dch->Flags); in hfc_l1callback()
1100 test_and_clear_bit(FLG_ACTIVE, &dch->Flags); in hfc_l1callback()
1217 if (test_and_clear_bit(FLG_BUSY_TIMER, &hc->dch.Flags)) in hfcpci_int()
1311 test_and_clear_bit(FLG_HDLC, &bch->Flags); in mode_hfcpci()
1312 test_and_clear_bit(FLG_TRANSPARENT, &bch->Flags); in mode_hfcpci()
1347 test_and_set_bit(FLG_TRANSPARENT, &bch->Flags); in mode_hfcpci()
1376 test_and_set_bit(FLG_HDLC, &bch->Flags); in mode_hfcpci()
1552 test_and_clear_bit(FLG_OPEN, &bch->Flags); in hfc_bctrl()
1603 if (test_bit(FLG_ACTIVE, &dch->Flags)) { in hfcpci_l2l1D()
1609 test_and_set_bit(FLG_L2_ACTIVATED, &dch->Flags); in hfcpci_l2l1D()
1617 test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags); in hfcpci_l2l1D()
1632 test_and_clear_bit(FLG_TX_BUSY, &dch->Flags); in hfcpci_l2l1D()
1633 if (test_and_clear_bit(FLG_BUSY_TIMER, &dch->Flags)) in hfcpci_l2l1D()
1636 if (test_and_clear_bit(FLG_L1_BUSY, &dch->Flags)) in hfcpci_l2l1D()
1677 if (!test_and_set_bit(FLG_ACTIVE, &bch->Flags)) in hfcpci_l2l1B()
1934 if (test_and_set_bit(FLG_OPEN, &bch->Flags)) in open_bchannel()