Lines Matching refs:options
122 if (!test_bit(OPTION_L1_HOLD, &mgr->options)) { in da_deactivate()
135 if (!test_bit(OPTION_L1_HOLD, &mgr->options)) { in da_ui()
331 if (!test_bit(MGR_PH_ACTIVE, &mgr->options)) in do_send()
334 if (!test_and_set_bit(MGR_PH_NOTREADY, &mgr->options)) { in do_send()
338 test_and_clear_bit(MGR_PH_NOTREADY, &mgr->options); in do_send()
345 test_and_clear_bit(MGR_PH_NOTREADY, &mgr->options); in do_send()
354 if (test_bit(MGR_PH_NOTREADY, &mgr->options)) { in do_ack()
356 if (test_bit(MGR_PH_ACTIVE, &mgr->options)) { in do_ack()
368 test_and_clear_bit(MGR_PH_NOTREADY, &mgr->options); in do_ack()
377 if (!test_bit(MGR_PH_ACTIVE, &mgr->options)) { in mgr_send_down()
388 if (!test_bit(MGR_OPT_NETWORK, &mgr->options)) /* only net send UI */ in dl_unit_data()
390 if (!test_bit(MGR_PH_ACTIVE, &mgr->options)) in dl_unit_data()
438 if (test_bit(MGR_OPT_NETWORK, &mgr->options)) in put_tei_msg()
908 if (!test_bit(MGR_OPT_NETWORK, &mgr->options)) in ph_data_ind()
915 if (test_bit(MGR_OPT_NETWORK, &mgr->options)) in ph_data_ind()
947 if (test_bit(MGR_OPT_NETWORK, &tm->mgr->options)) in l2_tei()
949 if (test_bit(MGR_OPT_USER, &tm->mgr->options)) in l2_tei()
953 if (test_bit(MGR_OPT_NETWORK, &tm->mgr->options)) in l2_tei()
957 if (test_bit(MGR_OPT_NETWORK, &tm->mgr->options)) in l2_tei()
961 if (test_bit(MGR_OPT_NETWORK, &tm->mgr->options)) in l2_tei()
1002 if (test_bit(MGR_OPT_NETWORK, &mgr->options)) { in create_teimgr()
1013 } else if (test_bit(MGR_OPT_USER, &mgr->options)) { in create_teimgr()
1020 test_and_set_bit(MGR_OPT_NETWORK, &mgr->options); in create_teimgr()
1022 test_and_set_bit(MGR_OPT_USER, &mgr->options); in create_teimgr()
1032 if (test_bit(MGR_PH_ACTIVE, &mgr->options)) in create_teimgr()
1116 test_and_set_bit(MGR_PH_ACTIVE, &mgr->options); in mgr_send()
1124 test_and_clear_bit(MGR_PH_ACTIVE, &mgr->options); in mgr_send()
1143 test_and_clear_bit(OPTION_L1_HOLD, &mgr->options); in free_teimanager()
1144 if (test_bit(MGR_OPT_NETWORK, &mgr->options)) { in free_teimanager()
1147 if (test_bit(OPTION_L2_CLEANUP, &mgr->options)) { in free_teimanager()
1155 test_and_clear_bit(MGR_OPT_NETWORK, &mgr->options); in free_teimanager()
1162 if (test_bit(MGR_OPT_USER, &mgr->options)) { in free_teimanager()
1164 test_and_clear_bit(MGR_OPT_USER, &mgr->options); in free_teimanager()
1179 test_and_set_bit(OPTION_L2_CLEANUP, &mgr->options); in ctrl_teimanager()
1181 test_and_clear_bit(OPTION_L2_CLEANUP, &mgr->options); in ctrl_teimanager()
1185 test_and_set_bit(OPTION_L1_HOLD, &mgr->options); in ctrl_teimanager()
1187 test_and_clear_bit(OPTION_L1_HOLD, &mgr->options); in ctrl_teimanager()
1206 if (test_bit(MGR_OPT_USER, &mgr->options)) in check_data()