Lines Matching defs:chan
157 int l2cap_add_psm(struct l2cap_chan *chan, bdaddr_t *src, __le16 psm) in l2cap_add_psm()
190 int l2cap_add_scid(struct l2cap_chan *chan, __u16 scid) in l2cap_add_scid()
213 static void __l2cap_state_change(struct l2cap_chan *chan, int state) in __l2cap_state_change()
222 static void l2cap_state_change(struct l2cap_chan *chan, int state) in l2cap_state_change()
231 static inline void __l2cap_chan_set_err(struct l2cap_chan *chan, int err) in __l2cap_chan_set_err()
238 static inline void l2cap_chan_set_err(struct l2cap_chan *chan, int err) in l2cap_chan_set_err()
247 static void __set_retrans_timer(struct l2cap_chan *chan) in __set_retrans_timer()
256 static void __set_monitor_timer(struct l2cap_chan *chan) in __set_monitor_timer()
398 struct l2cap_chan *chan = container_of(work, struct l2cap_chan, in l2cap_chan_timeout() local
428 struct l2cap_chan *chan; in l2cap_chan_create() local
456 struct l2cap_chan *chan = container_of(kref, struct l2cap_chan, kref); in l2cap_chan_destroy() local
481 void l2cap_chan_set_defaults(struct l2cap_chan *chan) in l2cap_chan_set_defaults()
493 void __l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan) in __l2cap_chan_add()
549 void l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan) in l2cap_chan_add()
556 void l2cap_chan_del(struct l2cap_chan *chan, int err) in l2cap_chan_del()
616 void l2cap_chan_close(struct l2cap_chan *chan, int reason) in l2cap_chan_close()
673 static inline u8 l2cap_get_auth_type(struct l2cap_chan *chan) in l2cap_get_auth_type()
705 int l2cap_chan_check_security(struct l2cap_chan *chan) in l2cap_chan_check_security()
759 static bool __chan_is_moving(struct l2cap_chan *chan) in __chan_is_moving()
765 static void l2cap_do_send(struct l2cap_chan *chan, struct sk_buff *skb) in l2cap_do_send()
840 static inline void __unpack_control(struct l2cap_chan *chan, in __unpack_control()
892 static inline void __pack_control(struct l2cap_chan *chan, in __pack_control()
905 static inline unsigned int __ertm_hdr_size(struct l2cap_chan *chan) in __ertm_hdr_size()
913 static struct sk_buff *l2cap_create_sframe_pdu(struct l2cap_chan *chan, in l2cap_create_sframe_pdu()
946 static void l2cap_send_sframe(struct l2cap_chan *chan, in l2cap_send_sframe()
987 static void l2cap_send_rr_or_rnr(struct l2cap_chan *chan, bool poll) in l2cap_send_rr_or_rnr()
1006 static inline int __l2cap_no_conn_pending(struct l2cap_chan *chan) in __l2cap_no_conn_pending()
1011 static bool __amp_capable(struct l2cap_chan *chan) in __amp_capable()
1024 static bool l2cap_check_efs(struct l2cap_chan *chan) in l2cap_check_efs()
1030 void l2cap_send_conn_req(struct l2cap_chan *chan) in l2cap_send_conn_req()
1045 static void l2cap_send_create_chan_req(struct l2cap_chan *chan, u8 amp_id) in l2cap_send_create_chan_req()
1058 static void l2cap_move_setup(struct l2cap_chan *chan) in l2cap_move_setup()
1093 static void l2cap_move_done(struct l2cap_chan *chan) in l2cap_move_done()
1115 static void l2cap_chan_ready(struct l2cap_chan *chan) in l2cap_chan_ready()
1126 static void l2cap_start_connection(struct l2cap_chan *chan) in l2cap_start_connection()
1136 static void l2cap_do_start(struct l2cap_chan *chan) in l2cap_do_start()
1183 static void l2cap_send_disconn_req(struct l2cap_chan *chan, int err) in l2cap_send_disconn_req()
1217 struct l2cap_chan *chan, *tmp; in l2cap_conn_start() local
1342 struct l2cap_chan *chan, *pchan; in l2cap_le_conn_ready() local
1378 struct l2cap_chan *chan; in l2cap_conn_ready() local
1424 struct l2cap_chan *chan; in l2cap_conn_unreliable() local
1535 struct l2cap_chan *chan, *l; in l2cap_conn_del() local
1715 int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid, in l2cap_chan_connect()
1856 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in __l2cap_wait_ack() local
1888 struct l2cap_chan *chan = container_of(work, struct l2cap_chan, in l2cap_monitor_timeout() local
1909 struct l2cap_chan *chan = container_of(work, struct l2cap_chan, in l2cap_retrans_timeout() local
1927 static void l2cap_streaming_send(struct l2cap_chan *chan, in l2cap_streaming_send()
1966 static int l2cap_ertm_send(struct l2cap_chan *chan) in l2cap_ertm_send()
2036 static void l2cap_ertm_resend(struct l2cap_chan *chan) in l2cap_ertm_resend()
2115 static void l2cap_retransmit(struct l2cap_chan *chan, in l2cap_retransmit()
2124 static void l2cap_retransmit_all(struct l2cap_chan *chan, in l2cap_retransmit_all()
2158 static void l2cap_send_ack(struct l2cap_chan *chan) in l2cap_send_ack()
2208 static inline int l2cap_skbuff_fromiovec(struct l2cap_chan *chan, in l2cap_skbuff_fromiovec()
2253 static struct sk_buff *l2cap_create_connless_pdu(struct l2cap_chan *chan, in l2cap_create_connless_pdu()
2287 static struct sk_buff *l2cap_create_basic_pdu(struct l2cap_chan *chan, in l2cap_create_basic_pdu()
2320 static struct sk_buff *l2cap_create_iframe_pdu(struct l2cap_chan *chan, in l2cap_create_iframe_pdu()
2374 static int l2cap_segment_sdu(struct l2cap_chan *chan, in l2cap_segment_sdu()
2444 int l2cap_chan_send(struct l2cap_chan *chan, struct msghdr *msg, size_t len, in l2cap_chan_send()
2524 static void l2cap_send_srej(struct l2cap_chan *chan, u16 txseq) in l2cap_send_srej()
2547 static void l2cap_send_srej_tail(struct l2cap_chan *chan) in l2cap_send_srej_tail()
2563 static void l2cap_send_srej_list(struct l2cap_chan *chan, u16 txseq) in l2cap_send_srej_list()
2589 static void l2cap_process_reqseq(struct l2cap_chan *chan, u16 reqseq) in l2cap_process_reqseq()
2621 static void l2cap_abort_rx_srej_sent(struct l2cap_chan *chan) in l2cap_abort_rx_srej_sent()
2631 static void l2cap_tx_state_xmit(struct l2cap_chan *chan, in l2cap_tx_state_xmit()
2703 static void l2cap_tx_state_wait_f(struct l2cap_chan *chan, in l2cap_tx_state_wait_f()
2781 static void l2cap_tx(struct l2cap_chan *chan, struct l2cap_ctrl *control, in l2cap_tx()
2800 static void l2cap_pass_to_tx(struct l2cap_chan *chan, in l2cap_pass_to_tx()
2807 static void l2cap_pass_to_tx_fbit(struct l2cap_chan *chan, in l2cap_pass_to_tx_fbit()
2818 struct l2cap_chan *chan; in l2cap_raw_recv() local
2974 static void l2cap_add_opt_efs(void **ptr, struct l2cap_chan *chan) in l2cap_add_opt_efs()
3007 struct l2cap_chan *chan = container_of(work, struct l2cap_chan, in l2cap_ack_timeout() local
3025 int l2cap_ertm_init(struct l2cap_chan *chan) in l2cap_ertm_init()
3083 static inline bool __l2cap_ews_supported(struct l2cap_chan *chan) in __l2cap_ews_supported()
3088 static inline bool __l2cap_efs_supported(struct l2cap_chan *chan) in __l2cap_efs_supported()
3093 static void __l2cap_set_ertm_timeouts(struct l2cap_chan *chan, in __l2cap_set_ertm_timeouts()
3131 static inline void l2cap_txwin_setup(struct l2cap_chan *chan) in l2cap_txwin_setup()
3146 static int l2cap_build_conf_req(struct l2cap_chan *chan, void *data) in l2cap_build_conf_req()
3264 static int l2cap_parse_conf_req(struct l2cap_chan *chan, void *data) in l2cap_parse_conf_req()
3478 static int l2cap_parse_conf_rsp(struct l2cap_chan *chan, void *rsp, int len, in l2cap_parse_conf_rsp()
3587 static int l2cap_build_conf_rsp(struct l2cap_chan *chan, void *data, in l2cap_build_conf_rsp()
3602 void __l2cap_connect_rsp_defer(struct l2cap_chan *chan) in __l2cap_connect_rsp_defer()
3631 static void l2cap_conf_rfc_get(struct l2cap_chan *chan, void *rsp, int len) in l2cap_conf_rfc_get()
3713 struct l2cap_chan *chan = NULL, *pchan; in l2cap_connect() local
3865 struct l2cap_chan *chan; in l2cap_connect_create_rsp() local
3932 static inline void set_default_fcs(struct l2cap_chan *chan) in set_default_fcs()
3943 static void l2cap_send_efs_conf_rsp(struct l2cap_chan *chan, void *data, in l2cap_send_efs_conf_rsp()
3966 struct l2cap_chan *chan; in l2cap_config_req() local
4078 struct l2cap_chan *chan; in l2cap_config_rsp() local
4191 struct l2cap_chan *chan; in l2cap_disconnect_req() local
4241 struct l2cap_chan *chan; in l2cap_disconnect_rsp() local
4398 struct l2cap_chan *chan; in l2cap_create_channel_req() local
4466 static void l2cap_send_move_chan_req(struct l2cap_chan *chan, u8 dest_amp_id) in l2cap_send_move_chan_req()
4485 static void l2cap_send_move_chan_rsp(struct l2cap_chan *chan, u16 result) in l2cap_send_move_chan_rsp()
4498 static void l2cap_send_move_chan_cfm(struct l2cap_chan *chan, u16 result) in l2cap_send_move_chan_cfm()
4539 static void __release_logical_link(struct l2cap_chan *chan) in __release_logical_link()
4547 static void l2cap_logical_fail(struct l2cap_chan *chan) in l2cap_logical_fail()
4578 static void l2cap_logical_finish_create(struct l2cap_chan *chan, in l2cap_logical_finish_create()
4601 static void l2cap_logical_finish_move(struct l2cap_chan *chan, in l2cap_logical_finish_move()
4636 void l2cap_logical_cfm(struct l2cap_chan *chan, struct hci_chan *hchan, in l2cap_logical_cfm()
4656 void l2cap_move_start(struct l2cap_chan *chan) in l2cap_move_start()
4675 static void l2cap_do_create(struct l2cap_chan *chan, int result, in l2cap_do_create()
4727 static void l2cap_do_move_initiate(struct l2cap_chan *chan, u8 local_amp_id, in l2cap_do_move_initiate()
4737 static void l2cap_do_move_respond(struct l2cap_chan *chan, int result) in l2cap_do_move_respond()
4762 static void l2cap_do_move_cancel(struct l2cap_chan *chan, int result) in l2cap_do_move_cancel()
4782 void __l2cap_physical_cfm(struct l2cap_chan *chan, int result) in __l2cap_physical_cfm()
4821 struct l2cap_chan *chan; in l2cap_move_channel_req() local
4915 struct l2cap_chan *chan; in l2cap_move_continue() local
5006 struct l2cap_chan *chan; in l2cap_move_fail() local
5060 struct l2cap_chan *chan; in l2cap_move_channel_confirm() local
5102 struct l2cap_chan *chan; in l2cap_move_channel_confirm_rsp() local
5344 static int l2cap_check_fcs(struct l2cap_chan *chan, struct sk_buff *skb) in l2cap_check_fcs()
5365 static void l2cap_send_i_or_rr_or_rnr(struct l2cap_chan *chan) in l2cap_send_i_or_rr_or_rnr()
5418 static int l2cap_reassemble_sdu(struct l2cap_chan *chan, struct sk_buff *skb, in l2cap_reassemble_sdu()
5500 static int l2cap_resegment(struct l2cap_chan *chan) in l2cap_resegment()
5506 void l2cap_chan_busy(struct l2cap_chan *chan, int busy) in l2cap_chan_busy()
5517 static int l2cap_rx_queued_iframes(struct l2cap_chan *chan) in l2cap_rx_queued_iframes()
5551 static void l2cap_handle_srej(struct l2cap_chan *chan, in l2cap_handle_srej()
5609 static void l2cap_handle_rej(struct l2cap_chan *chan, in l2cap_handle_rej()
5646 static u8 l2cap_classify_txseq(struct l2cap_chan *chan, u16 txseq) in l2cap_classify_txseq()
5732 static int l2cap_rx_state_recv(struct l2cap_chan *chan, in l2cap_rx_state_recv()
5866 static int l2cap_rx_state_srej_sent(struct l2cap_chan *chan, in l2cap_rx_state_srej_sent()
6009 static int l2cap_finish_move(struct l2cap_chan *chan) in l2cap_finish_move()
6023 static int l2cap_rx_state_wait_p(struct l2cap_chan *chan, in l2cap_rx_state_wait_p()
6061 static int l2cap_rx_state_wait_f(struct l2cap_chan *chan, in l2cap_rx_state_wait_f()
6099 static bool __valid_reqseq(struct l2cap_chan *chan, u16 reqseq) in __valid_reqseq()
6108 static int l2cap_rx(struct l2cap_chan *chan, struct l2cap_ctrl *control, in l2cap_rx()
6145 static int l2cap_stream_rx(struct l2cap_chan *chan, struct l2cap_ctrl *control, in l2cap_stream_rx()
6183 static int l2cap_data_rcv(struct l2cap_chan *chan, struct sk_buff *skb) in l2cap_data_rcv()
6274 struct l2cap_chan *chan; in l2cap_data_channel() local
6333 struct l2cap_chan *chan; in l2cap_conless_channel() local
6357 struct l2cap_chan *chan; in l2cap_att_channel() local
6489 static inline void l2cap_check_encryption(struct l2cap_chan *chan, u8 encrypt) in l2cap_check_encryption()
6508 struct l2cap_chan *chan; in l2cap_security_cfm() local