Lines Matching refs:Flags
321 if (test_bit(FLG_ACTIVE, &hc->bch[0].Flags) && in Sel_BCS()
324 else if (test_bit(FLG_ACTIVE, &hc->bch[1].Flags) && in Sel_BCS()
575 if (test_bit(FLG_RX_OFF, &bch->Flags)) { in hfcpci_empty_fifo_trans()
661 } else if (test_bit(FLG_TRANSPARENT, &bch->Flags)) { in main_rec_hfcpci()
765 if (!test_bit(FLG_FILLEMPTY, &bch->Flags) && in hfcpci_fill_fifo()
766 !test_bit(FLG_TRANSPARENT, &bch->Flags)) in hfcpci_fill_fifo()
780 if (test_bit(FLG_TRANSPARENT, &bch->Flags)) { in hfcpci_fill_fifo()
790 if (test_bit(FLG_FILLEMPTY, &bch->Flags)) { in hfcpci_fill_fifo()
955 test_and_clear_bit(FLG_HFC_TIMER_T3, &dch->Flags); in handle_nt_timer3()
959 test_and_set_bit(FLG_ACTIVE, &dch->Flags); in handle_nt_timer3()
979 test_and_clear_bit(FLG_HFC_TIMER_T3, &dch->Flags); in ph_state_nt()
980 test_and_clear_bit(FLG_HFC_TIMER_T1, &dch->Flags); in ph_state_nt()
997 test_and_clear_bit(FLG_HFC_TIMER_T3, &dch->Flags); in ph_state_nt()
998 test_and_set_bit(FLG_HFC_TIMER_T1, &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()
1011 test_and_clear_bit(FLG_ACTIVE, &dch->Flags); in ph_state_nt()
1014 test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags); in ph_state_nt()
1020 test_and_clear_bit(FLG_HFC_TIMER_T3, &dch->Flags); in ph_state_nt()
1021 test_and_clear_bit(FLG_HFC_TIMER_T1, &dch->Flags); in ph_state_nt()
1026 if (!test_and_set_bit(FLG_HFC_TIMER_T3, &dch->Flags)) { in ph_state_nt()
1028 &dch->Flags)) { in ph_state_nt()
1032 test_and_clear_bit(FLG_HFC_TIMER_T1, &dch->Flags); in ph_state_nt()
1051 if (test_bit(FLG_HFC_TIMER_T3, &dch->Flags) && in ph_state()
1100 test_and_clear_bit(FLG_TX_BUSY, &dch->Flags); in hfc_l1callback()
1101 if (test_and_clear_bit(FLG_BUSY_TIMER, &dch->Flags)) in hfc_l1callback()
1108 test_and_set_bit(FLG_ACTIVE, &dch->Flags); in hfc_l1callback()
1113 test_and_clear_bit(FLG_ACTIVE, &dch->Flags); in hfc_l1callback()
1232 if (test_and_clear_bit(FLG_BUSY_TIMER, &hc->dch.Flags)) in hfcpci_int()
1325 test_and_clear_bit(FLG_HDLC, &bch->Flags); in mode_hfcpci()
1326 test_and_clear_bit(FLG_TRANSPARENT, &bch->Flags); in mode_hfcpci()
1361 test_and_set_bit(FLG_TRANSPARENT, &bch->Flags); in mode_hfcpci()
1390 test_and_set_bit(FLG_HDLC, &bch->Flags); in mode_hfcpci()
1566 test_and_clear_bit(FLG_OPEN, &bch->Flags); in hfc_bctrl()
1617 if (test_bit(FLG_ACTIVE, &dch->Flags)) { in hfcpci_l2l1D()
1623 test_and_set_bit(FLG_L2_ACTIVATED, &dch->Flags); in hfcpci_l2l1D()
1631 test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags); in hfcpci_l2l1D()
1646 test_and_clear_bit(FLG_TX_BUSY, &dch->Flags); in hfcpci_l2l1D()
1647 if (test_and_clear_bit(FLG_BUSY_TIMER, &dch->Flags)) in hfcpci_l2l1D()
1650 if (test_and_clear_bit(FLG_L1_BUSY, &dch->Flags)) in hfcpci_l2l1D()
1691 if (!test_and_set_bit(FLG_ACTIVE, &bch->Flags)) in hfcpci_l2l1B()
1950 if (test_and_set_bit(FLG_OPEN, &bch->Flags)) in open_bchannel()