Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/net/bluetooth/
Dl2cap.h538 struct l2cap_chan { struct
651 struct l2cap_chan *(*new_connection) (struct l2cap_chan *chan); argument
652 int (*recv) (struct l2cap_chan * chan,
654 void (*teardown) (struct l2cap_chan *chan, int err);
655 void (*close) (struct l2cap_chan *chan);
656 void (*state_change) (struct l2cap_chan *chan,
658 void (*ready) (struct l2cap_chan *chan);
659 void (*defer) (struct l2cap_chan *chan);
660 void (*resume) (struct l2cap_chan *chan);
661 void (*suspend) (struct l2cap_chan *chan);
[all …]
Dbluetooth.h344 struct l2cap_chan *chan;
/kernel/linux/linux-5.10/net/bluetooth/
Da2mp.h23 struct l2cap_chan *a2mp_chan;
24 struct l2cap_chan *bredr_chan;
129 struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn,
131 void a2mp_discover_amp(struct l2cap_chan *chan);
138 static inline struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn, in a2mp_channel_create()
144 static inline void a2mp_discover_amp(struct l2cap_chan *chan) in a2mp_discover_amp()
Dl2cap_core.c59 static int l2cap_build_conf_req(struct l2cap_chan *chan, void *data, size_t data_size);
60 static void l2cap_send_disconn_req(struct l2cap_chan *chan, int err);
62 static void l2cap_tx(struct l2cap_chan *chan, struct l2cap_ctrl *control,
92 static struct l2cap_chan *__l2cap_get_chan_by_dcid(struct l2cap_conn *conn, in __l2cap_get_chan_by_dcid()
95 struct l2cap_chan *c; 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()
107 struct l2cap_chan *c; 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()
122 struct l2cap_chan *c; 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()
[all …]
D6lowpan.c34 struct l2cap_chan *chan;
52 static struct l2cap_chan *listen_chan;
58 struct l2cap_chan *chan;
135 __peer_lookup_chan(struct lowpan_btle_dev *dev, struct l2cap_chan *chan) in __peer_lookup_chan()
373 static int chan_recv_cb(struct l2cap_chan *chan, struct sk_buff *skb) in chan_recv_cb()
457 static int send_pkt(struct l2cap_chan *chan, struct sk_buff *skb, in send_pkt()
645 static struct l2cap_chan *chan_create(void) in chan_create()
647 struct l2cap_chan *chan; in chan_create()
662 static struct l2cap_chan *add_peer_chan(struct l2cap_chan *chan, in add_peer_chan()
692 static int setup_netdev(struct l2cap_chan *chan, struct lowpan_btle_dev **dev) in setup_netdev()
[all …]
Dl2cap_sock.c84 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_bind()
181 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_init_pid()
198 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_connect()
289 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_listen()
406 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_getname()
433 static int l2cap_get_mode(struct l2cap_chan *chan) in l2cap_get_mode()
455 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_getsockopt_old()
574 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_getsockopt()
724 static bool l2cap_valid_mtu(struct l2cap_chan *chan, u16 mtu) in l2cap_valid_mtu()
744 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_setsockopt_old()
[all …]
Damp.h42 void amp_create_logical_link(struct l2cap_chan *chan);
45 static inline void amp_create_logical_link(struct l2cap_chan *chan) in amp_create_logical_link()
57 void amp_create_logical_link(struct l2cap_chan *chan);
Dsmp.c41 ((struct smp_dev *)((struct l2cap_chan *)((hdev)->smp_data))->data)
500 struct l2cap_chan *chan = hdev->smp_data; in smp_irk_matches()
518 struct l2cap_chan *chan = hdev->smp_data; in smp_generate_rpa()
540 struct l2cap_chan *chan = hdev->smp_data; in smp_generate_oob()
591 struct l2cap_chan *chan = conn->smp; in smp_send_cmd()
651 struct l2cap_chan *chan = conn->smp; in build_pairing_cmd()
725 struct l2cap_chan *chan = conn->smp; in check_enc_key_size()
744 struct l2cap_chan *chan = conn->smp; in smp_chan_destroy()
799 struct l2cap_chan *chan = conn->smp; in smp_failure()
854 struct l2cap_chan *chan = conn->smp; in tk_request()
[all …]
Da2mp.c44 struct l2cap_chan *chan = mgr->a2mp_chan; in a2mp_send()
244 struct l2cap_chan *chan; in a2mp_discover_rsp()
609 static int a2mp_chan_recv_cb(struct l2cap_chan *chan, struct sk_buff *skb) in a2mp_chan_recv_cb()
711 static void a2mp_chan_close_cb(struct l2cap_chan *chan) in a2mp_chan_close_cb()
716 static void a2mp_chan_state_change_cb(struct l2cap_chan *chan, int state, in a2mp_chan_state_change_cb()
736 static struct sk_buff *a2mp_chan_alloc_skb_cb(struct l2cap_chan *chan, in a2mp_chan_alloc_skb_cb()
766 static struct l2cap_chan *a2mp_chan_open(struct l2cap_conn *conn, bool locked) in a2mp_chan_open()
768 struct l2cap_chan *chan; in a2mp_chan_open()
852 struct l2cap_chan *chan; in amp_mgr_create()
886 struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn, in a2mp_channel_create()
[all …]
Damp.c506 struct l2cap_chan *bredr_chan; in amp_physical_cfm()
530 void amp_create_logical_link(struct l2cap_chan *chan) in amp_create_logical_link()
Dhci_event.c5017 struct l2cap_chan *bredr_chan = mgr->bredr_chan; in hci_loglink_complete_evt()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dnet.patch5 @@ -1527,9 +1527,6 @@ static void l2cap_sock_close_cb(struct l2cap_chan *chan)
15 @@ -1538,9 +1535,6 @@ static void l2cap_sock_teardown_cb(struct l2cap_chan *chan, int err)
/kernel/linux/linux-5.10/net/bluetooth/hidp/
Dcore.c1315 struct l2cap_chan *ctrl_chan, *intr_chan; in hidp_verify_sockets()
1354 struct l2cap_chan *chan; in hidp_connection_add()
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/
Dcore.c729 struct l2cap_chan *chan; in rfcomm_session_get()
820 struct l2cap_chan *chan = l2cap_pi(s->sock->sk)->chan; in rfcomm_session_getaddr()
2189 struct l2cap_chan *chan = l2cap_pi(s->sock->sk)->chan; in rfcomm_dlc_debugfs_show()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0008_linux_net.patch39 @@ -3362,31 +3362,8 @@ static void smp_del_chan(struct l2cap_chan *chan)
89 struct l2cap_chan *chan;