Home
last modified time | relevance | path

Searched refs:bt_avctp (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/subsys/bluetooth/host/classic/
Davctp_internal.h74 struct bt_avctp;
77 void (*connected)(struct bt_avctp *session);
78 void (*disconnected)(struct bt_avctp *session);
79 int (*recv)(struct bt_avctp *session, struct net_buf *buf);
82 struct bt_avctp { struct
88 int (*accept)(struct bt_conn *conn, struct bt_avctp **session); argument
98 int bt_avctp_connect(struct bt_conn *conn, struct bt_avctp *session);
101 int bt_avctp_disconnect(struct bt_avctp *session);
104 struct net_buf *bt_avctp_create_pdu(struct bt_avctp *session, bt_avctp_cr_t cr,
109 int bt_avctp_send(struct bt_avctp *session, struct net_buf *buf);
Davctp.c31 LOG_MODULE_REGISTER(bt_avctp);
33 #define AVCTP_CHAN(_ch) CONTAINER_OF(_ch, struct bt_avctp, br_chan.chan)
39 struct bt_avctp *session; in avctp_l2cap_connected()
56 struct bt_avctp *session; in avctp_l2cap_disconnected()
80 struct bt_avctp *session = AVCTP_CHAN(chan); in avctp_l2cap_recv()
128 int bt_avctp_connect(struct bt_conn *conn, struct bt_avctp *session) in bt_avctp_connect()
148 int bt_avctp_disconnect(struct bt_avctp *session) in bt_avctp_disconnect()
159 struct net_buf *bt_avctp_create_pdu(struct bt_avctp *session, bt_avctp_cr_t cr, in bt_avctp_create_pdu()
190 int bt_avctp_send(struct bt_avctp *session, struct net_buf *buf) in bt_avctp_send()
Davrcp.c35 struct bt_avctp session;
225 static void avrcp_connected(struct bt_avctp *session) in avrcp_connected()
237 static void avrcp_disconnected(struct bt_avctp *session) in avrcp_disconnected()
319 static int avrcp_recv(struct bt_avctp *session, struct net_buf *buf) in avrcp_recv()
382 static int avrcp_accept(struct bt_conn *conn, struct bt_avctp **session) in avrcp_accept()