Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/bluetooth/classic/
Davrcp.h20 struct bt_avrcp;
42 void (*connected)(struct bt_avrcp *avrcp);
50 void (*disconnected)(struct bt_avrcp *avrcp);
58 void (*unit_info_rsp)(struct bt_avrcp *avrcp, struct bt_avrcp_unit_info_rsp *rsp);
66 void (*subunit_info_rsp)(struct bt_avrcp *avrcp, struct bt_avrcp_subunit_info_rsp *rsp);
80 struct bt_avrcp *bt_avrcp_connect(struct bt_conn *conn);
90 int bt_avrcp_disconnect(struct bt_avrcp *avrcp);
110 int bt_avrcp_get_unit_info(struct bt_avrcp *avrcp);
121 int bt_avrcp_get_subunit_info(struct bt_avrcp *avrcp);
/Zephyr-latest/subsys/bluetooth/host/classic/
Davrcp.c32 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()
[all …]
/Zephyr-latest/subsys/bluetooth/host/classic/shell/
Davrcp.c31 struct bt_avrcp *default_avrcp;
34 static void avrcp_connected(struct bt_avrcp *avrcp) in avrcp_connected()
40 static void avrcp_disconnected(struct bt_avrcp *avrcp) in avrcp_disconnected()
45 static void avrcp_unit_info_rsp(struct bt_avrcp *avrcp, struct bt_avrcp_unit_info_rsp *rsp) in avrcp_unit_info_rsp()
51 static void avrcp_subunit_info_rsp(struct bt_avrcp *avrcp, struct bt_avrcp_subunit_info_rsp *rsp) in avrcp_subunit_info_rsp()