Home
last modified time | relevance | path

Searched refs:bt_vocs (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/include/zephyr/bluetooth/audio/
Dvocs.h70 struct bt_vocs;
114 struct bt_vocs *bt_vocs_free_instance_get(void);
125 void *bt_vocs_svc_decl_get(struct bt_vocs *vocs);
138 int bt_vocs_client_conn_get(const struct bt_vocs *vocs, struct bt_conn **conn);
148 int bt_vocs_register(struct bt_vocs *vocs,
162 typedef void (*bt_vocs_state_cb)(struct bt_vocs *inst, int err, int16_t offset);
171 typedef void (*bt_vocs_set_offset_cb)(struct bt_vocs *inst, int err);
184 typedef void (*bt_vocs_location_cb)(struct bt_vocs *inst, int err,
198 typedef void (*bt_vocs_description_cb)(struct bt_vocs *inst, int err,
213 typedef void (*bt_vocs_discover_cb)(struct bt_vocs *inst, int err);
[all …]
Dvcp.h119 struct bt_vocs **vocs;
/Zephyr-latest/tests/bluetooth/audio/cap_commander/uut/
Dvocs.c16 static struct bt_vocs { struct
22 int bt_vocs_client_conn_get(const struct bt_vocs *vocs, struct bt_conn **conn) in bt_vocs_client_conn_get() argument
29 int bt_vocs_state_set(struct bt_vocs *vocs, int16_t offset) in bt_vocs_state_set()
38 void bt_vocs_client_cb_register(struct bt_vocs *vocs, struct bt_vocs_cb *cb) in bt_vocs_client_cb_register()
43 struct bt_vocs *bt_vocs_client_free_instance_get(void) in bt_vocs_client_free_instance_get()
56 int bt_vocs_discover(struct bt_conn *conn, struct bt_vocs *vocs, in bt_vocs_discover()
Dvcp.c26 struct bt_vocs *vocs[CONFIG_BT_VCP_VOL_CTLR_MAX_VOCS_INST];
/Zephyr-latest/subsys/bluetooth/audio/
Dvocs_internal.h41 struct bt_vocs { struct
56 struct bt_vocs vocs; argument
88 struct bt_vocs vocs;
Dvocs.c38 LOG_MODULE_REGISTER(bt_vocs);
344 struct bt_vocs *bt_vocs_free_instance_get(void) in bt_vocs_free_instance_get()
355 void *bt_vocs_svc_decl_get(struct bt_vocs *vocs) in bt_vocs_svc_decl_get()
381 int bt_vocs_register(struct bt_vocs *vocs, in bt_vocs_register()
472 int bt_vocs_state_get(struct bt_vocs *inst) in bt_vocs_state_get()
495 int bt_vocs_location_get(struct bt_vocs *inst) in bt_vocs_location_get()
518 int bt_vocs_location_set(struct bt_vocs *inst, uint32_t location) in bt_vocs_location_set()
538 int bt_vocs_state_set(struct bt_vocs *inst, int16_t offset) in bt_vocs_state_set()
563 int bt_vocs_description_get(struct bt_vocs *inst) in bt_vocs_description_get()
586 int bt_vocs_description_set(struct bt_vocs *inst, const char *description) in bt_vocs_description_set()
Dvcp_internal.h78 struct bt_vocs *vocs[CONFIG_BT_VCP_VOL_CTLR_MAX_VOCS_INST];
Dvocs_client.c660 struct bt_vocs *bt_vocs_client_free_instance_get(void) in bt_vocs_client_free_instance_get()
672 int bt_vocs_client_conn_get(const struct bt_vocs *vocs, struct bt_conn **conn) in bt_vocs_client_conn_get()
721 int bt_vocs_discover(struct bt_conn *conn, struct bt_vocs *vocs, in bt_vocs_discover()
772 void bt_vocs_client_cb_register(struct bt_vocs *vocs, struct bt_vocs_cb *cb) in bt_vocs_client_cb_register()
Dcap_internal.h142 struct bt_vocs *vocs;
Dvcp_vol_ctlr.c756 static struct bt_vcp_vol_ctlr *lookup_vcp_by_vocs(const struct bt_vocs *vocs) in lookup_vcp_by_vocs()
771 static void vcp_vol_ctlr_vocs_state_cb(struct bt_vocs *inst, int err, int16_t offset) in vcp_vol_ctlr_vocs_state_cb()
782 static void vcp_vol_ctlr_vocs_location_cb(struct bt_vocs *inst, int err, uint32_t location) in vcp_vol_ctlr_vocs_location_cb()
793 static void vcp_vol_ctlr_vocs_description_cb(struct bt_vocs *inst, int err, char *description) in vcp_vol_ctlr_vocs_description_cb()
804 static void vcp_vol_ctlr_vocs_discover_cb(struct bt_vocs *inst, int err) in vcp_vol_ctlr_vocs_discover_cb()
833 static void vcp_vol_ctlr_vocs_set_offset_cb(struct bt_vocs *inst, int err) in vcp_vol_ctlr_vocs_set_offset_cb()
Dvcp_vol_rend.c66 struct bt_vocs *vocs_insts[CONFIG_BT_VCP_VOL_REND_VOCS_INSTANCE_COUNT];
Dcap_commander.c1402 static void cap_commander_vcp_set_offset_cb(struct bt_vocs *inst, int err) in cap_commander_vcp_set_offset_cb()
/Zephyr-latest/samples/bluetooth/hap_ha/src/
Dvcp_vol_renderer.c90 static void vocs_state_cb(struct bt_vocs *inst, int err, int16_t offset) in vocs_state_cb()
99 static void vocs_location_cb(struct bt_vocs *inst, int err, uint32_t location) in vocs_location_cb()
108 static void vocs_description_cb(struct bt_vocs *inst, int err, char *description) in vocs_description_cb()
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_vcp.c214 static void vocs_state_cb(struct bt_vocs *inst, int err, int16_t offset) in vocs_state_cb()
219 static void vocs_location_cb(struct bt_vocs *inst, int err, uint32_t location) in vocs_location_cb()
224 static void vocs_description_cb(struct bt_vocs *inst, int err, in vocs_description_cb()
272 static void vcp_vocs_state_cb(struct bt_vocs *inst, int err, int16_t offset) in vcp_vocs_state_cb()
282 static void vcp_vocs_location_cb(struct bt_vocs *inst, int err, uint32_t location) in vcp_vocs_location_cb()
292 static void vcp_vocs_description_cb(struct bt_vocs *inst, int err, in vcp_vocs_description_cb()
298 static void vcp_vocs_set_offset_cb(struct bt_vocs *inst, int err) in vcp_vocs_set_offset_cb()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dvcp_vol_ctlr_test.c76 static void vocs_state_cb(struct bt_vocs *inst, int err, int16_t offset) in vocs_state_cb()
88 static void vocs_location_cb(struct bt_vocs *inst, int err, uint32_t location) in vocs_location_cb()
100 static void vocs_description_cb(struct bt_vocs *inst, int err, in vocs_description_cb()
119 static void vocs_write_cb(struct bt_vocs *inst, int err) in vocs_write_cb()
Dvcp_vol_rend_test.c81 static void vocs_state_cb(struct bt_vocs *inst, int err, int16_t offset) in vocs_state_cb()
92 static void vocs_location_cb(struct bt_vocs *inst, int err, uint32_t location) in vocs_location_cb()
103 static void vocs_description_cb(struct bt_vocs *inst, int err, in vocs_description_cb()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dvcp_vol_ctlr.c234 static void vcs_vocs_set_offset_cb(struct bt_vocs *inst, int err) in vcs_vocs_set_offset_cb()
243 static void vcs_vocs_state_cb(struct bt_vocs *inst, int err, int16_t offset) in vcs_vocs_state_cb()
252 static void vcs_vocs_location_cb(struct bt_vocs *inst, int err, in vcs_vocs_location_cb()
262 static void vcs_vocs_description_cb(struct bt_vocs *inst, int err, in vcs_vocs_description_cb()
Dvcp_vol_rend.c109 static void vocs_state_cb(struct bt_vocs *inst, int err, int16_t offset) in vocs_state_cb()
118 static void vocs_location_cb(struct bt_vocs *inst, int err, uint32_t location) in vocs_location_cb()
127 static void vocs_description_cb(struct bt_vocs *inst, int err, in vocs_description_cb()