/Zephyr-latest/include/zephyr/bluetooth/audio/ |
D | vcp.h | 85 struct bt_vcp_vol_ctlr; 289 void (*state)(struct bt_vcp_vol_ctlr *vol_ctlr, int err, uint8_t volume, 307 void (*flags)(struct bt_vcp_vol_ctlr *vol_ctlr, int err, uint8_t flags); 322 void (*discover)(struct bt_vcp_vol_ctlr *vol_ctlr, int err, uint8_t vocs_count, 334 void (*vol_down)(struct bt_vcp_vol_ctlr *vol_ctlr, int err); 345 void (*vol_up)(struct bt_vcp_vol_ctlr *vol_ctlr, int err); 356 void (*mute)(struct bt_vcp_vol_ctlr *vol_ctlr, int err); 367 void (*unmute)(struct bt_vcp_vol_ctlr *vol_ctlr, int err); 378 void (*vol_down_unmute)(struct bt_vcp_vol_ctlr *vol_ctlr, int err); 389 void (*vol_up_unmute)(struct bt_vcp_vol_ctlr *vol_ctlr, int err); [all …]
|
/Zephyr-latest/tests/bluetooth/audio/cap_commander/uut/ |
D | vcp.c | 13 static struct bt_vcp_vol_ctlr { struct 19 struct bt_vcp_vol_ctlr *bt_vcp_vol_ctlr_get_by_conn(const struct bt_conn *conn) in bt_vcp_vol_ctlr_get_by_conn() argument 30 int bt_vcp_vol_ctlr_conn_get(const struct bt_vcp_vol_ctlr *vol_ctlr, struct bt_conn **conn) in bt_vcp_vol_ctlr_conn_get() 37 int bt_vcp_vol_ctlr_set_vol(struct bt_vcp_vol_ctlr *vol_ctlr, uint8_t volume) in bt_vcp_vol_ctlr_set_vol() 46 int bt_vcp_vol_ctlr_mute(struct bt_vcp_vol_ctlr *vol_ctlr) in bt_vcp_vol_ctlr_mute() 55 int bt_vcp_vol_ctlr_unmute(struct bt_vcp_vol_ctlr *vol_ctlr) in bt_vcp_vol_ctlr_unmute() 64 int bt_vcp_vol_ctlr_discover(struct bt_conn *conn, struct bt_vcp_vol_ctlr **vol_ctlr) in bt_vcp_vol_ctlr_discover() 101 int bt_vcp_vol_ctlr_included_get(struct bt_vcp_vol_ctlr *vol_ctlr, struct bt_vcp_included *included) in bt_vcp_vol_ctlr_included_get()
|
/Zephyr-latest/samples/bluetooth/tmap_central/src/ |
D | vcp_vol_ctlr.c | 19 static struct bt_vcp_vol_ctlr *vcp_vol_ctlr; 21 static void vcs_discover_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err, in vcs_discover_cb() 30 static void vcs_write_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err) in vcs_write_cb() 38 static void vcs_state_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err, in vcs_state_cb() 49 static void vcs_flags_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err, in vcs_flags_cb()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | vcp_vol_ctlr.c | 39 LOG_MODULE_REGISTER(bt_vcp_vol_ctlr, CONFIG_BT_VCP_VOL_CTLR_LOG_LEVEL); 44 static struct bt_vcp_vol_ctlr vol_ctlr_insts[CONFIG_BT_MAX_CONN]; 45 static int write_common_vcs_cp(struct bt_vcp_vol_ctlr *vol_ctlr); 46 static int write_set_vol_cp(struct bt_vcp_vol_ctlr *vol_ctlr); 48 static struct bt_vcp_vol_ctlr *vol_ctlr_get_by_conn(const struct bt_conn *conn) in vol_ctlr_get_by_conn() 53 static void vcp_vol_ctlr_state_changed(struct bt_vcp_vol_ctlr *vol_ctlr, int err) in vcp_vol_ctlr_state_changed() 65 static void vcp_vol_ctlr_vol_flags_changed(struct bt_vcp_vol_ctlr *vol_ctlr, int err) in vcp_vol_ctlr_vol_flags_changed() 76 static void vcp_vol_ctlr_discover_complete(struct bt_vcp_vol_ctlr *vol_ctlr, int err) in vcp_vol_ctlr_discover_complete() 108 struct bt_vcp_vol_ctlr *vol_ctlr; in vcp_vol_ctlr_notify_handler() 137 struct bt_vcp_vol_ctlr *vol_ctlr = vol_ctlr_get_by_conn(conn); in vcp_vol_ctlr_read_vol_state_cb() [all …]
|
D | vcp_internal.h | 55 struct bt_vcp_vol_ctlr { struct
|
D | cap_commander.c | 1022 static void cap_commander_vcp_vol_set_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err) in cap_commander_vcp_vol_set_cb() 1196 static void cap_commander_vcp_vol_mute_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err) in cap_commander_vcp_vol_mute_cb() 1353 struct bt_vcp_vol_ctlr *vol_ctlr; in valid_change_offset_param() 1465 struct bt_vcp_vol_ctlr *vol_ctlr; in bt_cap_commander_change_volume_offset()
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | vcp_vol_ctlr.c | 27 static struct bt_vcp_vol_ctlr *vcp_vol_ctlr; 30 static void vcs_discover_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err, in vcs_discover_cb() 45 static void vcs_vol_down_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err) in vcs_vol_down_cb() 54 static void vcs_vol_up_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err) in vcs_vol_up_cb() 63 static void vcs_mute_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err) in vcs_mute_cb() 72 static void vcs_unmute_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err) in vcs_unmute_cb() 81 static void vcs_vol_down_unmute_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err) in vcs_vol_down_unmute_cb() 90 static void vcs_vol_up_unmute_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err) in vcs_vol_up_unmute_cb() 99 static void vcs_vol_set_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err) in vcs_vol_set_cb() 108 static void vcs_state_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err, in vcs_state_cb() [all …]
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_vcp.c | 32 static struct bt_vcp_vol_ctlr *vol_ctlr; 646 static void vcp_vol_ctlr_discover_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err, uint8_t vocs_count, in vcp_vol_ctlr_discover_cb() 693 static void vcp_vol_ctlr_state_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err, uint8_t volume, in vcp_vol_ctlr_state_cb() 704 static void vcp_vol_ctlr_flags_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err, uint8_t flags) in vcp_vol_ctlr_flags_cb() 714 static void vcp_vol_ctlr_vol_down_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err) in vcp_vol_ctlr_vol_down_cb() 724 static void vcp_vol_ctlr_vol_up_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err) in vcp_vol_ctlr_vol_up_cb() 734 static void vcp_vol_ctlr_unmute_vol_down_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err) in vcp_vol_ctlr_unmute_vol_down_cb() 744 static void vcp_vol_ctlr_unmute_vol_up_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err) in vcp_vol_ctlr_unmute_vol_up_cb() 754 static void vcp_vol_ctlr_set_vol_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err) in vcp_vol_ctlr_set_vol_cb() 764 static void vcp_vol_ctlr_unmute_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err) in vcp_vol_ctlr_unmute_cb() [all …]
|
/Zephyr-latest/tests/bluetooth/audio/cap_commander/src/ |
D | test_vcp.c | 90 struct bt_vcp_vol_ctlr *vol_ctlr; /* We don't care about this */ in ZTEST_F() 122 struct bt_vcp_vol_ctlr *vol_ctlr; /* We don't care about this */ in ZTEST_F() 203 struct bt_vcp_vol_ctlr *vol_ctlr; /* We don't care about this */ in ZTEST_F() 293 struct bt_vcp_vol_ctlr *vol_ctlr; /* We don't care about this */ in ZTEST_F() 326 struct bt_vcp_vol_ctlr *vol_ctlr; /* We don't care about this */ in ZTEST_F() 408 struct bt_vcp_vol_ctlr *vol_ctlr; /* We don't care about this */ in ZTEST_F() 539 struct bt_vcp_vol_ctlr *vol_ctlr; /* We don't care about this */ in ZTEST_F() 571 struct bt_vcp_vol_ctlr *vol_ctlr; /* We don't care about this */ in ZTEST_F() 652 struct bt_vcp_vol_ctlr *vol_ctlr; /* We don't care about this */ in ZTEST_F()
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | vcp_vol_ctlr_test.c | 27 static struct bt_vcp_vol_ctlr *vol_ctlr; 49 static void vcs_state_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err, in vcs_state_cb() 63 static void vcs_flags_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err, in vcs_flags_cb() 213 static void vcs_discover_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err, in vcs_discover_cb() 224 static void vcs_write_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err) in vcs_write_cb()
|
D | cap_commander_test.c | 205 static void cap_vcp_discover_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err, uint8_t vocs_count, in cap_vcp_discover_cb() 218 static void cap_vcp_state_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err, uint8_t volume, in cap_vcp_state_cb() 797 struct bt_vcp_vol_ctlr *vol_ctlr; in discover_vcs()
|