Lines Matching refs:br_chan

43 #define AVDTP_CHAN(_ch) CONTAINER_OF(_ch, struct bt_avdtp, br_chan.chan)
209 return bt_l2cap_chan_connect(session->br_chan.chan.conn, &sep->chan.chan, in avdtp_media_connect()
304 err = bt_l2cap_chan_send(&session->br_chan.chan, rsp_buf); in avdtp_discover_handler()
396 err = bt_l2cap_chan_send(&session->br_chan.chan, rsp_buf); in avdtp_get_capabilities_handler()
493 ret = bt_l2cap_chan_send(&session->br_chan.chan, rsp_buf); in avdtp_process_configuration()
549 err = bt_l2cap_chan_send(&session->br_chan.chan, rsp_buf); in avdtp_get_configuration_handler()
603 ret = bt_l2cap_chan_send(&session->br_chan.chan, rsp_buf); in avdtp_open_handler()
675 ret = bt_l2cap_chan_send(&session->br_chan.chan, rsp_buf); in avdtp_start_handler()
751 ret = bt_l2cap_chan_send(&session->br_chan.chan, rsp_buf); in avdtp_close_handler()
820 ret = bt_l2cap_chan_send(&session->br_chan.chan, rsp_buf); in avdtp_suspend_handler()
890 ret = bt_l2cap_chan_send(&session->br_chan.chan, rsp_buf); in avdtp_abort_handler()
986 result = bt_l2cap_chan_send(&session->br_chan.chan, buf); in avdtp_send()
1048 session->br_chan.chan.conn = NULL; in bt_avdtp_l2cap_disconnected()
1116 err = bt_l2cap_chan_send(&session->br_chan.chan, rsp_buf); in bt_avdtp_l2cap_recv()
1169 if (session->br_chan.chan.conn != NULL) { in bt_avdtp_connect()
1173 session->br_chan.chan.conn = conn; in bt_avdtp_connect()
1177 session->br_chan.rx.mtu = BT_L2CAP_RX_MTU; in bt_avdtp_connect()
1178 session->br_chan.chan.ops = &signal_chan_ops; in bt_avdtp_connect()
1179 session->br_chan.required_sec_level = BT_SECURITY_L2; in bt_avdtp_connect()
1181 return bt_l2cap_chan_connect(conn, &session->br_chan.chan, BT_L2CAP_PSM_AVDTP); in bt_avdtp_connect()
1192 return bt_l2cap_chan_disconnect(&session->br_chan.chan); in bt_avdtp_disconnect()
1214 if (session->br_chan.chan.conn == NULL) { in bt_avdtp_l2cap_accept()
1215 session->br_chan.chan.conn = conn; in bt_avdtp_l2cap_accept()
1219 session->br_chan.chan.ops = &signal_chan_ops; in bt_avdtp_l2cap_accept()
1220 session->br_chan.rx.mtu = BT_L2CAP_RX_MTU; in bt_avdtp_l2cap_accept()
1221 *chan = &session->br_chan.chan; in bt_avdtp_l2cap_accept()