Lines Matching refs:bt_avdtp
28 LOG_MODULE_REGISTER(bt_avdtp);
43 #define AVDTP_CHAN(_ch) CONTAINER_OF(_ch, struct bt_avdtp, br_chan.chan)
46 CONTAINER_OF(CONTAINER_OF(_work, struct k_work_delayable, work), struct bt_avdtp, \
69 static void avdtp_lock(struct bt_avdtp *session) in avdtp_lock()
74 static void avdtp_unlock(struct bt_avdtp *session) in avdtp_unlock()
111 static inline void bt_avdtp_clear_req(struct bt_avdtp *session) in bt_avdtp_clear_req()
121 struct bt_avdtp *session; in bt_avdtp_media_l2cap_connected()
151 struct bt_avdtp *session; in bt_avdtp_media_l2cap_disconnected()
203 static int avdtp_media_connect(struct bt_avdtp *session, struct bt_avdtp_sep *sep) in avdtp_media_connect()
268 static void avdtp_discover_cmd(struct bt_avdtp *session, struct net_buf *buf, uint8_t tid) in avdtp_discover_cmd()
315 static void avdtp_discover_rsp(struct bt_avdtp *session, struct net_buf *buf, uint8_t msg_type) in avdtp_discover_rsp()
359 static void avdtp_get_capabilities_cmd(struct bt_avdtp *session, struct net_buf *buf, uint8_t tid) in avdtp_get_capabilities_cmd()
406 static void avdtp_get_capabilities_rsp(struct bt_avdtp *session, struct net_buf *buf, in avdtp_get_capabilities_rsp()
424 static void avdtp_process_configuration_cmd(struct bt_avdtp *session, struct net_buf *buf, in avdtp_process_configuration_cmd()
509 static void avdtp_process_configuration_rsp(struct bt_avdtp *session, struct net_buf *buf, in avdtp_process_configuration_rsp()
545 static void avdtp_set_configuration_cmd(struct bt_avdtp *session, struct net_buf *buf, uint8_t tid) in avdtp_set_configuration_cmd()
550 static void avdtp_set_configuration_rsp(struct bt_avdtp *session, struct net_buf *buf, in avdtp_set_configuration_rsp()
556 static void avdtp_re_configure_cmd(struct bt_avdtp *session, struct net_buf *buf, uint8_t tid) in avdtp_re_configure_cmd()
561 static void avdtp_re_configure_rsp(struct bt_avdtp *session, struct net_buf *buf, uint8_t msg_type) in avdtp_re_configure_rsp()
566 static void avdtp_open_cmd(struct bt_avdtp *session, struct net_buf *buf, uint8_t tid) in avdtp_open_cmd()
619 static void avdtp_open_rsp(struct bt_avdtp *session, struct net_buf *buf, uint8_t msg_type) in avdtp_open_rsp()
663 static void avdtp_start_cmd(struct bt_avdtp *session, struct net_buf *buf, uint8_t tid) in avdtp_start_cmd()
714 static void avdtp_start_rsp(struct bt_avdtp *session, struct net_buf *buf, uint8_t msg_type) in avdtp_start_rsp()
741 static void avdtp_close_cmd(struct bt_avdtp *session, struct net_buf *buf, uint8_t tid) in avdtp_close_cmd()
794 static void avdtp_close_rsp(struct bt_avdtp *session, struct net_buf *buf, uint8_t msg_type) in avdtp_close_rsp()
820 static void avdtp_suspend_cmd(struct bt_avdtp *session, struct net_buf *buf, uint8_t tid) in avdtp_suspend_cmd()
871 static void avdtp_suspend_rsp(struct bt_avdtp *session, struct net_buf *buf, uint8_t msg_type) in avdtp_suspend_rsp()
898 static void avdtp_abort_cmd(struct bt_avdtp *session, struct net_buf *buf, uint8_t tid) in avdtp_abort_cmd()
950 static void avdtp_abort_rsp(struct bt_avdtp *session, struct net_buf *buf, uint8_t msg_type) in avdtp_abort_rsp()
1019 static int avdtp_send(struct bt_avdtp *session, struct net_buf *buf, struct bt_avdtp_req *req) in avdtp_send()
1077 struct bt_avdtp *session; in bt_avdtp_l2cap_connected()
1093 struct bt_avdtp *session = AVDTP_CHAN(chan); in bt_avdtp_l2cap_disconnected()
1113 void (*cmd_handler[])(struct bt_avdtp *session, struct net_buf *buf, uint8_t tid) = {
1129 void (*rsp_handler[])(struct bt_avdtp *session, struct net_buf *buf, uint8_t msg_type) = {
1148 struct bt_avdtp *session = AVDTP_CHAN(chan); in bt_avdtp_l2cap_recv()
1237 int bt_avdtp_connect(struct bt_conn *conn, struct bt_avdtp *session) in bt_avdtp_connect()
1266 int bt_avdtp_disconnect(struct bt_avdtp *session) in bt_avdtp_disconnect()
1280 struct bt_avdtp *session = NULL; in bt_avdtp_l2cap_accept()
1390 int bt_avdtp_discover(struct bt_avdtp *session, struct bt_avdtp_discover_params *param) in bt_avdtp_discover()
1434 int bt_avdtp_get_capabilities(struct bt_avdtp *session, in bt_avdtp_get_capabilities()
1529 static int avdtp_process_configure_command(struct bt_avdtp *session, uint8_t cmd, in avdtp_process_configure_command()
1575 int bt_avdtp_set_configuration(struct bt_avdtp *session, in bt_avdtp_set_configuration()
1590 int bt_avdtp_reconfigure(struct bt_avdtp *session, struct bt_avdtp_set_configuration_params *param) in bt_avdtp_reconfigure()
1604 static int bt_avdtp_ctrl(struct bt_avdtp *session, struct bt_avdtp_ctrl_params *param, uint8_t ctrl, in bt_avdtp_ctrl()
1638 int bt_avdtp_open(struct bt_avdtp *session, struct bt_avdtp_ctrl_params *param) in bt_avdtp_open()
1643 int bt_avdtp_close(struct bt_avdtp *session, struct bt_avdtp_ctrl_params *param) in bt_avdtp_close()
1648 int bt_avdtp_start(struct bt_avdtp *session, struct bt_avdtp_ctrl_params *param) in bt_avdtp_start()
1660 int bt_avdtp_suspend(struct bt_avdtp *session, struct bt_avdtp_ctrl_params *param) in bt_avdtp_suspend()
1665 int bt_avdtp_abort(struct bt_avdtp *session, struct bt_avdtp_ctrl_params *param) in bt_avdtp_abort()