Lines Matching refs:Flags
418 if (test_bit(FLG_RX_OFF, &ch->bch.Flags)) { in isar_rcv_frame()
585 if (!test_bit(FLG_TX_EMPTY, &ch->bch.Flags) || in isar_fill_fifo()
613 &ch->bch.Flags); in isar_fill_fifo()
618 &ch->bch.Flags); in isar_fill_fifo()
681 if (test_bit(FLG_LASTDATA, &ch->bch.Flags)) { in send_next()
683 test_and_set_bit(FLG_NMD_DATA, &ch->bch.Flags); in send_next()
686 if (test_bit(FLG_DLEETX, &ch->bch.Flags)) { in send_next()
687 test_and_set_bit(FLG_LASTDATA, &ch->bch.Flags); in send_next()
688 test_and_set_bit(FLG_NMD_DATA, &ch->bch.Flags); in send_next()
695 test_and_clear_bit(FLG_TX_EMPTY, &ch->bch.Flags); in send_next()
696 } else if (test_bit(FLG_TX_EMPTY, &ch->bch.Flags)) { in send_next()
699 if (test_and_clear_bit(FLG_DLEETX, &ch->bch.Flags)) { in send_next()
701 &ch->bch.Flags)) { in send_next()
703 &ch->bch.Flags)) { in send_next()
708 test_and_set_bit(FLG_LL_OK, &ch->bch.Flags); in send_next()
712 } else if (test_bit(FLG_FILLEMPTY, &ch->bch.Flags)) { in send_next()
713 test_and_set_bit(FLG_TX_EMPTY, &ch->bch.Flags); in send_next()
726 if (ch && test_bit(FLG_ACTIVE, &ch->bch.Flags)) { in check_send()
736 if (ch && test_bit(FLG_ACTIVE, &ch->bch.Flags)) { in check_send()
757 if (!test_and_clear_bit(ISAR_RATE_REQ, &ch->is->Flags)) in isar_pump_status_rsp()
830 test_and_set_bit(ISAR_RATE_REQ, &ch->is->Flags); in isar_pump_statev_modem()
871 if (test_bit(BC_FLG_ORIG, &ch->bch.Flags)) in isar_pump_statev_fax()
925 test_and_set_bit(ISAR_RATE_REQ, &ch->is->Flags); in isar_pump_statev_fax()
931 &ch->bch.Flags)) in isar_pump_statev_fax()
936 &ch->bch.Flags); in isar_pump_statev_fax()
984 if (test_and_clear_bit(FLG_LL_OK, &ch->bch.Flags)) in isar_pump_statev_fax()
1139 pr_debug("%s: ftimer flags %lx\n", ch->is->name, ch->bch.Flags); in ftimer_handler()
1140 test_and_clear_bit(FLG_FTI_RUN, &ch->bch.Flags); in ftimer_handler()
1141 if (test_and_clear_bit(FLG_LL_CONN, &ch->bch.Flags)) in ftimer_handler()
1157 if (test_bit(FLG_DTMFSEND, &ch->bch.Flags)) { in setup_pump()
1169 if (test_bit(FLG_ORIGIN, &ch->bch.Flags)) { in setup_pump()
1185 if (test_bit(FLG_ORIGIN, &ch->bch.Flags)) { in setup_pump()
1196 test_and_set_bit(FLG_FTI_RUN, &ch->bch.Flags); in setup_pump()
1260 if (test_bit(FLG_DTMFSEND, &ch->bch.Flags)) in setup_iom2()
1281 test_and_clear_bit(FLG_HDLC, &ch->bch.Flags); in modeisar()
1282 test_and_clear_bit(FLG_TRANSPARENT, &ch->bch.Flags); in modeisar()
1287 if (!test_and_set_bit(ISAR_DP2_USE, &ch->is->Flags)) in modeisar()
1290 &ch->is->Flags)) in modeisar()
1297 test_and_set_bit(FLG_HDLC, &ch->bch.Flags); in modeisar()
1300 &ch->bch.Flags); in modeisar()
1306 if (!test_and_set_bit(ISAR_DP1_USE, &ch->is->Flags)) in modeisar()
1329 test_and_clear_bit(ISAR_DP1_USE, &ch->is->Flags); in modeisar()
1331 test_and_clear_bit(ISAR_DP2_USE, &ch->is->Flags); in modeisar()
1487 if (!test_and_set_bit(FLG_ACTIVE, &bch->Flags)) in isar_l2l1()
1535 test_bit(FLG_INITIALIZED, &bch->Flags)) { in isar_l2l1()
1545 test_and_set_bit(FLG_DLEETX, &bch->Flags); in isar_l2l1()
1579 test_and_clear_bit(FLG_OPEN, &bch->Flags); in isar_bctrl()
1607 test_and_clear_bit(FLG_INITIALIZED, &isar->ch[0].bch.Flags); in free_isar()
1608 test_and_clear_bit(FLG_INITIALIZED, &isar->ch[1].bch.Flags); in free_isar()
1628 test_and_set_bit(FLG_INITIALIZED, &isar->ch[0].bch.Flags); in init_isar()
1630 test_and_set_bit(FLG_INITIALIZED, &isar->ch[1].bch.Flags); in init_isar()
1644 if (test_and_set_bit(FLG_OPEN, &bch->Flags)) in isar_open()