Lines Matching refs:bt_avrcp
32 LOG_MODULE_REGISTER(bt_avrcp);
34 struct bt_avrcp { struct
43 void (*func)(struct bt_avrcp *avrcp, struct net_buf *buf, bt_avctp_cr_t cr); argument
47 #define AVRCP_AVCTP(_avctp) CONTAINER_OF(_avctp, struct bt_avrcp, session)
49 CONTAINER_OF(CONTAINER_OF(_work, struct k_work_delayable, work), struct bt_avrcp, \
53 static struct bt_avrcp avrcp_connection[CONFIG_BT_MAX_CONN];
203 static struct bt_avrcp *get_new_connection(struct bt_conn *conn) in get_new_connection()
205 struct bt_avrcp *avrcp; in get_new_connection()
213 memset(avrcp, 0, sizeof(struct bt_avrcp)); in get_new_connection()
219 struct bt_avrcp *avrcp = AVRCP_KWORK(work); in avrcp_timeout()
227 struct bt_avrcp *avrcp = AVRCP_AVCTP(session); in avrcp_connected()
239 struct bt_avrcp *avrcp = AVRCP_AVCTP(session); in avrcp_disconnected()
246 static void avrcp_vendor_dependent_handler(struct bt_avrcp *avrcp, struct net_buf *buf, in avrcp_vendor_dependent_handler()
252 static void avrcp_unit_info_handler(struct bt_avrcp *avrcp, struct net_buf *buf, bt_avctp_cr_t cr) in avrcp_unit_info_handler()
274 static void avrcp_subunit_info_handler(struct bt_avrcp *avrcp, struct net_buf *buf, in avrcp_subunit_info_handler()
305 static void avrcp_pass_through_handler(struct bt_avrcp *avrcp, struct net_buf *buf, in avrcp_pass_through_handler()
321 struct bt_avrcp *avrcp = AVRCP_AVCTP(session); in avrcp_recv()
384 struct bt_avrcp *avrcp; in avrcp_accept()
426 struct bt_avrcp *bt_avrcp_connect(struct bt_conn *conn) in bt_avrcp_connect()
428 struct bt_avrcp *avrcp; in bt_avrcp_connect()
441 memset(avrcp, 0, sizeof(struct bt_avrcp)); in bt_avrcp_connect()
450 int bt_avrcp_disconnect(struct bt_avrcp *avrcp) in bt_avrcp_disconnect()
463 static struct net_buf *avrcp_create_pdu(struct bt_avrcp *avrcp, bt_avctp_cr_t cr) in avrcp_create_pdu()
474 static struct net_buf *avrcp_create_unit_pdu(struct bt_avrcp *avrcp, bt_avctp_cr_t cr) in avrcp_create_unit_pdu()
495 static struct net_buf *avrcp_create_subunit_pdu(struct bt_avrcp *avrcp, bt_avctp_cr_t cr) in avrcp_create_subunit_pdu()
516 static int avrcp_send(struct bt_avrcp *avrcp, struct net_buf *buf) in avrcp_send()
545 int bt_avrcp_get_unit_info(struct bt_avrcp *avrcp) in bt_avrcp_get_unit_info()
561 int bt_avrcp_get_subunit_info(struct bt_avrcp *avrcp) in bt_avrcp_get_subunit_info()