Home
last modified time | relevance | path

Searched full:dmic (Results 1 – 25 of 71) sorted by relevance

123

/Zephyr-latest/drivers/dai/intel/dmic/
Ddmic.c24 #include "dmic.h"
30 /* global data shared between all dmic instances */
37 int dai_dmic_set_config_nhlt(struct dai_intel_dmic *dmic, const void *spec_config);
119 static void dai_dmic_update_bits(const struct dai_intel_dmic *dmic, in dai_dmic_update_bits() argument
122 uint32_t dest = dmic->reg_base + reg; in dai_dmic_update_bits()
127 static inline void dai_dmic_write(const struct dai_intel_dmic *dmic, in dai_dmic_write() argument
130 sys_write32(val, dmic->reg_base + reg); in dai_dmic_write()
133 static inline uint32_t dai_dmic_read(const struct dai_intel_dmic *dmic, in dai_dmic_read() argument
136 return sys_read32(dmic->reg_base + reg); in dai_dmic_read()
140 static inline void dai_dmic_claim_ownership(const struct dai_intel_dmic *dmic) in dai_dmic_claim_ownership() argument
[all …]
Ddmic_nhlt.c17 #include "dmic.h"
26 static inline void dai_dmic_write(const struct dai_intel_dmic *dmic, in dai_dmic_write() argument
29 sys_write32(val, dmic->reg_base + reg); in dai_dmic_write()
32 static inline uint32_t dai_dmic_read(const struct dai_intel_dmic *dmic, uint32_t reg) in dai_dmic_read() argument
34 return sys_read32(dmic->reg_base + reg); in dai_dmic_read()
57 static void dai_dmic_write_coeff(const struct dai_intel_dmic *dmic, uint32_t base, in dai_dmic_write_coeff() argument
65 dai_dmic_write(dmic, base, *coeff++); in dai_dmic_write_coeff()
76 dai_dmic_write(dmic, base, coeff_val); in dai_dmic_write_coeff()
89 static const uint32_t *dai_dmic_configure_coeff(const struct dai_intel_dmic *dmic, in dai_dmic_configure_coeff() argument
118 if (dmic->dai_config_params.dai_index == 0) { in dai_dmic_configure_coeff()
[all …]
DKconfig.dmic1 # SOF DMIC configuration options
26 bool "Use NHLT DMIC blob"
45 bool "Use DMIC ownership claim/release"
49 dmic ownership must be claimed before use of dmic
52 bool "Use DMIC sync for multiple lines"
56 dmic sync registers must be set before use of dmic
63 int "Number of stream FIFOs in DMIC controller"
67 int "IO Clock value for DMIC"
74 DMIC sync period used for:
DCMakeLists.txt4 zephyr_library_sources_ifdef(CONFIG_DAI_INTEL_DMIC dmic.c)
/Zephyr-latest/tests/drivers/audio/dmic_api/src/
Dmain.c8 * Based on DMIC driver sample, which is:
13 #include <zephyr/audio/dmic.h>
30 #error "Unsupported DMIC device"
62 /* Verify that dmic_trigger fails when DMIC is not configured
63 * this test must run first, before DMIC has been configured
65 ZTEST(dmic, test_0_start_fail) in ZTEST() argument
69 zassert_true(device_is_ready(dmic_dev), "DMIC device is not ready"); in ZTEST()
71 zassert_not_equal(ret, 0, "DMIC trigger should fail when DMIC is not configured"); in ZTEST()
74 static int do_pdm_transfer(const struct device *dmic, in do_pdm_transfer() argument
84 ret = dmic_configure(dmic, cfg); in do_pdm_transfer()
[all …]
/Zephyr-latest/tests/drivers/audio/dmic_api/
DREADME.txt1 DMIC API Test
4 This test is designed to verify that DMIC peripherals implement the API
7 * Verify the DMIC will not start sampling before it is configured
9 * Verify the DMIC can sample from one left channel
11 * Verify the DMIC can sample from a stereo L/R pair
13 * Verify that the DMIC works with the maximum number of channels possible
16 * Verify that the DMIC can restart sampling after being paused and resumed
19 rejected by the DMIC driver.
Dtestcase.yaml3 depends_on: dmic
4 tags: dmic
6 filter: dt_alias_exists("dmic-dev")
/Zephyr-latest/drivers/audio/
DKconfig.dmic_mcux5 bool "DMIC driver for MCUX"
11 Enable support for DMIC on NXP MCUX SoC's
16 int "Number of buffers to reserve for DMIC DMA"
21 reserve for the DMA engine. The memory slab used with the DMIC
26 int "Size of DMIC buffer queue"
29 This sets the size of the RX buffer queue for the DMIC. Up to this
30 many buffers may be queued by the DMIC once it is triggered, before
/Zephyr-latest/samples/drivers/audio/dmic/
Dsample.yaml2 name: DMIC sample
4 sample.drivers.audio.dmic:
5 tags: dmic
16 - "DMIC sample"
DREADME.rst1 .. zephyr:code-sample:: dmic
2 :name: Digital Microphone (DMIC)
10 This is a very simple application intended to show how to use the :ref:`Audio DMIC
27 The code can be found in :zephyr_file:`samples/drivers/audio/dmic`.
32 :zephyr-app: samples/drivers/audio/dmic
/Zephyr-latest/samples/drivers/i2s/i2s_codec/
DKconfig11 filled by data from the DMIC peripheral and played back by the I2S
21 bool "Use DMIC as an audio input"
26 int "Number of DMIC channels"
29 Count of DMIC channels to capture and process.
DREADME.rst11 an audio stream. It configures and starts from memory buffer or from DMIC to
33 from DMIC or from memory buffer.
/Zephyr-latest/tests/drivers/audio/dmic_api/boards/
Dmimxrt595_evk_mimxrt595s_cm33.overlay12 dmic-channel@0 {
19 dmic-channel@1 {
26 dmic-channel@2 {
33 dmic-channel@3 {
Drd_rw612_bga.overlay12 dmic-channel@0 {
19 dmic-channel@1 {
26 dmic-channel@2 {
33 dmic-channel@3 {
/Zephyr-latest/dts/bindings/audio/
Dnxp,dmic.yaml4 description: NXP DMIC
6 compatible: "nxp,dmic"
30 # Child binding definition, describes each channel of the DMIC
33 NXP DMIC channel. Can be used to configure filtering and gain attributes
36 compatible: "nxp,dmic-channel"
/Zephyr-latest/dts/bindings/dai/
Dintel,adsp-dmic-vss.yaml5 description: Intel DMIC Vendor SHIM controller
7 compatible: "intel,adsp-dmic-vss"
Dintel,dai-dmic.yaml4 description: Intel Digital PDM Microphone (DMIC) node
6 compatible: "intel,dai-dmic"
/Zephyr-latest/dts/bindings/dma/
Dintel,adsp-hda-dmic-cap.yaml5 description: Intel HDA DMIC Capabilities controller
7 compatible: "intel,adsp-hda-dmic-cap"
/Zephyr-latest/include/zephyr/audio/
Ddmic.h45 * DMIC driver states
57 * DMIC driver trigger commands
123 /** SLAB for DMIC driver to allocate buffers for stream */
176 * Input configuration structure for the DMIC configuration API
189 * Function pointers for the DMIC driver operations
258 * Configure the DMIC driver and controller(s)
260 * Configures the DMIC driver device according to the number of channels,
263 * @param dev Pointer to the device structure for DMIC driver instance
264 * @param cfg Pointer to the structure containing the DMIC configuration
278 * Send a command to the DMIC driver
[all …]
/Zephyr-latest/doc/hardware/peripherals/audio/
Ddmic.rst3 Digital Microphone (DMIC)
9 The audio DMIC interface provides access to digital microphones.
/Zephyr-latest/drivers/dai/
DKconfig30 source "drivers/dai/intel/dmic/Kconfig.dmic"
/Zephyr-latest/dts/arm/nxp/
Dnxp_rt6xx_common.dtsi338 dmic0: dmic@121000 {
341 compatible = "nxp,dmic";
347 pdmc0: dmic-channel@0 {
348 compatible = "nxp,dmic-channel";
354 pdmc1: dmic-channel@1 {
355 compatible = "nxp,dmic-channel";
361 pdmc2: dmic-channel@2 {
362 compatible = "nxp,dmic-channel";
368 pdmc3: dmic-channel@3 {
369 compatible = "nxp,dmic-channel";
[all …]
Dnxp_rt5xx_common.dtsi431 dmic0: dmic@121000 {
434 compatible = "nxp,dmic";
440 pdmc0: dmic-channel@0 {
441 compatible = "nxp,dmic-channel";
447 pdmc1: dmic-channel@1 {
448 compatible = "nxp,dmic-channel";
454 pdmc2: dmic-channel@2 {
455 compatible = "nxp,dmic-channel";
461 pdmc3: dmic-channel@3 {
462 compatible = "nxp,dmic-channel";
[all …]
/Zephyr-latest/soc/intel/intel_adsp/ace/include/ace30/
Ddmic_regs_ace3x.h9 /* DMIC Link Synchronization */
24 /* DMIC Link Control */
/Zephyr-latest/soc/intel/intel_adsp/ace/include/ace20_lnl/
Ddmic_regs_ace2x.h11 /* DMIC Link Synchronization */
27 /* DMIC Link Control */

123