Lines Matching refs:conf_state

477 	set_bit(CONF_NOT_COMPLETE, &chan->conf_state);  in l2cap_chan_create()
537 chan->conf_state = 0; in l2cap_chan_set_defaults()
538 set_bit(CONF_NOT_COMPLETE, &chan->conf_state); in l2cap_chan_set_defaults()
677 if (test_bit(CONF_NOT_COMPLETE, &chan->conf_state)) in l2cap_chan_del()
1215 return !test_bit(CONF_CONNECT_PEND, &chan->conf_state); in __l2cap_no_conn_pending()
1228 set_bit(CONF_CONNECT_PEND, &chan->conf_state); in l2cap_send_conn_req()
1243 chan->conf_state = 0; in l2cap_chan_ready()
1520 &chan->conf_state)) { in l2cap_conn_start()
1556 if (test_bit(CONF_REQ_SENT, &chan->conf_state) || in l2cap_conn_start()
1562 set_bit(CONF_REQ_SENT, &chan->conf_state); in l2cap_conn_start()
3264 if (test_bit(CONF_STATE2_DEVICE, &chan->conf_state)) in l2cap_build_conf_req()
3332 test_bit(CONF_RECV_NO_FCS, &chan->conf_state)) { in l2cap_build_conf_req()
3360 test_bit(CONF_RECV_NO_FCS, &chan->conf_state)) { in l2cap_build_conf_req()
3426 set_bit(CONF_RECV_NO_FCS, &chan->conf_state); in l2cap_parse_conf_req()
3456 if (!test_bit(CONF_STATE2_DEVICE, &chan->conf_state)) { in l2cap_parse_conf_req()
3495 set_bit(CONF_MTU_DONE, &chan->conf_state); in l2cap_parse_conf_req()
3515 set_bit(CONF_LOC_CONF_PEND, &chan->conf_state); in l2cap_parse_conf_req()
3522 set_bit(CONF_MODE_DONE, &chan->conf_state); in l2cap_parse_conf_req()
3526 if (!test_bit(CONF_EWS_RECV, &chan->conf_state)) in l2cap_parse_conf_req()
3541 set_bit(CONF_MODE_DONE, &chan->conf_state); in l2cap_parse_conf_req()
3570 set_bit(CONF_MODE_DONE, &chan->conf_state); in l2cap_parse_conf_req()
3585 set_bit(CONF_OUTPUT_DONE, &chan->conf_state); in l2cap_parse_conf_req()
3637 if (test_bit(CONF_STATE2_DEVICE, &chan->conf_state) && in l2cap_parse_conf_rsp()
3671 &chan->conf_state); in l2cap_parse_conf_rsp()
3845 if (test_and_set_bit(CONF_REQ_SENT, &chan->conf_state)) in __l2cap_connect_rsp_defer()
4052 if (chan && !test_bit(CONF_REQ_SENT, &chan->conf_state) && in l2cap_connect()
4055 set_bit(CONF_REQ_SENT, &chan->conf_state); in l2cap_connect()
4137 clear_bit(CONF_CONNECT_PEND, &chan->conf_state); in l2cap_connect_create_rsp()
4139 if (test_and_set_bit(CONF_REQ_SENT, &chan->conf_state)) in l2cap_connect_create_rsp()
4148 set_bit(CONF_CONNECT_PEND, &chan->conf_state); in l2cap_connect_create_rsp()
4172 else if (!test_bit(CONF_RECV_NO_FCS, &chan->conf_state)) in set_default_fcs()
4184 clear_bit(CONF_LOC_CONF_PEND, &chan->conf_state); in l2cap_send_efs_conf_rsp()
4185 set_bit(CONF_OUTPUT_DONE, &chan->conf_state); in l2cap_send_efs_conf_rsp()
4271 if (!test_bit(CONF_OUTPUT_DONE, &chan->conf_state)) in l2cap_config_req()
4274 if (test_bit(CONF_INPUT_DONE, &chan->conf_state)) { in l2cap_config_req()
4289 if (!test_and_set_bit(CONF_REQ_SENT, &chan->conf_state)) { in l2cap_config_req()
4298 if (test_bit(CONF_REM_CONF_PEND, &chan->conf_state) && in l2cap_config_req()
4299 test_bit(CONF_LOC_CONF_PEND, &chan->conf_state)) { in l2cap_config_req()
4340 clear_bit(CONF_REM_CONF_PEND, &chan->conf_state); in l2cap_config_rsp()
4344 set_bit(CONF_REM_CONF_PEND, &chan->conf_state); in l2cap_config_rsp()
4346 if (test_bit(CONF_LOC_CONF_PEND, &chan->conf_state)) { in l2cap_config_rsp()
4399 set_bit(CONF_INPUT_DONE, &chan->conf_state); in l2cap_config_rsp()
4401 if (test_bit(CONF_OUTPUT_DONE, &chan->conf_state)) { in l2cap_config_rsp()
7388 if (!test_bit(CONF_REQ_SENT, &chan->conf_state) && in l2cap_security_cfm()
7391 set_bit(CONF_REQ_SENT, &chan->conf_state); in l2cap_security_cfm()