Home
last modified time | relevance | path

Searched refs:l2cap_conn (Results 1 – 14 of 14) sorted by relevance

/OK3568_Linux_fs/kernel/net/bluetooth/
H A Da2mp.h22 struct l2cap_conn *l2cap_conn; member
129 struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn,
138 static inline struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn, in a2mp_channel_create()
H A Dl2cap_core.c55 static struct sk_buff *l2cap_build_cmd(struct l2cap_conn *conn,
57 static void l2cap_send_cmd(struct l2cap_conn *conn, u8 ident, u8 code, u16 len,
92 static struct l2cap_chan *__l2cap_get_chan_by_dcid(struct l2cap_conn *conn, in __l2cap_get_chan_by_dcid()
104 static struct l2cap_chan *__l2cap_get_chan_by_scid(struct l2cap_conn *conn, in __l2cap_get_chan_by_scid()
119 static struct l2cap_chan *l2cap_get_chan_by_scid(struct l2cap_conn *conn, in l2cap_get_chan_by_scid()
140 static struct l2cap_chan *l2cap_get_chan_by_dcid(struct l2cap_conn *conn, in l2cap_get_chan_by_dcid()
158 static struct l2cap_chan *__l2cap_get_chan_by_ident(struct l2cap_conn *conn, in __l2cap_get_chan_by_ident()
170 static struct l2cap_chan *l2cap_get_chan_by_ident(struct l2cap_conn *conn, in l2cap_get_chan_by_ident()
266 static u16 l2cap_alloc_cid(struct l2cap_conn *conn) in l2cap_alloc_cid()
433 struct l2cap_conn *conn = chan->conn; in l2cap_chan_timeout()
[all …]
H A Dsmp.c97 struct l2cap_conn *conn;
589 static void smp_send_cmd(struct l2cap_conn *conn, u8 code, u16 len, void *data) in smp_send_cmd()
647 static void build_pairing_cmd(struct l2cap_conn *conn, in build_pairing_cmd()
723 static u8 check_enc_key_size(struct l2cap_conn *conn, __u8 max_key_size) in check_enc_key_size()
742 static void smp_chan_destroy(struct l2cap_conn *conn) in smp_chan_destroy()
796 static void smp_failure(struct l2cap_conn *conn, u8 reason) in smp_failure()
850 static int tk_request(struct l2cap_conn *conn, u8 remote_oob, u8 auth, in tk_request()
949 struct l2cap_conn *conn = smp->conn; in smp_confirm()
976 struct l2cap_conn *conn = smp->conn; in smp_random()
1034 static void smp_notify_keys(struct l2cap_conn *conn) in smp_notify_keys()
[all …]
H A Da2mp.c243 struct l2cap_conn *conn = mgr->l2cap_conn; in a2mp_discover_rsp()
580 &mgr->l2cap_conn->hcon->dst); in a2mp_discphyslink_req()
766 static struct l2cap_chan *a2mp_chan_open(struct l2cap_conn *conn, bool locked) in a2mp_chan_open()
849 static struct amp_mgr *amp_mgr_create(struct l2cap_conn *conn, bool locked) in amp_mgr_create()
860 mgr->l2cap_conn = conn; in amp_mgr_create()
886 struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn, in a2mp_channel_create()
1035 struct l2cap_conn *conn = chan->conn; in a2mp_discover_amp()
H A D6lowpan.c148 __peer_lookup_conn(struct lowpan_btle_dev *dev, struct l2cap_conn *conn) in __peer_lookup_conn()
227 static struct lowpan_peer *lookup_peer(struct l2cap_conn *conn) in lookup_peer()
245 static struct lowpan_btle_dev *lookup_dev(struct l2cap_conn *conn) in lookup_dev()
942 static int bt_6lowpan_disconnect(struct l2cap_conn *conn, u8 dst_type) in bt_6lowpan_disconnect()
991 struct l2cap_conn **conn) in get_l2cap_conn()
1018 *conn = (struct l2cap_conn *)hcon->l2cap_data; in get_l2cap_conn()
1130 struct l2cap_conn *conn = NULL; in lowpan_control_write()
H A Damp.c108 bdaddr_t *dst = &mgr->l2cap_conn->hcon->dst; in phylink_add()
452 if (phylink_gen_key(mgr->l2cap_conn->hcon, cp.key, &cp.key_len, in amp_create_phylink()
491 if (phylink_gen_key(mgr->l2cap_conn->hcon, cp.key, &cp.key_len, in amp_accept_phylink()
H A Dl2cap_sock.c903 struct l2cap_conn *conn; in l2cap_sock_setsockopt()
1308 struct l2cap_conn *conn; in l2cap_sock_shutdown()
H A Dhci_event.c4970 bredr_hcon = hcon->amp_mgr->l2cap_conn->hcon; in hci_phy_link_complete_evt()
/OK3568_Linux_fs/kernel/include/net/bluetooth/
H A Dl2cap.h540 struct l2cap_conn *conn;
679 struct l2cap_conn { struct
719 int (*probe) (struct l2cap_conn *conn, struct l2cap_user *user); argument
720 void (*remove) (struct l2cap_conn *conn, struct l2cap_user *user);
999 void l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan);
1000 void __l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan);
1002 void l2cap_chan_list(struct l2cap_conn *conn, l2cap_chan_func_t func,
1011 struct l2cap_conn *l2cap_conn_get(struct l2cap_conn *conn);
1012 void l2cap_conn_put(struct l2cap_conn *conn);
1014 int l2cap_register_user(struct l2cap_conn *conn, struct l2cap_user *user);
[all …]
/OK3568_Linux_fs/kernel/net/bluetooth/hidp/
H A Dcore.c65 static int hidp_session_probe(struct l2cap_conn *conn,
67 static void hidp_session_remove(struct l2cap_conn *conn,
915 struct l2cap_conn *conn) in hidp_session_new()
1098 static int hidp_session_probe(struct l2cap_conn *conn, in hidp_session_probe()
1159 static void hidp_session_remove(struct l2cap_conn *conn, in hidp_session_remove()
1353 struct l2cap_conn *conn; in hidp_connection_add()
H A Dhidp.h150 struct l2cap_conn *conn;
/OK3568_Linux_fs/kernel/net/bluetooth/bnep/
H A Dcore.c544 struct l2cap_conn *conn = l2cap_pi(session->sock->sk)->chan->conn; in bnep_get_device()
/OK3568_Linux_fs/kernel/net/bluetooth/rfcomm/
H A Dsock.c736 struct l2cap_conn *conn; in rfcomm_sock_getsockopt_old()
H A Dcore.c211 struct l2cap_conn *conn = l2cap_pi(sk)->chan->conn; in rfcomm_check_security()
1319 struct l2cap_conn *conn = l2cap_pi(sk)->chan->conn; in rfcomm_dlc_accept()