Lines Matching refs:options
131 if (!test_bit(OPTION_L1_HOLD, &mgr->options)) { in da_deactivate()
144 if (!test_bit(OPTION_L1_HOLD, &mgr->options)) { in da_ui()
340 if (!test_bit(MGR_PH_ACTIVE, &mgr->options)) in do_send()
343 if (!test_and_set_bit(MGR_PH_NOTREADY, &mgr->options)) { in do_send()
347 test_and_clear_bit(MGR_PH_NOTREADY, &mgr->options); in do_send()
354 test_and_clear_bit(MGR_PH_NOTREADY, &mgr->options); in do_send()
363 if (test_bit(MGR_PH_NOTREADY, &mgr->options)) { in do_ack()
365 if (test_bit(MGR_PH_ACTIVE, &mgr->options)) { in do_ack()
377 test_and_clear_bit(MGR_PH_NOTREADY, &mgr->options); in do_ack()
386 if (!test_bit(MGR_PH_ACTIVE, &mgr->options)) { in mgr_send_down()
397 if (!test_bit(MGR_OPT_NETWORK, &mgr->options)) /* only net send UI */ in dl_unit_data()
399 if (!test_bit(MGR_PH_ACTIVE, &mgr->options)) in dl_unit_data()
447 if (test_bit(MGR_OPT_NETWORK, &mgr->options)) in put_tei_msg()
917 if (!test_bit(MGR_OPT_NETWORK, &mgr->options)) in ph_data_ind()
924 if (test_bit(MGR_OPT_NETWORK, &mgr->options)) in ph_data_ind()
956 if (test_bit(MGR_OPT_NETWORK, &tm->mgr->options)) in l2_tei()
958 if (test_bit(MGR_OPT_USER, &tm->mgr->options)) in l2_tei()
962 if (test_bit(MGR_OPT_NETWORK, &tm->mgr->options)) in l2_tei()
966 if (test_bit(MGR_OPT_NETWORK, &tm->mgr->options)) in l2_tei()
970 if (test_bit(MGR_OPT_NETWORK, &tm->mgr->options)) in l2_tei()
1011 if (test_bit(MGR_OPT_NETWORK, &mgr->options)) { in create_teimgr()
1022 } else if (test_bit(MGR_OPT_USER, &mgr->options)) { in create_teimgr()
1029 test_and_set_bit(MGR_OPT_NETWORK, &mgr->options); in create_teimgr()
1031 test_and_set_bit(MGR_OPT_USER, &mgr->options); in create_teimgr()
1041 if (test_bit(MGR_PH_ACTIVE, &mgr->options)) in create_teimgr()
1125 test_and_set_bit(MGR_PH_ACTIVE, &mgr->options); in mgr_send()
1133 test_and_clear_bit(MGR_PH_ACTIVE, &mgr->options); in mgr_send()
1152 test_and_clear_bit(OPTION_L1_HOLD, &mgr->options); in free_teimanager()
1153 if (test_bit(MGR_OPT_NETWORK, &mgr->options)) { in free_teimanager()
1156 if (test_bit(OPTION_L2_CLEANUP, &mgr->options)) { in free_teimanager()
1164 test_and_clear_bit(MGR_OPT_NETWORK, &mgr->options); in free_teimanager()
1171 if (test_bit(MGR_OPT_USER, &mgr->options)) { in free_teimanager()
1173 test_and_clear_bit(MGR_OPT_USER, &mgr->options); in free_teimanager()
1188 test_and_set_bit(OPTION_L2_CLEANUP, &mgr->options); in ctrl_teimanager()
1190 test_and_clear_bit(OPTION_L2_CLEANUP, &mgr->options); in ctrl_teimanager()
1194 test_and_set_bit(OPTION_L1_HOLD, &mgr->options); in ctrl_teimanager()
1196 test_and_clear_bit(OPTION_L1_HOLD, &mgr->options); in ctrl_teimanager()
1215 if (test_bit(MGR_OPT_USER, &mgr->options)) in check_data()