Lines Matching refs:session
35 struct bt_avctp session; member
47 #define AVRCP_AVCTP(_avctp) CONTAINER_OF(_avctp, struct bt_avrcp, session)
225 static void avrcp_connected(struct bt_avctp *session) in avrcp_connected() argument
227 struct bt_avrcp *avrcp = AVRCP_AVCTP(session); in avrcp_connected()
237 static void avrcp_disconnected(struct bt_avctp *session) in avrcp_disconnected() argument
239 struct bt_avrcp *avrcp = AVRCP_AVCTP(session); in avrcp_disconnected()
319 static int avrcp_recv(struct bt_avctp *session, struct net_buf *buf) in avrcp_recv() argument
321 struct bt_avrcp *avrcp = AVRCP_AVCTP(session); in avrcp_recv()
382 static int avrcp_accept(struct bt_conn *conn, struct bt_avctp **session) in avrcp_accept() argument
391 *session = &(avrcp->session); in avrcp_accept()
392 avrcp->session.ops = &avctp_ops; in avrcp_accept()
394 LOG_DBG("session: %p", &(avrcp->session)); in avrcp_accept()
437 avrcp->session.ops = &avctp_ops; in bt_avrcp_connect()
438 err = bt_avctp_connect(conn, &(avrcp->session)); in bt_avrcp_connect()
454 err = bt_avctp_disconnect(&(avrcp->session)); in bt_avrcp_disconnect()
467 buf = bt_avctp_create_pdu(&(avrcp->session), cr, BT_AVCTP_PKT_TYPE_SINGLE, in avrcp_create_pdu()
529 err = bt_avctp_send(&(avrcp->session), buf); in avrcp_send()