/Zephyr-Core-3.6.0/subsys/bluetooth/audio/ |
D | micp_mic_dev.c | 29 uint8_t mute; member 47 LOG_DBG("Mute %u", micp_inst.mute); in read_mute() 50 &micp_inst.mute, sizeof(micp_inst.mute)); in read_mute() 59 err = bt_gatt_notify_uuid(NULL, BT_UUID_MICS_MUTE, server->service_p->attrs, &server->mute, in notify_work_handler() 60 sizeof(server->mute)); in notify_work_handler() 85 if (len != sizeof(micp_inst.mute)) { in write_mute() 94 if (conn != NULL && micp_inst.mute == BT_MICP_MUTE_DISABLED) { in write_mute() 100 if (*val != micp_inst.mute) { in write_mute() 103 micp_inst.mute = *val; in write_mute() 110 if (micp_inst.cb != NULL && micp_inst.cb->mute != NULL) { in write_mute() [all …]
|
D | vcp_vol_rend.c | 70 vol_rend.state.volume, vol_rend.state.mute, in read_vol_state() 201 if (vol_rend.state.mute) { in write_vcs_control() 202 vol_rend.state.mute = BT_VCP_STATE_UNMUTED; in write_vcs_control() 213 if (vol_rend.state.mute) { in write_vcs_control() 214 vol_rend.state.mute = BT_VCP_STATE_UNMUTED; in write_vcs_control() 230 if (vol_rend.state.mute) { in write_vcs_control() 231 vol_rend.state.mute = BT_VCP_STATE_UNMUTED; in write_vcs_control() 237 if (vol_rend.state.mute == BT_VCP_STATE_UNMUTED) { in write_vcs_control() 238 vol_rend.state.mute = BT_VCP_STATE_MUTED; in write_vcs_control() 250 vol_rend.state.volume, vol_rend.state.mute, in write_vcs_control() [all …]
|
D | aics.c | 118 inst->srv.state.mute, inst->srv.state.gain_mode, inst->srv.state.change_counter); in read_aics_state() 286 if (inst->srv.state.mute == BT_AICS_STATE_MUTE_DISABLED) { in write_aics_control() 289 if (inst->srv.state.mute != BT_AICS_STATE_UNMUTED) { in write_aics_control() 290 inst->srv.state.mute = BT_AICS_STATE_UNMUTED; in write_aics_control() 296 if (inst->srv.state.mute == BT_AICS_STATE_MUTE_DISABLED) { in write_aics_control() 299 if (inst->srv.state.mute != BT_AICS_STATE_MUTED) { in write_aics_control() 300 inst->srv.state.mute = BT_AICS_STATE_MUTED; in write_aics_control() 332 inst->srv.state.gain, inst->srv.state.mute, inst->srv.state.gain_mode, in write_aics_control() 339 inst->srv.state.mute, in write_aics_control() 468 CHECKIF(param->mute > BT_AICS_STATE_MUTE_DISABLED) { in bt_aics_register() [all …]
|
D | micp_mic_ctlr.c | 46 if (listener->mute) { in micp_mic_ctlr_mute_changed() 47 listener->mute(mic_ctlr, err, mute_val); in micp_mic_ctlr_mute_changed() 169 static void micp_mic_ctlr_aics_state_cb(struct bt_aics *inst, int err, int8_t gain, uint8_t mute, in micp_mic_ctlr_aics_state_cb() argument 176 listener->aics_cb.state(inst, err, gain, mute, mode); in micp_mic_ctlr_aics_state_cb() 282 if (listener->aics_cb.mute) { in micp_mic_ctlr_aics_mute_cb() 283 listener->aics_cb.mute(inst, err); in micp_mic_ctlr_aics_mute_cb() 553 .mute = micp_mic_ctlr_aics_mute_cb, in bt_micp_mic_ctlr_discover() 692 int bt_micp_mic_ctlr_write_mute(struct bt_micp_mic_ctlr *mic_ctlr, bool mute) in bt_micp_mic_ctlr_write_mute() argument 708 mic_ctlr->mute_val_buf[0] = mute; in bt_micp_mic_ctlr_write_mute() 711 mic_ctlr->write_params.length = sizeof(mute); in bt_micp_mic_ctlr_write_mute()
|
/Zephyr-Core-3.6.0/include/zephyr/bluetooth/audio/ |
D | micp.h | 109 void (*mute)(uint8_t mute); member 155 void (*mute)(struct bt_micp_mic_ctlr *mic_ctlr, int err, uint8_t mute); member
|
D | vcp.h | 56 uint8_t mute; member 129 void (*state)(int err, uint8_t volume, uint8_t mute); 239 uint8_t mute); 305 void (*mute)(struct bt_vcp_vol_ctlr *vol_ctlr, int err); member
|
D | aics.h | 71 uint8_t mute; member 180 uint8_t mute, uint8_t mode); 265 bt_aics_write_cb mute; member
|
/Zephyr-Core-3.6.0/samples/bluetooth/tmap_peripheral/src/ |
D | vcp_vol_renderer.c | 22 static void vcs_state_cb(int err, uint8_t volume, uint8_t mute) in vcs_state_cb() argument 27 printk("VCS volume %u, mute %u\n", volume, mute); in vcs_state_cb() 53 vcp_register_param.mute = BT_VCP_STATE_UNMUTED; in vcp_vol_renderer_init()
|
/Zephyr-Core-3.6.0/samples/bluetooth/tmap_bmr/src/ |
D | vcp_vol_renderer.c | 22 static void vcs_state_cb(int err, uint8_t volume, uint8_t mute) in vcs_state_cb() argument 27 printk("VCS volume %u, mute %u\n", volume, mute); in vcs_state_cb() 53 vcp_register_param.mute = BT_VCP_STATE_UNMUTED; in vcp_vol_renderer_init()
|
/Zephyr-Core-3.6.0/samples/bluetooth/hap_ha/src/ |
D | micp_mic_dev.c | 19 static void micp_mic_dev_mute_cb(uint8_t mute) in micp_mic_dev_mute_cb() argument 21 printk("Mute value %u\n", mute); in micp_mic_dev_mute_cb() 25 .mute = micp_mic_dev_mute_cb, 31 static void micp_mic_dev_aics_state_cb(struct bt_aics *inst, int err, int8_t gain, uint8_t mute, in micp_mic_dev_aics_state_cb() argument 38 inst, gain, mute, mode); in micp_mic_dev_aics_state_cb()
|
D | vcp_vol_renderer.c | 21 static void vcs_state_cb(int err, uint8_t volume, uint8_t mute) in vcs_state_cb() argument 26 printk("VCS volume %u, mute %u\n", volume, mute); in vcs_state_cb() 39 static void aics_state_cb(struct bt_aics *inst, int err, int8_t gain, uint8_t mute, uint8_t mode) in aics_state_cb() argument 45 inst, gain, mute, mode); in aics_state_cb() 163 vcp_register_param.mute = BT_VCP_STATE_UNMUTED; in vcp_vol_renderer_init()
|
/Zephyr-Core-3.6.0/tests/bluetooth/tester/src/ |
D | btp_micp.c | 73 static void btp_send_micp_mute_state_ev(struct bt_conn *conn, uint8_t att_status, uint8_t mute) in btp_send_micp_mute_state_ev() argument 80 ev.mute = mute; in btp_send_micp_mute_state_ev() 85 static void micp_mic_ctlr_mute_cb(struct bt_micp_mic_ctlr *mic_ctlr, int err, uint8_t mute) in micp_mic_ctlr_mute_cb() argument 89 mute_state = mute; in micp_mic_ctlr_mute_cb() 156 .mute = micp_mic_ctlr_mute_cb, 347 static void btp_send_mics_mute_state_ev(uint8_t mute) in btp_send_mics_mute_state_ev() argument 351 ev.mute = mute; in btp_send_mics_mute_state_ev() 356 static void mic_dev_mute_cb(uint8_t mute) in mic_dev_mute_cb() argument 360 btp_send_mics_mute_state_ev(mute); in mic_dev_mute_cb() 364 .mute = mic_dev_mute_cb, [all …]
|
D | btp_vcp.c | 54 uint16_t mute; member 123 static uint8_t mute(const void *cmd, uint16_t cmd_len, in mute() function 147 static void vcs_state_cb(int err, uint8_t volume, uint8_t mute) in vcs_state_cb() argument 187 .func = mute, 440 uint8_t mute, uint8_t mode) in aics_state_cb() argument 510 vcp_register_param.mute = BT_VCP_STATE_UNMUTED; in set_register_params() 585 uint8_t mute) in btp_send_vcp_state_ev() argument 593 ev.mute = mute; in btp_send_vcp_state_ev() 695 uint8_t mute) in vcp_vol_ctlr_state_cb() argument 700 btp_send_vcp_state_ev(conn, err, volume, mute); in vcp_vol_ctlr_state_cb() [all …]
|
/Zephyr-Core-3.6.0/samples/bluetooth/broadcast_audio_source/boards/ |
D | nrf52833dk_nrf52833.overlay | 7 mic-feature-mute; 11 hp-feature-mute;
|
D | nrf52840dongle_nrf52840.overlay | 7 mic-feature-mute; 11 hp-feature-mute;
|
/Zephyr-Core-3.6.0/samples/subsys/usb/audio/headphones_microphone/ |
D | app.overlay | 10 feature-mute; 21 feature-mute;
|
/Zephyr-Core-3.6.0/samples/subsys/usb/audio/headset/ |
D | app.overlay | 10 mic-feature-mute; 14 hp-feature-mute;
|
/Zephyr-Core-3.6.0/samples/bluetooth/tmap_central/src/ |
D | vcp_vol_ctlr.c | 31 uint8_t volume, uint8_t mute) in vcs_state_cb() argument 38 printk("VCS volume %u, mute %u\n", volume, mute); in vcs_state_cb() 56 .mute = vcs_write_cb,
|
/Zephyr-Core-3.6.0/tests/bluetooth/tester/src/btp/ |
D | btp_mics.h | 22 uint8_t mute; member
|
D | btp_aics.h | 23 void btp_send_aics_state_ev(struct bt_conn *conn, uint8_t att_status, int8_t gain, uint8_t mute, 105 uint8_t mute; member
|
D | btp_micp.h | 48 uint8_t mute; member
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/audio/src/ |
D | micp_mic_ctlr_test.c | 38 uint8_t mute, uint8_t mode) in aics_state_cb() argument 46 g_aics_input_mute = mute; in aics_state_cb() 157 uint8_t mute) in micp_mic_ctlr_mute_cb() argument 164 g_mute = mute; in micp_mic_ctlr_mute_cb() 170 .mute = micp_mic_ctlr_mute_cb, 181 .mute = aics_write_cb,
|
D | micp_mic_dev_test.c | 33 static void micp_mute_cb(uint8_t mute) in micp_mute_cb() argument 35 g_mute = mute; in micp_mute_cb() 40 .mute = micp_mute_cb, 45 uint8_t mute, uint8_t mode) in aics_state_cb() argument 53 g_aics_input_mute = mute; in aics_state_cb()
|
/Zephyr-Core-3.6.0/subsys/bluetooth/audio/shell/ |
D | micp_mic_ctlr.c | 63 uint8_t mute) in micp_mic_ctlr_mute_cb() argument 68 shell_print(ctx_shell, "Mute value %u", mute); in micp_mic_ctlr_mute_cb() 129 int8_t gain, uint8_t mute, uint8_t mode) in micp_mic_ctlr_aics_state_cb() argument 136 "mode %u", inst, gain, mute, mode); in micp_mic_ctlr_aics_state_cb() 199 .mute = micp_mic_ctlr_mute_cb, 211 .mute = micp_mic_ctlr_aics_mute_cb, 683 SHELL_CMD_ARG(mute, NULL,
|
D | micp_mic_dev.c | 19 static void micp_mic_dev_mute_cb(uint8_t mute) in micp_mic_dev_mute_cb() argument 21 shell_print(ctx_shell, "Mute value %u", mute); in micp_mic_dev_mute_cb() 25 .mute = micp_mic_dev_mute_cb, 32 int8_t gain, uint8_t mute, uint8_t mode) in micp_mic_dev_aics_state_cb() argument 39 "mode %u", inst, gain, mute, mode); in micp_mic_dev_aics_state_cb() 608 SHELL_CMD_ARG(mute, NULL,
|