/Zephyr-latest/include/zephyr/bluetooth/audio/ |
D | micp.h | 3 * @brief Bluetooth Microphone Control Profile (MICP) APIs. 7 * Copyright (c) 2020-2024 Nordic Semiconductor ASA 9 * SPDX-License-Identifier: Apache-2.0 16 * @brief Microphone Control Profile (MICP) 18 * @defgroup bt_micp Microphone Control Profile (MICP) 38 * Defines the maximum number of Microphone Control Service instances for the 39 * Microphone Control Profile Microphone Device 51 /** Mute/unmute commands are disabled. */ 56 * @name Microphone Control Profile mute states 70 /** @brief Register parameters structure for Microphone Control Service */ [all …]
|
D | aics.h | 3 * @brief Bluetooth Audio Input Control Service APIs. 7 * Copyright (c) 2020-2024 Nordic Semiconductor ASA 9 * SPDX-License-Identifier: Apache-2.0 16 * @brief Audio Input Control Service (AICS) 18 * @defgroup bt_aics Audio Input Control Service (AICS) 26 * The Audio Input Control Service is a secondary service, and as such should not be used on its 30 * Note that the API abstracts away the change counter in the audio input control state and will 46 * @name Audio Input Control Service mute states 49 /** The mute state is unmuted */ 51 /** The mute state is muted */ [all …]
|
D | vcp.h | 3 * @brief Bluetooth Volume Control Profile (VCP) APIs. 7 * Copyright (c) 2020-2024 Nordic Semiconductor ASA 9 * SPDX-License-Identifier: Apache-2.0 16 * @brief Volume Control Profile (VCP) 18 * @defgroup bt_vcp Volume Control Profile (VCP) 26 * The Volume Control Profile (VCP) provides procedures to control the volume level and mute state 42 * Defines the maximum number of Volume Offset Control service instances for the 43 * Volume Control Profile Volume Renderer 52 * Defines the maximum number of Audio Input Control service instances for the 53 * Volume Control Profile Volume Renderer [all …]
|
/Zephyr-latest/dts/bindings/usb/uac2/ |
D | zephyr,uac2-feature-unit.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "zephyr,uac2-feature-unit" 8 # string-array properties start with Primary channel 0 and follow with Logical 9 # channel(s). The "not-present" value is allowed to facilitate having controls 14 data-source: 18 mute-control: 19 type: string-array 20 description: Mute Control capabilities 22 - "read-only" 23 - "host-programmable" [all …]
|
/Zephyr-latest/dts/bindings/usb/ |
D | usb-audio-hs.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 compatible: "usb-audio-hs" 10 include: [usb-audio.yaml, usb-audio-feature-volume.yaml] 13 mic-resolution: 17 - 8 18 - 16 19 - 24 20 - 32 21 mic-sync-type: 29 - "No Synchronization" [all …]
|
D | usb-audio-hp.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 compatible: "usb-audio-hp" 10 include: [usb-audio.yaml, usb-audio-feature-volume.yaml] 17 - 8 18 - 16 19 - 24 20 - 32 21 sample-rate-hz: 24 polling-interval: 28 channel-l: [all …]
|
D | usb-audio-mic.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 compatible: "usb-audio-mic" 10 include: usb-audio.yaml 17 - 8 18 - 16 19 - 24 20 - 32 21 sync-type: 29 - "No Synchronization" 30 - "Asynchronous" [all …]
|
/Zephyr-latest/samples/bluetooth/tmap_bmr/src/ |
D | vcp_vol_renderer.c | 2 * @brief Bluetooth Volume Control Profile (VCP) Volume Renderer role. 5 * Copyright (c) 2020-2024 Nordic Semiconductor ASA 9 * SPDX-License-Identifier: Apache-2.0 22 static void vcs_state_cb(struct bt_conn *conn, 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-latest/samples/bluetooth/tmap_peripheral/src/ |
D | vcp_vol_renderer.c | 2 * @brief Bluetooth Volume Control Profile (VCP) Volume Renderer role. 5 * Copyright (c) 2020-2024 Nordic Semiconductor ASA 9 * SPDX-License-Identifier: Apache-2.0 22 static void vcs_state_cb(struct bt_conn *conn, 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-latest/samples/drivers/i2s/echo/src/ |
D | codec.c | 4 * SPDX-License-Identifier: Apache-2.0 29 * Power Down Control: in init_wm8731_i2c() 43 * [7] LINMUTE = 0 (Disable Mute) in init_wm8731_i2c() 44 * [4:0] LINVOL = 0x07 (-24 dB) in init_wm8731_i2c() 55 * Analogue Audio Path Control: in init_wm8731_i2c() 56 * [7:6] SIDEATT = 0 (-6 dB) in init_wm8731_i2c() 61 * [1] MUTEMIC = 1 (Enable Mute) in init_wm8731_i2c() 66 * Digital Audio Path Control: in init_wm8731_i2c() 68 * [3] DACMU = 0 (Disable soft mute) in init_wm8731_i2c() 84 * Sampling Control: in init_wm8731_i2c() [all …]
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_micp.c | 1 /* btp_micp.c - Bluetooth MICP Tester */ 6 * SPDX-License-Identifier: Apache-2.0 53 /* Microphone Control Profile */ 62 ev.mute_handle = sys_cpu_to_le16(micp_handles->mute_handle); in btp_send_micp_found_ev() 63 ev.state_handle = sys_cpu_to_le16(micp_handles->state_handle); in btp_send_micp_found_ev() 64 ev.gain_handle = sys_cpu_to_le16(micp_handles->gain_handle); in btp_send_micp_found_ev() 65 ev.type_handle = sys_cpu_to_le16(micp_handles->type_handle); in btp_send_micp_found_ev() 66 ev.status_handle = sys_cpu_to_le16(micp_handles->status_handle); in btp_send_micp_found_ev() 67 ev.control_handle = sys_cpu_to_le16(micp_handles->control_handle); in btp_send_micp_found_ev() 68 ev.desc_handle = sys_cpu_to_le16(micp_handles->desc_handle); in btp_send_micp_found_ev() [all …]
|
D | btp_vcp.c | 1 /* btp_vcp.c - Bluetooth VCP Tester */ 6 * SPDX-License-Identifier: Apache-2.0 48 uint16_t control; member 53 uint16_t mute; member 58 uint16_t control; member 65 /* Volume Control Service */ 72 tester_set_bit(rp->data, BTP_VCS_READ_SUPPORTED_COMMANDS); in vcs_supported_commands() 73 tester_set_bit(rp->data, BTP_VCS_SET_VOL); in vcs_supported_commands() 74 tester_set_bit(rp->data, BTP_VCS_VOL_UP); in vcs_supported_commands() 75 tester_set_bit(rp->data, BTP_VCS_VOL_DOWN); in vcs_supported_commands() [all …]
|
/Zephyr-latest/drivers/audio/ |
D | wm8904.h | 4 * SPDX-License-Identifier: Apache-2.0 50 /* FLL control register */ 56 /* GPIO control register */ 75 * [8] - MUTE: Output mute 76 * [7] - VU: Volume update, works for entire channel pair 77 * [6] - ZC: Zero-crossing enable 78 * [5:0] - VOL: 6-bit volume value 80 #define WM8904_REGVAL_OUT_VOL(mute, vu, zc, vol) \ argument 81 (((mute & 0b1) << 8) | (vu & 0b1) << 7 | (zc & 0b1) << 6 | (vol & 0b000111111)) 89 * [7] - MUTE: Input mute [all …]
|
/Zephyr-latest/samples/bluetooth/hap_ha/src/ |
D | micp_mic_dev.c | 2 * @brief Bluetooth Microphone Control Profile (MICP) Microphone Device role. 5 * Copyright (c) 2020-2022 Nordic Semiconductor ASA 8 * SPDX-License-Identifier: Apache-2.0 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 37 printk("AICS inst %p state gain %d, mute %u, mode %u\n", in micp_mic_dev_aics_state_cb() 38 inst, gain, mute, mode); in micp_mic_dev_aics_state_cb() 107 micp_param.aics_param[i].min_gain = -100; in micp_mic_dev_init()
|
D | vcp_vol_renderer.c | 2 * @brief Bluetooth Volume Control Profile (VCP) Volume Renderer role. 5 * Copyright (c) 2020-2022 Nordic Semiconductor ASA 8 * SPDX-License-Identifier: Apache-2.0 21 static void vcs_state_cb(struct bt_conn *conn, 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 44 printk("AICS inst %p state gain %d, mute %u, mode %u\n", in aics_state_cb() 45 inst, gain, mute, mode); in aics_state_cb() 157 vcp_register_param.aics_param[i].min_gain = -100; in vcp_vol_renderer_init() 163 vcp_register_param.mute = BT_VCP_STATE_UNMUTED; in vcp_vol_renderer_init()
|
/Zephyr-latest/tests/subsys/usb/uac2/ |
D | app.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <dt-bindings/usb/audio.h> 13 full-speed; 14 high-speed; 15 audio-function = <AUDIO_FUNCTION_HEADSET>; 18 compatible = "zephyr,uac2-clock-source"; 19 clock-type = "internal-programmable"; 20 frequency-control = "host-programmable"; 21 sampling-frequencies = <48000>; 25 compatible = "zephyr,uac2-input-terminal"; [all …]
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/btp/ |
D | btp_aics.h | 1 /* btp_aics.h - Bluetooth tester headers */ 6 * SPDX-License-Identifier: Apache-2.0 14 /** Number of Audio Input Control Service instances */ 16 /** Array of pointers to Audio Input Control Service instances */ 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
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/ |
D | cap.rst | 9 The Acceptor will typically be a resource-constrained device, such as a headset, earbud or hearing 20 .. code-block:: console 23 cap_acceptor --help 24 cap_acceptor - Bluetooth CAP acceptor shell commands 27 [rank <int>] [not-lockable] [sirk <data>] 39 ------------------ 42 :code:`bt adv-data` or :code:`bt advertise` must be called again to set the new advertising data. 46 .. code-block:: console 52 ------------------------ 56 .. code-block:: console [all …]
|
/Zephyr-latest/soc/intel/intel_adsp/cavs/include/cavs25/ |
D | dmic_regs.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 21 /* Time Stamp Control Register */ 65 /* Common FIFO channels register (primary & secondary) (0000 - 0FFF) 69 /* Control registers for packers */ 79 * (crossed out) 0010h LOCAL_TSC0 64-bit Wall Clock timestamp 80 * (crossed out) 0018h LOCAL_SAMPLE0 64-bit Sample Count 81 * 001Ch - 00FFh Reserved space for extensions 104 /* Control register for CIC configuration and decimator setting */ 107 /* Control of the CIC filter plus voice channel (B) FIR decimation factor */ 110 /* Microphone interface control register */ [all …]
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | vcp_vol_rend.c | 5 * Copyright (c) 2019-2020 Bose Corporation 6 * Copyright (c) 2020-2022 Nordic Semiconductor ASA 8 * SPDX-License-Identifier: Apache-2.0 47 ((uint8_t)MAX(0, (int)current_vol - vol_rend.volume_step)) 85 LOG_DBG("Volume %u, mute %u, counter %u", in read_vol_state() 86 vol_rend.state.volume, vol_rend.state.mute, in read_vol_state() 110 atomic_set_bit(inst->notify, notify); in notify_work_reschedule() 112 err = k_work_reschedule(&inst->notify_work, delay); in notify_work_reschedule() 118 k_ticks_to_ms_floor32(k_work_delayable_remaining_get(&inst->notify_work))); in notify_work_reschedule() 127 err = bt_gatt_notify_uuid(NULL, uuid, inst->service_p->attrs, data, len); in notify() [all …]
|
D | vcp_internal.h | 3 * @brief Internal Header for Bluetooth Volume Control Service (VCS). 6 * Copyright (c) 2020-2022 Nordic Semiconductor ASA 8 * SPDX-License-Identifier: Apache-2.0 34 uint8_t mute; member
|
D | micp_mic_ctlr.c | 1 /* Bluetooth MICP - Microphone Control Profile - Microphone Controller */ 5 * Copyright (c) 2020-2023 Nordic Semiconductor ASA 7 * SPDX-License-Identifier: Apache-2.0 56 if (listener->mute) { in micp_mic_ctlr_mute_changed() 57 listener->mute(mic_ctlr, err, mute_val); in micp_mic_ctlr_mute_changed() 68 if (listener->unmute_written) { in micp_mic_ctlr_mute_written() 69 listener->unmute_written(mic_ctlr, err); in micp_mic_ctlr_mute_written() 72 if (listener->mute_written) { in micp_mic_ctlr_mute_written() 73 listener->mute_written(mic_ctlr, err); in micp_mic_ctlr_mute_written() 83 atomic_clear_bit(mic_ctlr->flags, BT_MICP_MIC_CTLR_FLAG_BUSY); in micp_mic_ctlr_discover_complete() [all …]
|
/Zephyr-latest/soc/intel/intel_adsp/ace/include/ |
D | dmic_regs.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 21 /* Time Stamp Control Register */ 42 /* Capture Link Select - select which link wall clock to time stamp. */ 68 /* Common FIFO channels register (primary & secondary) (0000 - 0FFF) 72 /* Control registers for packers */ 82 * (crossed out) 0010h LOCAL_TSC0 64-bit Wall Clock timestamp 83 * (crossed out) 0018h LOCAL_SAMPLE0 64-bit Sample Count 84 * 001Ch - 00FFh Reserved space for extensions 107 /* Control register for CIC configuration and decimator setting */ 110 /* Control of the CIC filter plus voice channel (B) FIR decimation factor */ [all …]
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | micp_mic_ctlr.c | 5 * Copyright (c) 2020-2022 Nordic Semiconductor ASA 7 * SPDX-License-Identifier: Apache-2.0 53 shell_error(ctx_shell, "Mute write failed (%d)", err); in micp_mic_ctlr_mute_written_cb() 55 shell_print(ctx_shell, "Mute write completed"); in micp_mic_ctlr_mute_written_cb() 70 uint8_t mute) in micp_mic_ctlr_mute_cb() argument 73 shell_error(ctx_shell, "Mute get failed (%d)", err); in micp_mic_ctlr_mute_cb() 75 shell_print(ctx_shell, "Mute value %u", mute); in micp_mic_ctlr_mute_cb() 105 shell_error(ctx_shell, "Mute failed (%d) for inst %p", in micp_mic_ctlr_aics_mute_cb() 136 int8_t gain, uint8_t mute, uint8_t mode) in micp_mic_ctlr_aics_state_cb() argument 142 shell_print(ctx_shell, "AICS inst %p state gain %d, mute %u, " in micp_mic_ctlr_aics_state_cb() [all …]
|
D | vcp_vol_ctlr.c | 5 * Copyright (c) 2020-2022 Nordic Semiconductor ASA 7 * SPDX-License-Identifier: Apache-2.0 66 shell_error(ctx_shell, "VCP mute failed (%d)", err); in vcs_mute_cb() 68 shell_print(ctx_shell, "VCP mute done"); in vcs_mute_cb() 109 uint8_t volume, uint8_t mute) in vcs_state_cb() argument 114 shell_print(ctx_shell, "VCP volume %u, mute %u", volume, mute); in vcs_state_cb() 152 shell_error(ctx_shell, "Mute failed (%d) for inst %p", in vcs_aics_mute_cb() 183 uint8_t mute, uint8_t mode) in vcs_aics_state_cb() argument 190 "AICS inst %p state gain %d, mute %u, mode %u", in vcs_aics_state_cb() 191 inst, gain, mute, mode); in vcs_aics_state_cb() [all …]
|