Home
last modified time | relevance | path

Searched refs:BT_CLOSED (Results 1 – 15 of 15) sorted by relevance

/OK3568_Linux_fs/kernel/net/bluetooth/rfcomm/
H A Dcore.c379 if (d->state != BT_OPEN && d->state != BT_CLOSED) in __rfcomm_dlc_open()
488 d->state = BT_CLOSED; in __rfcomm_dlc_close()
745 s->state = BT_CLOSED; in rfcomm_session_close()
751 d->state = BT_CLOSED; in rfcomm_session_close()
1225 d->state = BT_CLOSED; in rfcomm_recv_ua()
1267 d->state = BT_CLOSED; in rfcomm_recv_dm()
1298 d->state = BT_CLOSED; in rfcomm_recv_disc()
1912 d->state = BT_CLOSED; in rfcomm_process_dlcs()
1949 if (s && (sk->sk_state == BT_CLOSED)) in rfcomm_process_rx()
2004 case BT_CLOSED: in rfcomm_check_connection()
H A Dsock.c82 if (d->state == BT_CLOSED) { in rfcomm_sk_state_change()
185 parent->sk_state = BT_CLOSED; in rfcomm_sock_cleanup_listen()
909 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in rfcomm_sock_shutdown()
H A Dtty.c430 sk->sk_state = BT_CLOSED; in __rfcomm_create_dev()
637 } else if (dlc->state == BT_CLOSED) in rfcomm_dev_state_change()
/OK3568_Linux_fs/kernel/net/bluetooth/cmtp/
H A Dcapi.c220 application->state = BT_CLOSED; in cmtp_recv_interopmsg()
424 if (application->state == BT_CLOSED) { in cmtp_register_appl()
467 (application->state == BT_CLOSED), CMTP_INTEROP_TIMEOUT); in cmtp_release_appl()
/OK3568_Linux_fs/kernel/include/net/bluetooth/
H A Dbluetooth.h209 BT_CLOSED enumerator
232 case BT_CLOSED: in state_to_string()
/OK3568_Linux_fs/kernel/net/bluetooth/
H A Dl2cap_sock.c1388 err = bt_sock_wait_state(sk, BT_CLOSED, in l2cap_sock_shutdown()
1570 case BT_CLOSED: in l2cap_sock_teardown_cb()
1574 sk->sk_state = BT_CLOSED; in l2cap_sock_teardown_cb()
1575 chan->state = BT_CLOSED; in l2cap_sock_teardown_cb()
1579 sk->sk_state = BT_CLOSED; in l2cap_sock_teardown_cb()
1580 chan->state = BT_CLOSED; in l2cap_sock_teardown_cb()
H A Dsco.c172 sk->sk_state = BT_CLOSED; in sco_chan_del()
385 parent->sk_state = BT_CLOSED; in sco_sock_cleanup_listen()
1063 err = bt_sock_wait_state(sk, BT_CLOSED, in sco_sock_shutdown()
1088 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in sco_sock_release()
H A Daf_bluetooth.c228 if (sk->sk_state == BT_CLOSED) { in bt_accept_dequeue()
477 if (sk->sk_state == BT_CLOSED) in bt_sock_poll()
H A Dhci_conn.c727 conn->state = BT_CLOSED; in hci_le_conn_failed()
1262 if (acl->state == BT_OPEN || acl->state == BT_CLOSED) { in hci_connect_acl()
1300 (sco->state == BT_OPEN || sco->state == BT_CLOSED)) { in hci_connect_sco()
1557 c->state = BT_CLOSED; in hci_conn_hash_flush()
H A Dhci_event.c1858 conn->state = BT_CLOSED; in hci_cs_create_conn()
1901 sco->state = BT_CLOSED; in hci_cs_add_sco()
2193 sco->state = BT_CLOSED; in hci_cs_setup_sync_conn()
2655 conn->state = BT_CLOSED; in hci_conn_complete_evt()
2827 conn->state = BT_CLOSED; in hci_disconn_complete_evt()
4372 conn->state = BT_CLOSED; in hci_sync_conn_complete_evt()
5065 hcon->state = BT_CLOSED; in hci_disconn_phylink_complete_evt()
H A Da2mp.c729 case BT_CLOSED: in a2mp_chan_state_change_cb()
H A Dhci_sock.c1469 if (sk->sk_state == BT_CLOSED) in hci_sock_recvmsg()
H A Dhci_request.c2731 conn->state = BT_CLOSED; in __hci_abort_conn()
H A Dl2cap_core.c5225 if (chan->state == BT_DISCONN || chan->state == BT_CLOSED) in __l2cap_physical_cfm()
H A Dmgmt.c2605 if (!conn || conn->state == BT_OPEN || conn->state == BT_CLOSED) { in disconnect()